Тёмный

How to get data from JSON objects using expressions in Power Automate 

Alex Tofan
Подписаться 618
Просмотров 28 тыс.
50% 1

How to get data from JSON objects using expressions in Power Automate.
If you want me to create a tutorial about something related to Power Platform, please leave a comment below.

Наука

Опубликовано:

 

19 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@freerangedingo
@freerangedingo 7 месяцев назад
Great video. Short and to the point. Easy to understand, minimal fluff.
@RichardW_Dev
@RichardW_Dev Год назад
Amazing tip. I really needed some help getting JSON data out of a tricky nested array, and your video helped me do it. Top Marks.
@headflask
@headflask 3 года назад
This helped sort out calling array items for me, thank you. Was surprisingly hard to find this exact info. Ended up using a get items with odata filter to pick an array of 1 that maps to the when a file is created trigger, then a get item with the ID from the [0] index of the get items array. handy for getting out of apply to eaches when I know my array has only 1 value. Anyways hoping this comment helps with people searching for this kind of thing...
@richardparker2671
@richardparker2671 3 года назад
Coincido contigo! Simple, un tema importante y bien resuelto
@yehunlavolontededieu322
@yehunlavolontededieu322 3 года назад
Thank you a lot. Very simple explanation. Please , keep up uploading more VD on Power automate/expression/variables/ dataOperation , with real business use-case. Thanks
@lindadowdell4311
@lindadowdell4311 2 года назад
I love your style. Very clear! I hope you can make more Power Automate videos.
@fvamadeu
@fvamadeu 3 года назад
Very useful, thank you!
@ResponsibleXI
@ResponsibleXI 3 года назад
Learnt very basics about JSON from this and previous video of yours. Please continue doing more videos. Can you come up with any real time case or solution that can give us a better use of JSON?
@k-dramaurge6636
@k-dramaurge6636 3 года назад
Great video. I was wondering about if you could make one about taking an array of complex json objects with many properties and creating a new array of objects with just a select few properties. Thanks.
@user-fs8fe3qx1x
@user-fs8fe3qx1x Год назад
Great vedio!
@wesleygyger1210
@wesleygyger1210 2 года назад
Thanks, this helped
@andonii46
@andonii46 3 года назад
Awesome dude!
@anisshaikh2057
@anisshaikh2057 4 года назад
Hi Alex, Thank you for this Power Automate video. It's really helpful. Can you please add a few more videos like this in the future as well?
@AlexTofan
@AlexTofan 4 года назад
Thanks, Anis! I will try to make time.
@groupepuissancedenhaut605
@groupepuissancedenhaut605 2 месяца назад
you're genial !!
@DanielAbrantes20
@DanielAbrantes20 Год назад
What if you wanted to extract all the yearsactive objects. What would you do? [0-4]?
@TheCarter117Gaming
@TheCarter117Gaming Год назад
What if you wanted to do this to create lines in a excel table, but you want to create a line with each active year and it just repeats the information for the other columns… so the stuff not in a array repeats but it iterates through the array on a new line…. To make it more dynamic where different entries have a different number of items in the array.
@TheSubhayan1985
@TheSubhayan1985 3 года назад
Very useful video, however, One quick question: suppose the json keys were like first.name or system.firstname: can you check if your method works? When you do [‘first.name’], flow gives an error saying invalid expression.
@kensleylewis
@kensleylewis 4 года назад
Would love how to see how you would pull data out of the Search User v2 connector (or anything pre-made like that) in the same way you are using your demo here with your JSON object! For example, the Mail value out of a JSON object from the Search User v2 connector, and use it within an "Assign to" field. There are tons of scenarios I am discovering like this.
@AlexTofan
@AlexTofan 3 года назад
I hear you, K. I am hoping to find more time to do more.
@ricci.hidalgo
@ricci.hidalgo 3 года назад
Excellent Alex, you explain clearly so everything looks easy. Can you make another video working on a JSON file with multiple records instead a JSON object variable? That would be really handy! Thanks!
@ricci.hidalgo
@ricci.hidalgo 3 года назад
OK, I just discovered how to do the same as shown in this video but using JSON files; use first a file content step with the "Get File Content" action. Next, as the input of the "Parse JSON" action, it is necessary to do two conversions including from base 64 to string as Power Automate manage files as binary even if they are flat files. For example, if the step is called "FileContent", then the conversions for that input would be: base64ToString(base64(outputs('FileContent')?['body'])). It works!
@ernaniramos4307
@ernaniramos4307 2 года назад
@@ricci.hidalgo can you share video, please?
@alexzir
@alexzir Год назад
very usful!
@errolbrodie1437
@errolbrodie1437 3 года назад
When trying to delete a file in Sharepoint, and action triggered by another deletion in Sharepoint, the error, even though it is a basic one step template action, is "The response is not in a JSON format". Do you know how to fix the problem?
@tobor58
@tobor58 2 года назад
Alex - Thanks for this - It unlocked for me how to access the values of a collection of multi-select choice items (think server names in a SharePoint list column called Servers). I went from getting the entire object to getting the Value of a specific item . item()?['Servers']?[0].Value gets me >> SERVER01. This is good I need to a way to get ALL of the selected item Values dynamically using a similar expression/function call while I am getting the other columns for the row via a select can you help?
@kapilsharma-mo6ww
@kapilsharma-mo6ww Год назад
Could you make a video on automating onenotebook which contain different sections, pages and content
@WillFindlay
@WillFindlay 3 года назад
Did Microsoft change the interface of picking the variable at 2:26? I can't seem to get that part to work. I dont have the "fx" button like you do.
@AlexTofan
@AlexTofan 3 года назад
Hi will, you just have to turn on experimental features from the settings wheel on top right hand corner.
@hokki28
@hokki28 3 года назад
How to get a list of values from an array of objects?
@mshparber
@mshparber 3 года назад
Thanks! What if you have several entries in your json, not just Alex?..
@AlexTofan
@AlexTofan 3 года назад
In that case you would have a JSON array, like so: [ {"firstName": "Alex"}, {"firstName": "Michael"} ] I removed the other properties for brevity.
@hokki28
@hokki28 3 года назад
@@AlexTofan how to get an array of names from that?
Далее
How to read and create JSON objects in Power Automate
17:55
Power Automate - Extracting Values from JSON Array
9:22
지민 (Jimin) 'Who' Official MV
03:28
Просмотров 9 млн
How to write expressions in Power Automate
18:31
Просмотров 10 тыс.
Power Automate flow variables - How to use them
14:02
Power Automate - Parse JSON Filter
11:31
Просмотров 3,5 тыс.
How to parse complex JSON in power automate
20:43
Просмотров 77 тыс.
Здесь упор в процессор
18:02
Просмотров 362 тыс.
iPhone 15 Pro в реальной жизни
24:07
Просмотров 386 тыс.
Лучшие кожаные чехлы для iPhone
1:00
Здесь упор в процессор
18:02
Просмотров 362 тыс.