https://retellai.com/?utm_source=discord&utm_medium=seo logo
what is the placeholder for from phone number i ca...
# ❓・ai-evy-support
a
@AI Evy what is the placeholder for from phone number i can put into an agent prompt
a
Thanks for tagging me @Alex. I'll look through relevant sources and get back to you shortly.
### Answer The placeholder for the caller's phone number (from phone number) in an agent prompt is
{{user_number}}
[(1) ]() . This system variable represents the user's phone number and works differently depending on call direction : - For **inbound calls**:
{{user_number}}
contains the
from_number
- For **outbound calls**:
{{user_number}}
contains the
to_number
You can use it directly in your prompts like this:
"Hello, I see you're calling from {{user_number}}"
. If you need the agent's phone number instead, use
{{agent_number}}
, which contains the
to_number
for inbound calls and
from_number
for outbound calls .
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.