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.
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 use a trigger or action that accesses a service for the first time, the Logic Apps Designer prompts you to create a connection to that service. You can then provide the necessary connection information directly from your logic app inside the designer.
Sign in to the Azure portal, and open your logic app in Logic App Designer, if not open already.
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.
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
Provide the necessary details for your selected action and continue building your logic app's workflow.
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.
- For questions, visit the Azure Logic Apps forum.
- To submit or vote on feature ideas, visit the Logic Apps user feedback site.
- Learn about other Logic Apps connectors