Merging multiple "Set Variable" paths into one Router/Gmail output

:bullseye: What is your goal?

I want to merge 3 parallel AI branches (Vision, Text-only, and PDF/File) into a single downstream flow. Each branch ends with a ‘Set Variable’ module (all using the same variable name: ai_svar). The goal is to have a single Specialist Router and 4 Gmail modules further down the line that can read the result from ai_svar regardless of which branch was triggered."

:thinking: What is the problem & what have you tried?

I cannot physically connect the 3 separate ‘Set Variable’ modules to the same Router input (Make doesn’t allow merging paths). When I try to map the variables from all three modules directly into my Gmail Body, I get errors because the Gmail module cannot ‘see’ the modules from the inactive paths (they are on different branches). I have tried mapping all three ‘Value’ tokens into the Gmail body, but it causes the scenario to fail when the non-active branches are referenced

:clipboard: Error messages or input/output bundles

Error: ‘Missing value of required parameter’ or ‘Referenced module [ID] is not accessible’. The Gmail module fails with a validation error because it expects values from all mapped modules, but only one branch is active at a time.

:link: Create public scenario page

https://eu1.make.com/public/shared-scenario/q2pdW1C4ZF7/lille-analyse-kontrakter-rykkergebyrer

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hi @Martin_Gosvig ,

Welcome to the Community!

From what I see, based on the conditions you set, only one will be true, right? or are there any chances of multiple conditions being true?

Hey there,

Will only one path execute? Then change the router with an if/else module and a merge module.

If not, then rename the variables to something unique and use a get multiple variables on the last path to retri ve the rest.