Manage messages in Twilio with Azure Logic Apps

With Azure Logic Apps and the Twilio connector, you can create automated tasks and workflows that get, send, and list messages in Twilio, which include global SMS, MMS, and IP messages. You can use these actions to perform tasks with your Twilio account. You can also have other actions use the output from Twilio actions. For example, when a new message arrives, you can send the message content with the Slack connector. If you're new to logic apps, review What is Azure Logic Apps?


  • An Azure subscription. If you don't have an Azure subscription, sign up for a free Azure account.

  • From Twilio:

    • Your Twilio account ID and authentication token, which you can find on your Twilio dashboard

      Your credentials authorize your logic app to create a connection and access your Twilio account from your logic app. If you're using a Twilio trial account, you can send SMS only to verified phone numbers.

    • A verified Twilio phone number that can send SMS

    • A verified Twilio phone number that can receive SMS

  • Basic knowledge about how to create logic apps

  • The logic app where you want to access your Twilio account. To use a Twilio action, start your logic app with another trigger, for example, the Recurrence trigger.

Connect to Twilio

When you add a trigger or action that connects to a service or system for the first time, the Logic App Designer prompts you to create a connection by providing the necessary information, which varies based on the connection, for example:

  • The name that you want to use for the new connection

  • The name for the system or server

  • Your user or account credentials

  • The authentication type to use

  1. Sign in to the Azure portal, and open your logic app in Logic App Designer, if not open already.

  2. Choose a path:

    • Under the last step where you want to add an action, choose New step.


    • Between the steps where you want to add an action, move your pointer over the arrow between steps. Choose the plus sign (+) that appears, and then select Add an action.

      In the search box, enter "twilio" as your filter. Under the actions list, select the action you want.

  3. Provide the necessary details for your connection, and then choose Create:

    • The name to use for your connection
    • Your Twilio account ID
    • Your Twilio access (authentication) token
  4. Provide the necessary details for your selected action and continue building your logic app's workflow.

Connector reference

For technical details about triggers, actions, and limits, which are described by the connector's OpenAPI (formerly Swagger) description, review the connector's reference page.

Get support

Next steps