Send a captured lead via Zapier

This guide explains how to use the New Lead event in Zapier to automatically send leads captured from your CustomGPT conversations to any other app (like CRMs, spreadsheets, or email tools).

What the “New Lead” event does

The New Lead event in Zapier is a trigger that fires when a CustomGPT agent captures a new lead during a conversation.

For example, if your agent collects a visitor’s name, email, and company details through a lead capture form or intent-based interaction, this event sends that data instantly to Zapier—ready to be sent to apps like:

  • Google Sheets
  • Salesforce
  • HubSpot
  • Mailchimp
  • Notion
  • Slack

How to configure the New Lead trigger in Zapier

  1. Log in to your Zapier account and click Create Zap.
  1. Choose CustomGPT.ai as your Trigger app.
  1. In trigger event, choose New Lead from the event dropdown.
  1. Sign in to your CustomGPT.ai account using your API key.
  1. You can get your API key from Deploy > API inside your CustomGPT dashboard. To get your API key, see the API Key Guide.
  1. Choose the agent that you want to monitor for new leads.
  1. Test the trigger to make sure it's pulling recent lead data correctly.
  1. Continue building your Zap by choosing the action app (e.g., Gmail, Google Sheets, Slack) and mapping the lead data fields as needed.

Payload data sent with each lead

When a lead is captured, the New Lead event provides the following information:

FieldDescription
Agent IDThe unique ID of the agent that captured the lead.
Lead NameThe name provided by the user.
Lead EmailThe email address provided by the user.
Lead CompanyThe user's company name (if collected).
Lead PhoneThe user's phone numner (if collected).
Other InformationAny other custom fields collected by the agent (e.g., phone number, job title, location).
Query IDA unique identifier for the specific message that triggered the lead.
Session IDIdentifies the session (conversation) during which the lead was captured.
💡

Tip:

Use filters and formatters in Zapier to customize how each lead is routed or stored based on these fields.