Router not matching string value despite correct conditions - Module 67 doesn't route

Issue Description:

Router module 67 doesn’t route to any branch even though the conditions should match. The value is correctly cleaned and formatted, but the router doesn’t trigger any route.

Current Setup:

  • Module 59 (SetVariables): Sets response_type = "add_to_batch"

  • Module 66 (Clean Variable): Cleans the value with formula: lower(trim(toString(if(59.response_type; 59.response_type; "fallback"))))

  • Module 66 Output: Successfully outputs "add_to_batch" (confirmed in Bundle content)

  • Module 67 (Router): Has 4 routes with conditions:

    • Route 1: Batch Message → 66.response_type_clean = "add_to_batch"

    • Route 2: Continue Conversation → 66.response_type_clean = "continue_conversation"

    • Route 3: New Greeting → 66.response_type_clean = "new_greeting"

    • Route 4: Fallback (no conditions)

The Problem:

  • Module 66 correctly outputs: response_type_clean: "add_to_batch"

  • Router 67 has matching condition but doesn’t route to any branch

  • Scenario completes without entering any router path

What I’ve Tried:

  1. :white_check_mark: Direct string comparison with text:equal operator

  2. :white_check_mark: Using trim() and lower() functions to clean the value

  3. :white_check_mark: Using toString() to ensure string type

  4. :white_check_mark: Adding fallback route with no conditions

  5. :white_check_mark: Rebuilding router from scratch multiple times

  6. :white_check_mark: Using Contains operator instead of Equal to

  7. :white_check_mark: Removing all filters between modules

  8. :white_check_mark: Checking variable scope (set to “roundtrip”)

  9. :cross_mark: Still doesn’t route to any branch

Execution Log:

  • All modules before Router 67 execute successfully

  • Module 66 outputs the expected value

  • Router 67 doesn’t match any route (including fallback)

  • No error messages provided

Blueprint Details:

  • Scenario Name: Restaurant BOT Demo

  • Blueprint Version: 25

  • Region: EU2

  • Module IDs:

    • Webhook: 1

    • DataStore GET: 48

    • User Router: 50

    • Variables: 59

    • Clean Variable: 66

    • Session Router: 67 (problematic)

Expected Behavior:

When response_type_clean = "add_to_batch", Router should match Route 1 (Batch Message)

Actual Behavior:

Router doesn’t match any route, scenario ends without routing

Blueprint Attached: Restaurant BOT Demo.blueprint (25).json

Questions:

  1. Is there a known issue with router string comparison?

  2. Are there hidden characters or encoding issues that could cause this?

  3. Is there a specific way variables from SetVariables module should be referenced in routers?

Any help would be greatly appreciated! I’ve been debugging this for hours and the logic seems correct but the router simply won’t work.

M59 Input bundle.txt (709 Bytes)

M59 Output bundle.txt (232 Bytes)

M66 Input bundle.txt (118 Bytes)

M66 Output bundle.txt (63 Bytes)

Restaurant BOT Demo.blueprint (25).json (84.8 KB)

To allow others to assist you with your scenario, please provide the following:

1. All Relevant Screenshots

We need to see what you’re working with to give you the best advice. Screenshots are extremely important because Make is a visual editor — a picture provides us with more context.

It would help us identify the issue by having screenshots of:

  • the full scenario,
  • any error messages,
  • individual module fields,
  • relevant filter settings (conditions), and
  • each module’s output bundles
  • any external services (spreadsheet headers, sample data, regex101.com, etc.)

You can upload images here using the Upload icon in the text editor:

We would appreciate it if you could upload screenshots here instead of linking to them outside of the forum. This allows us to zoom in on the image when clicked, and avoid tracking cookies from third-party websites.

Sharing these details will make it easier for others to assist you.


Json Payload

Module 48


Router 50


Module 55

Module 59


module 66

Router 67


Data structure


History

**Key Point:** Module 66 outputs “add_to_batch”, but Router 67 doesn’t match this exact value

:blush: issue is solved thank you.

Hello @Suvida_Chira :waving_hand:

Would you have a minute and share the solution? It might be invaluable for any other Maker in need. :folded_hands:

Thank you!

Just connect next module after router, it will work accordingly. I think maybe make.com should have a warning sign to alert user when checking that router works or not → should check when completely connect with next module. :slight_smile:

2 Likes