---
updatedAt: 2026-10-09T13:15:45.000Z
agentTools:
  projectIndex: https://docs.customgpt.ai/llms.txt
---

# Export Conversation Leads Using Zapier

This guide walks you through setting up the Export Conversation Leads action in Zapier. Use it to automatically export lead data when a conversation ends.

## Configuration steps

1. Log in to your[ Zapier account](https://zapier.com/app/login)  and click **Create Zap**.

<Image src="https://files.readme.io/47879e5f870e0f2b661e51b370424451a27981892c823934341bfab0f13bc25d-create_zap.png" align="center" border={true} />

2. In the Trigger section, select the app that will start the workflow (e.g., **Slack**, **Google Drive**, or [any supported Zapier app trigger.](https://zapier.com/apps) ).

<Image src="https://files.readme.io/a9cde296b20ffd8bea4ba54ffbf70e1dd3eba614fa68c1ae962343a87af7a577-trigger_app.png" align="center" border={true} />

3. Choose a trigger event such as **New file**, **New message**, or **Form submission** and test the trigger to make sure it’s working correctly.

<Image src="https://files.readme.io/b0be8d2d4f3ead3520b18d27f48def4f8bb926ba6f7c8ccbe87c3058d697e703-test_trigger.png" align="center" border={true} />

4. In the **Action** step, search for **CustomGPT**.

<Image src="https://files.readme.io/ef249ff5cce2aecd2469bda54fd24958f3134b0c9d0864aaa9099750b8567de4-customgpt_action.png" align="center" border={true} />

5. Select **Export Conversation Leads** action.

<Image src="https://files.readme.io/080ee74c44d9f4ff7241a0fbc6fe2231624e2525b00cb028a7827b05fbb954f4-Export_Conversation_leads_Zapier.png" align="center" />

6. When prompted, sign in to your CustomGPT.ai account using **OAuth**.

<Image src="https://files.readme.io/dc3d916c208d0ee02b143d131975b8e5a20640035118d0a99e92b34992403121-sign_in_to_customgpt_in_zaiper.png" align="center" border={true} />

![](https://files.readme.io/b89bfa8b851558e93a27d5940c067223cb924a3930f31f28eb216ef883fe8406-Zapier_confirmation_to_connect_to_customgpt.ai.png)

7. On the CustomGPT.ai authorization screen, click **Authorize**

<Image src="https://files.readme.io/7938be9e66ec72f94f81079556a4549b0a78f8504fdc30cfb9426fd09cadcb63-Zapier_O-auth_screen.png" align="center" border={true} />

<Callout icon="🚧" theme="warn">
  **Note**: Legacy connection: Connections you made earlier with an API key keep working. New connections use this sign-in.
</Callout>

8. In the **Configure** section, complete the following fields:
   * **Agent Name:** Select the agent that owns the conversation.
   * **Conversation Name:** Enter the session ID of the conversation you want to export.
   * **Lead Export Mode:**
   * **Raw**: each message where lead data was captured gets its own row in the export. Use this to see how lead data changed throughout the     conversation.
   * **Collated**: the entire conversation is summarized in one row. If the same detail was captured more than once, the latest value is kept.
   * **Format:** Choose from PDF, CSV, XLSX, or JSON.

<Image src="https://files.readme.io/dc844424f6071f6b851cbc9c1faa56089bb735ab6e970943f0ec44c45e29fcc6-Export_conversation_leads_field.png" align="center" />

9.Use **Test step** to ensure the action runs as expected.

<Image src="https://files.readme.io/6ab8d53f69d0a1458a2594e4c9ea5424a39b9890a6a5441730f09590c3c61f09-test_step_export_conversation.png" align="center" border={true} />

10. Once the test is successful, click **Publish** to activate your Zap.

<Image src="https://files.readme.io/eea43773c24d1f33e8d7104ac1be9ae24b90583b07cb8ef3f334ca9194bb6ec3-publish.png" align="center" border={true} />

***

## Related articles

* [Send a Captured Lead via Zapier](https://docs.customgpt.ai/docs/send-a-captured-lead-via-zapier)
* [Handle Conversation End in Zapier](https://docs.customgpt.ai/docs/handle-conversation-end-in-zapier)
* [Process a New Conversation in Zapier](https://docs.customgpt.ai/docs/process-a-new-conversation-in-zapier)