Before you start
- n8n instance you control (so the API key is not shared with a public template).
- Trikon API key, workspace slug, outbound agent ID, and phone-line UUID.
Store the API key as a credential
In n8n, create a Header Auth credential:
Use that credential on every HTTP Request node that talks to Trikon. Do not put the key in a Set node that gets logged.
Start an outbound call
1
Trigger
Use whatever starts the flow — Webhook (form submit), Schedule, Google Sheets, HubSpot, etc. Map a phone number in E.164 (
+91…).2
HTTP Request
- Method:
POST - URL:
https://voice.trikon.tech/api/outbound-call - Authentication: the Header Auth credential above
- Content type: JSON
- Body:
3
Save the call id
The response includes
success and callUuid. Write callUuid back to your sheet or CRM so you can match the later webhook.Create a lead, then call it
If you want the contact to appear in Leads first:-
POST https://voice.trikon.tech/api/developer/leadswith JSON:A201response includeslead.id. -
Optionally
POST https://voice.trikon.tech/api/developer/leads/{{ $json.lead.id }}/callwith the same Bearer header to ring that lead immediately.
phone_number or mobile — the developer leads endpoint accepts several aliases.
Receive post-call events
1
Add a Webhook node
Create a workflow with a Webhook trigger, method
POST, path e.g. trikon-call. Copy the production URL.2
Paste it into Trikon
Settings → Developer API → Call webhook.
3
Respond immediately
Set the Webhook node to respond with
200 as soon as the body is received. n8n should not wait on CRM updates — Trikon retries if you take longer than about 3 seconds.4
Branch on event
Switch on
{{ $json.event }}: call.completed, call.no_answer, call.failed, recording.ready, analysis.completed. Use intent and summary when analysis.completed arrives.Trigger n8n Workflows Live During Phone Calls
You can also have your AI Voice Agent trigger an n8n webhook in the middle of a live voice call to fetch or submit data (e.g. checking CRM records or triggering instant WhatsApp notifications while speaking with the caller).- In n8n, create a Webhook node (
POST). - In Trikon Voice, open your agent and go to Custom Tools.
- Click Add Custom Tool, set Method to
POST, and paste your n8n webhook URL. - Add parameters (e.g.
customer_name,intent,phone_number). - When the caller speaks, the AI will call your n8n workflow in real time, receive the response, and speak it naturally!
