API: Integration with Power Automate
How to get data from the CyberPilot Report API into Power Automate
This guide explains how you can connect your Power Automate workflows with CyberPilot's Report API, and use the data provided by the API in your workflows.
First you should add the HTTP Action "Invoke web service" from the left side Actions menu:
-1.png?width=285&height=109&name=image%20(8)-1.png)
The URL is the endpoint you want to fetch data from.
Remember to insert your own Account ID in this URL.
In the Custom headers field, you must input "Authorization: bearer <ACCESS_TOKEN>" to get access to the URL.
Click Save, and then try to Run your workflow.
The action should succeed with the following Flow variables:
.png?width=369&height=196&name=image%20(11).png)
In the WebServiceResponse, you will find all the data returned by the endpoint in JSON format.
You are now able to use this data in your workflow in whatever way you want.
Still have a question?
Contact us at support@cyberpilot.io