Overview
Integrating Chatbase with Zapier lets you send what your agent collects into thousands of other apps, with no code. This guide walks through one complete example, collecting leads with your agent and appending them to a Google Docs file, but the same trigger works for any Zapier action.What you can do:
Push leads and conversation data straight into your CRM, spreadsheet, or inbox the moment your agent captures them.
Before you start
- A Chatbase account with an agent. If you haven’t built one yet, follow Your first agent.
- An active Zapier account.
- Your Chatbase API key and Agent ID (see the steps below for where to find each).
What you can automate
How to connect Zapier
1
Set up lead collection in Chatbase
- Sign in to your Chatbase account to access your dashboard.
- Click the agent you want to set up lead collection for.
- From the sidebar, click Build > Actions, then select Create action and set up your Collect Leads action.
2
Create a Zap and add the trigger
- Sign in to your Zapier account.
- Click Create, then Zaps, in the top-left corner of the Zapier homepage.

- In the Zap editor, click Trigger.

- Search for Chatbase in the search bar and click it.

- On the right side of the page, click the Event field and select Form Submission, then click Continue.

3
Authenticate your Chatbase account
Click Sign in on the next page. On the authentication page, provide your Chatbase API key and, optionally, a display name, then click Yes, Continue to Chatbase.


To get your API key, head to your account dashboard, go to Workspace settings, then select API keys in the sidebar. Copy an existing key, or click Create API Key to create a new one.

4
Provide your Agent ID and test the trigger
- Click Continue after authenticating.
- Paste your Agent ID in the provided input field and click Continue.
To find your Agent ID, open the agent you want to link with Zapier, go to Settings → General, and copy the Agent ID from the Agent details card.
- Click Test Trigger.

- When prompted, click Continue with selected records.
5
Set up the action
- A window appears with a list of apps. Search for Google Docs and click it.

- Click the Event field, select Append Text to Document, then click Continue.

- Sign into your Google account and click Continue.
- Select the document you wish to append to, in the Document Name field.
- In the Text to Append field, select the lead form field you want to add, then click Continue.

6
Test and publish
Click to test the setup, then click Publish to go live.
Trigger a lead capture on your site and confirm the lead is appended to your target Google Docs file.
Next steps
Collect Leads action
Configure which details your agent captures, and when.
viaSocket
An alternative no-code automation platform, connected through webhooks.
