SOLVED
Home

Is it possible to add auto tag a post using Flow?

%3CLINGO-SUB%20id%3D%22lingo-sub-123125%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-123125%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EHas%20anyone%20tried%20auto%20tagging%20a%20post%20in%20Yammer%20based%20on%20keywords%20in%20the%20message%3F%3C%2FP%3E%3CP%3EFor%20example%2C%20there%20is%20a%20group%20that%20wants%20to%20use%20Yammer%20for%20announcements%20and%20the%20team%20does%20not%20want%20to%20rely%20on%20the%20user%20to%20%22remember%22%20to%20add%20tags.%20If%20the%20user%20includes%20standard%20keywords%20for%20example%3A%20Corporate%2C%20Sales%2C%20Finance%20could%20that%20become%20a%20tag%20for%20Yammer%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F55%22%20target%3D%22_blank%22%3E%40Tom%20Kretzmer%3C%2FA%3E%26nbsp%3B(Hello%20my%20friend!%20I'm%20adding%20you%20because%20I%20know%20this%20request%20might%20sound%20familiar).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-123125%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFlow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-130280%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-130280%22%20slang%3D%22en-US%22%3E%3CP%3EI'll%20be%20happy%20to%20report%20back%20any%20correlations%20with%20adoption%20and%20user%20engagement.%20Stay%20tuned!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-130264%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-130264%22%20slang%3D%22en-US%22%3E%3CP%3EWoo%20hoo!%26nbsp%3B%20That's%20great%20to%20hear!%20And%20thanks%20for%20letting%20us%20know%20what%20the%20holdup%20was.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHey%2C%20share%20any%20tidbits%20on%20how%20it%20drives%20adoption%20-%20we're%20going%20through%20some%20early%20planning%20now%20on%20adoption%20and%20we%20can%20use%20all%20the%20tips%20we%20can%20find.%26nbsp%3B%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-130190%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-130190%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20case%20this%20helps%20anyone...%20I%20had%20an%20extra%20space%20in%20my%20%22condition%22%20text%20and%20also%20my%20condition%20was%20changed%20to%20%22message%20list%22%20instead%20of%20%22message%20text%22%20and%20that%20did%20the%20trick!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-130189%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-130189%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F55%22%20target%3D%22_blank%22%3E%40Tom%20Kretzmer%3C%2FA%3E%26nbsp%3Bgood%20news%20we%20got%20the%20flow%20to%20work!!%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7596%22%20target%3D%22_blank%22%3E%40Christopher%20Clay%3C%2FA%3E%26nbsp%3Bhelped%20fix%20it%20and%20its%20running%20beautifully!%20This%20will%20be%20a%20true%20productivity%20saver%20and%20game%20changer%20for%20us.%20Thanks%20so%20much%20for%20your%20help!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-126714%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-126714%22%20slang%3D%22en-US%22%3E%3CP%3EHmm%2C%20I%20would%20start%20by%20trying%20to%20get%20anything%20at%20all%2C%20and%20to%20do%20that%20I'd%20make%20it%20super%20simple.%26nbsp%3B%20Do%20your%20trigger%20action%20from%20a%20test%20group%20you%20can%20spam%20at%20will%2C%20and%20have%20the%20message%20text%20contain%20%22foo%22%20or%20whatever%2C%20something%20super%20simple.%26nbsp%3B%20Then%20have%20the%20target%20group%20be%20a%20spammable%20group%20too%2C%20and%20for%20now%20ditch%20the%20topics.%26nbsp%3B%20See%20if%20you%20can%20get%20that%20working%2C%20just%20with%20little%20tweaks.%26nbsp%3B%20Once%20it%20works%2C%20expand%20%22foo%22%20to%20%22Corporate%22%2C%20and%20try.%26nbsp%3B%20Work%20your%20way%20up%20to%20%22Corporate%20Organizational%20Announcement%22.%26nbsp%3B%20Then%2C%20when%20all%20that%20is%20working%20the%20way%20you%20like%20(in%20the%20spam%20groups)%2C%20add%20in%20topics%20one%20by%20one.%26nbsp%3B%20After%20it's%20working%20perfectly%20in%20your%20test%20groups%2C%20move%20the%20targets%20to%20the%20real%20groups.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20that%20help%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-126289%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-126289%22%20slang%3D%22en-US%22%3E%3CP%3Eoops%20forgot%20to%20add%20screenshots%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-126288%22%20slang%3D%22en-US%22%3ERE%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-126288%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F55%22%20target%3D%22_blank%22%3E%40Tom%20Kretzmer%3C%2FA%3E%26nbsp%3BOk%20finally%20had%20a%20chance%20to%20come%20back%20here%20and%20report%20on%20this.%20So%20I%20tried%20the%20steps%20and%20it%20seems%20that%20everything%20is%20filled%20in%20but%20for%20some%20reason%20I'm%20not%20seeing%20anything%20happen.%20I'm%20sharing%20screenshots%20here%20for%20reference%20(sorry%20had%20to%20blur%20some%20info%20but%20I'm%20sure%20you%20understand%3B-).%20Any%20thoughts%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-123230%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-123230%22%20slang%3D%22en-US%22%3EYou%20could%20also%20use%20the%20Azure%20Text%20Analytics%20service%20to%20find%20topics%20in%20the%20posted%20text%20and%20then%20add%20these%20to%20the%20post.%20There%20is%20a%20Flow%20action%20to%20call%20the%20Azure%20cognitive%20services%20that%20returns%20JSON%20that%20you%20can%20convert%20to%20the%20text%20you%20need%20for%20hash%20tags.%20You%20will%20need%20an%20azure%20subscription%20to%20create%20the%20text%20analytics%20service.%3CBR%20%2F%3EI%20did%20this%20with%20yammer%20export%20to%20find%20topics%20people%20discussed%20even%20if%20they%20didn't%20use%20hash%20tags.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-123196%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-123196%22%20slang%3D%22en-US%22%3E%3CP%3ESounds%20good.%26nbsp%3B%20%3A)And%20yeah%2C%20please%20post%20back%20how%20you%20make%20out%20or%20if%20you%20hit%20any%20snags.%26nbsp%3B%20I'm%20sure%20we%20can%20figure%20out%20how%20to%20make%20this%20work.%26nbsp%3B%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-123185%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-123185%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20spelling%20it%20out%20for%20me%20Tom!%20I'll%20give%20this%20a%20try%20and%20see%20if%20we%20can%20get%20it%20to%20works.%20I%20know%20this%20might%20sound%20like%20I'm%20%22selling%20my%20soul%20to%20the...%22%26nbsp%3Bthe%20arterial%20motive%20is%26nbsp%3BI%20plan%20to%20draw%20the%20line%20with%20this%20request%20as%20long%20as%20it%20can%20get%20me%20that%20additional%20buy-in%20for%20Yammer%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3ESince%20this%20request%20is%20for%20organizational%20announcements%20our%20hope%20is%20that%20it%20will%20draw%20people%20to%20Yammer%20rather%20than%20the%20old%20way.%20One%20can%20only%20pray%20and%20hope!%20%3A)If%20I%20run%20into%20snags%20I'll%20post%20them%20here%20for%20anyone%20else%20that%20might%20be%20interested%20in%20this%20sort%20of%20thing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20flow%20is%20pretty%20simple%20so%20fingers%20crossed!%3C%2FP%3E%3CP%3E1.%20Any%20user%20posts%20will%20post%20org%20message%20in%20group%20with%20keywords%20like%20(Sales%2C%20Finance%2C%20HR%20etc.)%20and%20also%20include%20year%20(2017%2C%202018%20etc.)%3C%2FP%3E%3CP%3E2.%20Flow%20picks%20up%20the%20key%20word%20and%20returns%20a%20%23sales%20%232017%20tag.%3C%2FP%3E%3CP%3E3.%20Process%20is%20complete.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-123148%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20add%20auto%20tag%20a%20post%20using%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-123148%22%20slang%3D%22en-US%22%3E%3CP%3EHey%2C%20Lilly.%26nbsp%3B%20%3A)%3C%2Fimg%3E%26nbsp%3B%20Yeah%20I'd%20bet%20a%20dollar%20Flow%20could%20do%20this%2C%20similar%20to%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FYammer%2FMoved-Joined-Messages%2Fm-p%2F9459%22%20target%3D%22_blank%22%3Emoving%20Joined%20messages%3C%2FA%3E.%26nbsp%3B%20Instead%20of%20re-posting%20into%20a%20different%20group%2C%20post%20back%20to%20the%20triggering%20thread%20with%20a%20post%20containing%20the%20topic%20tag.%26nbsp%3B%20You%20could%20try%20to%20use%20either%20a%20hashtag%20and%20the%20text%20(e.g.%20%22%23Sales%22)%2C%20or%20get%20the%20code%20and%20add%20that%20in%20(e.g.%20%22%5BTag%3A12935835%3ASales%5D%22).%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%2C%20are%20you%20sure%20you%20want%20to%20proliferate%20the%20topics%20like%20that%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Lillian Diaz
Regular Contributor

