feat(n8n-webhook): bridge approvals to gog executors

This commit is contained in:
zap
2026-03-12 18:29:33 +00:00
parent 1eabaeb652
commit afa48a3aa6
8 changed files with 323 additions and 1 deletions

View File

@@ -239,6 +239,29 @@ Request:
Purpose:
- approve or reject a pending item
- moves resolved entries into `approvalHistory`
- executes notification drafts inline when the resolved item kind is `notification`
### `approval_history_attach_execution`
Request:
```json
{
"action": "approval_history_attach_execution",
"args": {
"id": "approval-abc123",
"execution": {
"driver": "gog",
"op": "gmail.drafts.create",
"status": "draft_created"
}
}
}
```
Purpose:
- patch a resolved history item with host-side execution metadata after a real executor runs outside n8n
- intended for bridges such as `gog`-backed Gmail/Calendar execution
### `fetch_and_normalize_url`