Make.com Β· Logic

Make.com switch()

Compares an expression against a list of values and returns the matching result, or the else value.

Syntax

switch(expression; value1; result1; [value2; result2; ...]; [else])

Example

switch(stage; new; New lead; won; Customer; Other)

Result: Customer

Equivalent in n8n

Ternary operator ? : β€” condition ? valueIfTrue : valueIfFalse

Practice switch() β€” free interactive labs

More Make.com logic functions