I have built an Azure logic app, that will output an VTT transcript file, once a video has been uploaded. Link to the API: https://api-portal.videoindexer.ai/docs/services/Operations/operations/Get-Video-Index. However, I am trying to find a way to let a user choose outside of the logic app, what language they want the captions to be translated in.
How can I build a simple web app/page that will allow a user to choose a language from a radio button with a list of languages and then loop that back to a logic app?
For example I want to build something like this and then wire it up to my logic app "Caption Language" field:
How can I create a HTML form and loop that inside my Azure Logic app? What is the efficient way of doing this?
There are 2 things:
For the 1st point, it's totally up to you: choose the technology you prefer, and go. The thing that you have to understand is how it is linked to the 2nd point.
What you could do for this 2nd point:
That will create the following schema:
You must point to the value in your payload:
So when you call your logic app from your web page, ensure that when you submit your form, your make a POST to your logic app url and pass in the body a content which is
{ "lang": "yourSelectedLanguageCode" }