BotFrame

Data · Workflow node

Look up value

The Look up value node as it appears in the workflow editor.

What it does

Return a value from a key-value table.

BotFrame compares the incoming Key with the configured table keys. It returns the first exact match, or the fallback value when no entry matches.

Typical use

Map a short input key such as a plan code or menu value to a configured result.

How to use it

  1. Add it from DataOpen the node library and choose Look up value from Data.
  2. Connect the workflow pathConnect Flow in from the previous step and Flow to the next step.
  3. Choose settings and connect valuesSet Default, Lookup entries. 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
DefaultEmptyProvides a fallback when no lookup entry matches.
Lookup entries1 configured itemDefines the keys and values available to look up.

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

KeyAny value
Required

Outputs

ValueAny value
Optional

What happens when it runs

BotFrame compares the incoming Key with the configured table keys. It returns the first exact match, or the fallback value when no entry matches.

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.