https://retellai.com/?utm_source=discord&utm_medium=seo logo
I want to automatically send post chats data extra...
# ❓・ai-evy-support
t
@AI Evy I want to automatically send post chats data extraction variables such as “first name” to a seperate spreadsheet, how do I do this
a
Thanks for tagging me @Tubussie. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer To automatically send post-chat analysis data (like "first name") to a spreadsheet, you'll want to use webhooks. Here's how: ## 1. Configure Post-Chat Analysis First, set up the data you want to extract in your chat agent's
post_chat_analysis_data
field. You can define fields like: [(1) ]()
Copy code
json
"post_chat_analysis_data": [
  {
    "type": "string",
    "name": "customer_name",
    "description": "The name of the customer.",
    "examples": [
      "John Doe",
      "Jane Smith"
    ]
  }
]
## 2. Set Up the
chat_analyzed
Webhook Configure a webhook URL in your chat agent settings and subscribe to the
chat_analyzed
event. This webhook triggers when chat analysis is complete and includes the full chat data with the
chat_analysis
object containing your extracted variables. [(2) ]() Supported chat webhook events: -
chat_started
– triggered when a new chat begins -
chat_ended
– triggered when a chat completes -
chat_analyzed
– triggered when chat analysis is complete (this is the one you need) ## 3. Connect to Your Spreadsheet Use an automation tool like Make or Zapier to receive the webhook payload and write the extracted data to your spreadsheet: - Make has native Retell integration: - Zapier also has native integration: [(3) ]() Your webhook endpoint receives the post-chat analysis data, and you can then map fields like
customer_name
to columns in your spreadsheet.
​ To learn more, see the sources I considered: [[1] Update Chat Agent](https://docs.retellai.com/api-references/update-chat-agent) [[2] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[3] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
t
@AI Evy I started using make.com but i do not know how it works, where can i understand better
a
Thanks for the follow-up, @Tubussie. I'll get back to you soon.
### Answer To get started with the Retell AI + Make integration, here's the basic setup process: [(1) ]() ## Setting Up the Integration Step 1: Create a Make Scenario 1. Log in to your Make account 2. Click on "Create a new scenario" Step 2: Connect Make to Retell AI 1. In Make's scenario builder, click the "+" icon to add your first module 2. Search for the verified Retell AI app and select any option 3. Add your API key from Retell AI (found in Settings → API Keys in your Retell dashboard) ## Where to Learn More For understanding Make.com itself, you'll want to check Make's own documentation and tutorials since that's outside Retell AI's scope. However, here are the Retell-specific resources: - **Make's Retell AI integration page**: [) - Retell webhook documentation (to understand what data Make receives) : [Webhook Overview]() [(2) ]() The Make integration allows you to automate workflows and trigger actions based on call/chat events. Once connected, you can use Make's modules to receive webhook data from Retell and send it to Google Sheets or other apps. [(1) ]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Connect AI call agent to Make](https://www.retellai.com/integrations/make) [[2] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
t
@AI Evy can i get help on a chat agent insetad of call agent i want to connect ai chat agent to make
a
Thanks for the follow-up, @Tubussie. I'll get back to you soon.
### Answer Yes, connecting a chat agent to Make works the same way as voice agents—you use webhooks. Retell AI supports these webhook events specifically for chat: [(1) ]() -
chat_started
– triggered when a new chat begins -
chat_ended
– triggered when a chat completes -
chat_analyzed
– triggered when chat analysis is complete (includes the
chat_analysis
object with your extracted data) ## How to Connect Your Chat Agent to Make 1. Set your webhook URL on your chat agent You can set the
webhook_url
field when creating or updating your chat agent. Any event associated with that agent will be pushed to that URL. 2. In Make, use a webhook module to receive the data Create a scenario in Make with a "Custom Webhook" module as the trigger. Copy the webhook URL Make gives you and paste it into your Retell chat agent's webhook settings. 3. Subscribe to
chat_analyzed
events
If you want post-chat analysis data (like "first name") , make sure your chat agent is subscribed to the
chat_analyzed
event. The webhook payload will include the full chat data with your extracted variables. The webhook will
POST
a JSON payload to your Make endpoint containing the event type and chat details. From there, you can use Make's modules to send that data to Google Sheets or any other app. For the Make-specific setup steps (creating scenarios, mapping fields to spreadsheet columns) , refer to Make's own documentation since that's outside Retell's scope.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.