Send events to a Zap
- In Zapier, create a Zap. For the trigger, choose Webhooks by Zapier and the event Catch Hook.
- Copy the webhook URL Zapier gives you.
- In CustomerGPT, select your chatbot and open Sales Automation. Under External integration (Webhook), paste the URL into Destination webhook URL and click Save integration.
- Make something happen so Zapier receives a sample. For example, open your widget’s test page,
https://widget.customergpt.ai/?widgetId=YOUR_WIDGET_ID, and send a message. - In Zapier, click Test trigger and pick the sample.
Only react to the events you want
CustomerGPT sends four events to the same URL. The event name is in theevent field:
Add a Filter by Zapier step right after the trigger, such as Event exactly matches
lead.captured, so the rest of the Zap runs only for that event. See Webhooks for every field each event carries.
Example Zaps
- New leads to a spreadsheet. Filter on
lead.captured, then add a row to Google Sheets withpayload.visitorEmail,payload.visitorPhone, and the answers inpayload.salesProfile.fields. - Handoffs to your team chat. Filter on
conversation.escalated, then post to a Slack channel. Includepayload.conversationIdso someone can find the conversation in Chat History. - Bookings to your CRM. Filter on
booking.created, then create a deal frompayload.attendeeEmailandpayload.startTime.
From Zapier to CustomerGPT
To have a Zap change something in CustomerGPT, such as adding a custom response from a form, add a Webhooks by Zapier → POST action that calls the Actions API. Send your API key in theX-Api-Key header and "confirm": true in the body. This needs a plan with API access.