Hello,

Has anyone tried auto tagging a post in Yammer based on keywords in the message?

For example, there is a group that wants to use Yammer for announcements and the team does not want to rely on the user to "remember" to add tags. If the user includes standard keywords for example: Corporate, Sales, Finance could that become a tag for Yammer?

 

@Tom Kretzmer (Hello my friend! I'm adding you because I know this request might sound familiar).

11 Replies
Solution

Hey, Lilly.  :)  Yeah I'd bet a dollar Flow could do this, similar to moving Joined messages.  Instead of re-posting into a different group, post back to the triggering thread with a post containing the topic tag.  You could try to use either a hashtag and the text (e.g. "#Sales"), or get the code and add that in (e.g. "[Tag:12935835:Sales]").  

 

Now, are you sure you want to proliferate the topics like that?  

Thanks for spelling it out for me Tom! I'll give this a try and see if we can get it to works. I know this might sound like I'm "selling my soul to the..." the arterial motive is I plan to draw the line with this request as long as it can get me that additional buy-in for Yammer ;)

Since this request is for organizational announcements our hope is that it will draw people to Yammer rather than the old way. One can only pray and hope! :) If I run into snags I'll post them here for anyone else that might be interested in this sort of thing.

 

The flow is pretty simple so fingers crossed!

