BotFrame

Logic · Workflow node

Match value

The Match value node as it appears in the workflow editor.

What it does

Route a value through matching cases.

BotFrame compares the input with each configured case in order. The first exact match selects that connection; when nothing matches, the Default connection is used.

Typical use

Route one input through named matching cases with a default path for everything else.

How to use it

  1. Add it from LogicOpen the node library and choose Match value from Logic.
  2. Connect the workflow pathConnect Flow in, then connect the Case and Default outcomes to their next steps.
  3. Choose settings and connect valuesSet Cases. Connections can also supply values produced by earlier nodes.

Settings

These are the options shown when you add this node. A connected value can replace a setting when the workflow runs.

SettingStarting valueWhat it controls
Cases1 configured itemDefines the values and workflow paths this node can match.

Value connections

Value connections pass information between nodes without changing the order of the workflow. When an input is not connected, BotFrame uses the value selected in the node or details from the starting Discord event when available.

Inputs

ValueAny value
Required

Outputs

This item has no separate value output. Its Flow connection continues the workflow.

What happens when it runs

BotFrame compares the input with each configured case in order. The first exact match selects that connection; when nothing matches, the Default connection is used.

You can use this item in a published BotFrame workflow. You can also test it in the simulator.

These details match the node currently available in the BotFrame workflow editor.