Integrations
Connect your AI agent to viaSocket
QwryAI has no viaSocket app. Send leads to viaSocket, or any automation tool, with a webhook
QwryAI doesn't have a dedicated viaSocket integration. You can still start a viaSocket flow from your agent: viaSocket can receive webhooks, and QwryAI sends a webhook each time a customer submits a lead, so a flow can pass the lead on to Google Docs, Sheets, a CRM or any app viaSocket connects to.
The same steps work with any tool that can start a workflow from a webhook. For a ready-made app, see Zapier.
Before you start
- A QwryAI agent with a Collect leads Action.
- A viaSocket account.
Which QwryAI events you can send
| Event | Where you add the webhook |
|---|---|
leads.submit, a customer submits a lead | The Destinations step of a Collect leads Action |
| A Collect data or custom form submission | The Action's Destinations step, or the form's Webhooks step |
ticket.opened, ticket.closed, conversation.taken_over | Settings › Webhooks › Helpdesk events |
The Webhook API Guide lists every event, its payload and how to check the signature.
How to send leads to viaSocket
- Create a flow with a webhook trigger in viaSocket
In viaSocket, create a new flow and choose Webhook as its trigger. Copy the webhook URL viaSocket gives you.
- Add the URL to your Collect leads Action
In QwryAI, open your agent's Actions and open your Collect leads Action. In its Destinations step, paste the viaSocket URL under Webhooks and select Create webhook.
- Check it under Settings › Webhooks
Your agent's Settings › Webhooks tab lists every webhook your Actions send to, with a link to each Action. Ticket and takeover events are added on the same tab, under Helpdesk events, with New webhook.
- Send a test lead and add the next step
Submit a lead in your agent's Playground so viaSocket receives a sample, then add the next step to the flow, such as Google Docs › Append Text to Document, and map the lead's fields.
- Test and publish the flow
Run a test in viaSocket, check the result in the target app, then publish the flow.
Frequently asked questions
Is there a QwryAI app in viaSocket?
No. Use a webhook trigger as shown above, or use Zapier, which has a QwryAI app.
Can viaSocket send messages to my agent?
Not through a viaSocket app. A flow can call the QwryAI API with an API key; see the API reference.
How do I know a webhook came from QwryAI?
Each request carries an x-qwryai-signature header made with the webhook's secret. The Webhook API Guide shows how to check it.