How to use it
- Add it from MessagesOpen the node library and choose Send direct message from Messages.
- Connect the workflow pathConnect Flow in from the previous step and Flow to the next step.
- Choose settings and connect valuesSet Message, Send to, User. 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.
| Setting | Starting value | What it controls |
|---|---|---|
| Message | I sent you the details in DM. | Used when Message content is not connected from an earlier node. |
| Send to | event_user | Chooses the member who receives the direct message. |
| User | Not set | Used when User ID is not connected from an earlier node. |
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
Outputs
What happens when it runs
When the workflow reaches this node, BotFrame uses its settings and connected values to perform the Discord message action. It also makes Message ID available to later nodes.
You can use this item in a published BotFrame workflow. You can also test it in the simulator.