%3CLINGO-SUB%20id%3D%22lingo-sub-1180004%22%20slang%3D%22en-US%22%3EWatch%20your%20competition%E2%80%99s%20stock%20prices%3A%20Citizen%20Productivity%20using%20Microsoft%20Teams%20%2B%20Power%20Automate%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1180004%22%20slang%3D%22en-US%22%3E%3CP%3EMillions%20of%20users%20in%20enterprises%20today%20start%20their%20day%20with%20Microsoft%20Teams%2C%20live%20their%20day%20in%20Teams%20and%20wrap%20their%20day%20with%20Teams!%20Teams%20is%20where%20people%20come%20together%20to%20plan%2C%20collaborate%2C%20share%2C%20discuss%2C%20decide%20and%20take%20action%20on%20things%20that%20matter%20to%20their%20businesses%20and%20productivity.%20Teams%20as%20the%20collaboration%20hub%20also%20plays%20a%20central%20role%20in%20enterprises%20today%20among%20strategy%20and%20planning%20group%20members%20who%20keep%20a%20close%20eye%20on%20all%20facets%20of%20the%20business%20including%20competition.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERecalling%20what%20Peter%20Thiel%20says%20%E2%80%9CAll%20failed%20companies%20are%20the%20same%3A%20They%20failed%20to%20escape%20competition.%E2%80%9D%20-%20in%20today%E2%80%99s%20post%20let%E2%80%99s%20explore%20how%20Microsoft%20Teams%20and%20Power%20Automate%20(erstwhile%20Microsoft%20Flow)%20when%20put%20together%20allows%20strategy%20teams%20in%20an%20organization%20keep%20a%20close%20eye%20on%20competition%E2%80%99s%20stock%20prices%20%E2%80%93%20a%20leading%20metric%20of%20how%20Wall%20Street%20perceives%20their%20progress.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EFirst%20Things%20First%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EImagine%20the%20strategy%20team%20in%20Contoso%20(our%20favorite%20imaginary%20company)%20is%20collaborating%20on%20Microsoft%20Teams%20using%20their%20private%20workspace%20as%20follows.%20Among%20other%20things%2C%20Competitive%20Info%20is%20a%20channel%20where%20they%20keep%20a%20close%20watch%20on%20their%20named%20competitors%2C%20track%20compete%20news%2C%20discuss%20impact%2C%20market%20perception%20etc.%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-center%22%20image-alt%3D%22Vishrut%20Shukla_0-1582037157214.png%22%20style%3D%22width%3A%20270px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171669i410F2DC661C044E1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Vishrut%20Shukla_0-1582037157214.png%22%20alt%3D%22Vishrut%20Shukla_0-1582037157214.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CBR%20%2F%3EThe%20Objective%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EStrategy%20team%20often%20checks%20ups%20and%20downs%20in%20their%20competitors%E2%80%99%20stock%20prices.%20Someone%20from%20the%20team%20always%20takes%20turns%20in%20querying%20stock%20prices%20from%20public%20sources%20such%20as%20%3CA%20href%3D%22https%3A%2F%2Fwww.msn.com%2Fen-in%2Fmoney%2Fstockdetails%2Fcompany%2Fnas-msft%2Ffi-a1xzim%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMSN%20Money%3C%2FA%3E%20or%20%3CA%20href%3D%22https%3A%2F%2Ffinance.yahoo.com%2Fquote%2FMSFT%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EYahoo!%20Finance%3C%2FA%3E%20and%20preparing%20a%20report%20for%20the%20rest%20of%20the%20team%20to%20consume.%20One%20of%20the%20strategy%20team%20members%20(that%E2%80%99s%20me!)%20wants%20to%20automate%20this%20repetitive%20task%20and%20imagine%20a%20world%20where%20periodic%20tracking%20of%20compete%20stock%20prices%20happen%2C%20essentially%20getting%20notifications%20about%20stocks%20once%20every%2012%20hours.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EI%20intend%20to%20use%20Power%20Automate%20flow%20inside%20Microsoft%20Teams%20for%20the%20same.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EIdentifying%20the%20basic%20ingredients%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EContoso%20team%20identifies%20the%20following%20as%20pieces%20of%20this%20automation%20puzzle%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSTRONG%3EList%20of%20compete%20stocks%20to%20track%3C%2FSTRONG%3E%3A%20The%20list%20of%20stock%20symbols%20to%20track%20is%20maintained%20in%20a%20simple%20Excel%20file%20which%20can%20be%20edited%20by%20anyone%20in%20the%20team%20making%20it%20effortless%20to%20add%2Fremove%20competitors%20from%20the%20stock%20tracking%20mix.%20The%20table%20where%20stock%20symbols%20are%20entered%20is%20given%20a%20name%20as%20well.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Vishrut%20Shukla_1-1582037157222.png%22%20style%3D%22width%3A%20798px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171671i07089F08820C95B9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Vishrut%20Shukla_1-1582037157222.png%22%20alt%3D%22Vishrut%20Shukla_1-1582037157222.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Vishrut%20Shukla_2-1582037157224.png%22%20style%3D%22width%3A%20209px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171670i59C22F8EBA302174%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Vishrut%20Shukla_2-1582037157224.png%22%20alt%3D%22Vishrut%20Shukla_2-1582037157224.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EChannel%20where%20the%20stock%20price%20alerts%20will%20be%20posted%3A%3C%2FSTRONG%3E%20This%20can%20be%20the%20Competitive%20Info%20channel%20in%20the%20Corporate%20Strategy%20HQ%20team.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EWeb%20service%20%2F%20Data%20source%20for%20querying%20stock%20prices%3C%2FSTRONG%3E%3A%20As%20the%20most%20critical%20piece%20of%20the%20automation%2C%20the%20team%20will%20need%20a%20source%20to%20query%20latest%20stock%20price%20information%20for%20a%20given%20symbol.%20There%20are%20a%20number%20of%20public%20web%20APIs%20available%20which%20provide%20this%20information%20as%20a%20simple%20JSON%20response%20via%20a%20simple%20http%20GET%20call.%20For%20the%20purpose%20of%20this%20automation%2C%20I%20pick%20up%20the%20Yahoo!%20Finance%20API.%20See%20a%20sample%20response%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fquery1.finance.yahoo.com%2Fv7%2Ffinance%2Fchart%2FMSFT%3F%26amp%3Binterval%3D1m%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fquery1.finance.yahoo.com%2Fv7%2Ffinance%2Fchart%2FMSFT%3F%26amp%3Binterval%3D1m%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-javascript%22%3E%3CCODE%3E%7B%22chart%22%3A%7B%22result%22%3A%5B%7B%22meta%22%3A%7B%22currency%22%3A%22USD%22%2C%22symbol%22%3A%22MSFT%22%2C%22exchangeName%22%3A%22NMS%22%2C%22instrumentType%22%3A%22EQUITY%22%2C%22firstTradeDate%22%3A511088400%2C%22regularMarketTime%22%3A1581445810%2C%22gmtoffset%22%3A-18000%2C%22timezone%22%3A%22EST%22%2C%22exchangeTimezoneName%22%3A%22America%2FNew_York%22%2C%22regularMarketPrice%22%3A186.86%2C%22chartPreviousClose%22%3A188.7%2C%22previousClose%22%3A188.7%2C%22scale%22%3A3%2C%22priceHint%22%3A2%2C%22currentTradingPeriod%22%3A%7B%22pre%22%3A%7B%22timezone%22%3A%22EST%22%2C%22start%22%3A1581411600%2C%22end%22%3A1581431400%2C%22gmtoffset%22%3A-18000%7D%2C%22regular%22%3A%7B%22timezone%22%3A%22EST%22%2C%22start%22%3A1581431400%2C%22end%22%3A1581454800%2C%22gmtoffset%22%3A-18000%7D%2C%22post%22%3A%7B%22timezone%22%3A%22EST%22%2C%22start%22%3A1581454800%2C%22end%22%3A1581469200%2C%22gmtoffset%22%3A-18000%7D%7D%2C%22tradingPeriods%22%3A%5B%5B%7B%22timezone%22%3A%22EST%22%2C%22start%22%3A1581431400%2C%22end%22%3A1581454800%2C%22gmtoffset%22%3A-18000%7D%5D%5D%2C%22dataGranularity%22%3A%221m%22%2C%22range%22%3A%221d%22%2C%22validRanges%22%3A%5B%221d%22%2C%225d%22%2C%221mo%22%2C%223mo%22%2C%226mo%22%2C%221y%22%2C%222y%22%2C%225y%22%2C%2210y%22%2C%22ytd%22%2C%22max%22%5D%7D%2C%E2%80%8B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3COL%20start%3D%224%22%3E%0A%3CLI%3E%3CSTRONG%3EPower%20Automate%20flow%3C%2FSTRONG%3E%20which%20does%20the%20magic!%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EBuilding%20the%20Power%20Automate%20flow%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThe%20Power%20Automate%20flow%20looks%20like%20this%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%223.PNG%22%20style%3D%22width%3A%20589px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171739iD0FD6EE2D23313EC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%223.PNG%22%20alt%3D%223.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEach%20step%20in%20the%20creation%20of%20the%20flow%20used%20for%20this%20is%20explained%20below%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSTRONG%3ECreate%20Flow%3C%2FSTRONG%3E%3A%20I%20created%20this%20using%20the%20%E2%80%9C%2BCreate%E2%80%9D%20menu%20option%2C%20starting%20a%20%E2%80%9CScheduled%20flow%E2%80%9D%20from%20scratch.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%224.PNG%22%20style%3D%22width%3A%20819px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171740iA9759134548A9B9F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%224.PNG%22%20alt%3D%224.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%3CSTRONG%3ERecurrence%3C%2FSTRONG%3E%3A%20Since%20the%20flow%20is%20a%20recurring%20one%2C%20the%20first%20step%20of%20the%20solution%20is%20Recurrence%20(a%20timer%20event)%20which%20Power%20Automate%20will%20automatically%20add%20resulting%20from%20the%20Create%20new%20step%20above.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%225.PNG%22%20style%3D%22width%3A%20553px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171741i62D666B6BD14EF4C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%225.PNG%22%20alt%3D%225.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EInitialize%20variable%3C%2FSTRONG%3E%3A%20Since%20I%20want%20to%20post%20a%20single%20message%20in%20the%20Teams%20channel%20containing%20prices%20of%20more%20than%20one%20stock%20symbols%20of%20Contoso%E2%80%99s%20competitors%2C%20I%20will%20create%20a%20variable%20and%20keep%20building%20the%20content%20of%20the%20channel%20message%20dynamically.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%226.PNG%22%20style%3D%22width%3A%20727px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171742i7D0C1B2CA94F4F39%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%226.PNG%22%20alt%3D%226.PNG%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EFetch%20stock%20symbols%20from%20the%20table%3C%2FSTRONG%3E%3A%20I%20then%20read%20the%20compete%20stock%20symbols%20by%20listing%20rows%20from%20the%20Excel%20file%20Stock.xlsx%20as%20the%20next%20step.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%226.1.png%22%20style%3D%22width%3A%20727px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171743i96651F0A3AE9A4A4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%226.1.png%22%20alt%3D%226.1.png%22%20%2F%3E%3C%2FSPAN%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0AUsing%20the%20%E2%80%98Apply%20to%20Each%E2%80%99%20control%20action%2C%20for%20each%20row%20in%20the%20table%20represented%20by%20%E2%80%98Current%20item%E2%80%99%2C%20the%20following%20steps%20are%20performed%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%226.2.png%22%20style%3D%22width%3A%20771px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171744i41E8055967C88E21%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%226.2.png%22%20alt%3D%226.2.png%22%20%2F%3E%3C%2FSPAN%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%3CSTRONG%3EParse%20JSON%3C%2FSTRONG%3E%3A%20Here%20the%20row%20item%20picked%20up%20as%20the%20dynamic%20parameter%20%E2%80%98value%E2%80%99%20is%20parsed%20as%20a%20JSON%20output%20so%20that%20we%20can%20read%20stock%20symbols%20from%20the%20Excel%20file.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%227.PNG%22%20style%3D%22width%3A%20726px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171746iF886E17781DDF84C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%227.PNG%22%20alt%3D%227.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EYou%20may%20be%20wondering%20how%20to%20fill%20the%20Schema%20for%20the%20JSON%20output%20in%20this%20step.%20Let%20me%20share%20the%20trick%20for%20the%20same.%20Power%20Automate%20supports%20generating%20the%20schema%20from%20a%20sample%20output%20using%20%E2%80%98Generate%20from%20sample%E2%80%99%20action.%20But%20how%20do%20you%20know%20the%20JSON%20output%20for%20an%20Excel%20file%E2%80%99s%20rows%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EI%20got%20that%20by%20simply%20running%20the%20flow%20until%20step%203%20i.e.%20%E2%80%99List%20rows%20present%20in%20a%20table%E2%80%99%20through%20the%20%E2%80%98Test%E2%80%99%20action%20and%20seeing%20the%20output%20of%20the%20flow%20run.%20The%20Flow%20Runs%20Page%20will%20show%20the%20last%20run%20instance%20of%20the%20flow%20as%20follows%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%228.PNG%22%20style%3D%22width%3A%20390px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171755iA174B8F32A8E5A3A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%228.PNG%22%20alt%3D%228.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%229.PNG%22%20style%3D%22width%3A%20553px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171760iB82DDCC65CD2B6EE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%229.PNG%22%20alt%3D%229.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EClicking%20on%20the%20last%20run%20flow%20will%20allow%20you%20to%20step%20into%20and%20see%20outputs%20as%20follows%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2210.PNG%22%20style%3D%22width%3A%20668px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171761i369E81AC02E5557E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2210.PNG%22%20alt%3D%2210.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EUnder%20Outputs%2C%20the%20Body%20section%20contains%20how%20rows%20read%20from%20Excel%20are%20represented%20in%20JSON%20format.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2211.PNG%22%20style%3D%22width%3A%20664px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171763iF5AD2383CFCC18AB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2211.PNG%22%20alt%3D%2211.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EFrom%20this%20output%2C%20you%20can%20pick%20up%20one%20of%20the%20%E2%80%98value%E2%80%99%20items%20that%20can%20be%20passed%20to%20the%20%E2%80%98Generate%20from%20sample%E2%80%99%20dialog%20in%20the%20%E2%80%98Parse%20JSON%E2%80%99%20step.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2212.PNG%22%20style%3D%22width%3A%20572px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171764i1C919E96E2945BC9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2212.PNG%22%20alt%3D%2212.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EThis%20will%20spit%20out%20the%20schema%20for%20parsing%20JSON%20and%20extract%20relevant%20values%20for%20use%20in%20the%20next%20step.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2213.PNG%22%20style%3D%22width%3A%20798px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171765iEAE8C9AB16E3A3AF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2213.PNG%22%20alt%3D%2213.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2214.png%22%20style%3D%22width%3A%20694px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171766i93A58DD1DC84DA11%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2214.png%22%20alt%3D%2214.png%22%20%2F%3E%3C%2FSPAN%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%3CSTRONG%3EHTTP%20GET%20call%3C%2FSTRONG%3E%3A%20Next%20I%20add%20the%20HTTP%20action%20to%20invoke%20a%20REST%20API%20for%20getting%20the%20latest%20stock%20price%20of%20the%20symbol.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2215.PNG%22%20style%3D%22width%3A%20728px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171767iDB5145ADA636CAD2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2215.PNG%22%20alt%3D%2215.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EThe%20URI%20field%20is%20the%20most%20important%20here.%20Yahoo!%20Finance%E2%80%99s%20stock%20price%20URL%20is%20of%20the%20form%20%E2%80%9C%3C%2FSPAN%3E%3CA%20style%3D%22font-family%3A%20inherit%3B%20background-color%3A%20%23ffffff%3B%22%20href%3D%22https%3A%2F%2Fquery1.finance.yahoo.com%2Fv7%2Ffinance%2Fchart%2F%253cINSERT%2520STOCK%2520SYMBOL%2520HERE%253e%3F%26amp%3Binterval%3D1m%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fquery1.finance.yahoo.com%2Fv7%2Ffinance%2Fchart%2F%3CINSERT%20stock%3D%22%22%20symbol%3D%22%22%20here%3D%22%22%3E%3F%26amp%3Binterval%3D1m%3C%2FINSERT%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%E2%80%9D.%20Hence%2C%20using%20the%20%E2%80%98Add%20dynamic%20content%E2%80%99%20feature%2C%20I%20can%20input%20the%20parsed%20%E2%80%98Stocks%E2%80%99%20string%20from%20the%20previous%20step%20to%20construct%20the%20right%20HTTP%20GET%20URL%20for%20each%20stock%20symbol.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CSTRONG%3EParse%20JSON%3C%2FSTRONG%3E%3A%20Now%2C%20the%20response%20from%20the%20HTTP%20GET%20step%20needs%20to%20be%20parsed%20to%20extract%20stock%20price%20metrics%20for%20the%20given%20stock%20symbol.%20Body%20field%20from%20the%20previous%20step%20acts%20as%20the%20%E2%80%98Content%E2%80%99%20input%20here.%20Similar%20to%20the%20previous%20step%2C%20the%20Schema%20is%20generated%20using%20the%20%E2%80%98Generate%20from%20sample%E2%80%99%20option.%20You%20can%20use%20the%20JSON%20response%20you%20obtain%20when%20executing%20the%20Yahoo!%20Finance%20URL%20in%20your%20browser%20for%20any%20stock%20symbol.%20For%20eg%3A%20when%20you%20visit%20this%20URL%3A%20%3CA%20href%3D%22https%3A%2F%2Fquery1.finance.yahoo.com%2Fv7%2Ffinance%2Fchart%2FMSFT%3F%26amp%3Binterval%3D1m%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fquery1.finance.yahoo.com%2Fv7%2Ffinance%2Fchart%2FMSFT%3F%26amp%3Binterval%3D1m%3C%2FA%3E%20in%20your%20browser%2C%20you%E2%80%99ll%20get%20the%20JSON%20response%20to%20this%20GET%20call.%20Use%20this%20entire%20output%20to%20generate%20the%20schema.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2217.PNG%22%20style%3D%22width%3A%20727px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171770iFDBB1D91B2DCB51B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2217.PNG%22%20alt%3D%2217.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CSTRONG%3EAppend%20to%20string%20variable%3C%2FSTRONG%3E%3A%20Now%2C%20it%E2%80%99s%20time%20to%20construct%20what%20get%E2%80%99s%20posted%20for%20end%20users%20in%20the%20Teams%20channel%20as%20a%20conversation.%20From%20the%20previous%20step%2C%20I%20now%20have%20all%20pieces%20of%20information%20%E2%80%93%20it%E2%80%99s%20just%20a%20matter%20to%20compose%20the%20message.%20Using%20the%20%E2%80%98Append%20to%20string%20variable%E2%80%99%20action%2C%20I%20keep%20appending%20to%20the%20string%20variable%20called%20%E2%80%98Message%E2%80%99%20we%E2%80%99d%20defined%20earlier.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2217.PNG%22%20style%3D%22width%3A%20727px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171770iFDBB1D91B2DCB51B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2217.PNG%22%20alt%3D%2217.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorVishrut%20Shukla_19%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EThe%20output%20of%20the%20HTTP%20GET%20call%20when%20parsed%20gives%20us%20the%20stock%20symbol%2C%20currency%2C%20regularMarketPrice%20etc.%20all%20of%20which%20are%20dynamic%20content%20available%20to%20be%20used%20in%20the%20%E2%80%98Value%E2%80%99%20field%20to%20construct%20the%20string%20for%20each%20competitor%E2%80%99s%20stock%20symbol.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EPost%20the%20message%20into%20Teams%20channel%3C%2FSTRONG%3E%3A%20The%20last%20step%20is%20to%20post%20the%20message%20containing%20all%20compete%20stock%20prices%20into%20Microsoft%20Teams%20channel.%20You%20should%20be%20careful%20that%20this%20step%20should%20be%20outside%20the%20%E2%80%98Apply%20to%20each%E2%80%99%20loop%2C%20otherwise%2C%20the%20flow%20will%20end%20up%20posting%20multiple%20times%20with%20incremental%20content%20as%20the%20Message%20string%20gets%20constructed%20for%20symbols%20one%20by%20one.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2218.PNG%22%20style%3D%22width%3A%20605px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171771iAAB1F6EB8D3ECE77%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2218.PNG%22%20alt%3D%2218.PNG%22%20%2F%3E%3C%2FSPAN%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0AHere%2C%20I%20use%20the%20%E2%80%98Post%20a%20message%E2%80%99%20action%20in%20Power%20Automate%20to%20simply%20post%20the%20Message%20string%20variable%20to%20Teams%20in%20the%20chosen%20team%2Fchannel.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2219.PNG%22%20style%3D%22width%3A%20725px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171772iDFCF81FC6EA00F6F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2219.PNG%22%20alt%3D%2219.PNG%22%20%2F%3E%3C%2FSPAN%3E%0A%3CP%3E%26nbsp%3B%3CBR%20%2F%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EKeeping%20with%20the%20best%20practices%20of%20starting%20conversations%20in%20Teams%2C%20the%20%E2%80%98Subject%E2%80%99%20field%20is%20set%20as%20well.%20To%20report%20when%20the%20compete%20stock%20prices%20have%20been%20captured%2C%20I%20also%20included%20the%20time%20snapshot%20when%20this%20message%20gets%20posted%20using%20a%20dynamic%20expression%20compiled%20using%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-javascript%22%3E%3CCODE%3EconvertTimeZone(utcnow()%2C'UTC'%2C'India%20Standard%20Time'%2C'dd%2FMM%2Fyyyy%20HH%3Amm%3Ass')%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3ETesting%20the%20Power%20Automate%20flow%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ETo%20test%20the%20flow%2C%20I%20can%20trigger%20it%20manually%20and%20check%20the%20Competitive%20Info%20channel%20to%20find%20the%20below%20message%20beautifully%20posted%20along%20with%20the%20latest%20stock%20prices%20of%20all%20competitors%20of%20Contoso!%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2220.PNG%22%20style%3D%22width%3A%20656px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171773i5307C5D964703202%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2220.PNG%22%20alt%3D%2220.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESay%20hello%20to%20real-time%2C%20productive%20and%20meaningful%20collaboration!%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThe%20entire%20corporate%20strategy%20team%20can%20now%20always%20stay%20in%20the%20know%20about%20how%20Wall%20Street%20is%20responding%20to%20their%20competitors.%20Automated%20messages%20such%20as%20the%20above%20periodically%20posted%20in%20Microsoft%20Teams%20where%20the%20entire%20team%20collaborates%20allow%20the%20team%20to%20quickly%20react%20to%20stock%20price%20movements%20and%20analyse%20the%20market%20around%20them.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2221.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171774iF0E130AFB63EF02E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2221.PNG%22%20alt%3D%2221.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1180004%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2221.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F171774iF0E130AFB63EF02E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2221.PNG%22%20alt%3D%2221.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESee%20how%20to%20automate%20periodic%20tracking%20of%20your%20competitors'%20stock%20prices%20in%20Microsoft%20Teams%20using%20Power%20Automate%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1180004%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAutomation%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFlow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Emicrosoft%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPlatform%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPower%20Automate%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EProductivity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1181084%22%20slang%3D%22en-US%22%3ERe%3A%20Watch%20your%20competition%E2%80%99s%20stock%20prices%3A%20Citizen%20Productivity%20using%20Microsoft%20Teams%20%2B%20Power%20Automa%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1181084%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F76039%22%20target%3D%22_blank%22%3E%40Vishrut%20Shukla%3C%2FA%3E%26nbsp%3B%26nbsp%3BI%20mean%20no%20disrespect%20in%20the%20time%20it%20took%20to%20write%20this%20or%20create%20the%20flow%2C%20but%20we%20can%20see%20stock%20prices%20in%20google.%20Can%20MS%20please%20provide%20an%20official%20response%20as%20to%20when%20MS%20Teams%20will%20have%20an%20actual%20working%26nbsp%3B%3CSTRONG%3Ecomplete%3C%2FSTRONG%3E%20api%20supporting%20its%20voice%20in%20teams%3F%20This%20is%20costing%20companies%20a%20fortune%20in%20time%20and%20frustration%2C%20and%20the%20lack%20of%20response%20from%20MS%20regarding%20this%20instills%20a%20feeling%20that%20MS%20doesnt%20even%20care%20about%20this%20issue.%20MS%20end%20of%20lifed%20sfb%2Flync%20and%20pushed%20everyone%20to%20teams%20but%20still%20will%20not%20even%20acknowledge%20this%20major%20problem.%20See%20comments%20here%20for%20example..%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-teams-blog%2Fwhat-s-new-in-microsoft-teams-january-2020%2Fba-p%2F1141831%23%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-teams-blog%2Fwhat-s-new-in-microsoft-teams-january-2020%2Fba-p%2F1141831%23%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1218093%22%20slang%3D%22en-US%22%3ERe%3A%20Watch%20your%20competition%E2%80%99s%20stock%20prices%3A%20Citizen%20Productivity%20using%20Microsoft%20Teams%20%2B%20Power%20Automa%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1218093%22%20slang%3D%22en-US%22%3E%3CP%3EQuick%20question%20...%20it%20Appears%20that%20this%20may%20require%20the%20%22premium%20connector%22%20for%20http%20which%20means%20the%20license%20requirement%20for%20the%20is%20either%20unlimited%20user%20(US%20%2415)%20or%20one%20of%20the%205%20flows%20(%24500%20per%20month%20for%205%20flows%20unlimited%20use)%20%3F%26nbsp%3B%20Does%20that%20sound%20correct%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Millions of users in enterprises today start their day with Microsoft Teams, live their day in Teams and wrap their day with Teams! Teams is where people come together to plan, collaborate, share, discuss, decide and take action on things that matter to their businesses and productivity. Teams as the collaboration hub also plays a central role in enterprises today among strategy and planning group members who keep a close eye on all facets of the business including competition.

 

