cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Impactful Individual
Impactful Individual

Outgoing Webhooks for Teams

Hi,

 

Does anyone here have experience in outgoing webhooks with teams? I would like to make an HTTP call to a flow every time there is a message in a particular channel or team. I've found some documentation online but it all seems to revolve around building a custom app or bot. Anyone know how to do this more simply?

 

Thanks

Sam

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Outgoing Webhooks for Teams

Hey @SamPo 

That;s not how I read it 🙂

https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-outgoing...

My interpretation was that the author is saying the outgoing webhook behaves like a BOT but negates the need to create a full BOT via the BOT framework.

It does state that users need to to use @mention to invoke the webhook... which as you've pointed out is an issue as you need to get all messages in the channel.

Ref using the Teams Trigger; If the underlying issue the frequency of the trigger, for example them minimum invocation is 1 minute for FP2... You could try logic apps as you can configure the frequency to 1 second... I just tested and it works well

1.png

 

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up.

 

View solution in original post

7 REPLIES 7
Highlighted
Super User II
Super User II

Re: Outgoing Webhooks for Teams

Hi @SamPo 

Could you not use the 'When a new channel message is added' trigger action from the teams connector to invoke your Flow?

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up.

 

Highlighted
Impactful Individual
Impactful Individual

Re: Outgoing Webhooks for Teams

@Jay-Encodian Hi,

 

In theory yes that would provide me with the data I need but in my case it is not good enough. The connector works by periodically checking the channel and is not run instantaneously for each message posted. I'm trying to build an integration which can sync messages across 2 platforms where the conversation will flow continuously. Therefore I'm trying to see if this is possible via webhooks as I think that is the only way to make this happen.

 

Thanks

Sam

Highlighted
Super User II
Super User II

Re: Outgoing Webhooks for Teams

Hey @SamPo

Have you tried the 'HTTP Webhook' flow trigger? in conjunction with the following- https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-outgoing...

My best

Jay

 

Highlighted
Impactful Individual
Impactful Individual

Re: Outgoing Webhooks for Teams

@Jay-Encodian Hey,

 

Yes I've seen that documentation but it seems to be reliant on creating a bot and then mentioning that bot to send the webhook.

I just want to send a webhook for any and every message in a specific channel or team.

 

Thanks

Sam

Highlighted
Super User II
Super User II

Re: Outgoing Webhooks for Teams

Hey @SamPo 

That;s not how I read it 🙂

https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-outgoing...

My interpretation was that the author is saying the outgoing webhook behaves like a BOT but negates the need to create a full BOT via the BOT framework.

It does state that users need to to use @mention to invoke the webhook... which as you've pointed out is an issue as you need to get all messages in the channel.

Ref using the Teams Trigger; If the underlying issue the frequency of the trigger, for example them minimum invocation is 1 minute for FP2... You could try logic apps as you can configure the frequency to 1 second... I just tested and it works well

1.png

 

HTH

Jay

-------------------------------------------------------------------------

If I have answered your question, please mark your post as Solved.

If you like my response, please give it a Thumbs Up.

 

View solution in original post

Highlighted
Impactful Individual
Impactful Individual

Re: Outgoing Webhooks for Teams

Hey @Jay-Encodian 

 

I never saw that option was available! Thanks, I'll check it out now and update here.

 

Cheers

Sam

Highlighted
Impactful Individual
Impactful Individual

Re: Outgoing Webhooks for Teams

@Jay-Encodian Works great but I can see this is going to be a lot of work to completely integrate 2 messaging platforms. If I had the time then I would love the challenge but I think I'm going to look for some ready made solutions.

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (4,830)