Rest API ‘GET’ Requests in Power Automate

Introduction

Integrating external REST APIs into your Power Automate flows opens up a world of possibilities—from enriching your data to triggering workflows based on external events. In this post, we’ll walk through how to make a simple GET request to the Dog API, a fun and free API that returns random dog images and breed data.

This example is perfect for beginners looking to understand how to use HTTP actions in Power Automate.

Building The Power Automate Flow

 Step 1: Create a New Flow

  1. Go to Power Automate.

  2. Click Create > Instant cloud flow.

  3. Choose Manually trigger a flow and name it something like Dog API GET Request.

Step 2: Add an HTTP Action

Add a new step and search for HTTP.

  • Choose the HTTP action.

  • Configure it as follows:

				
					Method: GET
URI: https://dogapi.dog/api/v2/facts

				
			

This endpoint returns a random dog fact.

Step 3: Test the Flow

Click Test > Manually > Run Flow.

Once the flow runs, inspect the Outputs of the HTTP action. You should see a JSON response like:

				
					{
  "facts": [
    "Dogs have three eyelids."
  ],
  "success": true
}

				
			

Step 4: Parse the JSON Response

To use the data in later steps, add a Parse JSON action.

  • Content: Body from the HTTP action.
  • Schema: Use the following schema:

				
					{
  "type": "object",
  "properties": {
    "facts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "success": {
      "type": "boolean"
    }
  }
}

				
			

Step 5: Use the Data (e.g., Send an Email or Post to Teams)

Now you can use the parsed data. For example, add a Send an email (V2) action:

				
					To: your@email.com
Subject: Dog Fact of the Day
Body: @{body('Parse_JSON')?['facts'][0]}

				
			

Or post it to a Teams channel using the Post a message in a chat or channel action.

This simple example shows how easy it is to connect Power Automate to external APIs. You can expand this by using other endpoints from the Dog API, such as:

https://dogapi.dog/api/v2/breeds

https://dogapi.dog/api/v2/images

Like this post? Why not share it!

LinkedIn
WhatsApp
Facebook
Reddit
X
Email

View more blog posts

Getting Workflow Details From A Power Automate Flow

2 min read

Read this blog

Using Environment Variables

4 min read

Read this blog

Patch SharePoint List in Canvas Apps

4 min read

Read this blog

Get Unique Data from SharePoint List

2 min read

Read this blog

Get In Touch

Let’s talk. Send us a message, and we’ll help you explore the best Power Platform solution for your business

We can turn your mondain tasks into effective workflows, saving you and your business time and money