← Blog

Automation

Automate Public Holiday Data with Power Automate

No Coding Required!

Power Automate is a versatile tool for automating workflows and integrating external services in Office 365 – all without any programming knowledge. One of its most useful features is the ability to send HTTP requests to retrieve and process data from external APIs. In this blog post, we’ll guide you step by step on how to use an HTTP request to fetch data from the PublicHolidays API (https://openholidaysapi.org/swagger/index.html) and store it in a Dataverse table. By the end of this tutorial, you’ll know how to set up a flow, retrieve API data, parse it, and store it in various formats. Let’s get started!

Step 1: Create a New Flow

First, we’ll create a new flow in Power Automate. For this example, we’ll use a manually triggered flow for simplicity.

Create a flow with an manually trigger

Configure the HTTP-Request with the API-Endpoint and Query Parameters

Step 2: Parse JSON Data

After the HTTP request retrieves the data from the API, we need to parse the JSON response to process the data further.

Step 3: Store the Data

Now that the data is parsed, you can store it in different formats. We’ll show you two options: a Dataverse table.

items('Apply_to_each')?['Name'][0]?['text']

Dataverse table

Conclusion

In this blog post, you’ve learned how to use Power Automate to send an HTTP request to the PublicHolidays API, parse the JSON data, and store it in a Dataverse table, an Excel sheet, or a SharePoint list. This workflow is a perfect introduction to exploring the possibilities of automation with external APIs.

Now it’s your turn! Put your knowledge into action and create your own flows to streamline work processes. Need help with your next automation project? Visit us at Guidestream Digital – we’ll assist you in bringing your ideas to life and optimizing your workflows.