https://retellai.com/?utm_source=discord&utm_medium=seo logo
URGENT : Transition not working
# ❓・bug-report
f
I've a node as "May I ask when the accident happened? Was it within the past 12 months? (if unclear, repeat back once to confirm)" transition I'm using Accident happened within last 12 months - continue Accident happened 12 months ago - End but it is not working, it is qualifying disqualified lead as well, what to do
@Omar Ashraf | Community Lead Help ASAP
o
change the second transition to this and let me know : Accident happened over 12 months ago
and see the result, it still going to next step
o
can you ask the agent what time it's today , it maybe have a wrong date of today
f
ok checking
BTW, this is my inbound agent
o
did you give it the current time ?
f
not really, how to do so, pls help
and where to add that
o
use this in your beginning of your prompt like this #context current date : {{current_time}}
f
on the particular node ?
o
global prompt
didnt worked
o
I need you ask the agent what date is today , and prompt to when some ask this to answer
and what model are you using ?
f
Today is October 8, 2025. So, just to clarify, was your incident a motor vehicle accident or a slip and fall?
and I am using GPT 4.1 Nano
o
try to use 4.1 or 4.1 mini
f
ok I have changed to 4.1 also tried 4.1 mini, but the result are same
in Global prompt I have this : "5. Accident Date: “May I ask when the accident happened? Was it within the past 12 months?" - if Yes → Continue - if No → disqualify, end call"
waiting
update pls
o
You can use fine tuning examples , but the ai might not be smart enough to calculate that every time sometimes it will work sometimes it won't , so to get more stable result you can use custom functions to extract the date and send it to your server and see if it's past a year or not there, then send the answer back to the AI.
f
can you pls help me with the customer function
hey I see a new option in conversational flow agent, new option is "Componenets"
how to use that function, any video or documents available on it ?
o
It's simple function that you extract the data and send it to your n8n and on n8n you check if it's past year or not then return true or false and act based on it.
f
can you help me to create one
I'll need a video tutorial