Use the text recognition prebuilt model in Power Automate

  1. Sign in to Power Automate.

  2. Select My flows in the left pane, and then select New flow > Instant cloud flow.

  3. Name your flow, select Manually trigger a flow under Choose how to trigger this flow, and then select Create.

  4. Expand Manually trigger a flow, and then select +Add an input > File as the input type.

  5. Select +New step > AI Builder, and then select Recognize text in an image or a PDF document in the list of actions.

  6. Select the Image input, and then select File Content from the Dynamic content list:

    Trigger text recognition flow.

  7. To process results, select +New step > Control, and then select Apply to each.

  8. Select the input, and then select lines from the Dynamic content list. This will add results to the input and automatically create another Apply to each action.

  9. In the successive actions, you can use any columns extracted by the AI Builder model. For example, you can extract Text into a variable, and then post all the extracted text in a Teams channel:

    Text recognition flow example.

Congratulations! You've created a flow that uses a text recognition model. You can continue to build on this flow until it suits your needs. Select Save on the top right, and then select Test to try out your flow.



Name Required Type Description
Image Yes file Image to analyze


The detected text is embedded into lines sub list of the results list. You first need to select the lines column from an Apply to each action to view all the following columns.

Name Type Description
Text string Strings containing the line of text detected
Page number string Page number of the text detected
Coordinates float Coordinates of the text detected

Text recognition overview