https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi, I'm new to this webhook settings and all
# ❓・ai-evy-support
k
@AI Evy Hi, I'm new to this webhook settings and all. I wanna know how to add the name email number from chat to google sheets?
a
Thanks for tagging me @karan112.. I'll look through relevant sources and get back to you shortly.
### Answer To capture name, email, and phone number from calls and send them to Google Sheets, you'll need to use Post Call Analysis with webhooks [(1) ]() . Here's how to set it up: Step 1: Configure Post Call Analysis In your Retell AI agent settings, add custom fields for the data you want to extract (name, email, phone number) . For email extraction, the instruction would be "Take the email of the customer that he gives in the call" . Step 2: Set up Webhook Integration Use the
call_analyzed
webhook event to receive the extracted data . You can connect this to automation platforms like Make.com or N8N to send data to Google Sheets [(2) ]() [(3) ]() . Important Note for Testing: When using N8N, make sure to use production webhook credentials rather than test credentials [(2) ]() . The test webhook only allows full data extraction once, which can cause issues during setup . Alternative Approach: You can also use custom functions through webhooks to collect and send data in real-time during the call [(3) ]() . The extracted information will be available in the webhook payload after the call completes, which you can then route to your Google Sheets through your automation platform [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Discord message from @mikehart52 on 2025-09-07](https://discord.com/channels/1186424376300679209/1186462578310910112/1414252555436953631) [[2] Trying to extract data via Webhook to N8N to Google Sheets - Not working](https://discord.com/channels/1186424376300679209/1340125596889382983) [[3] Help please connect Retell to Google sheets](https://discord.com/channels/1186424376300679209/1392503734847799427) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
I wanna pull that from chat
@AI Evy I wanna pull name email from chat agent
a
Thanks for the follow-up, @karan112.. I'll get back to you soon.
### Answer [(1) ]() , [(2) ]() , [(3) ]() , [(4) ]() To extract name and email from chat conversations and send them to Google Sheets, you'll need to set up Post Call Analysis with custom fields [(2) ]() [(3) ]() [(4) ]() . Step 1: Configure Post Call Analysis in Your Agent When creating or updating your agent, add custom analysis fields for the data you want to extract :
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '11labs-Adrian',
  post_call_analysis_data: [
    {
      type: "string",
      name: "customer_name",
      description: "The name of the customer.",
      examples: [
        "John Doe",
        "Jane Smith"
      ]
    }
  ]
}) ;
[(2) ]() Step 2: Access the Analysis Data After the conversation ends, you can consume the analysis data through three methods [(1) ]() : 1. Webhook - Real-time notifications with analysis results 2. Dashboard - Visual interface in the history tab 3. Get Call API - Programmatic access to call analysis data Step 3: Webhook Integration The webhook payload will include your custom analysis data :
Copy code
javascript
{
  "event_type": "call_analysis",
  "call_analysis": {
    // Analysis results object containing your custom fields
  }
}
You can then connect this webhook to automation platforms like Make.com to send the extracted data to Google Sheets . Important Note: Post call analysis fields are only populated for connected calls where conversation happened .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.