← All N8N workflows
Automation & utilitiesRespond To WebhookEdit FieldsWebhook

🧠 Place your logic here!

Configured with Respond To Webhook, Webhook. Review the connections and setup before adapting this template.

Workflow preview
TriggerWebhookWebhookWeb / APIRespond to WebhookRespond To WebhookTransform[Replace me!] SetresponseEdit Fields

Node categories in this workflow

  • Trigger
  • Web / API
  • Transform

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
WebhookTriggerWebhookSee node parameters
Respond to WebhookWeb / APIRespond To WebhookSee node parameters
[Replace me!] Set responseTransformEdit FieldsSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

None declared. HTTP requests and Code nodes may still need configuration.

Workflow notes

🧠 Place your logic here!

🧠 Place your logic here!

Your Agent logic goes here. You can, for example, use an AI Agent to provide information back to your Retell agent and/or make an action in a third party service. For example: book an event, add a contact to a CRM, etc. Sky is the limit! 🙌

Retell Custom Function Webhook

Retell Custom Function Webhook

POST Webhook received from Retell's Custom Function each time it is triggered by Retell's Voice Agent

Retell Custom Function Response

Retell Custom Function Response

Response to the webhook that will be provided back to Retell's Voice Agent.

Modify the response accordingly if you want anything else than the first incoming input being sent back

Connect Retell Voice Agents to Custom Functions

Connect Retell Voice Agents to Custom Functions

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.

Prerequisites

  • Have a Retell AI Account
  • A Retell agent with a Custom Function node in its conversation flow (see template below)
  • Set your n8n webhook URL in the Custom Function configuration (see "How to use it" below)
  • (Optional) Familiarity with Retell's Custom Function docs
  • Start a conversation with the agent (text or voice)

Retell Agent Example

To get you started, we've prepared a Retell Agent ready to be imported, that includes the call to this template.

  • Import the agent to your Retell workspace (top-right button on your agent's page)
  • You will need to modify the function URL in order to call your own instance.
  • This template is a simple hotel agent that calls the custom function to confirm a booking, passing basic formatted data.

How it works

  • Retell sends a webhook to n8n whenever a Custom Function is triggered during a call (or test chat).
  • The webhook includes:
    • Full call context (transcript, call ID, etc.)
    • Parameters defined in the Retell function node
  • You can process this data and return a response string back to the Voice Agent in real-time.

How to use it

  1. Copy the webhook URL (e.g. `https://example.invalid/REPLACE_WITH_N8N_ENDPOINT
  2. Modify the Retell Custom Function webhook URL (see template description for screenshots)
    • Edit the function
    • Modify the URL
  3. Modify the logic in the Set node or replace it with your own custom flow
  4. Deploy and test: Retell will hit your n8n workflow during the conversation

Extension Ideas

  • Call a third-party API to fetch data (e.g. hotel availability, CRM records)
  • Use an LLM node to generate dynamic responses
  • Trigger a parallel automation (Slack message, calendar invite, etc.)

👉 Reach out to us if you're interested in analyzing your Retell Agent conversations.

🧠 Place your logic here!

🧠 Place your logic here!

Purpose and structure

This folder contains the 🧠 Place your logic here! workflow. Its executable nodes use respondToWebhook, set, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Webhook

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Respondtowebhook/0900_Respondtowebhook_Stickynote_Automate_Webhook.json MIT; preserve source notices.

More in Automation & utilities