Logic · Check
Compare values
True when two values match (or differ, contain, are bigger...). A member, role or channel matches by who or what it is.
compare.values
In a flow
“When a button is clicked, if “Compare values” is true, reply with a message.”
For each member → If Item isn't {user} → DM them (skips the person who said the word).
What it does
True when two values match (or differ, contain, are bigger...). A member, role or channel matches by who or what it is. It's a check: put it in an If, and the flow goes one way when it's true and the other when it isn't. Find it under Logic in the palette.
When to use it
Use it to decide what happens next: true when two values match (or differ, contain, are bigger...). A member, role or channel matches by who or what it is.
When not to
To pick between more than two outcomes, Switch or Random reads better than a chain of checks.
Typical wiring
Sockets: settings you can wire
- A Text
-
The first value, like Item from For each, or {answer.colour}. Variables allowed.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more
- B Text
-
What to compare with, like {user} (who started the flow). Variables allowed.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more
- Ignore capitals Yes / no
-
Treat Red and red as the same.
What goes there: Type it in the side panel, or wire in true or false. e.g. true
If it's empty: Optional. Left alone, it's on.
Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more