https://retellai.com/?utm_source=discord&utm_medium=seo logo
Functions skipped
# ❓・bug-report
p
Occasionally the AI will execute my script well but skip the functions to post data to my system is there a way to prevent this 2025-11-06 21:34:53.207 call_4c47ef5fbe898ec59ab2a4bae6b info: Starting call: call_4c47ef5fbe898ec59ab2a4bae6b 2025-11-06 21:35:11.828 call_4c47ef5fbe898ec59ab2a4bae6b info: Calling tool: variables Arguments: 2025-11-06 21:35:23.386 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 1471.0009765625 2025-11-06 21:35:35.038 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 2285.9970703125 2025-11-06 21:35:44.367 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 3235 2025-11-06 21:35:48.547 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 185 2025-11-06 21:35:57.167 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 1625 2025-11-06 21:36:06.368 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 1946 2025-11-06 21:36:21.553 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 2191.00390625 2025-11-06 21:36:29.896 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 1524 2025-11-06 21:36:38.666 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 1934 2025-11-06 21:36:49.932 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 1790 2025-11-06 21:37:18.996 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 1883.9951171875 2025-11-06 21:37:48.562 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 1810 2025-11-06 21:38:52.193 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 1701 2025-11-06 21:39:28.425 call_4c47ef5fbe898ec59ab2a4bae6b info: E2E latency for this turn: 3702.97998046875 2025-11-06 21:39:57.847 call_4c47ef5fbe898ec59ab2a4bae6b info: Ending call: call_4c47ef5fbe898ec59ab2a4bae6b
o
Hello @paulm_44818_42267 , I'm not sure what do you mean here
can you clarify more or provide an example
p
in my script after each question there is a function called like this Prompt: Do you have an email address I can use in case follow-up is needed? If unclear first time: Say: I'm sorry, I didn't hear that. Could you repeat the email address? If still unclear: Say: No problem, we can skip that. → Continue to City & State On capture → {{tool:variables}} → {{tool:post_partial}} in the example abovde it called the variables one once and no post and then proceeded to the next question and didn't call the variable or post after that or the following questions so it went through the whole script but never posted the data to me. It works most of the time but I see this scenario pop up occassionally
o
Hello @paulm_44818_42267 , I hope you are okay , I see you are using the functions in wrong way first we don't use functions between {{ }} these are for variables and in this line` On capture → {{tool:variables}} → {{tool:post_partial}}` if you meant to set vairables from the coversation you can use the extract dynamic variables function and use like this "After This quetsions extract the Email using this tool "extract_email" and extract_email should be configured right on your functions for posting the data to you have to tell it call this function after the section you and defined on the function what data you want to be sent to your server.
p
ok great I will change my scripts and test it out that way to see if the brackets sometimes caused the issue ty