n8n Integration
This guide walks you through integrating n8n webhooks with your voice agent. We’ll cover how to set up an n8n webhook that receives requests, how to configure it to respond (e.g., with today’s date),
Step 1: Create a Webhook in n8n
Open n8n: Log into your n8n dashboard.
Create a new workflow.
Add the "Webhook" node:
Set the HTTP Method to
GET
.Set the Path to something like
get-date
.Enable authentication (optional) if you want to restrict access.
Connect the nodes: Webhook ➝ Set ➝ Response.
Add "Respond to Webhook" node:
Set the
Response Mode
toLast Node
.
Save and Activate the workflow.
GET https://n8n.yourdomain.com/webhook/get-date
Step 2: Integrate n8n Webhook with Your Voice Agent
Your voice agent should be able to call this webhook to retrieve today’s date and handle the response.
1. Open Your Voice Agent Application
Open the agent you want to integrate with the webhook.
Navigate to agent configuration page -> conversational flow tab.


2. Add a Webhook Node
Click on the
+ Add Node
button.Select the Webhook node from the list of available nodes.
The node will now appear on the agent flow canvas.

3. Configure the Webhook Node
Click on the newly added Webhook node to open its settings panel.
You’ll see a Webhook URL input field.
Paste the n8n webhook URL (e.g.,
https://n8n.yourdomain.com/webhook/get-date
).
Step 3: Test the Webhook
Before launching the full agent, you can test the webhook connection:
Navigate to the "Webhook" Section
While editing the webhook node, look for a “Test Webhook” button.
Click the "Test Webhook" button.
The system will try to send a request to the n8n webhook URL.
Message will appear (Webhook test : Success) or (Webhook test : Failed) depending wether it is set properly.


Step 4: Save and Launch the Voice Agent
Once the webhook works correctly:
Save the node configuration( "Save" button).
Click “Start Call”.
Interact with your voice agent — it will now call the n8n webhook, receive the response, and handle the data accordingly (e.g., show it or save it to a database).
Last updated