What are you trying to achieve?
Hello everyone,
I’m currently learning and practicing Make.com by building a custom integration to send notifications to Discord based on events from my Bitbucket workspace.
Here’s the scenario I’m working with:
As shown in my first screenshot, I have a Bitbucket module that triggers on workspace events. After that, it connects to a Router, which splits the flow into four different paths based on specific filters (conditions):
PR created
PR approved
PR accepted or declined
PR commented
Currently, each of these paths ends with its own Discord “Send a Message” module. However, as shown in my second screenshot, my goal is to consolidate these four Discord modules into just one to avoid redundant configurations.
My desired logic is quite straightforward:
I have one common variable (msg_common_info) set before the router.
After the Router splits into four paths, I determine another variable (msg_detail) based on the filter (one of “PR created”, “PR approved”, “PR declined”, “PR commented”).
Finally, I’d like to concatenate these two variables (msg_common_info + msg_detail) into a single string, and then send it via a single Discord module.
The problem is that after splitting via Router and Filter, I can’t seem to merge these paths back into a single module. I feel like I’m essentially trying to replicate an “if-else” statement where multiple branches determine a single outcome, without redundant steps.
Is there a clean or recommended approach in Make.com to achieve this? I’m trying to avoid repeating the same module multiple times.
Thanks in advance for any insights or solutions!