https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> I need instructions for Dy...
# ❓・ai-evy-support
d
@AI Evy I need instructions for Dynamic variables for if user has booked a call on cal.com and for the agent to not to answer a call back from that number
a
Thanks for tagging me @deelowdeeznuz. I'll look through relevant sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Dynamic Variables]() * [Platform Changelogs | Retell AI]() * [Overview]() * [Integrate Function Calling]() -----------------------------
### Answer For Cal.com custom fields, you can now use them in Retell. When using Cal.com functions, you can instruct the agent to collect specific information, and it will automatically display the collected data in the booking event [(1)]() . For dynamic variables, you can use them in various parts of the agents for specific calls including: - prompt - begin message - tool call description - custom tool call properties description - voicemail setting - transfer call function number - warm transfer setting [(2)]() For inbound calls, you would need to: 1. Set up a webhook URL in Create Retell LLM API using the
inbound_dynamic_variables_webhook_url
field 2. Configure your webhook to handle POST requests The webhook will receive a payload with:
Copy code
json
{
  "llm_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
  "from_number": "+12137771234",
  "to_number": "+12137771235"
}
Your webhook should return dynamic variables in the response:
Copy code
json
{
  "user_name": "John Doe",
  "user_email": "john@example.com"
}
Based on the information available, you can use this webhook response to check if the number has a booking and set appropriate variables to control the agent's behavior. However, the specific implementation details for blocking callback numbers are not covered in the provided documentation.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.