https://retellai.com/?utm_source=discord&utm_medium=seo logo
How do I connect Retell
# ❓・ai-evy-support
j
@AI Evy How do I connect Retell.AI? I can't find API key creation area and I'm the admin so I should have full permissions
a
Thanks for tagging me @jeff_47276. I'll look through relevant sources and get back to you shortly.
### Answer To create and manage API keys in Retell AI, you'll need to access the "API Keys" section in your dashboard [(1) ]() . Here's how to create a new API key : 1. Create a new API key - Click the "Add" button - Give your key a descriptive name to identify its purpose 2. Set a webhook API key - Select an existing API key - Click "Set as Webhook Key" to designate it for webhook authentication - Only one key can be set as the webhook key at a time Once you have your API key, you'll use it to authenticate your REST API requests by including it in the request headers [(2) ]() :
Copy code
Authorization: Bearer YOUR_API_KEY
API keys are used to authenticate your requests to REST API endpoints, SDK integrations, and webhook endpoints . Each workspace can have multiple API keys, all sharing the same permission level . You can try out authentication in the API Playground to see it in action . Keep your API keys secure and never share them in public repositories or client-side code .
​ To learn more, see the sources I considered: [[1] Manage API Keys](https://docs.retellai.com/accounts/manage-api-keys) [[2] API Key Overview](https://docs.retellai.com/accounts/api-keys-overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
I can't find the API key area
Sorry found it
I need help with the Google sheets connection to update the
status from Left to call to Booked or didn't book an appointment. Maybe add the didn't get ahold of as still left to call @AI Evy
a
Thanks for the follow-up, @jeff_47276. I'll get back to you soon.
### Answer For updating Google Sheets with call status based on appointment booking outcomes, you can use Retell AI's webhook system combined with post-call analysis to automatically trigger updates. Here's how to set this up: ## Using Webhooks for Real-Time Updates Retell AI supports webhook events that can trigger when calls complete [(1) ]() . The
call_ended
event is triggered when a call completes and includes all fields from the call object . You can also use the
call_analyzed
event which is triggered when call analysis is complete and includes the full call data with analysis . ## Post-Call Analysis for Status Detection Retell AI's post-call analysis can detect specific outcomes and trigger automated responses [(2) ]() . You can set up Boolean flags to detect appointment booking status: - Boolean 'appointment_booked' → Update Google Sheets status to "Booked" - Boolean 'no_answer' → Update status to "Still Left to Call" - Boolean 'appointment_declined' → Update status to "Didn't Book" ## Integration Options For connecting to Google Sheets, you have several options: 1. No-code platforms like Make.com can simplify the process of linking your systems to Retell AI [(3) ]() . You can set up triggers to fetch data and push updates to Google Sheets in real-time . 2. Webhooks enable push notifications for real-time updates . When a customer completes a call, a webhook can instantly notify your system to update the Google Sheets status . 3. Custom integrations using Retell AI's certified partners who specialize in creating tailored solutions for unique requirements . ## Webhook Implementation
The webhook will POST the payload to your endpoint with a timeout of 10 seconds [(1) ]() . Here's a sample payload structure:
Copy code
{
  "event": "call_ended",
  "call": {
    "call_type": "phone_call",
    "from_number": "+12137771234",
    "to_number": "+12137771235",
    "direction": "inbound",
    "call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
    "agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
    "call_status": "registered",
    "start_timestamp": 1714608475945,
    "end_timestamp": 1714608491736,
    "disconnection_reason": "user_hangup"
  }
}
Your system can process this webhook data to determine the call outcome and update the corresponding Google Sheets row accordingly.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] 7 Actionable Insights You Can Trigger via Retell AI Post-Call Analysis APIs—From Same-Day Refund Approvals to 12% Upsell Rate Boosts](https://www.retellai.com/resources/retell-ai-post-call-analysis-apis-actionable-insights-automation-triggers) [[3] How to Connect Customer Data to Your Voice Bot | Retell AI](https://www.retellai.com/blog/how-to-connect-customer-data-into-your-voice-bot) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.