Menu

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Step

A Step is the runtime processing of a Widget, starting when that Widget is entered. Variables get set at the end of a Step.

If you’re prompting a user for a text input, when they receive the inbound SMS prompt, they are actively in a Step until they exit the Widget (send a response or timeout). If the prompt is intended to set a variable, this happens at the end.

ExecutionStep properties

Names in PHP format
sid
sid<FT> Not PII

The unique string that we created to identify the ExecutionStep resource.

accountSid
sid<AC> Not PII

The SID of the Account that created the ExecutionStep resource.

flowSid
sid<FW> Not PII

The SID of the Flow.

executionSid
sid<FN> Not PII

The SID of the Step's Execution resource.

name
string Not PII

The event that caused the Flow to transition to the Step.

context
object Not PII

The current state of the Flow's Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.

transitionedFrom
string Not PII

The Widget that preceded the Widget for the Step.

transitionedTo
string Not PII

The Widget that will follow the Widget for the Step.

dateCreated
date_time<iso8601> Not PII

The date and time in GMT when the resource was created specified in ISO 8601 format.

dateUpdated
date_time<iso8601> Not PII

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

url
url Not PII

The absolute URL of the resource.

links
uri_map Not PII

The URLs of related resources.

Fetch a step resource

get
https://studio.twilio.com/v1/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps/{Sid}
Parameters
Names in None format
flow_sid
Required
get sid<FW> Not PII

The SID of the Flow with the Step to fetch.

execution_sid
Required
get sid<FN> Not PII

The SID of the Execution resource with the Step to fetch.

sid
Required
get sid<FT> Not PII

The SID of the ExecutionStep resource to fetch.

Example 1
        
        
        
        

        Read a list of step resources

        get
        https://studio.twilio.com/v1/Flows/{FlowSid}/Executions/{ExecutionSid}/Steps

        Step resources are listed in reverse chronological order (most recent is first).

        Parameters
        Names in None format
        flow_sid
        Required
        get sid<FW> Not PII

        The SID of the Flow with the Steps to read.

        execution_sid
        Required
        get sid<FN> Not PII

        The SID of the Execution with the Steps to read.

        Example 1
              
              
              
              
              Rate this page:

              Need some help?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.