1. Any user posts will post org message in group with keywords like (Sales, Finance, HR etc.) and also include year (2017, 2018 etc.)

2. Flow picks up the key word and returns a #sales #2017 tag.

3. Process is complete.

Sounds good.  :) And yeah, please post back how you make out or if you hit any snags.  I'm sure we can figure out how to make this work.  :)

 

 

You could also use the Azure Text Analytics service to find topics in the posted text and then add these to the post. There is a Flow action to call the Azure cognitive services that returns JSON that you can convert to the text you need for hash tags. You will need an azure subscription to create the text analytics service.
I did this with yammer export to find topics people discussed even if they didn't use hash tags.

@Tom Kretzmer Ok finally had a chance to come back here and report on this. So I tried the steps and it seems that everything is filled in but for some reason I'm not seeing anything happen. I'm sharing screenshots here for reference (sorry had to blur some info but I'm sure you understand;-). Any thoughts?

Hmm, I would start by trying to get anything at all, and to do that I'd make it super simple.  Do your trigger action from a test group you can spam at will, and have the message text contain "foo" or whatever, something super simple.  Then have the target group be a spammable group too, and for now ditch the topics.  See if you can get that working, just with little tweaks.  Once it works, expand "foo" to "Corporate", and try.  Work your way up to "Corporate Organizational Announcement".  Then, when all that is working the way you like (in the spam groups), add in topics one by one.  After it's working perfectly in your test groups, move the targets to the real groups.  

 

Does that help?

Highlighted

@Tom Kretzmer good news we got the flow to work!! @Christopher Clay helped fix it and its running beautifully! This will be a true productivity saver and game changer for us. Thanks so much for your help!!

In case this helps anyone... I had an extra space in my "condition" text and also my condition was changed to "message list" instead of "message text" and that did the trick!

Woo hoo!  That's great to hear! And thanks for letting us know what the holdup was.  

 

Hey, share any tidbits on how it drives adoption - we're going through some early planning now on adoption and we can use all the tips we can find.  :)

I'll be happy to report back any correlations with adoption and user engagement. Stay tuned!

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Edge insider Dev bypasses IE mode website list
HotCakeX in Enterprise on
4 Replies