Twilio · Arazzo Workflow

Twilio Trigger a Studio Flow Execution

Version 1.0.0

Trigger an execution of a published Studio Flow for a contact, then fetch the execution status.

1 workflow 1 source API 1 provider
View Spec View on GitHub AuthenticationCommunicationsContact CenterEmailIoTMessagingPhoneSMST1VerificationVideoVoiceArazzoWorkflows

Provider

twilio

Workflows

trigger-studio-execution
Trigger a Studio Flow execution for a contact and fetch its status.
Creates a new Execution of a published Studio Flow for a contact, then fetches the Execution by SID to confirm its status.
2 steps inputs: flowSid, from, parameters, to outputs: executionSid, status
1
triggerExecution
Trigger a new Execution of the published Studio Flow for the contact.
2
fetchExecution
Fetch the Execution by SID to read its current status.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Twilio Trigger a Studio Flow Execution
  summary: Trigger an execution of a published Studio Flow for a contact, then fetch the execution status.
  description: >-
    The core Twilio Studio automation pattern. This workflow triggers a new
    Execution of an already published Studio Flow for a given contact, then
    fetches that Execution back by SID to read its current status. Each step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: flowsApi
  url: ../openapi/twilio-flows-api-openapi.yml
  type: openapi
workflows:
- workflowId: trigger-studio-execution
  summary: Trigger a Studio Flow execution for a contact and fetch its status.
  description: >-
    Creates a new Execution of a published Studio Flow for a contact, then
    fetches the Execution by SID to confirm its status.
  inputs:
    type: object
    required:
    - flowSid
    - to
    - from
    properties:
      flowSid:
        type: string
        description: The SID of the published Studio Flow to execute (starts with FW).
        example: FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
      to:
        type: string
        description: The contact phone number to start the Flow Execution for (E.164).
        example: '+15005550006'
      from:
        type: string
        description: The Twilio phone number (or Messaging Service SID) the Flow sends from.
        example: '+15005550006'
      parameters:
        type: string
        description: >-
          Optional JSON string of Flow parameters added to the Flow context,
          e.g. '{"name":"Zeke"}'. Must be passed as a string, not an object.
        example: '{"name":"Zeke"}'
  steps:
  - stepId: triggerExecution
    description: >-
      Trigger a new Execution of the published Studio Flow for the contact.
    operationId: CreateExecution
    parameters:
    - name: FlowSid
      in: path
      value: $inputs.flowSid
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        To: $inputs.to
        From: $inputs.from
        Parameters: $inputs.parameters
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      executionSid: $response.body#/sid
      status: $response.body#/status
  - stepId: fetchExecution
    description: >-
      Fetch the Execution by SID to read its current status.
    operationId: FetchExecution
    parameters:
    - name: FlowSid
      in: path
      value: $inputs.flowSid
    - name: Sid
      in: path
      value: $steps.triggerExecution.outputs.executionSid
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      executionSid: $response.body#/sid
      status: $response.body#/status
  outputs:
    executionSid: $steps.triggerExecution.outputs.executionSid
    status: $steps.fetchExecution.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/twilio-trigger-studio-execution-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.