Microsoft Flow: Create a Workflow Using a Template
In today’s Ask the Admin, I’ll show you how to sign up for Microsoft Flow and set up a simple workflow using one of the many available templates.
Microsoft Flow allows users to automate workflows without understanding how to work with the publicly available APIs that developers use to create complex solutions using multiple services and apps from different vendors. Flow contains a wide range of templates for automating workflows, or you can create and share your own.
A workflow might automatically post photos you upload to Instagram to your Twitter feed, or post status updates on multiple social networks simultaneously. Or productivity solutions might include automatically creating a Wunderlist task from emails labelled important, or synchronizing files from one cloud storage provider to another. For more information on Flow, see What is Microsoft Flow? on the Petri IT Knowledgebase.
In this article, I’m going to show you how to post tweets that match a hashtag to Slack. To complete this demo, you’ll need a Microsoft account, a Twitter account and a project configured in Slack. See What is Slack and Is It Better Than Email? on Petri for more details on Slack.
Create a Flow using a Template
Before you can use Flow, you’ll need to sign up with a Microsoft account. If you already have a Microsoft account and have previously registered for Flow, you can click Sign in on the Flow webpage here. If you haven’t signed up before, click Sign up free and provide your Microsoft account username and password.
- On the Flow webpage, click Browse in the options at the top of the browser window.
- Scroll down the list of available templates and click Post to Slack if a new tweet matches with hashtag.
- On the template screen, read the template description and then click Use this template.
Choose a Flow template (Image Credit: Russell Smith)
- On the To use this template screen, click Sign in to the right of Twitter. A dialog box will appear where you will need to enter your Twitter username and password. Click Authorize app to give Flow permission to use your Twitter account.
- A green tick should appear below Twitter on the To use this template screen to indicate that Flow has been able to connect to Twitter successfully.
- Repeat the authorization process for Slack by clicking Sign in.
- You’ll be prompted to enter your Slack project URL in a pop-up dialog. Click to Continue.
- Now sign in to Slack by entering your email and password for the project.
- You’ll be shown the permissions that Slack will assign to Flow. Click Authorize to complete the process.
- A green tick should appear below Slack to indicate that Flow has been able to connect.
- Click Continue.
- Flow will now let you customize the workflow. In the first box, you can specify the Twitter hashtag you’d like to match. In the example, I’m going to type #windows10 into the When a new tweet appears box.
- Now all I need to do is choose which Slack channel to post. I already have a channel in my Slack project called twitter, so I’ll type that into the Post Message box.
- I’ll leave the default format of the Slack message as Tweet text + Tweeted by, although it’s possible to customize the contents and format of the message.
- You can also add extra steps to the Flow or configure advanced options.
- To complete the process, click Create flow (or Update flow if you are editing the flow) at the top of the browser window.
- You should see a message saying that ‘Your flow as created’. Click Done.
Because the #windows10 hashtag is commonly used on Twitter, you should see messages posted to your chosen Slack channel almost instantly. To turn off the Flow, click My flows and disable the Flow using the toggle switch.
More in Cloud Computing
AWS Snow Family Now Supports Remote Monitoring and Operations
May 9, 2022 | Michael Otey
Use Azure ExpressRoute Private Peering & Azure Virtual WAN to Connect Privately to Microsoft 365
Apr 21, 2022 | Flo Fox
Microsoft to Make Changes to Cloud Licensing Restrictions after Customer Complaints
Apr 18, 2022 | Rabia Noureen
Reviewing Your Backup Checklist
Apr 8, 2022 | Michael Otey
Amazon Enhances VMware Support in AWS Backup
Apr 7, 2022 | Michael Otey
Microsoft Acquires Business Process Mining Solutions Provider Minit
Mar 31, 2022 | Rabia Noureen
Most popular on petri