Build a Power Automate flow by using AI Builder Key phrase extraction

Completed

For this exercise, you develop a flow with Power Automate that uses AI Builder Key phrase extraction to check for key phrases whenever you receive a new message in a Viva Engage group. The sentiment is then sent as a push notification to your mobile flow app. For more information, see Create a flow in Power Automate.

Create a flow that extracts key phrases

Power Automate has connectors to many different services, including Viva Engage. Create a flow that automatically stores key phrases to a Microsoft Excel file for each message that arrives in your Viva Engage group.

  1. From the Power Automate home page, select + Create on the left hand navigation.

  2. Select Automated Cloud flow.

  3. Name the flow AI Predict Notification.

  4. Search for Viva Engage in the Choose your flow's trigger field and then select When there is a new message in a group.

    Tip

    If you do not have a Viva Engage account, you could select When a new email arrives as your flow's trigger.

  5. Select Create.

    Screenshot of the creation of a flow with the name AI Predict Notification and searching for Viva Engage.

  6. Select the Viva Engage group that you want to use for key phrase extraction.

  7. Select the + icon and Add an action and then search for Predict and add it to the flow.

  8. For the Predict action, select the following parameters:

    • Model - KeyphraseExtraction model

    • Language - Two-letter abbreviation for your language

    • Text - Message Body Text

    Screenshot of the predict action's parameters.

  9. Select the + icon and Add an action and then search for Send me a mobile notification and add it to the flow.

  10. In the Text field, select Key Phrase from the dynamic content.

    Screenshot of the key phrase from the dynamic content.

  11. Select Save to save and test the flow.

Now, when a new message on a Viva Engage channel arrives, you automatically receive a mobile notification with the key phrases extracted.

Note

Mobile notifications must be enabled for power automate on your device to receive the notification.