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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Assigning JSON Values to Variables in Power Automate

(1) ShareShare
ReportReport
Posted on by 100
I'm using Power Automate to make an HTTP GET request. The response body is in JSON format like this (Object Type):
{
  "@odata.etag": "W/\"JxxxxxxxxxxxxxxxxxxxxxcxMTswMDsn\"",
  "id": "XX23XX-XXa1-ee11-XX35-000XXXXX93a",
  "code": "AB5483",
  "dimensionId": "XX23XX-XXa1-ee11-XX35-000XXXXX93a",
  "dimensionCode": "Test Dimension",
  "displayName": "Test ",
 }

How can I assign the id and @odata.etag values to variables using the "Set Variable" action?
I have the same question (0)
  • Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
  • Verified answer
    YUN ZHU Profile Picture
    97,376 Super User 2026 Season 1 on at
    Hi, you can extract the value of this field. Here is a simple example, I hope it can give you some hints.
     
    Thanks.
    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,068 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,194 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,123 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans