Use the entity extraction prebuilt model in Power Automate

  1. Sign in to Power Automate.

  2. On the left pane, select My flows, and then select New flow > Automated cloud flow.

  3. Name your flow, select When a new email arrives V3 (Office 365 Outlook) under Choose your flow's trigger, and then select Create.

  4. Select + New step.

  5. In the Search connectors and actions input, enter html to text to search for and select Html to text (preview) in the list of actions.

  6. Select the text below the ribbon and select Body from the Dynamic Content list. This will covert the body your document to plain text.

  7. Select + New step > AI Builder > Extract entities from text with the standard model in the Actions list. (If you want to use your own model instead, select Extract entities from text with one of your custom models.)

  8. In the Language input, select or enter your language.

  9. In the Text input, select The plain text content from the Dynamic content list.

    Choose an action'.

  10. In the successive actions, you can use any columns extracted by the AI Builder model. For example, you can send an email using the Entity type and Entity value columns.

    Choose an a action'.

Congratulations! You've created a flow that uses an entity extraction model. Select Save on the top right, and then select Test to try out your flow.

Parameters

Input

Name Required Type Description Values
Text Yes string Text to analyze Text sentences
Language Yes string Language of the text to analyze List of predefined languages or language code (ex.: "en", "fr", "zh_chs", "ru")

Output

Name Type Description Values
Entity type string Type of the entity Example: DateTime or Organization
Entity value string Content of the entity Example: June 1 or Contoso
Confidence score float How confident the model is in its prediction Value in the range of 0 to 1. Values close to 1 indicate greater confidence that the extracted value is accurate
Starting location integer Where the entity's first character appear in the line
Character count integer How long the entity is

Entity extraction prebuilt model
AI Builder in Power Automate overview