web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Parse complex JSON

(1) ShareShare
ReportReport
Posted on by 4
Hello,
I'm trying to parse json from webhook that look like this:
{
  "type": "message",
  "attachments": [
    {
      "contentType": "application/vnd.microsoft.card.adaptive",
      "content": {
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "type": "AdaptiveCard",
        "version": "1.0",
        "body": [
          {
            "type": "TextBlock",
            "text": "Reset",
            "weight": "bolder",
            "wrap": true
          },
          {
            "type": "TextBlock",
            "text": "FirstName LastName initiated reset of Disk Volume Free space for 'F:' is less than or equal to 15% from 2024-08-29T16:57:01Z to 2024-08-29T17:25:08Z",
            "wrap": true
          },
          {
            "type": "FactSet",
            "facts": [
              {
                "title": "Organization:",
                "value": "Test Org"
              },
              {
                "title": "Location:",
                "value": "Somewhere"
              },
              {
                "title": "Device:",
                "value": "GJO-1681"
              },
              {
                "title": "Time:",
                "value": "Aug 30, 2024, 11:24:17 AM"
              }
            ]
          }
        ]
      }
    }
  ]
}
And then post to teams channel as alert but since it nested heavily I can't get to information I need which is in "Body" array and unnamed object that contains Facts
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 921

#2
Valantis Profile Picture

Valantis 801

#3
Haque Profile Picture

Haque 588

Last 30 days Overall leaderboard