Clawdbot Automation

Automate your Clawdbot AI assistant with cron jobs, webhooks, and scheduled tasks. Learn how to set up automation workflows.

Clawdbot Automation Overview

Clawdbot provides powerful automation capabilities for scheduling tasks, integrating with external services, and creating automated workflows.

Automation Features

Cron Jobs

Schedule recurring tasks:

{
  "cron": {
    "jobs": [
      {
        "id": "morning-greeting",
        "schedule": "0 8 * * *",
        "action": "send_message"
      }
    ]
  }
}

Learn more about Cron Jobs

Webhooks

Integrate with external services:

{
  "webhooks": {
    "incoming": {
      "enabled": true,
      "port": 3011
    }
  }
}

Learn more about Webhooks

Quick Start

Enable Automation

# Start gateway with automation enabled
clawdbot gateway start --cron --webhooks

Create Your First Job

# Add a daily reminder
clawdbot cron add \
  --id daily-standup \
  --schedule "0 9 * * 1-5" \
  --action send_message \
  --channel whatsapp \
  --peer "+15551234567" \
  --message "Time for standup!"

Automation Tools

ToolDescription
cronScheduled task management
gatewayGateway automation control

Use Cases

Daily Reports

Automatically generate and send reports:

{
  "cron": {
    "jobs": [
      {
        "id": "daily-report",
        "schedule": "0 18 * * 1-5",
        "action": "run_agent",
        "prompt": "Generate daily summary"
      }
    ]
  }
}

Alert Integration

Forward alerts from monitoring systems:

{
  "webhooks": {
    "handlers": [
      {
        "id": "alerts",
        "path": "/alerts",
        "action": "send_message",
        "channel": "telegram"
      }
    ]
  }
}

CI/CD Notifications

Receive build notifications:

{
  "webhooks": {
    "handlers": [
      {
        "id": "github",
        "path": "/github",
        "action": "send_message",
        "template": "Build {{status}}: {{repository}}"
      }
    ]
  }
}

Configuration

Global Settings

{
  "automation": {
    "enabled": true,
    "timezone": "Asia/Shanghai",
    "logging": {
      "level": "info"
    }
  }
}

Next Steps