feat(n8n-webhook): add approval-gated notification executor

This commit is contained in:
zap
2026-03-12 17:41:59 +00:00
parent dc990a1af3
commit 1eabaeb652
7 changed files with 65 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ Keep the integration narrow: let OpenClaw decide what to do, and let n8n execute
- sample payloads:
- `assets/test-append-log.json`
- `assets/test-notify.json`
- `assets/test-send-notification-draft.json`
## Quick usage
@@ -101,6 +102,7 @@ Use the included workflow asset when you want a ready-made local router for:
- `append_log` → append small records into workflow static data (`actionLog`, latest 200)
- `get_logs` → read the most recent retained records from `actionLog`
- `notify` → send through the current Telegram + Discord notification paths
- `send_notification_draft` → queue approval-gated notifications that execute on approve through Telegram + Discord
- `send_email_draft` → queue approval-gated email drafts in workflow static data
- `create_calendar_event` → queue approval-gated calendar proposals in workflow static data
- `approval_queue_add` / `approval_queue_list` / `approval_queue_resolve` → manage pending approvals and recent history