Creating Flows in Power Automate

  1. Home
  2. Creating Flows in Power Automate

We shall learn to create a flow in Power Automate to perform one or more tasks automatically once an event is triggered. Now, we will discuss to create a flow to notify by email when someone sends a tweet that contains a keyword you specify. Such that sending a tweet is the event, and sending mail is the action.

Prerequisites for Creating Flows

  • Account on flow.microsoft.com
  • Twitter account
  • Office 365 credentials

What are the steps to specify an event to start the flow?

  • First, you will need to select what event, or trigger, starts your flow.
  • Second, in Power Automate, select My flows from the navigation bar on the left.
  • Next, select New, and then select Automated-from blank.
  • Now, give your flow a name in the Add a name or generate one field.
  • Then, enter Twitter into the Search all triggers field.
  • Lastly, select Twitter – When a new tweet is posted.

Build an automated Flow

  • First, select the create button at the bottom of the screen.
  • Secondly, select Sign in to Twitter, and then provide your credentials to connect to your Twitter account to Power Automate.
  • Then in the Search text box, type the keyword that you want to find.

Steps to specify an action

  • First, select New step option.
  • Now, in the box that shows Search connectors and actions, enter send an email, and then select Send an email (V2).
  • Next, when prompted, select the sign-in button, and then provide your credentials.
  • Then in the form that appears, enter your email address in the To box, and select your name from the list of contacts that appears.
  • In the Subject box, enter New tweet from, and then type a space.
  • In the list of tokens, select the Tweeted by the token to add a placeholder for it.
  • Then, select the Body box, and then select the Tweet text token to add a placeholder for it. Else, you can add more tokens, other text, or both to the body of the email.
  • Lastly, near the top of the screen, select Save.

How to manage a flow?

In order to manage a flow in Power Automate, select My flows in the navigation bar on the left side. Then in the list of flows, you can perform any of the following –

  • Firstly, to pause a flow, set its toggle to Off.
  • Then to resume a flow, set its toggle to On.
  • Then, to edit a flow, select the pencil icon that corresponds to the flow you want to edit.
  • For deleting a flow, select the icon, select Delete, and then select Delete on the message box that appears.
  • Lastly, to view the run history of a flow, select the flow from the My flows page, and then view the history under the 28-day run history section of the page that opens.

In the end, select a flow run from the list of runs to see the inputs and outputs of each step.

This image has an empty alt attribute; its file name is testpreptraining.com-4-750x117.png
Menu