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
| Subcommand | Description |
|---|---|
list | List automations |
get | Get automation details |
create | Create an automation |
update | Update an automation |
enable | Enable an automation |
disable | Disable an automation |
logs | View 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
| Trigger | Description |
|---|---|
form_submit | Form submission received |
task_created | Task created in taskboard |
task_updated | Task status/field changed |
field_change | Table field value changed |
schedule | Scheduled time/interval |
webhook | External webhook received |
email_received | Email 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
| Action | Description |
|---|---|
send_email | Send an email |
create_task | Create a task |
update_record | Update table record |
send_notification | In-app notification |
webhook | Call external webhook |
delay | Wait before next action |
condition | Conditional 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
| Option | Type | Description |
|---|---|---|
--workspace | string | Required. Workspace ID |
--status | enum | Filter by status (enabled, disabled) |
--trigger | string | Filter by trigger type |
--json | flag | Output as JSON |
get
| Option | Type | Description |
|---|---|---|
--json | flag | Output as JSON |
create
| Option | Type | Description |
|---|---|---|
--workspace | string | Required. Workspace ID |
--name | string | Required. Automation name |
--trigger | string | Required. Trigger type |
--trigger-config | string | Trigger configuration JSON |
--schedule | string | Cron expression (for schedule trigger) |
--conditions | string | Conditions array as JSON |
--actions | string | Actions array as JSON |
add-action
| Option | Type | Description |
|---|---|---|
--type | string | Required. Action type |
--config | string | Required. Action configuration JSON |
--position | number | Insert position |
logs
| Option | Type | Description |
|---|---|---|
--status | enum | Filter by status (success, failed) |
--run | string | Get specific run details |
--limit | number | Maximum results (default: 50) |
--json | flag | Output 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
}'
Related Commands
- taskboards - Taskboard management
- tables - Data tables
- forms - Form management
- journeys - Email journeys