title | description | services | ms.service | ms.suite | author | ms.author | ms.reviewer | ms.assetid | ms.topic | tags | ms.date |
---|---|---|---|---|---|---|---|---|---|---|---|
Connect to Twitter from Azure Logic Apps | Microsoft Docs |
Automate tasks and workflows that monitor and manage tweets, plus get data about followers, your followed users, other users, timelines, and more from your Twitter account by using Azure Logic Apps |
logic-apps |
logic-apps |
integration |
ecfan |
estfan |
klam, LADocs |
8bce2183-544d-4668-a2dc-9a62c152d9fa |
article |
connectors |
08/25/2018 |
With Azure Logic Apps and the Twitter connector, you can create automated tasks and workflows that monitor and manage data you care about in Twitter such as tweets, followers, users and followed users, timelines, and more, along with other actions, for example:
- Monitor, post, and search tweets.
- Get data such as followers, followed users, timelines, and more.
You can use triggers that get responses from your Twitter account and make the output available to other actions. You can use actions that perform tasks with your Twitter account. You can also have other actions use the output from Twitter actions. For example, when a new tweet with a specific hashtag appears, you can send messages 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 Twitter account and user credentials
Your credentials authorize your logic app to create a connection and access your Twitter account.
-
Basic knowledge about how to create logic apps
-
The logic app where you want to access your Twitter account. To start with a Twitter trigger, create a blank logic app. To use a Twitter action, start your logic app with another trigger, for example, the Recurrence trigger.
[!INCLUDE Create connection general intro]
-
Sign in to the Azure portal, and open your logic app in Logic App Designer, if not open already.
-
Choose a path:
-
For blank logic apps, in the search box, enter "twitter" as your filter. Under the triggers list, select the trigger you want.
-or-
-
For existing logic apps:
-
Under the last step where you want to add an action, choose New step.
-or-
-
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 "twitter" as your filter. Under the actions list, select the action you want.
-
-
-
If you're prompted to sign in to Twitter, sign in now so you can authorize access for your logic app.
-
Provide the necessary details for your selected trigger or action and continue building your logic app's workflow.
This trigger starts a logic app workflow when the trigger detects a new tweet, for example, with the hashtag, #Seattle. So for example, when these tweets are found, you can add a file with the tweets' contents to storage, such as a Dropbox account by using the Dropbox connector.
Optionally, you can include a condition that eligible tweets must come from users with at least a specified number of followers.
Enterprise example: You can use this trigger to monitor tweets about your company and upload the tweets' content to a SQL database.
This action posts a tweet, but you can set up the action so that the tweet contains the content from tweets found by the previously described trigger.
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