CLI & MCP

Waymaker automations

Manage workflow automations in Commander. Create triggers, actions, and conditional logic to automate repetitive tasks.

AutomationsWorkflows
Last updated: January 21, 2026

Overview

Manage workflow automations in Commander. Create triggers, actions, and conditional logic to automate repetitive tasks.

Usage

waymaker automations <subcommand> [options]

Subcommands

SubcommandDescription
listList automations
getGet automation details
createCreate an automation
updateUpdate an automation
enableEnable an automation
disableDisable an automation
logsView automation run logs

List Automations

waymaker automations list --workspace <workspace-id>

Output:

Automations (8)

id           name                         trigger          status    runs
-------------------------------------------------------------------------
auto_abc123  New Lead Notification        form_submit      enabled   1,250
auto_def456  Task Assignment              task_created     enabled   890
auto_ghi789  Weekly Report                schedule         enabled   12
auto_jkl012  Deal Stage Update            field_change     disabled  450

Filter by Status

waymaker automations list --workspace ws_xxx --status enabled

Filter by Trigger Type

waymaker automations list --workspace ws_xxx --trigger schedule

JSON Output

waymaker automations list --workspace ws_xxx --json
[
  {
    "id": "auto_abc123",
    "name": "New Lead Notification",
    "trigger_type": "form_submit",
    "status": "enabled",
    "run_count": 1250,
    "last_run": "2026-01-21T10:00:00Z",
    "workspace_id": "ws_xxx"
  }
]

Get Automation Details

waymaker automations get <automation-id>

Output:

New Lead Notification

ID: auto_abc123
Workspace: ws_xxx
Status: enabled
Created: January 1, 2026

Trigger: form_submit
  Form: Contact Form (form_xyz789)

Conditions:
  - source = "website"
  - company_size in ["51-200", "201-500", "500+"]

Actions:
  1. Create task in Taskboard "Sales Pipeline"
  2. Send email notification to sales@company.com
  3. Add tag "hot-lead" to contact

Statistics:
  Total Runs: 1,250
  Successful: 1,248 (99.8%)
  Failed: 2 (0.2%)
  Last Run: 2 hours ago

JSON Output

waymaker automations get auto_abc123 --json

Create Automation

waymaker automations create \
  --workspace <workspace-id> \
  --name "My Automation" \
  --trigger <trigger-type>

Output:

✓ Automation created (disabled)
ID: auto_new123
Name: My Automation
Status: disabled

Add actions with:
  waymaker automations add-action auto_new123 --type send_email --config '{...}'

Enable with:
  waymaker automations enable auto_new123

Trigger Types

TriggerDescription
form_submitForm submission received
task_createdTask created in taskboard
task_updatedTask status/field changed
field_changeTable field value changed
scheduleScheduled time/interval
webhookExternal webhook received
email_receivedEmail received in inbox

Create with Schedule Trigger

waymaker automations create \
  --workspace ws_xxx \
  --name "Weekly Report" \
  --trigger schedule \
  --schedule "0 9 * * MON"

Create with Full Configuration

waymaker automations create \
  --workspace ws_xxx \
  --name "Lead Assignment" \
  --trigger form_submit \
  --trigger-config '{"form_id": "form_xyz789"}' \
  --conditions '[{"field": "budget", "operator": ">=", "value": 10000}]' \
  --actions '[
    {"type": "create_task", "config": {"taskboard_id": "tb_xxx", "title": "Follow up: {{name}}"}},
    {"type": "send_email", "config": {"to": "sales@company.com", "template": "new_lead"}}
  ]'

Add Action to Automation

waymaker automations add-action <automation-id> \
  --type <action-type> \
  --config '{...}'

Action Types

ActionDescription
send_emailSend an email
create_taskCreate a task
update_recordUpdate table record
send_notificationIn-app notification
webhookCall external webhook
delayWait before next action
conditionConditional branching

Examples

# Send email action
waymaker automations add-action auto_abc123 \
  --type send_email \
  --config '{"to": "{{email}}", "template": "welcome"}'

# Create task action
waymaker automations add-action auto_abc123 \
  --type create_task \
  --config '{"taskboard_id": "tb_xxx", "title": "Review: {{name}}", "assignee": "user_xxx"}'

# Add delay
waymaker automations add-action auto_abc123 \
  --type delay \
  --config '{"duration": "1h"}'

Update Automation

waymaker automations update <automation-id> \
  --name "Updated Name"

Update Conditions

waymaker automations update auto_abc123 \
  --conditions '[{"field": "priority", "operator": "=", "value": "high"}]'

Enable/Disable Automation

waymaker automations enable <automation-id>
waymaker automations disable <automation-id>

Output:

✓ Automation enabled
ID: auto_abc123
Name: New Lead Notification
Status: enabled

View Run Logs

waymaker automations logs <automation-id>

Output:

Recent Runs: New Lead Notification

run_id       status     trigger_data               duration   timestamp
------------------------------------------------------------------------
run_001      success    {form: contact, id: 123}   1.2s       2 hours ago
run_002      success    {form: contact, id: 124}   0.8s       3 hours ago
run_003      failed     {form: contact, id: 125}   0.3s       4 hours ago
             Error: Email delivery failed

Filter by Status

waymaker automations logs auto_abc123 --status failed

Logs as JSON

waymaker automations logs auto_abc123 --json

Get Specific Run

waymaker automations logs auto_abc123 --run run_003

Options Reference

list

OptionTypeDescription
--workspacestringRequired. Workspace ID
--statusenumFilter by status (enabled, disabled)
--triggerstringFilter by trigger type
--jsonflagOutput as JSON

get

OptionTypeDescription
--jsonflagOutput as JSON

create

OptionTypeDescription
--workspacestringRequired. Workspace ID
--namestringRequired. Automation name
--triggerstringRequired. Trigger type
--trigger-configstringTrigger configuration JSON
--schedulestringCron expression (for schedule trigger)
--conditionsstringConditions array as JSON
--actionsstringActions array as JSON

add-action

OptionTypeDescription
--typestringRequired. Action type
--configstringRequired. Action configuration JSON
--positionnumberInsert position

logs

OptionTypeDescription
--statusenumFilter by status (success, failed)
--runstringGet specific run details
--limitnumberMaximum results (default: 50)
--jsonflagOutput as JSON

AI Agent Workflow

# List all automations
AUTOMATIONS=$(waymaker automations list --workspace ws_xxx --json)

# Find failed runs
for auto_id in $(echo $AUTOMATIONS | jq -r '.[].id'); do
  FAILURES=$(waymaker automations logs $auto_id --status failed --json | jq 'length')
  if [ "$FAILURES" -gt "0" ]; then
    echo "Automation $auto_id has $FAILURES failures"
  fi
done

# Create automation from AI analysis
waymaker automations create \
  --workspace ws_xxx \
  --name "$AI_AUTOMATION_NAME" \
  --trigger "$DETECTED_TRIGGER" \
  --actions "$AI_GENERATED_ACTIONS"

# Monitor automation health
waymaker automations logs auto_abc123 --json | jq '{
  total: length,
  success: [.[] | select(.status == "success")] | length,
  failed: [.[] | select(.status == "failed")] | length
}'