Forum Discussion
arie_schwartzman
Microsoft
Dec 03, 2022Calling Power Automate flows from within Health Bot scenario
Health Bot can call any REST API endpoint from within the scenario. We can leverage this capability to access any Power Automate flow by using the Data Connection step. This opens an entire range of possibilities accessing Power Apps services, such as Dataverse and others.
First define the flow that is triggered by "Request" as shown below.
Once you save the flow, the "HTTP" post url is revelead. This the endpoint that also includes the access token to invoke this flow. We recommend to remove the access token from the URL and place in Health Bot's "Data Connections" configuration so it will be stored in a more secured manor.
Author the flow according to your needs. For example, you can use the "Dataverse" connector to access dataverse data sources and tables. Return the data by using the "Response" step.
In Health Bot scenario, use the "Data Connection" step and invoke the flow endpoint
For more details see Calling Microsoft Flow from your application | Blog Power Automate
No RepliesBe the first to reply