%3CLINGO-SUB%20id%3D%22lingo-sub-2121861%22%20slang%3D%22en-US%22%3EHow%20to%20use%20Parse%20JSON%20action%20in%20Power%20Automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2121861%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20can%20see%20a%20a%20lot%20of%20JSON%20in%20our%20Power%20Automate%20flow%20run%20history%2C%20and%20if%20you%20wonder%2C%20how%20you%20can%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Eparse%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EJSON%20to%20make%20Dynamic%20Content%20(which%20is%20selectable)%20out%20of%20it%20so%20you%20can%20more%20easily%20make%20use%20of%20an%20object%2C%20then%20this%20post%20is%20made%20for%20you.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22james-pond-26vBUtlufFo-unsplash%20(1).jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254265iA0CB124ABFA3A9CE%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22james-pond-26vBUtlufFo-unsplash%20(1).jpg%22%20alt%3D%22james-pond-26vBUtlufFo-unsplash%20(1).jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20know%20what%20exactly%20is%20JSON%20and%20what%20you%20need%20to%20know%20about%20it%2C%20please%20read%20this%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20title%3D%22Introduction%20to%20JSON%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-365-pnp-blog%2Fintroduction-to-json%2Fba-p%2F2049369%22%20target%3D%22_blank%22%3Egreat%20article%20by%20Bob%20German%20in%20the%20Microsoft%20365%20PnP%20Community%20at%20TechCommunity%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%20watch%20this%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20title%3D%22JSON%20Intro%20for%20Microsoft%20365%20People%22%20href%3D%22https%3A%2F%2Fwww.sharepointsiren.com%2F2021%2F02%2Fjson-intro-for-microsoft-365-people%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ecool%20video%20by%20April%20Dunnam%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efirst%2C%20I%20will%20just%20wait%20here%20for%20you.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--527077213%22%20id%3D%22toc-hId--527019372%22%3E%3CA%20id%3D%22user-content-a-little-use-case%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fm365princess.com%2Fhow-to-use-parse-json-action-in-power-automate%2F%23a-little-use-case%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3Ea%20little%20use%20case%3C%2FH2%3E%0A%3CP%3EBack%20again%3F%20Cool.%20Now%20that%20you%20know%20what%20JSON%20is%2C%20here%20is%20a%20little%20use%20case.%20Let's%20say%20we%20wanted%20to%20post%20a%20random%20item%20from%20a%20SharePoint%20list%20to%20twitter%20each%20day%20using%20Power%20Automate.%20This%20is%20a%20screenshot%20of%20my%20list%3A%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLuise%20Freese_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20id%3D%22tinyMceEditorLuise%20Freese_7%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22parsejson-SPList.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254209i268CCA366EB2B238%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22parsejson-SPList.png%22%20alt%3D%22parsejson-SPList.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eand%20this%20is%20the%20overview%20of%20the%20flow%20that%20we%20are%20going%20to%20build%3A%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLuise%20Freese_1%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22parsejson-overview-flow.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254213i62A5872ACE8856D9%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22parsejson-overview-flow.png%22%20alt%3D%22parsejson-overview-flow.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-163484261%22%20id%3D%22toc-hId-163542102%22%3E%3CA%20id%3D%22user-content-trigger%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fm365princess.com%2Fhow-to-use-parse-json-action-in-power-automate%2F%23trigger%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3ETrigger%3C%2FH3%3E%0A%3CP%3EFirst%20things%20first%2C%20our%20trigger%20needs%20to%20be%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ERecurrence%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Etrigger%2C%20in%20which%20we%20specify%2C%20in%20which%20rhythm%20this%20flow%20shall%20run.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1643970202%22%20id%3D%22toc-hId--1643912361%22%3E%3CA%20id%3D%22user-content-sharepoint-get-items%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fm365princess.com%2Fhow-to-use-parse-json-action-in-power-automate%2F%23sharepoint-get-items%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3ESharePoint%20Get%20Items%3C%2FH3%3E%0A%3CP%3ENow%20our%20flow%20needs%20to%20get%20all%20items%20from%20the%20list%20that%20we%20want%20to%20randomly%20pick%20one%20item%20from.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-843542631%22%20id%3D%22toc-hId-843600472%22%3E%3CA%20id%3D%22user-content-compose%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fm365princess.com%2Fhow-to-use-parse-json-action-in-power-automate%2F%23compose%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3ECompose%3C%2FH3%3E%0A%3CP%3EWe%20need%20to%20do%20some%20magic%20so%20we%20get%20a%20random%20item%2C%20I%20used%20the%20following%20expression%20for%20that%3A%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLuise%20Freese_2%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CCODE%3Ebody('Get_items')%3F%5B'value'%5D%5Brand(1%2Clength(body('Get_items')%3F%5B'value'%5D))%5D%3C%2FCODE%3E%3C%2FP%3E%0A%3CP%3EWe%20use%20the%20rand()%20expression%20to%20get%20a%20random%20list%20item%20from%20that%20list.%20The%20arguments%20inside%20of%20the%20expression%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E1%2Clength(body('Get_items')%3F%5B'value'%5D)%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Emean%20that%20our%20flow%20needs%20to%20pick%20a%20random%20number%20between%201%20and%20(as%20this%20value%20could%20change%20over%20time)%20the%20amount%20of%20list%20items%20(which%20is%20expressed%20by%20our%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3Elength(body('Get_items')%3F%5B'value'%5D))%3C%2FCODE%3Eexpression.%20The%20output%20of%20this%20Compose%20action%20will%20reflect%20a%20random%20list%20item.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--963911832%22%20id%3D%22toc-hId--963853991%22%3E%3CA%20id%3D%22user-content-parse-json%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fm365princess.com%2Fhow-to-use-parse-json-action-in-power-automate%2F%23parse-json%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3EParse%20JSON%3C%2FH3%3E%0A%3CP%3ENow%20to%20the%20interesting%20part%20of%20this%20flow%3A%20We%20want%20to%20exactly%20post%20this%20random%20list%20item%20but%20we%20if%20we%20look%20into%20our%20Dynamic%20Content%2C%20it%20gives%20us%20only%20content%20from%20the%20Get%20items%20action%2C%20but%20that%20is%20before%20we%20get%20a%20random%20list%20item%2C%20and%20as%20we%20do't%20want%20to%20tweet%20ALL%20list%20items%2C%20this%20isn't%20a%20good%20idea.%20How%20do%20we%20solve%20this%20now%3F%20Well%2C%20we%20parse%20JSON%2C%20which%20means%20that%20we%20turn%20the%20code%20into%20objects%20again%20and%20those%20objects%20are%20then%20reflected%20in%20the%20Dynamic%20Content%20in%20Power%20Automate.%3C%2FP%3E%0A%3CP%3EBefore%20we%20add%20the%20Parse%20JSON%20action%2C%20we%20need%20to%20find%20out%2C%20WHICH%20JSON%20we%20need%20to%20parse.%20As%20already%20mentioned%2C%20we%20can%20see%20the%20JSON%20code%20in%20our%20run%20history%2C%20which%20is%20why%20we%20save%20our%20unfinished%20flow%20and%20let%20it%20run.%20Then%20we%20open%20the%20run%20history%2C%20and%20have%20a%20look%20at%20the%20Outputs%20of%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECompose%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eaction%20and%20copy%20everything%20inside%20of%20that%20box.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLuise%20Freese_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22parsejson-history.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254216iD8128BDAFB209BA6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22parsejson-history.png%22%20alt%3D%22parsejson-history.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENow%20we%20edit%20our%20flow%20again%2C%20add%20the%20Parse%20JSON%20action%2C%20add%20the%20Outputs%20from%20our%20Compose%20Action%20as%20Inputs%20to%20that%20action%20and%20click%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EGenerate%20from%20sample%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ebutton.%20We%20will%20now%20paste%20the%20copied%20JSON%20into%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EInsert%20a%20sample%20JSON%20Payload%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ebox%20and%20click%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EDone%3C%2FSTRONG%3E.%20What%20we%20did%20with%20that%20is%20telling%20the%20flow%20which%20objects%20it%20needs%20to%20parse.%20If%20we%20now%20look%20at%20this%20action%2C%20we%20can%20see%20the%20JSON%20inside%20of%20our%20Parse%20JSON%20action%2C%20but%20all%20values%20from%20the%20run%20history%20are%20replaced%20by%20placeholders%3A%20%22string%22%20(if%20it%20was%20text)%2C%20%22boolean%22%20(if%20it%20was%20a%20yes%2Fno)%2C%20etc.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLuise%20Freese_4%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%20that%20this%20action%20knows%20what%20to%20parse%2C%20we%20can%20proceed%20with%20the%20next%20action%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1523601001%22%20id%3D%22toc-hId-1523658842%22%3E%3CA%20id%3D%22user-content-send-a-tweet%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fm365princess.com%2Fhow-to-use-parse-json-action-in-power-automate%2F%23send-a-tweet%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3ESend%20a%20tweet%3C%2FH3%3E%0A%3CP%3EWe%20can%20now%20see%20a%20lot%20of%20new%20Dynamic%20Content%20which%20comes%20from%20our%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EParse%20JSON%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eaction.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLuise%20Freese_5%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20can%20now%20select%20all%20values%20we%20need%20in%20that%20tweet%2C%20plus%20some%20more%20or%20less%20generic%20hashtags%20(Pro's%20will%20add%20hashtags%20into%20a%20dedicated%20column%20in%20SharePoint.)%20If%20we%20now%20save%20and%20run%20our%20flow%2C%20it%20will%20first%20GET%20all%20items%20from%20the%20list%2C%20then%20identify%20a%20random%20list%20element%20and%20send%20out%20a%20tweet%20with%20the%20Title%20and%20URL%20auf%20exactly%20that%20list%20item.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorLuise%20Freese_6%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22parsejson-twitter.png%22%20style%3D%22width%3A%20938px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254219i34B1812DC4296A79%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22parsejson-twitter.png%22%20alt%3D%22parsejson-twitter.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1513097897%22%20id%3D%22toc-hId-1513155738%22%3E%3CA%20id%3D%22user-content-conclusion--whats-next%22%20class%3D%22anchor%22%20href%3D%22https%3A%2F%2Fm365princess.com%2Fhow-to-use-parse-json-action-in-power-automate%2F%23conclusion--whats-next%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20aria-hidden%3D%22true%22%3E%3C%2FA%3EConclusion%20%26amp%3B%20What's%20next%3F%3C%2FH2%3E%0A%3CP%3EThe%20Parse%20JSON%20action%20can%20help%20you%20turn%20Outputs%20from%20previous%20actions%20into%20Dynamic%20Content%20which%20you%20can%20then%20use%20in%20your%20flow.%20I'd%20love%20to%20know%20what%20you%20do%20with%20Parse%20JSON%2C%20let%20me%20know!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EIf%20you%20are%20now%20hungry%20because%20of%20recipes%20in%20the%20list%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20title%3D%22my%20food%20blog%20%F0%9F%98%8B%22%20href%3D%22https%3A%2F%2Fthatkitchenprincess.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EThatKitchenPrincess.com%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFirst%20published%20on%20%3CA%20title%3D%22M365Princess.com%22%20href%3D%22https%3A%2F%2Fwww.m365princess.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Em365princess.com%3C%2FA%3E%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2121861%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20can%20see%20a%20a%20lot%20of%20JSON%20in%20our%20Power%20Automate%20flow%20run%20history%2C%20and%20if%20you%20wonder%2C%20how%20you%20can%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Eparse%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EJSON%20to%20make%20Dynamic%20Content%20(which%20is%20selectable)%20out%20of%20it%20so%20you%20can%20more%20easily%20make%20use%20of%20an%20object%2C%20then%20this%20post%20is%20made%20for%20you.%3C%2FP%3E%3C%2FLINGO-TEASER%3E

