Home
%3CLINGO-SUB%20id%3D%22lingo-sub-755465%22%20slang%3D%22en-US%22%3EUsing%20Teams%20%26amp%3B%20Flow%20in%20the%20Government%20Cloud%3A%20Planner%20Tasks%20from%20Channel%20Messages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-755465%22%20slang%3D%22en-US%22%3E%3CP%3E%22Picture%20it...%22%20%5Busing%20my%20best%20Sophia%20Petrillo%20Golden%20Girls%20voice%20impression%20%3A)%5D.......You%20have%20a%20team%20that%20makes%20a%20lot%20of%20Planner%20tasks%20as%20part%20of%20their%20teamwork.%20While%20adding%20a%20Planner%20tab%20into%20the%20Team%20is%20a%20convenient%201-click%20way%20to%20access%20the%20team's%20Plan%2C%20what%20if%20I%20wanted%20an%20even%20more%20friction-less%20approach%3F%20And%20what%20if%20I%20wanted%20that%20same%20approach%20to%20even%20be%20able%20to%20create%20Tasks%20in%20a%20Plan%20outside%20my%20Team%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWell%2C%20let's%20see%20if%20we%20can%20use%20Flow%20to%20create%20a%20new%20Task%20every%20time%20we%20post%20a%20new%20Channel%20Message%20with%20a%20certain%20keyword!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet's%20first%20take%20a%20look%20at%20the%20Actions%20available%20to%20us%20%5Bat%20the%20time%20of%20this%20writing%5D%20in%20the%20Gov't%20Community%20Cloud%20for%20Planner%3A%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQGHl6TYJIB5Mg%2Farticle-inline_image-shrink_1500_2232%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DUpL0nd3vynXEyE4V225BSp30Vkx2OAH7iwcvcufOz-E%22%20border%3D%220%22%20alt%3D%22No%20alt%20text%20provided%20for%20this%20image%22%20data-media-urn%3D%22%22%20data-li-src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQGHl6TYJIB5Mg%2Farticle-inline_image-shrink_1500_2232%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DUpL0nd3vynXEyE4V225BSp30Vkx2OAH7iwcvcufOz-E%22%20%2F%3E%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20see%20%22Create%20a%20Task%22%20so%20we're%20good-to-go.%20Let's%20start%20our%20new%20Flow%20and%20add%20our%20first%20Step%20-%20a%20Teams%20Trigger%20that%20kicks%20whenever%20someone%20posts%20a%20new%20Channel%20Message...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQHiXjHfMLOf_g%2Farticle-inline_image-shrink_1500_2232%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DtI_EvRY2mip-tBIT-DmZVuMOWmTrYqSHHYDzzpFpdrI%22%20border%3D%220%22%20alt%3D%22No%20alt%20text%20provided%20for%20this%20image%22%20data-media-urn%3D%22%22%20data-li-src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQHiXjHfMLOf_g%2Farticle-inline_image-shrink_1500_2232%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DtI_EvRY2mip-tBIT-DmZVuMOWmTrYqSHHYDzzpFpdrI%22%20%2F%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3EI'll%20add%20the%20Team%20and%20Channel%20that%20I%20want%20this%20Flow%20to%20monitor%20for%20posts.%20Next%2C%20I%20need%20a%20Condition%2C%20because%20I%20only%20want%20this%20Flow%20to%20act%20on%20posts%20with%20a%20specific%20keyword...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQE4VnKoZ83kYQ%2Farticle-inline_image-shrink_1000_1488%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DsCNEAzA95nJXextgc5BobA-Ga40WMxunMdZ9w2II84A%22%20border%3D%220%22%20alt%3D%22No%20alt%20text%20provided%20for%20this%20image%22%20data-media-urn%3D%22%22%20data-li-src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQE4VnKoZ83kYQ%2Farticle-inline_image-shrink_1000_1488%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DsCNEAzA95nJXextgc5BobA-Ga40WMxunMdZ9w2II84A%22%20%2F%3E%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20case%2C%20my%20condition%20is%20that%20I%20only%20want%20to%20create%20a%20Planner%20Task%20if%20the%20post%20has%20the%20keyword%20%22%23plannertask%22%20in%20the%20contents%20of%20the%20message.%20So%20now%20let's%20reference%20the%20Teams%20post%20body%20contents%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQHEH3wNzg2XnQ%2Farticle-inline_image-shrink_1500_2232%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DJFDBkQMpAKBSqIR_WoK1hiWSMMWTsfuTRbC7XzHbA04%22%20border%3D%220%22%20alt%3D%22No%20alt%20text%20provided%20for%20this%20image%22%20data-media-urn%3D%22%22%20data-li-src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQHEH3wNzg2XnQ%2Farticle-inline_image-shrink_1500_2232%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DJFDBkQMpAKBSqIR_WoK1hiWSMMWTsfuTRbC7XzHbA04%22%20%2F%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQFCpaomxEpfPQ%2Farticle-inline_image-shrink_1000_1488%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3Dq1gtstaIpRIJsXZQu_3q_fF2dIOTAb9um-zqZ-IydTQ%22%20border%3D%220%22%20alt%3D%22No%20alt%20text%20provided%20for%20this%20image%22%20data-media-urn%3D%22%22%20data-li-src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQFCpaomxEpfPQ%2Farticle-inline_image-shrink_1000_1488%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3Dq1gtstaIpRIJsXZQu_3q_fF2dIOTAb9um-zqZ-IydTQ%22%20%2F%3E%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%2C%20if%20our%20flow%20condition%20results%20in%20a%20True%20value%20(ie%20the%20post%20does%20indeed%20contain%20our%20keyword)%2C%20then%20I'll%20Create%20the%20Planner%20Task%20(and%20if%20the%20keyword%20isn't%20there%2C%20I'll%20do%20nothing%2C%20which%20means%20our%20No%20condition%20can%20remain%20blank)%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQF3kLTUTcMkHw%2Farticle-inline_image-shrink_1000_1488%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DPMVd359ZgJLre_OI_i4NoBTZWqsEwBnVxlSWH3VfyaE%22%20border%3D%220%22%20alt%3D%22No%20alt%20text%20provided%20for%20this%20image%22%20data-media-urn%3D%22%22%20data-li-src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQF3kLTUTcMkHw%2Farticle-inline_image-shrink_1000_1488%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DPMVd359ZgJLre_OI_i4NoBTZWqsEwBnVxlSWH3VfyaE%22%20%2F%3E%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'll%20make%20this%20Flow%20create%20a%20task%20in%20my%20%22test1%22%20Plan%20in%20the%20%22To%20do%22%20bucket%2C%20and%20I'll%20use%20the%20posts%20Subject%20title%20as%20the%20title%20of%20the%20Task.%20Notice%20I%20could%20also%20assign%20a%20User%20at%20this%20point%20as%20well%20if%20I%20needed%20to%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQGICQZMiASRTw%2Farticle-inline_image-shrink_400_744%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DQ_dxFqKGGGiWqMoU5BnmvIGw1z2aAVRnDNUSwviTRdg%22%20border%3D%220%22%20alt%3D%22No%20alt%20text%20provided%20for%20this%20image%22%20data-media-urn%3D%22%22%20data-li-src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQGICQZMiASRTw%2Farticle-inline_image-shrink_400_744%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DQ_dxFqKGGGiWqMoU5BnmvIGw1z2aAVRnDNUSwviTRdg%22%20%2F%3E%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet's%20try%20it.%20For%20this%20particular%20scenario%20to%20work%2C%20the%20user%20has%20to%20make%20a%20post%20that%20includes%20a%20Subject%20line%2C%20and%20of%20course%20includes%20our%20keyword%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQGy5lxyBEbv1A%2Farticle-inline_image-shrink_1500_2232%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3D_bgRKC3zxXwrzdDAADQLqvtIM6PRakW8aMKL5rIeIps%22%20border%3D%220%22%20alt%3D%22No%20alt%20text%20provided%20for%20this%20image%22%20data-media-urn%3D%22%22%20data-li-src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQGy5lxyBEbv1A%2Farticle-inline_image-shrink_1500_2232%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3D_bgRKC3zxXwrzdDAADQLqvtIM6PRakW8aMKL5rIeIps%22%20%2F%3E%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnd%2C%20after%20some%20time%2C%20I%20check%20the%20%22test1%22%20Plan%20to%20find%20that%20the%20new%20Task%20has%20indeed%20been%20created!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22slate-resizable-image-embed%20slate-image-embed__resize-full-width%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQEs_TwPm1Lv8g%2Farticle-inline_image-shrink_1000_1488%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DXPGEvWM31B_7_bLYvL0ZkjlebIYbXrUeb6MzFVWRhCE%22%20border%3D%220%22%20alt%3D%22No%20alt%20text%20provided%20for%20this%20image%22%20data-media-urn%3D%22%22%20data-li-src%3D%22https%3A%2F%2Fmedia.licdn.com%2Fdms%2Fimage%2FC4E12AQEs_TwPm1Lv8g%2Farticle-inline_image-shrink_1000_1488%2F0%3Fe%3D1568851200%26amp%3Bv%3Dbeta%26amp%3Bt%3DXPGEvWM31B_7_bLYvL0ZkjlebIYbXrUeb6MzFVWRhCE%22%20%2F%3E%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat's%20worth%20noting%20is%20that%20%22test1%22%20is%20not%20a%20Plan%20in%20the%20%222018%20Safety%20Audit%22%20Team%2FGroup.%20This%20could%20come%20in%20handy%20if%20I%20have%20a%20Plan%20collecting%20automated%20%22keyword%20tasks%22%20from%20different%20Teams.%3C%2FP%3E%0A%3CP%3EAlso%2C%20remember%20about%20this%20solution%20could%20run%20often%2C%20based%20on%20how%20much%20activity%20occurs%20in%20your%20Channel(s).%20Be%20sure%20to%20keep%20that%20in%20mind%20as%20you%20consider%20the%20available%20Flow%20Runs%20your%20account%20has%20remaining.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20this%20helps%20-%20until%20next%20time%2C%20enjoy!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-755465%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20666px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F123318iDCE9BCFEF44F1833%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22using%20teams%20and%20flow.jpg%22%20title%3D%22using%20teams%20and%20flow.jpg%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%3E%22Picture%20it...%22%20%5Busing%20my%20best%20Sophia%20Petrillo%20Golden%20Girls%20voice%20impression%20%3A)%5D.......You%20have%20a%20team%20that%20makes%20a%20lot%20of%20Planner%20tasks%20as%20part%20of%20their%20teamwork.%20While%20adding%20a%20Planner%20tab%20into%20the%20Team%20is%20a%20convenient%201-click%20way%20to%20access%20the%20team's%20Plan%2C%20what%20if%20I%20wanted%20an%20even%20more%20friction-less%20approach%3F%20And%20what%20if%20I%20wanted%20that%20same%20approach%20to%20even%20be%20able%20to%20create%20Tasks%20in%20a%20Plan%20outside%20my%20Team%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-755465%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdoption%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBest%20Practices%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Elocal%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EState%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeamwork%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-782195%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Teams%20%26amp%3B%20Flow%20in%20the%20Government%20Cloud%3A%20Planner%20Tasks%20from%20Channel%20Messages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-782195%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F100783%22%20target%3D%22_blank%22%3E%40Ricardo%20Wilkins%3C%2FA%3E%2C%26nbsp%3Bthanks%20for%20sharing.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

