Jump to content

Teams to Hornbill via Flow


Recommended Posts

Morning @Martyn Houghton @Dan Munns @Malcolm 

One of the questions on the Integration Round Table yesterday was: Can we write to a Hornbill Activity Stream (workspace) when a message has been added to a channel on Microsoft Teams? The answer is yes :D 

I've knocked up an example flow to demonstrate how that could work for you:

image.png

You just need to replace the instance ID in the URI with that of your instance, the Authorization header needs a valid API key for an account that can write to the activity stream, and of course the activityStreamId in the body will need replacing with yours :) And this is what was written to the workspace in Hornbill:

image.png

Note I'm using the HTML to Text node to strip out any HTML tags from the comment, as un-encoded HTML in the XML payload would cause the API call to fail.

Hope this helps,

Steve

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

Hi @Steve G 

Good presentation and good to meet you yesterday with @Aaron Summers.

Really appreciate you demonstrating this as we can visualise it and take other ideas forward. 

I wonder if there could be a searchable repository for sharing and viewing this kind of content?

Thanks, 

Samuel

  • Like 3
Link to comment
Share on other sites

Hi @samwoo,

Thank you :D Was great meeting you both too.

That's a good suggestion - I think this sub-forum is probably the correct place for this type of content, but adding tags to the posts might be a good way to easily search and retrieve them? Would save on having a separate sub-forum, or using a third-party tool like Github Gists... I'll have a think about suitable tags, and get that set up!

Cheers,

Steve

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...