https://retellai.com/?utm_source=discord&utm_medium=seo logo
How can i manage from n8n api call
# ❓・ai-evy-support
a
@AI Evy How can i manage error from n8n api call ?
a
Thanks for tagging me @adrien_12039. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, you can manage Retell AI from n8n through API calls in several ways [(1) ]() [(2) ]() : ## Setting Up the Integration To connect Retell AI with n8n [(1) ]() : 1. Install the Retell AI Community Node in your n8n dashboard 2. Go to Settings → Community Nodes and search for Retell AI 3. Add the Retell AI node to your workflow and paste your Retell AI API key ## Making API Calls You can use the Retell AI SDK for JavaScript to make API calls from n8n [(3) ]() [(4) ]() [(5) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
[(3) ]() ## Available API Operations The sources show you can manage these operations through API calls [(3) ]() [(4) ]() [(5) ]() : - **Get Chat**: Retrieve details of a specific chat using
client.chat.retrieve('chat_id')
[(3) ]() - **List Chats**: List all chats using
client.chat.list()
[(5) ]() - **Create Outbound SMS**: Send SMS messages programmatically [(4) ]() ## Custom Workflows n8n allows you to create custom workflows that [(2) ]() : - Automate repetitive tasks like logging call transcripts into databases - Connect Retell AI's voice capabilities with various business applications through custom API calls - Trigger support tickets or update customer records after voice interactions For troubleshooting custom functions, ensure your webhooks are properly configured and that payloads differ to prevent n8n from treating them as duplicates [(6) ]() .
​ To learn more, see the sources I considered: [[1] Connect AI call agent to n8n](https://www.retellai.com/integrations/n8n) [[2] Voice API: Integrate Phone AI Agents with Your System | Retell AI](https://www.retellai.com/blog/how-to-integrate-phone-ai-agents-with-your-existing-api-systems) [[3] Get Chat](https://docs.retellai.com/api-references/get-chat) [[4] Create Outbound SMS](https://docs.retellai.com/api-references/create-sms-chat) [[5] List Chat](https://docs.retellai.com/api-references/list-chat) [[6] Custom n8n Functions Stopped Working](https://discord.com/channels/1186424376300679209/1360106227560087552) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.