Issue: We have five post-session send_sms tools configured with conditions against post_call_analysis_data fields (volcano_call_category, sms_opt_in). On the call above, the finished call’s custom_analysis_data recorded:
sms_opt_in: "yes"volcano_call_category: "business"
These values exactly match the condition on every one of our five conditional SMS actions — including Business_Call_Notification, whose entire condition is the single equation volcano_call_category == "business".
Despite this exact match, the public call log shows all five conditional actions were skipped, roughly 2 seconds after the call ended:
textCopy
Skipping session tool Business_Call_Notification: condition not met
Skipping session tool business_call_notification_bruno: condition not met
Skipping session tool personal_call_bruno: condition not met
Skipping session tool personal_call_cesar: condition not met
Skipping session tool send_sms: condition not met
We previously had a typo in these conditions (capitalized values like "Business" instead of "business"), which we’ve since corrected to match the enum choices exactly (verified in both version 12 and our draft version 13). Even after that fix, on a fresh test call, the condition still evaluates as not met despite the recorded analysis data matching perfectly.
What we’re asking:
- Can you confirm whether this is an execution-timing issue — i.e., whether the condition check for post-session tools runs before
post_call_analysis_datais fully populated/available, causing it to evaluate against stale or empty values? - If so, is there a supported way to guarantee
send_sms(and other post-session tools) wait for post-call analysis to complete before evaluating their conditions? - If this isn’t a timing issue, what are we missing about how these conditions reference
post_call_analysis_datafields?
Happy to provide additional call IDs or account details as needed.