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 Platform Community / Forums / Copilot Studio / Get Value from Json Ou...
Copilot Studio
Unanswered

Get Value from Json Output in Copilot studio

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I am really struggeling with Parsing a value from a JSON output from a connector. 

I try to get the values of the property name "value" from the property "CreatedDateTime".

Tobias_Brouwer_0-1709900537699.png

 

When I use the Set Variable and I enter a Formula I get this error. 

Tobias_Brouwer_1-1709900688776.png

 

How to fix this? 

Categories:
I have the same question (0)
  • adilei Profile Picture
    Microsoft Employee on at

    Can you paste the JSON payload here as text?

  • Tobias_Brouwer Profile Picture
    8 on at

     

    { "@odata.deltaLink": null, "@odata.nextLink": null, "value": [ { "body": "<html>, "categories": [], "createdDateTime": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-02-29T09:17:48.2574022Z" }, "end": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-03-04T10:30:00.0000000Z" }, "endWithTimeZone": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-03-04T10:30:00.0000000Z" }, "iCalUId": "040000008200E00074C5B7101A82E0080000000050EC6A82F86ADA010000000000000000100000008D7C54BC53E2D545B9D1F7BF04CB1ED9", "id": "AAMkADY5MWIwMGJkLWQzNTgtNGRmNS1iZTk1LWQ2MmY4MGQ1YzVlYwBGAAAAAABM367r9ZRQTa3Pe5S1LmZ3BwBcdMM2Dp4CTLwdTujvm8bqAAAAAAENAABcdMM2Dp4CTLwdTujvm8bqAAJ3DhZNAAA=", "importance": "normal", "isAllDay": false, "isHtml": true, "isReminderOn": false, "lastModifiedDateTime": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-02-29T09:17:50.4076005Z" }, "location": "", "numberOfOccurences": null, "optionalAttendees": "", "organizer": "t.brrmaris.nl", "recurrence": "none", "recurrenceEnd": null, "reminderMinutesBeforeStart": 15, "requiredAttendees": "t.bteis.nl;", "resourceAttendees": "", "responseRequested": true, "responseTime": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "0001-01-01T00:00:00.0000000Z" }, "responseType": "none", "selectedDaysOfWeek": null, "sensitivity": "normal", "seriesMasterId": null, "showAs": "busy", "start": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-03-04T09:30:00.0000000Z" }, "startWithTimeZone": { "$kind": "DateTimeNoTimeZoneDataValue", "value": "2024-03-04T09:30:00.0000000Z" }, "subject": "Voeg", "timeZone": "UTC", "webLink": "https://outlooDY5MWI" }}
  • adilei Profile Picture
    Microsoft Employee on at

    This JSON is not valid. Not sure if that is the issue, but it means that I'm not able to test anything.

  • Tobias_Brouwer Profile Picture
    8 on at

    {
    "@odata.deltaLink": null,
    "@odata.nextLink": null,
    "value": [
    {
    "body": "<html>",
    "categories": [],
    "createdDateTime": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-02-29T09:17:48.2574022Z"
    },
    "end": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-03-04T10:30:00.0000000Z"
    },
    "endWithTimeZone": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-03-04T10:30:00.0000000Z"
    },
    "iCalUId": "040000008200E00074C5B7101A82E0080000000050EC6A82F86ADA010000000000000000100000008D7C54BC53E2D545B9D1F7BF04CB1ED9",
    "id": "AAMkADY5MWIwMGJkLWQzNTgtNGRmNS1iZTk1LWQ2MmY4MGQ1YzVlYwBGAAAAAABM367r9ZRQTa3Pe5S1LmZ3BwBcdMM2Dp4CTLwdTujvm8bqAAAAAAENAABcdMM2Dp4CTLwdTujvm8bqAAJ3DhZNAAA=",
    "importance": "normal",
    "isAllDay": false,
    "isHtml": true,
    "isReminderOn": false,
    "lastModifiedDateTime": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-02-29T09:17:50.4076005Z"
    },
    "location": "",
    "numberOfOccurences": null,
    "optionalAttendees": "",
    "organizer": "t.brrmaris.nl",
    "recurrence": "none",
    "recurrenceEnd": null,
    "reminderMinutesBeforeStart": 15,
    "requiredAttendees": "t.bteis.nl;",
    "resourceAttendees": "",
    "responseRequested": true,
    "responseTime": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "0001-01-01T00:00:00.0000000Z"
    },
    "responseType": "none",
    "selectedDaysOfWeek": null,
    "sensitivity": "normal",
    "seriesMasterId": null,
    "showAs": "busy",
    "start": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-03-04T09:30:00.0000000Z"
    },
    "startWithTimeZone": {
    "$kind": "DateTimeNoTimeZoneDataValue",
    "value": "2024-03-04T09:30:00.0000000Z"
    },
    "subject": "Voeg",
    "timeZone": "UTC",
    "webLink": "https://outlooDY5MWI"
    }
    ]
    }

  • MattMMeyer Profile Picture
    6 on at

    Working on the same issue, any movement?

  • jga_lu Profile Picture
    on at

    Same, I'm interested too

  • adilei Profile Picture
    Microsoft Employee on at

    I would raise a case with support, as First(topic.myVar.value).createdDateTime is parsed as a DateTimeNoTimeZone, and Copilot Studio does not seem to be able to convert this type to any other type.

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 > Copilot Studio

#1
Valantis Profile Picture

Valantis 633

#2
Vish WR Profile Picture

Vish WR 301

#3
Haque Profile Picture

Haque 216

Last 30 days Overall leaderboard