Recalling what Peter Thiel says “All failed companies are the same: They failed to escape competition.” - in today’s post let’s explore how Microsoft Teams and Power Automate (erstwhile Microsoft Flow) when put together allows strategy teams in an organization keep a close eye on competition’s stock prices – a leading metric of how Wall Street perceives their progress.

 

First Things First

Imagine the strategy team in Contoso (our favorite imaginary company) is collaborating on Microsoft Teams using their private workspace as follows. Among other things, Competitive Info is a channel where they keep a close watch on their named competitors, track compete news, discuss impact, market perception etc.

 

Vishrut Shukla_0-1582037157214.png


The Objective

Strategy team often checks ups and downs in their competitors’ stock prices. Someone from the team always takes turns in querying stock prices from public sources such as MSN Money or Yahoo! Finance and preparing a report for the rest of the team to consume. One of the strategy team members (that’s me!) wants to automate this repetitive task and imagine a world where periodic tracking of compete stock prices happen, essentially getting notifications about stocks once every 12 hours.

I intend to use Power Automate flow inside Microsoft Teams for the same.

 

Identifying the basic ingredients

Contoso team identifies the following as pieces of this automation puzzle:

  1. List of compete stocks to track: The list of stock symbols to track is maintained in a simple Excel file which can be edited by anyone in the team making it effortless to add/remove competitors from the stock tracking mix. The table where stock symbols are entered is given a name as well.

    Vishrut Shukla_1-1582037157222.png

     

    Vishrut Shukla_2-1582037157224.png

     

  2. Channel where the stock price alerts will be posted: This can be the Competitive Info channel in the Corporate Strategy HQ team.

  3. Web service / Data source for querying stock prices: As the most critical piece of the automation, the team will need a source to query latest stock price information for a given symbol. There are a number of public web APIs available which provide this information as a simple JSON response via a simple http GET call. For the purpose of this automation, I pick up the Yahoo! Finance API. See a sample response here: https://query1.finance.yahoo.com/v7/finance/chart/MSFT?&interval=1m

    {"chart":{"result":[{"meta":{"currency":"USD","symbol":"MSFT","exchangeName":"NMS","instrumentType":"EQUITY","firstTradeDate":511088400,"regularMarketTime":1581445810,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":186.86,"chartPreviousClose":188.7,"previousClose":188.7,"scale":3,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1581411600,"end":1581431400,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1581431400,"end":1581454800,"gmtoffset":-18000},"post":{"timezone":"EST","start":1581454800,"end":1581469200,"gmtoffset":-18000}},"tradingPeriods":[[{"timezone":"EST","start":1581431400,"end":1581454800,"gmtoffset":-18000}]],"dataGranularity":"1m","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},​

     

  1. Power Automate flow which does the magic!

Building the Power Automate flow

The Power Automate flow looks like this:

3.PNG

 

Each step in the creation of the flow used for this is explained below:

  1. Create Flow: I created this using the “+Create” menu option, starting a “Scheduled flow” from scratch.

    4.PNG
  2. Recurrence: Since the flow is a recurring one, the first step of the solution is Recurrence (a timer event) which Power Automate will automatically add resulting from the Create new step above.

    5.PNG

     

  3. Initialize variable: Since I want to post a single message in the Teams channel containing prices of more than one stock symbols of Contoso’s competitors, I will create a variable and keep building the content of the channel message dynamically.

    6.PNG 
  4. Fetch stock symbols from the table: I then read the compete stock symbols by listing rows from the Excel file Stock.xlsx as the next step. 

    6.1.png

     

    Using the ‘Apply to Each’ control action, for each row in the table represented by ‘Current item’, the following steps are performed:

    6.2.png

     

    • Parse JSON: Here the row item picked up as the dynamic parameter ‘value’ is parsed as a JSON output so that we can read stock symbols from the Excel file. 

      7.PNG

       

      You may be wondering how to fill the Schema for the JSON output in this step. Let me share the trick for the same. Power Automate supports generating the schema from a sample output using ‘Generate from sample’ action. But how do you know the JSON output for an Excel file’s rows?

      I got that by simply running the flow until step 3 i.e. ’List rows present in a table’ through the ‘Test’ action and seeing the output of the flow run. The Flow Runs Page will show the last run instance of the flow as follows:

      8.PNG

       

      9.PNG

       

      Clicking on the last run flow will allow you to step into and see outputs as follows:

      10.PNG

       

      Under Outputs, the Body section contains how rows read from Excel are represented in JSON format.

      11.PNG

       

      From this output, you can pick up one of the ‘value’ items that can be passed to the ‘Generate from sample’ dialog in the ‘Parse JSON’ step. 

      12.PNG

       
      This will spit out the schema for parsing JSON and extract relevant values for use in the next step.

      13.PNG

       

      14.png

       

       

    • HTTP GET call: Next I add the HTTP action to invoke a REST API for getting the latest stock price of the symbol. 

      15.PNG

       

      The URI field is the most important here. Yahoo! Finance’s stock price URL is of the form “https://query1.finance.yahoo.com/v7/finance/chart/<INSERT STOCK SYMBOL HERE>?&interval=1m”. Hence, using the ‘Add dynamic content’ feature, I can input the parsed ‘Stocks’ string from the previous step to construct the right HTTP GET URL for each stock symbol.

       

    • Parse JSON: Now, the response from the HTTP GET step needs to be parsed to extract stock price metrics for the given stock symbol. Body field from the previous step acts as the ‘Content’ input here. Similar to the previous step, the Schema is generated using the ‘Generate from sample’ option. You can use the JSON response you obtain when executing the Yahoo! Finance URL in your browser for any stock symbol. For eg: when you visit this URL: https://query1.finance.yahoo.com/v7/finance/chart/MSFT?&interval=1m in your browser, you’ll get the JSON response to this GET call. Use this entire output to generate the schema.

      17.PNG

       

       

    • Append to string variable: Now, it’s time to construct what get’s posted for end users in the Teams channel as a conversation. From the previous step, I now have all pieces of information – it’s just a matter to compose the message. Using the ‘Append to string variable’ action, I keep appending to the string variable called ‘Message’ we’d defined earlier.


      17.PNG

       

       

      The output of the HTTP GET call when parsed gives us the stock symbol, currency, regularMarketPrice etc. all of which are dynamic content available to be used in the ‘Value’ field to construct the string for each competitor’s stock symbol.


       

  5. Post the message into Teams channel: The last step is to post the message containing all compete stock prices into Microsoft Teams channel. You should be careful that this step should be outside the ‘Apply to each’ loop, otherwise, the flow will end up posting multiple times with incremental content as the Message string gets constructed for symbols one by one.

    18.PNG

     

    Here, I use the ‘Post a message’ action in Power Automate to simply post the Message string variable to Teams in the chosen team/channel.

    19.PNG

     
    Keeping with the best practices of starting conversations in Teams, the ‘Subject’ field is set as well. To report when the compete stock prices have been captured, I also included the time snapshot when this message gets posted using a dynamic expression compiled using:

    convertTimeZone(utcnow(),'UTC','India Standard Time','dd/MM/yyyy HH:mm:ss')

     

Testing the Power Automate flow

To test the flow, I can trigger it manually and check the Competitive Info channel to find the below message beautifully posted along with the latest stock prices of all competitors of Contoso!


20.PNG

 

Say hello to real-time, productive and meaningful collaboration!

The entire corporate strategy team can now always stay in the know about how Wall Street is responding to their competitors. Automated messages such as the above periodically posted in Microsoft Teams where the entire team collaborates allow the team to quickly react to stock price movements and analyse the market around them.


21.PNG

2 Comments
Occasional Contributor

@Vishrut Shukla  I mean no disrespect in the time it took to write this or create the flow, but we can see stock prices in google. Can MS please provide an official response as to when MS Teams will have an actual working complete api supporting its voice in teams? This is costing companies a fortune in time and frustration, and the lack of response from MS regarding this instills a feeling that MS doesnt even care about this issue. MS end of lifed sfb/lync and pushed everyone to teams but still will not even acknowledge this major problem. See comments here for example..: https://techcommunity.microsoft.com/t5/microsoft-teams-blog/what-s-new-in-microsoft-teams-january-20...

New Contributor

Quick question ... it Appears that this may require the "premium connector" for http which means the license requirement for the is either unlimited user (US $15) or one of the 5 flows ($500 per month for 5 flows unlimited use) ?  Does that sound correct?