Skip to content

Latest commit

 

History

History
142 lines (88 loc) · 5.99 KB

get-started-logic-flow.md

File metadata and controls

142 lines (88 loc) · 5.99 KB
title description suite author contributors ms.subservice ms.topic ms.date ms.author ms.reviewer search.audienceType ms.collection
Create a cloud flow in Power Automate
Learn how to create a cloud flow that automatically performs one or more actions, such as sending email, when events like someone adding a row to a SharePoint list occur.
flow
kisubedi
kisubedi
v-aangie
cloud-flow
conceptual
09/04/2024
kisubedi
angieandrews
flowmaker
enduser
get-started
bap-ai-copilot

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

  • An account on Power Automate
  • A Twitter account
  • Office 365 credentials

[!INCLUDEcopilot-designer-note]

Specify an event to start the flow

First, select what event, or trigger, starts your flow.

  1. Sign in to Power Automate.

  2. From the navigation bar on the left, select My flows.

  3. Select New flow, and then select Automated cloud flow.

  4. In the Flow name field, give your flow a name.

    If you skip this step, Power Automate will generate a name for you.

  5. In the Search all triggers field, enter twitter.

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

    :::image type="content" source="./media/get-started-logic-flow/name-search-trigger.png" alt-text="Screenshot of name your flow and search for the Twitter trigger.":::

  7. At the bottom of the screen, select Create.

    [!TIP] Connectors support multiple types of authentication. For example, SQL Server supports Microsoft Entra ID, SQL Server authentication, Windows authentication, and SQL connection string. Users choose which type of authentication they want to use when configuring a connector.

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

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

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).

  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.

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

    :::image type="content" source="./media/get-started-logic-flow/add-parameter.png" alt-text="[Screenshot of adding the Tweeted by dynamic content.":::

  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.

Using Copilot, you can use natural language to create a flow.

  1. Simply ask Copilot to create your flow by typing the following prompt:

    when a new tweet is posted, send an email to [email protected] with Twitter username

    Copilot suggests a flow based on your prompt:

    :::image type="content" source="./media/get-started-logic-flow/copilot-natural-language.png" alt-text="Screenshot of a prompt that uses natural language in Copilot.":::

  2. Review and then provide the necessary connections to Twitter and Outlook.

  3. Select Next and your flow appears on the designer.

  4. Save the flow and it's ready to use.

    Your flow will trigger when any new tweets that mention the key phrase Contoso Company are posted. It will also send an email to the specified email address in the Send an email action.


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.

Manage a cloud flow

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

  1. Sign in to Power Automate.

  2. In the navigation bar on the left, select My flows.

  3. 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.

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

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

    • 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.

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

Related information

[!INCLUDEfooter-include]