Simran
02/05/2026, 10:56 PMAI Evy
02/05/2026, 10:56 PMAI Evy
02/05/2026, 10:56 PMlast_node in your first prompt node [(2) ]()
2. Update this variable in each prompt node to store the current node name/ID
3. After your Global Node, connect to a branch node with prompt conditions that check the last_node value to redirect back to the expected node
Important notes:
- Equation conditions won't work with prompt-defined variables for this purpose
- Prompt-defined variables must not use {{}} syntax
If Retell AI has released a new native feature for this that isn't yet documented, I'd recommend:
- Reaching out via [Contact Sales]()
- Checking [Retell AI GitHub]()
Would you like me to provide a general answer on how such a feature might typically work, or would you prefer to wait for official documentation?AI Evy
02/05/2026, 10:56 PMAI Evy
02/05/2026, 10:56 PMAI Evy
02/05/2026, 10:58 PM