Mattermost, Inc.

Race between Incoming and Outgoing webhooks

I have an Incoming and an Outgoing webhooks. The Outgoing webhook has a first word trigger. When text comes in via the Incoming webhook and is displayed in the channel and it has the trigger word the Outgoing webhook isn’t triggered. If I enter a line of text with the current user that has the trigger word, then the Outgoing webhook runs. Is the channel in some kind of polling loop where the Outgoing webhook is run only against the current user?

image

This is like:

Bot posted trigger words for outgoing webhooks

@jasonblais, you seem to be active in this topic. Any thoughts?

Hi @Charlesjwilliams2, thanks for using Mattermost! Your use case sounds related to this feature proposal: https://mattermost.uservoice.com/forums/306457-general/suggestions/19376305-allow-webhooks-to-trigger-other-webhooks-posts

Would you be open to upvoting or contributing to the discussion? You get 10 votes on the forum and we regularly monitor proposals that come there.

If any further questions, don’t hesitate to let me know.

Any work around that you know of?