Connect Retell Voice Agents to Custom Functions — n8n Workflow
Overview
Overview This workflow allows you to trigger custom logic in n8n directly from Retell's Voice Agent using Custom Functions. It captures a POST webhook from Retell every time a Voice Agent reaches a Custom Function node. You can plug in any logic—call an external API, book a meeting, update a CRM, or even return a dynamic response back to the agent.
Who is it for For builders using Retell who want to extend Voice Agent functionality with real-time custom workflows or AI-generated responses.
Pre
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a webhook trigger.
- 2
Process
Data flows through 3 nodes, connecting respondtowebhook, set, webhook.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (3)
Webhook
webhook
Respond to Webhook
respondToWebhook
[Replace me!] Set response
set
Sticky Note1
stickyNote
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
connect-retell-voice-agents-to-custom-functionsfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Agent Studio
@agentstudio
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →