mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
Add docs for afterCreate backend hook (#3802)
Co-authored-by: Jannik Punke <jannik.punke@apm-ecampus.de> Co-authored-by: Kartik Balasubramanian <22399046+HumanistSerif@users.noreply.github.com>
This commit is contained in:
@@ -120,6 +120,7 @@ It's possible to define external hooks that n8n executes whenever a specific ope
|
||||
| `oauth1.authenticate` | `[oAuthOptions: clientOAuth1.Options, oauthRequestData: {oauth_callback: string}]` | Called before an OAuth1 authentication. Use to overwrite an OAuth callback URL. |
|
||||
| `oauth2.callback` | `[oAuth2Parameters: {clientId: string, clientSecret: string \| undefined, accessTokenUri: string, authorizationUri: string, redirectUri: string, scopes: string[]}]` | Called in an OAuth2 callback. Use to overwrite an OAuth callback URL. |
|
||||
| `workflow.activate` | `[workflowData: IWorkflowDb]` | Called before a workflow gets activated. Use to restrict the number of active workflows. |
|
||||
| `workflow.afterCreate` | `[workflowId: string]` | Called after a workflow gets created. |
|
||||
| `workflow.afterDelete` | `[workflowId: string]` | Called after a workflow gets deleted. |
|
||||
| `workflow.afterUpdate` | `[workflowData: IWorkflowBase]` | Called after an existing workflow gets saved. |
|
||||
| `workflow.create` | `[workflowData: IWorkflowBase]` | Called before a workflow gets created. Use to restrict the number of saved workflows. |
|
||||
|
||||
Reference in New Issue
Block a user