How to use it
- Add it as the workflow startChoose Message contains text when creating the workflow’s Discord event.
- Connect the workflow pathConnect its Flow output to the first node that should run.
- Choose settings and connect valuesSet Match mode, Event value, Value. Connections can also supply values produced by earlier nodes.
Settings
These are the options shown when you add this trigger. A connected value can replace a setting when the workflow runs.
| Setting | Starting value | What it controls |
|---|---|---|
| Match mode | contains | Chooses how an incoming message is compared with the text below. |
| Event value | message_content | Chooses which detail from the Discord event is provided to the workflow. |
| Value | hello | Sets the text an incoming message must 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
This trigger gets its information from the Discord event that starts the workflow.
Outputs
What happens when it runs
When the selected Discord event happens, this trigger starts the workflow and makes User ID, User mention, Channel ID, Guild ID, Message ID, Message content available to connected nodes.
You can use this item in a published BotFrame workflow. You can also test it in the simulator.