Skip to content

Creating Relay Rules

A relay rule is DLinkClaw’s core automation unit: when an event happens, run actions.

A relay rule has three parts:

trigger: # Trigger condition
type: message_received
source: any
condition: # Optional filter
channel: "#support"
action: # Actions to run
- type: notify
target: "@oncall"
- type: create_task
board: "Support"
  1. Open the DLinkClaw client and go to the Workflows page.
  2. Click “New Relay Rule”.
  3. Choose a trigger type (message, schedule, webhook, file change, etc.).
  4. Configure conditions and actions — chain multiple action nodes.
  5. Save and enable.
Trigger Description
message_received Fires when a message arrives
schedule Fires on a Cron schedule
webhook Fires when called via webhook
file_changed Fires when a watched file changes
agent_completed Fires when an agent task completes

Enable “Debug Mode” to get a run log for every trigger, with per-node inputs and outputs.