https://retellai.com/?utm_source=discord&utm_medium=seo logo
how can i make the agent know the outbound number ...
# ❓・ai-evy-support
k
@AI Evy how can i make the agent know the outbound number she is calling to mid conversation?
a
Thanks for tagging me @K Rudy. I'll look through relevant sources and get back to you shortly.
### Answer For outbound calls, you can use the
{{user_number}}
system variable to access the number being called [(1) ]() . This variable represents the user's phone number, which for outbound calls is the
to_number
. You can reference
{{user_number}}
in your agent's prompts, begin message, tool configurations, or other settings where dynamic variables are supported . For example, you could include it in your prompt like: "You are calling {{user_number}}" . The
{{user_number}}
variable is automatically available as a default system variable and requires no configuration . It will contain the destination phone number throughout the conversation .
​ 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.