Use the entity extraction prebuilt model in Power Automate
Sign in to Power Automate.
On the left pane, select My flows, and then select New flow > Automated cloud flow.
Name your flow, select When a new email arrives V3 (Office 365 Outlook) under Choose your flow's trigger, and then select Create.
Select + New step.
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.
Select the text below the ribbon and select Body from the Dynamic Content list. This will covert the body your document to plain text.
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.)
In the Language input, select or enter your language.
In the Text input, select The plain text content from the Dynamic content list.
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.
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 |
Related information
Entity extraction prebuilt model
AI Builder in Power Automate overview