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/media-services/video-indexer/logic-apps-connector-tutorial.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.topic: tutorial #Required
8
8
ms.date: 05/01/2020
9
9
---
10
10
11
-
# Tutorial: unlock new experiences and monetization opportunities using Video Indexer with Logic App and Power Automate
11
+
# Tutorial: use Video Indexer with Logic App and Power Automate
12
12
13
13
Azure Media Services [Video Indexer v2 REST API](https://api-portal.videoindexer.ai/docs/services/Operations/operations/Delete-Video?) supports both server-to-server and client-to-server communication and enables Video Indexer users to integrate video and audio insights easily into their application logic, unlocking new experiences and monetization opportunities.
14
14
@@ -27,7 +27,10 @@ In this tutorial, you learn how to:
27
27
28
28
## Prerequisites
29
29
30
+
To begin, you will need to open two separate flows on either Logic Apps or Power Automate (depending on which you are using).
31
+
You will also need an Video Indexer account along with access to the APIs via API key.
30
32
33
+
You will also need an Azure Storage account. Keep note of the access key for your Storage account. Create two containers – one to store videos in and one to store insights generated by Video Indexer in.
31
34
32
35
## Upload and index your video automatically
33
36
@@ -45,15 +48,15 @@ To set up the first flow, you will need to provide your Video Indexer API Key
45
48
46
49

47
50
48
-
Once you can connect to your Azure Storage and Video Indexer accounts, go to the “When a blob is added or modified) trigger and select the container that you will place your video and audio files in.
51
+
Once you can connect to your Azure Storage and Video Indexer accounts, go to the “When a blob is added or modified) trigger and select the container that you will place your video files in.
Next, go to the “Create SAS URI by path” action, and select List of Files Path from the Dynamic content options.
53
56
54
57

55
58
56
-
Fill out your account Location and ID to get the Video Indexer account token.
59
+
Fill out [your account Location and ID](https://docs.microsoft.com/azure/cognitive-services/video-indexer/video-indexer-use-apis#location) to get the Video Indexer account token.
@@ -79,7 +82,7 @@ To set up this flow, you will need to provide your Video Indexer API Key and Azu
79
82
80
83
For your trigger, you will see a HTTP POST URL field. The URL won’t be generated until after you save your flow; however, you will need the URL eventually. We will come back to this.
81
84
82
-
Fill out your account Location and ID to get the Video Indexer account token.
85
+
Fill out [your account Location and ID](https://docs.microsoft.com/azure/cognitive-services/video-indexer/video-indexer-use-apis#location) to get the Video Indexer account token.
83
86
84
87
Go to the “Get Video Index” action and fill out the required parameters. For Video ID, put in the following expression: triggerOutputs()['queries']['id']
85
88
@@ -107,11 +110,11 @@ Try out your newly created Logic App or Power Automate solution by adding a vide
107
110
108
111
## Clean up resources
109
112
110
-
If you're not going to continue to use this application, delete
111
-
resources that were created in this tutorial.
113
+
After you are done with this tutorial, feel free to keep this Logic App or Power Automate solution up and running if you need. However, if you do not want to keep this running and do not want to be billed, Turn Off both of your flows if you’re using Power Automate. Disable both of the flows if you’re using Logic Apps.
112
114
113
115
## Next steps
114
116
115
117
This tutorial showed just one Video Indexer connectors example. You can use the Video Indexer connectors for any API call provided by Video Indexer. For example: upload and retrieve insights, translate the results, get embeddable widgets and even customize your models. Additionally, you can choose to trigger those actions based on different sources like updates to file repositories or emails sent. You can then choose to have the results update to our relevant infrastructure or application or generate any number of action items.
116
118
117
-
119
+
> [!div class="nextstepaction"]
120
+
> [Use the Video Indexer API](video-indexer-use-apis.md)
0 commit comments