We can see a a lot of JSON in our Power Automate flow run history, and if you wonder, how you can parse JSON to make Dynamic Content (which is selectable) out of it so you can more easily make use of an object, then this post is made for you.

 

james-pond-26vBUtlufFo-unsplash (1).jpg

 

If you want to know what exactly is JSON and what you need to know about it, please read this great article by Bob German in the Microsoft 365 PnP Community at TechCommunity or watch this cool video by April Dunnam first, I will just wait here for you.

a little use case

Back again? Cool. Now that you know what JSON is, here is a little use case. Let's say we wanted to post a random item from a SharePoint list to twitter each day using Power Automate. This is a screenshot of my list:

 
 

parsejson-SPList.png

 

and this is the overview of the flow that we are going to build:

 

parsejson-overview-flow.png

Trigger

First things first, our trigger needs to be the Recurrence trigger, in which we specify, in which rhythm this flow shall run.

SharePoint Get Items

Now our flow needs to get all items from the list that we want to randomly pick one item from.

Compose

We need to do some magic so we get a random item, I used the following expression for that:

 

 

body('Get_items')?['value'][rand(1,length(body('Get_items')?['value']))]

We use the rand() expression to get a random list item from that list. The arguments inside of the expression 1,length(body('Get_items')?['value']) mean that our flow needs to pick a random number between 1 and (as this value could change over time) the amount of list items (which is expressed by our length(body('Get_items')?['value']))expression. The output of this Compose action will reflect a random list item.

