Good evening. I have a question regarding dynamic variables. I created an inbound agent to handle three types of leads. I set up the prompt so that the agent will respond based on the user's lead type. The lead type is the variable, but for some reason, the agent is not receiving the correct value. I know it's working since the agent correctly retrieves the user's name from Make.com. It also shows on Make.com that the correct lead type is being sent. However, despite tweaking the prompts multiple times, the agent is still providing the incorrect response.
One thing I noticed is that when I added the lead type variable to the welcome message to test if the agent was receiving the correct value, the agent suddenly provided the correct response. However, as soon as I removed the lead type variable from the welcome message, the error reappeared. I hope you can provide some assistance.