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/Speech-Service/power-automate-batch-transcription.md
+37-6Lines changed: 37 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,25 +35,56 @@ Follow these steps to create a new storage account and container.
35
35
36
36
1. Go to the [Azure portal](https://portal.azure.com/) and sign in to your Azure account.
37
37
1. <ahref="https://portal.azure.com/#create/Microsoft.StorageAccount-ARM"title="Create a Storage account resource"target="_blank">Create a Storage account resource</a> in the Azure portal. Use the same subscription and resource group as your Speech resource.
38
-
1. Select the Storage account.
38
+
1. Select the Storage account.
39
39
1. In the **Data storage** group in the left pane, select **Containers**.
40
40
1. Select **+ Container**.
41
-
1. Enter a name for the new container and select **Create**.
41
+
1. Enter a name for the new container such as "batchtranscription" and select **Create**.
42
+
1. Get the **Access key** for the storage account. Select **Access keys** in the **Security + networking** group in the left pane. View and take note of the **key1** (or **key2**) value. You'll need the access key later when you [configure the connector](#create-a-power-automate-flow).
42
43
43
44
You'll [upload files to the container](#upload-files-to-the-container) after the connector is configured, since the events of adding and modifying files kick off the transcription process.
44
45
45
46
## Create a Power Automate flow
46
47
47
-
48
48
1.[Sign in to power automate](https://make.powerautomate.com/)
49
49
1. From the collapsible menu on the left, select **Create**.
50
50
1. Select **Automated cloud flow** to start from a blank flow that can be triggered by a designated event.
51
-
1. In the **Build an automated cloud flow** dialog, enter a name for your flow such as `BatchSTT`.
52
-
1. Select **Skip** to exit the dialog and continue without choosing a trigger.
53
-
1. Enter "blob" in the search connectors and triggers box to narrow results. Under the **Azure Blob Storage** connector, select the **When a blob is added or modified** trigger.
54
51
52
+
:::image type="content" source="./media/power-platform/create-automated-cloud-flow.png" alt-text="A screenshot of the menu for creating an automated cloud flow." lightbox="./media/power-platform/create-automated-cloud-flow.png":::
55
53
54
+
1. In the **Build an automated cloud flow** dialog, enter a name for your flow such as "BatchSTT".
55
+
1. Select **Skip** to exit the dialog and continue without choosing a trigger.
56
+
1. Choose a trigger for the first connector. For this example, enter "blob" in the search connectors and triggers box to narrow the results.
57
+
1. Under the **Azure Blob Storage** connector, select the **When a blob is added or modified** trigger.
58
+
59
+
:::image type="content" source="./media/power-platform/flow-search-blob.png" alt-text="A screenshot of the search connectors and triggers dialog." lightbox="./media/power-platform/flow-search-blob.png":::
56
60
61
+
1. Configure the Azure Blob Storage connection.
62
+
1. From the **Authentication type** drop-down list, select **Access Key**.
63
+
1. Enter the account name and access key of the Azure Storage account that you [created previously](#create-the-azure-blob-storage-container).
64
+
1. Select **Create** to continue.
65
+
1. Configure the **When a blob is added or modified** trigger.
66
+
67
+
:::image type="content" source="./media/power-platform/flow-connection-settings-blob.png" alt-text="A screenshot of the configure blob trigger dialog." lightbox="./media/power-platform/flow-connection-settings-blob.png":::
68
+
69
+
1. From the **Storage account name or blob endpoint** drop-down list, select **Use connection settings**. You should see the storage account name as a component of the connection string.
70
+
1. Under **Container** select the folder icon. Choose the container that you [created previously](#create-the-azure-blob-storage-container).
71
+
72
+
1. Select **+ New step** to begin adding a new operation for the Azure Blob Storage connector.
73
+
1. Enter "blob" in the search connectors and actions box to narrow the results.
74
+
1. Under the **Azure Blob Storage** connector, select the **Create SAS URI by path** trigger.
75
+
1. Under the **Storage account name or blob endpoint** drop-down, choose the same connection that you used for the **When a blob is added or modified** trigger.
76
+
1. Select `Path` as dynamic content for the **Blob path** field.
77
+
78
+
1. Select **+ New step** to begin adding a new operation for the [Azure Cognitive Services for Batch Speech-to-text connector](/connectors/cognitiveservicesspe/).
79
+
1. Enter "batch speech-to-text" in the search connectors and actions box to narrow the results.
80
+
1. Select the **Azure Cognitive Services for Batch Speech-to-text** connector.
81
+
1. Select the **Create transcription** action.
82
+
83
+
1. Create transcription
84
+
1. Delete transcription
85
+
86
+
87
+
57
88
1. From the top navigation menu, save the flow and select **Test the flow**. In the window that appears, select **Test**.
0 commit comments