Call logic app workflows from Power Apps
Applies to: Azure Logic Apps (Consumption)
To call your logic app workflow from a Power Apps flow, you can export your logic app resource and workflow as a custom connector. You can then call your workflow from a flow in a Power Apps environment.
Prerequisites
An Azure account and subscription. If you don't have an Azure subscription, sign up for a free Azure account.
A Power Apps license.
A Consumption logic app workflow with a request trigger to export.
Note
The Export capability is available only for Consumption logic app workflows in multitenant Azure Logic Apps.
A Power Apps flow from where to call your logic app workflow.
Export your logic app as a custom connector
Before you can call your workflow from Power Apps, you must first export your logic app resource as a custom connector.
In the Azure portal search box, enter logic apps. From the results, select Logic apps.
Select the logic app resource that you want to export.
On your logic app menu, select Overview. On the Overview page toolbar, select Export > Export to Power Apps.
On the Export to Power Apps pane, provide the following information:
Property Description Name Provide a name for the custom connector to create from your logic app. Environment Select the Power Apps environment from which you want to call your logic app. When you're done, select OK. To confirm that your logic app was successfully exported, check the notifications pane.
Export errors
Here are errors that might happen when you export your logic app as a custom connector and suggested solutions:
- The current Logic App cannot be exported. To export, select a Logic App that has a request trigger.: Check that your logic app workflow begins with a Request trigger.
Connect to your logic app workflow from Power Apps
In Power Apps, on the Power Apps home page menu, select Flows.
On the Flows page, select the flow from where you want to call your logic app workflow.
On your flow page toolbar, select Edit.
In the flow editor, select + New step.
In the Choose an operation search box, enter the name for your logic app custom connector.
Optionally, to see only custom connectors in your environment, filter the results using the Custom tab, for example:
Select the custom connector operation that you want to call from your flow.
Provide the necessary operation information to pass to the custom connector.
On the Power Apps editor toolbar, select Save to save your changes.
In the Azure portal, find and open the logic app resource that you exported.
Confirm that your logic app workflow works as expected with your Power Apps flow.
Delete logic app custom connector from Power Apps
In Power Apps, on the Power Apps home page menu, select Discover. On the Discover page, find the Data tile, and select Custom connectors.
In the list, find your custom connector, and select the ellipses (...) button, and then select Delete.
To confirm deletion, select OK.
Next steps
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for