Integrations
Connect your AI agent to Zapier
Send the leads your AI agent collects to thousands of apps, or ask your agent questions from any Zap
The QwryAI app for Zapier connects your agent to the apps your team already uses. Send each lead your agent collects to a spreadsheet, CRM or inbox, or ask your agent a question from a Zap and use its reply in the next step.
Before you start
- A QwryAI workspace on a plan that includes API access.
- A Zapier account.
- For lead Zaps, an agent with a Collect leads Action.
QwryAI triggers and actions in Zapier
| In Zapier | Type | What it does |
|---|---|---|
| Form Submission | Trigger | Starts a Zap each time a customer submits a Collect leads Action, in a lead form or during the conversation |
| Send Prompt | Action | Sends a message to your agent and returns its reply |
Form Submission trigger
Choose the Agent whose leads you want. Every Collect leads Action on that agent sends to the Zap, including Actions you add later. Each lead gives you these fields to map:
| Field | Value |
|---|---|
| Conversation ID | The conversation the lead came from |
| Customer Email | The email the customer gave |
| Customer Name | The name the customer gave |
| Customer Phone | The phone number the customer gave |
| Custom fields | Each other field a conversational Collect leads Action asks for, by its name |
Send Prompt action
| Field | Value |
|---|---|
| Message | Required. What to ask the agent |
| Agent | Required. The agent that answers |
| Model | Optional. Overrides the model chosen in the agent's settings. Each model shows the credits a reply uses. |
| Conversation ID | Optional. Continues an earlier conversation. Leave it empty for a one-off question. |
The step returns the agent's reply as Text.
What you can automate
- Leads to a spreadsheet: add a row to Google Sheets for every lead.
- Leads to your CRM: create a contact in your CRM with the customer's name, email and phone.
- Team alerts: post a message in a team channel when a new lead arrives.
- Drafted answers: when a support email or form arrives, send it to your agent with Send Prompt and use the reply as a draft.
How to connect Zapier
- Create an API key
In QwryAI, open your workspace Settings › API keys and select Create API key. Keep every permission on, select Confirm and copy the key. Zapier uses it to act for your workspace.
Settings › API keys › Create API key.
- Open the QwryAI app in Zapier
Open your agent's Channels page and select Setup on the Zapier card. Zapier opens the QwryAI app. Accept the invite if Zapier asks.
Channels › Zapier › Setup. - Create a Zap with the QwryAI trigger
In Zapier, select Create › Zaps. For the trigger, search for QwryAI and choose Form Submission as the event.
- Connect your QwryAI account
Select Sign in. In the window that opens, optionally enter a Display name to tell your QwryAI accounts apart, paste your key into API Key and continue. The connection takes your Display name, or your workspace name if you left it empty.
- Choose the agent and test
Pick the Agent and select Test trigger. Zapier shows your agent's latest leads, or a sample lead if there are none yet.
- Add the action and publish
Add the step that receives the lead, such as Google Sheets › Create Spreadsheet Row, map the QwryAI fields to its columns, test it and select Publish.
To use Send Prompt, add a QwryAI action step to any Zap, choose Send Prompt, connect the same account, and fill in Message and Agent.
Frequently asked questions
Which leads reach the Zap?
Every lead from a Collect leads Action on the agent you chose, from the moment the Zap is on. Turning the Zap off stops the deliveries.
Do Send Prompt replies use credits?
Yes. Each reply uses your workspace's message credits, like any other conversation.
What happens if I delete the API key?
Every Zap connected with that key stops. Create a new key and reconnect the account in Zapier.
Whose access does the key use?
Yours. If you leave the workspace or your role loses a permission, the Zaps stop until a member with access connects a new key.
Zapier says Account not found
The API key was deleted or mistyped. Create a new key in QwryAI and reconnect the account in Zapier.
I can't create an API key
Your plan doesn't include API access. Upgrade the workspace, then create the key.
No leads arrive in my Zap
Check that the Zap is on, that the agent has an enabled Collect leads Action, and that the lead was submitted to the agent you chose.