/install flow-automation
Automation Workflow
Create and manage automation workflows for repetitive tasks.
Quick Start
# Install dependencies
pip install schedule requests
# Run a simple workflow
python scripts/workflow.py examples/simple.yaml
Core Concepts
- Trigger: What starts the workflow (time, webhook, file change)
- Actions: What gets executed (API calls, notifications, data transformations)
- Flow Control: Conditions, loops, error handling
Workflow Format (YAML)
name: daily-report
trigger:
type: schedule
cron: "0 9 * * *" # Daily at 9am
actions:
- name: fetch-data
type: http
config:
url: https://api.example.com/data
method: GET
- name: process
type: transform
config:
template: "Report: {{results.count}} items"
- name: notify
type: telegram
config:
chat_id: "{{env.CHAT_ID}}"
message: "{{processed}}"
Supported Triggers
- schedule: Cron-based scheduling
- webhook: HTTP POST/GET triggers
- file: Watch for file changes
- queue: Message queue triggers
Supported Actions
- http: Make HTTP requests
- telegram: Send Telegram messages
- email: Send emails
- transform: Data transformation
- storage: Save/load data
Usage Examples
See references/examples.md for more.
Daily Report Workflow
name: daily-sales
trigger:
type: schedule
cron: "0 8 * * *"
actions:
- type: http
name: get-sales
config:
url: https://api.shop.com/sales
- type: transform
name: format
config:
template: "Sales: ${{results.total}}"
- type: telegram
name: send
config:
message: "{{formatted}}"
Webhook Trigger
name: github-webhook
trigger:
type: webhook
path: /webhook/github
actions:
- type: transform
name: parse
config:
template: "New {{payload.action}} on {{payload.repository}}"
Script Usage
python scripts/workflow.py [OPTIONS]
Options:
--file PATH Workflow YAML file (required)
--run-once Run workflow once and exit
--daemon Run as background daemon
--env FILE Load environment variables
Best Practices
- Use environment variables for secrets
- Add error handling for each action
- Log actions for debugging
- Test workflows with --run-once first
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install flow-automation - After installation, invoke the skill by name or use
/flow-automation - Provide required inputs per the skill's parameter spec and get structured output
What is Automation Workflow?
Create and manage automation workflows for repetitive tasks. Use when user needs to schedule periodic data sync, chain API calls, set up triggered actions, b... It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.
How do I install Automation Workflow?
Run "/install flow-automation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Automation Workflow free?
Yes, Automation Workflow is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Automation Workflow support?
Automation Workflow is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Automation Workflow?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.