Create a cloud flow in Power Automate

Create a cloud flow that performs one or more tasks automatically after it's triggered by an event. For example, create a cloud flow that notifies you by email when someone sends a tweet that contains a keyword you specify. In this example, sending a tweet is the event, and sending mail is the action.

Prerequisites

Specify an event to start the flow

First, you will need to select what event, or trigger, starts your flow.

  1. In Power Automate, select My flows from the navigation bar on the left.

  2. Select New, and then select Automated-from blank.

  3. Give your flow a name in the Add a name or we'll generate one field.

  4. Enter Twitter into the Search all triggers field.

  5. Select Twitter - When a new tweet is posted.

    Name your flow and serch for the Twitter trigger

  1. Select the Create button at the bottom of the screen.

    Tip

    Connectors support multiple types of authentication. For example, SQL Server supports Azure AD, SQL Server authentication, Windows authentication, and SQL connection string. Users choose which type of authentication they want to use when configuring a connector.

  2. If you haven't already connected your Twitter account to Power Automate, select Sign in to Twitter, and then provide your credentials.

  3. In the Search text box, type the keyword that you want to find.

    Twitter keyword

Specify an action

  1. Select New step.

  2. In the box that shows Search connectors and actions, enter send email, and then select Send an email (V2).

    List of actions

  3. If prompted, select the sign-in button, and then provide your credentials.

  4. In the form that appears, enter your email address in the To box, and then select your name from the list of contacts that appears.

  5. In the Subject box, enter New tweet from:, and then type a space.

    Subject line with placeholder

  6. In the list of tokens, select the Tweeted by token to add a placeholder for it.

    Add parameter

  7. Select the Body box, and then select the Tweet text token to add a placeholder for it.

    Optionally, you can add more tokens, other text, or both to the body of the email.

  8. Near the top of the screen, select Save.

Test your flow

Send a tweet with the keyword that you indicated, or wait for someone else to post such a tweet.

Within a minute after the tweet is posted, an email message notifies you of the new tweet.

Tip

Use the Send email (V2) action to format email in which you customize the font, use bold, italic or underline, customize the color and highlight, and create lists or links, and more.

Rich edit email

Manage a cloud flow

  1. In Power Automate, select My flows in the navigation bar on the left side.

  2. In the list of flows, do any of the following:

    • To pause a cloud flow, set its toggle to Off.

      Pause flow

    • To resume a cloud flow, set its toggle to On.

      Resume flow

    • To edit a cloud flow, select the pencil icon that corresponds to the flow you want to edit.

      Select flow

    • To delete a cloud flow, select the ... icon, select Delete, and then select Delete on the message box that appears.

      Delete icon

    • To view the run history of a cloud 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.

      run history

      Select a cloud flow run from the list of runs to see the inputs and outputs of each step.

Note

You can have up to 600 flows in your account. If you already have 600 flows, delete one before you create another flow.

Next steps