https://retellai.com/?utm_source=discord&utm_medium=seo logo
Populating dynamic variables (caller details) base...
# ❓・bug-report
m
For the inbound calls to the bot, my use-case requires bot to populate the caller details (dynamic variables) from CRM based on the from_number, and I was successfully able to do that. However, if there are no caller details available for the from_number, then the bot is supposed to ask and collect an account number or registered phone number with us from the caller. Based on the entity collected, bot is supposed to call function/tool that will fetch the user details. How do I do that? Based on the documentation, populating the dynamic variables is only possible at start_call event.
n
The function/tool call should return the user details. which you will then be able to use during the call.