https://retellai.com/?utm_source=discord&utm_medium=seo logo
how to capture the from field from Retell in n8n
# ❓・ai-evy-support
a
@AI Evy how to capture the from field from Retell in n8n
a
Thanks for tagging me @AINerd. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[2] Retell not passing any data in the attached webhook](https://discord.com/channels/1186424376300679209/1434902217621639218) ​
### Answer --- To capture the
from_number
field from Retell in n8n, you'll need to set up a webhook that receives call data from Retell. When Retell sends call data (via webhook or API response) , the
from_number
field is included in the call object. [(1) ]() The call response structure includes:
Copy code
json
{
  "call_type": "phone_call",
  "from_number": "+12137771234",
  "to_number": "+12137771235",
  "direction": "inbound",
  "call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6"
}
In n8n: 1. Use a Webhook node to receive data from Retell 2. Configure your Retell agent to send webhooks to your n8n production URL 3. Access the
from_number
field in subsequent nodes using the expression:
{{ $json.from_number }}
Important: Make sure your n8n workflow is set to production mode and you're using the production webhook URL in Retell. Also ensure the webhook is using the POST method. [(2) ]() If you're not receiving any data, verify that: - The workflow is published/active in n8n - You're using the production URL (not test URL) - The agent is published after adding the webhook
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.