fix(ado-4352): add missing docs on archive-unarchive hooks (#3831)

Co-authored-by: Kartik Balasubramanian <22399046+HumanistSerif@users.noreply.github.com>
This commit is contained in:
Nikhil Kuriakose 2025-11-03 21:43:56 +05:30 committed by GitHub
parent c156280ece
commit e837c3946b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,6 +117,8 @@ It's possible to define external hooks that n8n executes whenever a specific ope
| `workflow.postExecute` | `[run: IRun, workflowData: IWorkflowBase]` | Called after a workflow gets executed. |
| `workflow.preExecute` | `[workflow: Workflow: mode: WorkflowExecuteMode]` | Called before a workflow gets executed. Allows you to count or limit the number of workflow executions. |
| `workflow.update` | `[workflowData: IWorkflowBase]` | Called before an existing workflow gets saved. |
| `workflow.afterArchive` | `[workflowId: string]` | Called after you archive a workflow. |
| `workflow.afterUnarchive` | `[workflowId: string]` | Called after you restore a workflow from the archive. |
### Registering hooks