https://retellai.com/?utm_source=discord&utm_medium=seo logo
Outbound Custom Variable
# ❓・bug-report
u
Hey everyone! I’m working with RetailAI and I’d like my voice agent to automatically mention the customer's name or address during a call — for example, “Hi John, is this still your address on Main Street?” I already have these lead details (like name, email, phone, address) stored from previous steps. How can I insert those variables directly into a Conversation Node so the AI says them aloud? Where should I pass these values — via API, Webhook, or is there a preferred way to connect external lead data? If there’s a guide or YouTube video explaining this kind of variable injection into flows, I’d really appreciate the help 🙏 Thanks in advance!
i
Yeah You'd need to use API, but you'd use the assistant JSON script in place of the assistantID so you can map in the details in the first message and the prompt body
u
Do u have a worklfow for this maybe?
So i Need A Weebhook and then connected it to an airtable and then a Respond webhook right?
i
Check this out

https://youtu.be/19Z2OYBF_jA?si=oYhQ-YsLF4cZuh6p▾

u
thanks
i
This should help Let me know if it does or I could explain better myself
u
It helped thanks
i
Alright
h
Hi @ikimi_dann1e I'm using a Conversation Flow agent in Retell and passing
retell_llm_dynamic_variables
(like
client_name
) from n8n via HTTP, but the AI keeps reading out the variable literally (e.g., “retell\_llm\_dynamic\_variables.client\_name”) instead of resolving it. It seems Conversation Flow agents aren’t parsing them correctly. Can you confirm whether dynamic variables are supported in Conversation Flow agents, and if not, what’s the best workaround?
i
Can you share a screenshot of how you put in the dynamic variable in Retell
h
This is being sent from n8n vai http request to retell.
i
Share a screenshot of how you write the custom variable in Retell
h
Retell is receiving the variables but not resolving them.
{{retell_llm_dynamic_variables.contact_person}}
i
Alright
Share a screenshot of your first message from your agent set up
That's most likely where the problem is from
h
i
Change the custom variable to the key value here For example {{contact_person}}
h
Still same issue
i
Is this the output?
h
Yes
This is the node
i
This looks right 🤔
I sent you a message
Let me know when you confirmed that it's working 👍🏽
Kindly change the status of the query to solved ☺️