https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> I have a node in a multi pr...
# ❓・ai-evy-support
m
@AI Evy I have a node in a multi prompt agent with these instructions... Task: 1. Ask the user what the new note should be. Do not automatically repeat the notes back to the user. 2. Ask the user - Would you like me to read the notes back to you? - if not, then move to step 3. - if yes then read the notes back the user - Ask if they'd like to make any changes. - If they do then ask what the changes are, incorporate the changes and then ask if they'd like you to read out the notes. 3. Let {{first_name}} know that you're updating the notes. 4. Call function 'update_notes', passing in id:'{{id}}' and description: '{{description}}' and don't wait for a response before moving to the next step. but the agent is still waiting for a response before transitioning to the next node. how can i get it to not wait
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**: * [Build a multi-prompt agent]() * [Prompt Overview]() * [Function Node Overview]() * [Conversation Flow Overview]() -----------------------------
### Answer For function nodes in Retell AI, you can control whether the agent waits for a function response using the "Wait for Result" setting [(1)]() . To prevent waiting: 1. Turn off "Wait for Result" in your function node settings 2. When "Wait for Result" is disabled: - If "Speak During Execution" is on, the agent will transition once done talking - If "Speak During Execution" is off, the agent will transition immediately after invoking the function 3. Make sure your transition conditions are clear and explicit [(2)]() For your specific case with the update_notes function, disable "Wait for Result" in the function node settings to allow immediate transition to the next node without waiting for the function response [(1)]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.