Skip to Content

n8n

Connect n8n to trigger automated workflows when events happen in Akol. Works with both n8n Cloud and self-hosted instances.

What It Does

  • Triggers workflows — Automatically start n8n workflows when events occur in Akol
  • Sends call data — Push call details, summaries, and outcomes to n8n
  • Sends appointment data — Notify n8n when appointments are booked
  • Sends lead data — Push new lead information to n8n
  • Daily summaries — Send daily call statistics to trigger reporting workflows

How to Connect

Create a Webhook Node in n8n

In n8n, create a new workflow with a Webhook trigger node. Copy the webhook URL (production URL).

Open Integrations

Go to Dashboard > Integrations and find n8n.

Add a Webhook

Click Add Webhook, enter a name, paste your n8n webhook URL, and select which events should trigger it.

Click Save

Click Save to activate the webhook.

If you’re using a self-hosted n8n instance, make sure your server is accessible from the internet so Akol can reach it.

Events You Can Send

EventWhen It Fires
call.startedWhen a call begins
call.endedWhen a call ends
appointment.scheduledWhen an appointment is booked
lead.createdWhen a new lead is captured
daily.summaryDaily recap of all call activity

Example Automations

TriggerAction in n8n
Call endedSave to Airtable or Google Sheets
Appointment scheduledSend an email confirmation
Lead createdCreate a HubSpot contact
Daily summaryPost stats to Slack

Security

n8n webhooks use HMAC-SHA256 signatures for verification. The signature is sent in the X-N8n-Signature header along with event metadata in X-Akol-Event and X-Akol-Delivery-Id.

Troubleshooting

n8n Workflow Not Triggering

  1. Verify the webhook URL is the production URL (not the test URL)
  2. Make sure your n8n workflow is active
  3. For self-hosted n8n, check that your server is accessible from the internet

Webhook Delivery Failures

  1. Akol retries failed deliveries up to 3 times with increasing delays
  2. Check webhook logs in Dashboard > Integrations > n8n for details

Self-Hosted Connection Issues

  1. Verify your n8n instance is accessible via HTTPS
  2. Check firewall rules to ensure Akol’s requests can reach your server
  3. Verify your SSL certificate is valid

Tips

  1. Use production URLs — n8n has separate test and production webhook URLs; use the production one
  2. Send a test event first — Verify your n8n workflow receives data before enabling in production
  3. Self-hosted advantage — Your data stays on your own server with self-hosted n8n
Last updated on