BotFrame

Data · Workflow node

Delete collection item

The Delete collection item node as it appears in the workflow editor.

What it does

Return a collection without one item.

This node prepares a value for later steps and does not post or change anything in Discord by itself. It produces Updated collection, Deleted, which you can connect wherever the workflow needs it.

Typical use

Remove one list item or map entry and use the Deleted output to confirm it existed.

How to use it

  1. Add it from DataOpen the node library and choose Delete collection item 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 Collection, Key, Operation. 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
CollectionNoneUsed when Collection is not connected from an earlier node.
KeykeyUsed when Key or index is not connected from an earlier node.
OperationdeleteChooses the calculation or change this node performs.

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

CollectionAny value
Required
Key or indexAny value
Required

Outputs

Updated collectionAny value
Optional
DeletedTrue / false
Optional

What happens when it runs

This node prepares a value for later steps and does not post or change anything in Discord by itself. It produces Updated collection, Deleted, which you can connect wherever the workflow needs it.

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.