"Picture it..." [using my best Sophia Petrillo Golden Girls voice impression :)].......You have a team that makes a lot of Planner tasks as part of their teamwork. While adding a Planner tab into the Team is a convenient 1-click way to access the team's Plan, what if I wanted an even more friction-less approach? And what if I wanted that same approach to even be able to create Tasks in a Plan outside my Team?

 

Well, let's see if we can use Flow to create a new Task every time we post a new Channel Message with a certain keyword!

 

Let's first take a look at the Actions available to us [at the time of this writing] in the Gov't Community Cloud for Planner:

No alt text provided for this image

 

I see "Create a Task" so we're good-to-go. Let's start our new Flow and add our first Step - a Teams Trigger that kicks whenever someone posts a new Channel Message...

 

No alt text provided for this image
 

I'll add the Team and Channel that I want this Flow to monitor for posts. Next, I need a Condition, because I only want this Flow to act on posts with a specific keyword...

 

No alt text provided for this image

 

In this case, my condition is that I only want to create a Planner Task if the post has the keyword "#plannertask" in the contents of the message. So now let's reference the Teams post body contents:

 

No alt text provided for this image
No alt text provided for this image

 

Now, if our flow condition results in a True value (ie the post does indeed contain our keyword), then I'll Create the Planner Task (and if the keyword isn't there, I'll do nothing, which means our No condition can remain blank):

 

No alt text provided for this image

 

I'll make this Flow create a task in my "test1" Plan in the "To do" bucket, and I'll use the posts Subject title as the title of the Task. Notice I could also assign a User at this point as well if I needed to:

 

No alt text provided for this image

 

Let's try it. For this particular scenario to work, the user has to make a post that includes a Subject line, and of course includes our keyword:

 

No alt text provided for this image

 

And, after some time, I check the "test1" Plan to find that the new Task has indeed been created!

 

No alt text provided for this image

 

What's worth noting is that "test1" is not a Plan in the "2018 Safety Audit" Team/Group. This could come in handy if I have a Plan collecting automated "keyword tasks" from different Teams.

Also, remember about this solution could run often, based on how much activity occurs in your Channel(s). Be sure to keep that in mind as you consider the available Flow Runs your account has remaining.

 

Hope this helps - until next time, enjoy!

1 Comment
Senior Member

@Ricardo Wilkins, thanks for sharing.