Parse JSON

Now to the interesting part of this flow: We want to exactly post this random list item but we if we look into our Dynamic Content, it gives us only content from the Get items action, but that is before we get a random list item, and as we do't want to tweet ALL list items, this isn't a good idea. How do we solve this now? Well, we parse JSON, which means that we turn the code into objects again and those objects are then reflected in the Dynamic Content in Power Automate.

Before we add the Parse JSON action, we need to find out, WHICH JSON we need to parse. As already mentioned, we can see the JSON code in our run history, which is why we save our unfinished flow and let it run. Then we open the run history, and have a look at the Outputs of the Compose action and copy everything inside of that box.

 

parsejson-history.png

Now we edit our flow again, add the Parse JSON action, add the Outputs from our Compose Action as Inputs to that action and click the Generate from sample button. We will now paste the copied JSON into the Insert a sample JSON Payload box and click Done. What we did with that is telling the flow which objects it needs to parse. If we now look at this action, we can see the JSON inside of our Parse JSON action, but all values from the run history are replaced by placeholders: "string" (if it was text), "boolean" (if it was a yes/no), etc.

 

 

Now that this action knows what to parse, we can proceed with the next action

Send a tweet

We can now see a lot of new Dynamic Content which comes from our Parse JSON action.

 

 

We can now select all values we need in that tweet, plus some more or less generic hashtags (Pro's will add hashtags into a dedicated column in SharePoint.) If we now save and run our flow, it will first GET all items from the list, then identify a random list element and send out a tweet with the Title and URL auf exactly that list item.

 

parsejson-twitter.png

Conclusion & What's next?

The Parse JSON action can help you turn Outputs from previous actions into Dynamic Content which you can then use in your flow. I'd love to know what you do with Parse JSON, let me know!

 

If you are now hungry because of recipes in the list: ThatKitchenPrincess.com

First published on m365princess.com