https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> after a function node in a ...
# ❓・ai-evy-support
m
@AI Evy after a function node in a conversation flow, it's not transitioning to the next node.
a
Thanks for tagging me @marcc8650. I'll look through relevant sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Function Node Overview]() * [Conversation Flow Overview]() * [conversation flow doesn't transition correctly]() * [Transitions in conversations flows]() -----------------------------
### Answer For function nodes, transitions depend on two key settings [(1)]() : 1. If "wait for result" is off: - With "speak during execution" on: transitions after agent finishes talking - With "speak during execution" off: transitions immediately after function call 2. If "wait for result" is on: - With "speak during execution" on: transitions after function result arrives and agent finishes talking - With "speak during execution" off: transitions after function result arrives To troubleshoot: 1. Check if "wait for result" is enabled to ensure function completes before transition 2. Verify your transition conditions match the function's result 3. Since the function node isn't meant for conversation, make sure you have a conversation node attached to handle the function results Multiple users have reported similar transition issues [(2)]() [(3)]() , and the Retell team has acknowledged they are working on improving node transitions [(3)]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
for this condition.. With "speak during execution" off: transitions after function result arrives, what should the transition condition be?
@AI Evy for this condition.. With "speak during execution" off: transitions after function result arrives, what should the transition condition be?
a
Thanks for the follow-up, @marcc8650. I'll get back to you soon.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Function Node Overview]() * [Platform Changelogs | Retell AI]() * [Discord message from @dst19 on 2024-05-10]() * [Discord message from @harounans on 2024-04-18]() -----------------------------
### Answer Based on the available information sources, I do not have specific examples of transition conditions to share. However, what we do know is: 1. With "wait for result" enabled and "speak during execution" off, the transition will occur once the function result is ready [(1)]() 2. You can write your transition condition based on the function result 3. The function node itself is not intended for conversation - you'll need to attach a conversation node to handle the results To properly configure this, make sure: - "Wait for result" is enabled - "Speak during execution" is disabled - Your transition conditions reference the function's returned result data If you need specific transition condition examples, I'd recommend checking the Retell AI documentation or reaching out on their Discord channel for detailed guidance.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
can the transition description be something like.. 'when the function call is complete'?
@AI Evy can the transition description be something like.. 'when the function call is complete'?
a
Thanks for the follow-up, @marcc8650. I'll get back to you soon.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Function Node Overview]() * [Integrate any system with custom function]() * [Conversation Flow Overview]() * [Step 3: Add transition conditions]() -----------------------------
### Answer Yes, according to the documentation, it's recommended to write clear transition conditions that don't heavily rely on the node's instruction [(1)]() . For function nodes specifically, you can reference the function results in your conditions . Some recommended examples from the documentation include: - "CRM lookup returned successful result" So "when the function call is complete" would be a valid transition condition, though you may want to be more specific about the expected result or success state of your particular function for better control over the flow. Remember that since the function node isn't meant for conversation, you'll need to attach a conversation node to actually communicate the results to the user [(2)]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.