skills/community/automation-workflows/SKILL.md
General workflow automation: IFTTT-style triggers, webhook chains, data transformation pipelines
npx skillsauth add alphaonedev/openclaw-graph automation-workflowsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill automates workflows using IFTTT-style triggers (e.g., event-based or time-based), chains webhooks for service integration, and builds data transformation pipelines to process and route data efficiently.
Use this skill for automating repetitive tasks like syncing data between apps, responding to web events (e.g., API calls or file changes), or creating custom pipelines for data processing. It's ideal for integrations in development, IoT, or business automation where triggers and actions need chaining.
To set up a workflow, first define it in a YAML config file (e.g., workflow.yaml with keys for triggers, actions, and transforms). Load it via CLI or API, then test by simulating triggers. For ongoing use, schedule workflows with system cron or the skill's built-in scheduler. Always use environment variables for sensitive data, like $WORKFLOW_API_KEY in configs. Monitor execution logs for debugging, and chain multiple workflows by referencing outputs as inputs.
Use the OpenClaw CLI for most operations; authenticate with $WORKFLOW_API_KEY via env var. Key commands:
claw workflow create --file workflow.yaml --key $WORKFLOW_API_KEYclaw workflow run --id 123 --trigger manualclaw workflow list --cluster community
API endpoints under https://api.openclaw.com/workflows:import requests; import os
key = os.environ.get('WORKFLOW_API_KEY')
response = requests.post('https://api.openclaw.com/workflows', json={"name": "test"}, headers={'Authorization': f'Bearer {key}'})
print(response.json())
For data transformations, use inline JS in configs: e.g., {"transform": "return data.map(item => item * 2);"} to process arrays.
Integrate by exposing webhooks via the skill's server (e.g., run claw server start --port 8080 to listen on a port). For external services, include auth in configs, like {"action": "webhook", "url": "https://api.service.com/endpoint", "headers": {"Authorization": "Bearer $SERVICE_API_KEY"}}. Use JSON for payload formats, e.g., {"event": "push", "data": {...}}. Chain integrations by referencing previous outputs, such as piping a GitHub webhook to a database insert. Ensure services support HTTP callbacks; test with tools like Postman.
Always check API responses for status codes (e.g., if response.status_code != 200, log error). In CLI commands, use --debug flag for verbose output, e.g., claw workflow run --id 123 --debug. Handle common errors like invalid keys by validating env vars first (e.g., in scripts: if not os.environ.get('WORKFLOW_API_KEY'): raise ValueError("Key missing")). For workflows, define error handlers in configs, like {"onError": "retry 3 times"} or {"onError": "notify slack"}. Code snippet for error wrapping:
try:
response = requests.post(url, headers=headers)
response.raise_for_status()
except requests.exceptions.HTTPError as e:
print(f"Error: {e} - Retrying...")
Log all failures to a file or service for auditing.
tools
Root web development: project structure, tooling selection, deployment decisions
development
WebAssembly: Rust/Go/C to WASM, wasm-bindgen, Emscripten, WASM Component Model
development
Vue 3: Composition API script setup, Pinia, Vue Router 4, SFCs, Vite, Nuxt 3
tools
Tailwind CSS 4: utility classes, config, JIT, arbitrary values, darkMode, plugins, shadcn/ui