Objective
With Twilio Studio, our low-code/no-code visual editor flows are composed of widgets for building voice, messaging, and other communication workflows.
The Twilio API can be used to determine the amount of time that has transpired between the execution of widgets within a given Flow.
Product
Twilio Studio
Procedure
To calculate the amount of time between widgets run within a Studio Flow, you can make use of the Execution and Step resources:
Once you fetch the relevant Studio Flow Execution, you can retrieve a list of Step resources listed in reverse chronological order (most recent first):
You can then compare Steps' date_created properties to determine the time taken between widgets. Alternatively, another option is to make use of Event Streams for Studio events. More details can be found here: