Exercise - Use a connector from Power Automate

Completed

In this exercise, you'll create a manually triggered Power Automate cloud flow that will use the Contoso invoicing custom connector that you created in the previous exercise in this module.

Important

Complete the Exercise: Create a new connector in a solution unit before starting this exercise.

Task 1: Create a Power Automate cloud flow

In this task, you'll create a Power Automate flow inside the Contoso invoicing solution that you previously created.

  1. Get an API key from Contoso Invoicing.

    [Screenshot of the API key buttons.

  2. Select the API Key link.

  3. Copy and save your API key because you'll need it later.

    Note

    If you still have the API key that you previously used, it would still be usable at this time. If not, you can get a new one.

  4. Go to Microsoft Power Platform maker portal and select the environment that you used in the Exercise: Create a new connector in a solution unit.

  5. Select Solutions and then select to open the Contoso invoicing solution.

  6. Select + New > Automation > Cloud flow > Instant.

    Screenshot that shows the selection of a new cloud flow button.

  7. Name the flow Email invoice list, select Manually trigger a flow, then Create.

    Screenshot that shows the selection of the manual trigger for a cloud flow.

  8. Select + New step.

  9. Select the Custom tab and then select the Contoso invoicing custom connector. Using the Custom tab to locate custom connectors is the fastest way to find them.

    An arrow pointing to the contoso invoicing custom connector - screenshot.

  10. Select List invoices for the action.

    Create connection - screenshot.

    Important

    Leave the List Invoices* fields blank. This will allow us to pull all the information.

  11. Enter Invoice connection as Connection name.

  12. Paste your API Key. and select Create

  13. Select Flow check to confirm there are no mistakes.

  14. Select Save.

  15. Select the arrow button located next to the flow name.

  16. Select OK if prompted.

  17. Don't navigate away from this page.

Task 2: Test the cloud flow

In this task, you'll test the cloud flow that you created in Task 1: Create a Power Automate cloud flow.

  1. Open the Email invoice list cloud flow if not already open.

  2. Select Run.

  3. Select Continue.

  4. Select Run flow.

  5. Select Done.

  6. Refresh the run history.

    The flow run should succeed.

    An arrow pointing to the refresh run history button - screenshot.

    See the steps for the flow.