Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Outlook
    • Planner
    • Power Apps
    • SharePoint
    • Teams
  • Triggers
  • Ready to use solutions
    • Approval Process Template
    • Task Delegation App
    • The Ultimate Power Automate expressions cheat sheet
    • Power Automate HTTP requests to SharePoint cheat sheet
    • Power Automate HTTP requests to Graph API cheat sheet
  • ABOUT ME
  • Get help with your flow
  • POWER PLATFORM SERVICES
Menu

Where to get Schema for the Parse JSON action in Power Automate

Posted on August 16, 2020January 6, 2022 by Tom

“I need to process response from an HTTP request in Power Automate, but the Parse JSON action is asking me for Schema. What should I write there? Do I need to understanding coding to use it?“


The Power Automate flow itself will give you the JSON schema it needs. Once you configure your HTTP request, do a test run (icon in the top right corner. Expand the details of the HTTP request to get the content of its Body.

power automate json schema

Go back to editing your flow, open the Parse JSON action and click Generate from sample.

power automate json schema

Paste the Body content as the sample JSON Payload and click Done.

It’ll be converted into a valid Schema.


πŸš€ Master Power Automate

Join 2,000+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

11 thoughts on “Where to get Schema for the Parse JSON action in Power Automate”

  1. Harry Grossman says:
    April 19, 2021 at 8:31 pm

    I don’t get a screen with Inputs and Outputs after running Test. It just says Flow ran successfully and clears the screen. Am I missing a step?

    Reply
    1. Tom says:
      April 22, 2021 at 9:02 am

      Hello Harry,
      you need two steps in the flow: the trigger action and the action whose output you want to use in the ‘Parse JSON’. If it doesn’t show the result directly after the test run, go back to the flow page and check the ‘Run history’.

      Reply
  2. Kevin Horan says:
    March 21, 2022 at 10:36 pm

    excellent assitance thank you very much

    Reply
  3. nitin says:
    April 27, 2023 at 10:57 pm

    Hey,

    How can I now access those attributes using foreach loop ?

    Reply
    1. Tom says:
      May 21, 2023 at 5:23 pm

      Hello Nitin,
      I don’t understand what attributes you’re trying to access.

      Reply
  4. Wei says:
    June 16, 2023 at 12:11 am

    Excellent contents, and thank you for sharing!

    A follow up question. Is it possible to change type from string to number (or in general any data type) in the flow ? I did a quick test by manually changing the type after creating schema with payload, but it failed validation when re-ran the flow. It looks like flow configures the schema on its own.

    Reply
    1. Tom says:
      August 12, 2023 at 11:01 pm

      Hello Wei,
      I prefer to get the values directly as explained here as it saves many problems with the data types: https://tomriha.com/how-to-get-a-specific-value-from-a-json-object-in-power-automate/.
      Otherwise you can change the type in a flow later using the int(…) or string(…) or the other type converting expressions.

      Reply
  5. Thomas says:
    August 28, 2023 at 4:56 pm

    Hello,
    is it somehow possible to automatically create a JSON schema?
    Specifically, I would like to process JSON dynamically. As of now, I always have to manually edit the flow and then generate the schema from an example. Is there any way to automate this?

    Many thanks in advance,
    Tom

    Reply
    1. Tom says:
      September 7, 2023 at 12:32 pm

      Hello Thomas,
      I never thought of doing it manually, but maybe that’s because I really don’t like the Parse JSON action, I prefer to use expressions to extract the data, maybe it’ll help also in your situation: https://tomriha.com/how-to-get-a-specific-value-from-a-json-object-in-power-automate/

      Reply
  6. jared says:
    October 31, 2023 at 12:27 am

    Any way I can get the JSON schema from an email body? Looking to use the JSON payload t convert information in an email body (ie: string, email address, name,) and parse those out for JSON dynamic content, but can’t find the correct code to place in the payload for conversion to JSON format/schema. Loading HTML from email body gives a “syntaxError: unexected token ‘<' from the inital HTML code. Any help is appreciated.

    Reply
    1. Tom says:
      November 19, 2023 at 1:58 pm

      Hello jared,
      email body is html, json schema is for json, and I didn’t find a reliable way to convert html to json yet.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

πŸš€ Master Power Automate

Join 2,000+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

Working on an Approval process?

Use the Approval Process Template and the Task Delegation App to skip the hard part and deploy a fully functional approval solution on a SharePoint list in minutes! And then the next one, and the next one...

Approval Template Preview ✨ Learn more ✨

Turn ideas into flows with ease!

Grab the complete Power Automate Cheat Sheet Bundleβ€”everything you need to master expressions, SharePoint HTTP calls, and Graph API in Power Automate.

Cheat Sheet Bundle Preview ✨ Get the Cheat Sheets

Didn't find what you were looking for?
Need to adjust a solution to fit your needs?
Or would you just like to get an assistance from somebody with thousands of hours of experience with Power Automate?

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2025 Let's POWER Automate | Theme by SuperbThemes