# Inbound Agent - Phone number send into tool issue

**URL:** <https://community.retellai.com/t/inbound-agent-phone-number-send-into-tool-issue/3429>\
**Category:** Support Help\
**Tags:** integrations\
**Created:** [July 29, 2026, 2:14pm UTC](https://community.retellai.com/t/inbound-agent-phone-number-send-into-tool-issue/3429 "2026-07-29T14:14:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![levelxsuccess](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/levelxsuccess/32/1390_2.png) [@levelxsuccess](https://community.retellai.com/u/levelxsuccess)\
**Post date:** [July 29, 2026, 2:14pm UTC](https://community.retellai.com/t/inbound-agent-phone-number-send-into-tool-issue/3429/1 "2026-07-29T14:14:03Z")

</div>

The Inbound Agent does not sends the caller phone number in every tool. Sometime the agent sends the phone number and sometime it doesn’t sends the phone number. The agent is very inconsistent with the data it is sending through tools to n8n. Please help me resolve this inconsistency as soon as possible.

---

<div class="post-metadata">

**Author:** ![mark1](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/mark1/32/2524_2.png) [@mark1](https://community.retellai.com/u/mark1)\
**Post date:** [July 29, 2026, 2:39pm UTC](https://community.retellai.com/t/inbound-agent-phone-number-send-into-tool-issue/3429/2 "2026-07-29T14:39:17Z")

</div>

Hello @levelxsuccess

Could you please share the relevant Call IDs and Agent ID.

This will help us investigate the issue further.

Thank you.

---

<div class="post-metadata">

**Author:** ![levelxsuccess](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/levelxsuccess/32/1390_2.png) [@levelxsuccess](https://community.retellai.com/u/levelxsuccess)\
**Post date:** [July 29, 2026, 2:52pm UTC](https://community.retellai.com/t/inbound-agent-phone-number-send-into-tool-issue/3429/3 "2026-07-29T14:52:43Z")

</div>

sure

this is the agent id : agent\_cf43170d813e9a08758eea26f6  
this is the call id: call\_a725e4361dfd891e26baeb94a6c

---

<div class="post-metadata">

**Author:** ![mark1](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/mark1/32/2524_2.png) [@mark1](https://community.retellai.com/u/mark1)\
**Post date:** [July 29, 2026, 5:48pm UTC](https://community.retellai.com/t/inbound-agent-phone-number-send-into-tool-issue/3429/4 "2026-07-29T17:48:49Z")

</div>

Hello @levelxsuccess

I have escalated your issue to the relevant team. As soon as I receive any updates, I’ll let you know. Thank you for your patience!

Best Regards

---

<div class="post-metadata">

**Author:** ![mark1](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/mark1/32/2524_2.png) [@mark1](https://community.retellai.com/u/mark1)\
**Post date:** [July 29, 2026, 8:42pm UTC](https://community.retellai.com/t/inbound-agent-phone-number-send-into-tool-issue/3429/5 "2026-07-29T20:42:42Z")

</div>

Hello @levelxsuccess

This isn’t the agent behaving randomly, it’s a config mismatch on the inbound side. Two things are happening on call\_a725e4361dfd891e26baeb94a6c:

- Your tool parameter descriptions on book\_appointment (and the other intake tools) tell the model to “use the value from {{phone}} / {{name}} / {{ghl\_contact\_id}} dynamic variable.” Those variables get populated on outbound calls from your CRM, but on inbound calls Retell’s built-in caller-number variable is {{user\_number}} — {{phone}} isn’t populated automatically.
- Your inbound webhook (the n8n workflow that responds to call\_inbound) is returning the dynamic variables as literal placeholder strings — e.g. “caller\_phone”: “{{ $json.call\_inbound.dynamic\_variables.caller\_phone }}” — instead of resolved values. So even the fallback variables you defined don’t carry real data into the prompt or tools.

That’s why tools whose descriptions reference those variables (book\_appointment) go out with an empty contact\_phone, while tools whose descriptions don’t (cancel\_appointment, search\_create\_contact) get filled in from what the model heard in the transcript. Two fixes and it becomes consistent:

1. In the tool parameter descriptions for book\_appointment and the other intake tools, replace {{phone}} with {{user\_number}} for the caller phone, and either remove the {{name}} / {{email}} / {{ghl\_contact\_id}} instructions on the inbound agent or gate them on values you actually collected during the call.
2. Fix the n8n call\_inbound webhook so the call\_inbound.dynamic\_variables object returns resolved values — right now the workflow node isn’t evaluating the {{ $json… }} expressions before returning JSON.

Best Regards

---

<div class="post-metadata">

**Author:** ![buddyleong21](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/buddyleong21/32/1671_2.png) [@buddyleong21](https://community.retellai.com/u/buddyleong21)\
**Post date:** [July 31, 2026, 8:39am UTC](https://community.retellai.com/t/inbound-agent-phone-number-send-into-tool-issue/3429/6 "2026-07-31T08:39:28Z")

</div>

Hi, it is likely that there is a faulty mapping of the gathered phone number variable in Retell and what it is mapped to in your N8N hook. Try investigate the connection between your n8n hook and retell to see what data is being called and if it is templated or if it is just grabbing what it thinks you want

---

<div class="post-metadata">

**Author:** ![levelxsuccess](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/levelxsuccess/32/1390_2.png) [@levelxsuccess](https://community.retellai.com/u/levelxsuccess)\
**Post date:** [August 3, 2026, 12:52pm UTC](https://community.retellai.com/t/inbound-agent-phone-number-send-into-tool-issue/3429/7 "2026-08-03T12:52:06Z")

</div>

Let me try this, and I will let you know, wether this worked or not.
