Outgoing webhook that triggers on a user mention or direct message

#1

Hi
I’m trying to create a webhook that triggers when a user is mentioned in a message in a channel or is sent a direct message (DM) but I can only get it to work for either or not both if I use “all_public_channels” in the Channel field on the outgoing webhook page I will listen on all public channels as expected but not on DMs and if I use “all_direct_messages” it listens on all DMs but not public channels is there a way to make it listen on both or do I have to use two separate outgoing webhooks?

0 Likes