Post tweets with Microsoft Flow
You can create a flow that automatically performs one or more actions after it's triggered by an event. For example, the flow can notify you by email when someone posts a tweet that includes a keyword that you specify. In this example, posting a tweet is the event (also known as a trigger), and sending an email notification is the action. In this unit, which you'll learn how to create this example flow.
- An account on flow.microsoft.com
- A Twitter account
- Microsoft Office 365
Specify an event to start the flow
First, you must select the trigger (event) that starts the flow.
Sign in to Microsoft Flow by using your organizational account.
Select My flows.
Select New, and then select Create from blank.
Select Search hundreds of connectors and triggers.
In the search field, enter twitter, select the Twitter connector, and then select the Twitter - When a new tweet is posted trigger.
If you haven't already connected your Twitter account to Microsoft Flow, select Sign in to Twitter, and then enter your credentials.
In the Search text box, enter the keyword to find.
Specify an action
Select New step, and then select Add an action.
In the search field, enter send email, and then select the Office 365 Outlook - Send an email action.
If you're prompted to sign in, select the sign-in button, and then enter your credentials.
In the To field, enter or paste your email address, and then select your name in the list of contacts that appears.
In the Subject field, enter New tweet from: followed by a space.
In the list of dynamic content, select the Tweeted by token to add a placeholder for it.
Select the Body field, and then, in the list of dynamic content, select the Tweet text token to add a placeholder for it.
Optional: Add more tokens, other content, or both to the body of the email.
Select Save to save the flow.
Post a tweet that includes the keyword that you specified, or wait for someone else to post such a tweet.
Within a minute after the tweet is posted, an email message will notify you of the new tweet.