You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/tutorials/power-automate.md
+19-14Lines changed: 19 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: language-service
10
10
ms.topic: tutorial
11
-
ms.date: 01/26/2023
11
+
ms.date: 03/02/2023
12
12
ms.author: aahi
13
13
ms.custom: cogserv-non-critical-language
14
14
---
@@ -27,52 +27,57 @@ In this tutorial, you'll create a Power Automate flow to extract entities found
27
27
28
28
## Prerequisites
29
29
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
30
-
* <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Language resource"target="_blank">A Language resource </a>
31
-
* (optional) A trained model if you're using a custom capability such as [custom NER](../custom-named-entity-recognition/overview.md), [custom text classification](../custom-text-classification/overview.md), or [conversational language understanding](../conversational-language-understanding/overview.md).
32
-
* You will need the key and endpoint from your Language resource to authenticate your Power Automate flow.
30
+
* Once you have your Azure subscription, <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Language resource"target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
31
+
* You will need the key and endpoint from the resource you create to connect your application to the API. You'll paste your key and endpoint into the code below later in the quickstart.
32
+
* You can use the free pricing tier (`Free F0`) to try the service, and upgrade later to a paid tier for production.
33
+
* Optional for this tutorial: A trained model is required if you're using a custom capability such as [custom NER](../custom-named-entity-recognition/overview.md), [custom text classification](../custom-text-classification/overview.md), or [conversational language understanding](../conversational-language-understanding/overview.md).
33
34
34
35
## Create a Power Automate flow
35
36
37
+
For this tutorial, you will create a flow that extracts named entities from text.
38
+
36
39
1.[Sign in to power automate](https://make.powerautomate.com/)
37
40
38
-
2. From the left side menu, select **My flows** and create a **Automated cloud flow**
41
+
1. From the left side menu, select **My flows**. Then select **New flow** > **Automated cloud flow**.
39
42
40
43
:::image type="content" source="../media/create-flow.png" alt-text="A screenshot of the menu for creating an automated cloud flow." lightbox="../media/create-flow.png":::
41
44
42
-
3. Enter a name your flow. For example `Languageflow`.
45
+
1. Enter a name for your flow such as `LanguageFlow`. Then select **Skip** to continue without choosing a trigger.
1. Under **Triggers** select**Manually trigger a flow**.
47
50
48
51
:::image type="content" source="../media/trigger-flow.png" alt-text="A screenshot of how to manually trigger a flow." lightbox="../media/trigger-flow.png":::
49
52
50
-
5. To add a Language service connector, search for **Azure Language**.
53
+
1. Select **+ New step** to begin adding a Language service connector.
54
+
55
+
1. Under **Choose an operation** search for **Azure Language**. Then select **Azure Cognitive Service for Language**. This will narrow down the list of actions to only those that are available for Language.
51
56
52
57
:::image type="content" source="../media/language-connector.png" alt-text="A screenshot of An Azure language connector." lightbox="../media/language-connector.png":::
53
58
54
-
6. For this tutorial, you will create a flow that extracts named entities from text. Search for **Named entity recognition**, and select the connector.
59
+
1. Under **Actions** search for **Named Entity Recognition**, and select the connector.
55
60
56
61
:::image type="content" source="../media/entity-connector.png" alt-text="A screenshot of a named entity recognition connector." lightbox="../media/entity-connector.png":::
57
62
58
-
7. Add endpoint and key for your Language resource, which will be used for authentication. You can find your key and endpoint by navigating to your resource in the [Azure portal](https://portal.azure.com), and selecting **Keys and endpoint** from the left navigation menu.
63
+
1. Get the endpoint and key for your Language resource, which will be used for authentication. You can find your key and endpoint by navigating to your resource in the [Azure portal](https://portal.azure.com), and selecting **Keys and Endpoint** from the left side menu.
59
64
60
65
:::image type="content" source="../media/azure-portal-resource-credentials.png" alt-text="A screenshot of A language resource key and endpoint in the Azure portal." lightbox="../media/azure-portal-resource-credentials.png":::
61
66
62
-
8. Once you have your key and endpoint, add it to the connector in Power Automate.
67
+
1. Once you have your key and endpoint, add it to the connector in Power Automate.
63
68
64
69
:::image type="content" source="../media/language-auth.png" alt-text="A screenshot of adding the language key and endpoint to the Power Automate flow." lightbox="../media/language-auth.png":::
65
70
66
-
9. Add the data in the connector
71
+
1. Add the data in the connector
67
72
:::image type="content" source="../media/connector-data.png" alt-text="A screenshot of data being added to the connector." lightbox="../media/connector-data.png":::
68
73
69
74
> [!NOTE]
70
75
> You will need deployment name and project name if you are using custom language capability.
71
76
72
-
9. From the top navigation menu, save the flow and select **Test the flow**. In the window that appears, select **Test**.
77
+
1. From the top navigation menu, save the flow and select **Test the flow**. In the window that appears, select **Test**.
73
78
:::image type="content" source="../media/test-connector.png" alt-text="A screenshot of how to run the flow." lightbox="../media/test-connector.png":::
74
79
75
-
10. After the flow runs, you will see the response in the **outputs** field.
80
+
1. After the flow runs, you will see the response in the **outputs** field.
76
81
77
82
:::image type="content" source="../media/response-connector.png" alt-text="A screenshot of flow response." lightbox="../media/response-connector.png":::
0 commit comments