Call id is not send it to the tool calling
# support
m
I have a tool in n8n that the Assistant call via webhook. Its important for the n8n flow to have the call id, but im receiving a json without it. How can I tell Vapi to include it in tool calling. The tool_call_id neither Im receving this:
Copy code
javascript
[
  {
    "headers": {
      "host": "marianolopezaz.app.n8n.cloud",
      "user-agent": "node",
      "content-length": "42",
      "accept": "*/*",
      "accept-encoding": "gzip, br",
      "accept-language": "*",
      "baggage": "sentry-environment=production,sentry-public_key=a0021577936aec367b16615ad816c078,sentry-trace_id=c574f675e2e746ac88e1930012b07fc5",
      "cdn-loop": "cloudflare; loops=1; subreqs=1",
      "cf-connecting-ip": "54.214.206.248",
      "cf-ew-via": "15",
      "cf-ipcountry": "US",
      "cf-ray": "95cbf0fe15c0ef67-PDX",
      "cf-visitor": "{\"scheme\":\"https\"}",
      "cf-worker": "n8n.cloud",
      "content-type": "application/json",
      "sec-fetch-mode": "cors",
      "sentry-trace": "c574f675e2e746ac88e1930012b07fc5-b1f3e57624e68435",
      "traceparent": "00-49b57dd01b69ef85eb6b9042614c91dc-b7c9ab762e66e824-01",
      "x-forwarded-for": "54.214.206.248, 172.68.174.243",
      "x-forwarded-host": "marianolopezaz.app.n8n.cloud",
      "x-forwarded-port": "443",
      "x-forwarded-proto": "https",
      "x-forwarded-server": "traefik-prod-users-gwc-9-7bb7d4c57c-8ggrt",
      "x-is-trusted": "yes",
      "x-real-ip": "54.214.206.248"
    },
    "params": {},
    "query": {},
    "body": {
      "name": "Iñaki",
      "phone": "+5492644106861"
    },
    "webhookUrl": "https://marianolopezaz.app.n8n.cloud/webhook/f380cbb8-d504-4d23-a3d8-be5955d5a70e",
    "executionMode": "production"
  }
]
k
Make sure your n8n webhook captures the full payload not just the custom tool body to access it..
m
Do you know how can I check that config? Because it’s just a simple webhook node that receive what the API send
k
In your n8n Webhook node, enable “Raw Body” and use the full webhook URL to ensure you receive the complete vapi payload, including message.call.id.
The problem was that I choose the tool "api request". That kind of tool do not send the hole information. With the "function tool" its does.
c
checking if this is resolved/solved for you?
m
it is thanks!
2 Views