docs(state): close n8n wip and seed drive docs sheets plan

This commit is contained in:
zap
2026-03-12 21:39:34 +00:00
parent 00cdbbb654
commit e6b9844097
4 changed files with 142 additions and 8 deletions

30
WIP.md
View File

@@ -7,9 +7,10 @@ Google Workspace + n8n integration
Use OpenClaw as the brain, n8n as the orchestration layer, and Google Workspace as a real execution surface for Gmail/Calendar workflows.
## Current status
Status: `in-progress`
Status: `completed`
Owner: `zap`
Started: `2026-03-12`
Completed: `2026-03-12`
### Architecture decision
- Keep `openclaw-action` as the narrow authenticated ingress into n8n.
@@ -39,6 +40,7 @@ Started: `2026-03-12`
### n8n action bus
- [x] Live `openclaw-action` workflow exists and is active.
- [x] Live workflow re-synced from the current workspace asset after implementation completed.
- [x] Core actions verified live:
- `append_log`
- `get_logs`
@@ -268,8 +270,32 @@ Targeted verification evidence:
- `test-verify-email-draft-cycle.json` → request id `verify-email-draft-cycle-001`
- `test-verify-calendar-event-cycle.json` → request id `verify-calendar-event-cycle-001`
## Live deploy + smoke verification (2026-03-12 21:36Z)
- Live workflow id: `Jwi54VWMdlLqYnRo`
- Synced the active n8n workflow in place from the current `skills/n8n-webhook/assets/openclaw-action.workflow.json` asset while preserving:
- webhook credential binding
- webhook registration id
- active state
- First live sync revealed the old minimal router was still running; re-synced from the current full code-node asset and re-activated successfully.
- Safe smoke calls succeeded against the production webhook:
- `append_log``ok: true`
- `get_logs``ok: true`
- `list_email_drafts``status: queued_for_approval`
- `list_upcoming_events``status: queued_for_approval`
- `approval_queue_list``ok: true`, with `pending_compact` + `history_compact` present
- `fetch_and_normalize_url` against local n8n `/healthz``ok: true`, HTTP `200`
- unknown action → expected HTTP `400` / `unknown_action`
- Smoke-created approval items were rejected and cleaned up:
- `approval-mmnzm1ev-yjk46sd1`
- `approval-mmnzm1gi-l7yszi92`
- `approval-mmnzmw80-kb8szya2`
- `approval-mmnzmw9w-c25hlml4`
- Remaining pending queue items after cleanup were pre-existing and left untouched:
- `approval-mmnvgv1o-h06r397e`
- `approval-mmnulm6r-mfaj7ea8`
## Next-session handoff
For the next fresh implementation session, start from `HANDOFF.md` + `WIP.md` rather than from old chat context.
This WIP is complete. For the next fresh implementation session, review `HANDOFF.md` plus the proposed next-phase file `WIP.drive-docs-sheets.md`.
Immediate target:
- decide whether Drive / Docs / Sheets actually need action-bus verbs or can remain direct-tool workflows for now