Actions42
- addHumanUser
- getUserByID
- listUsers
- setEmail
- resendEmailCode
- verifyEmail
- setPhone
- removePhone
- resendPhoneCode
- verifyPhone
- updateHumanUser
- deactivateUser
- reactivateUser
- lockUser
- unlockUser
- deleteUser
- registerPasskey
- verifyPasskeyRegistration
- createPasskeyRegistrationLink
- listPasskeys
- removePasskey
- registerU2F
- verifyU2FRegistration
- removeU2F
- registerTOTP
- verifyTOTPRegistration
- removeTOTP
- addOTPSMS
- removeOTPSMS
- addOTPEmail
- removeOTPEmail
- startIdentityProviderIntent
- retrieveIdentityProviderIntent
- addIDPLink
- listIDPLinks
- removeIDPLink
- passwordReset
- setPassword
- listAuthenticationMethodTypes
- createInviteCode
- resendInviteCode
- verifyInviteCode
Overview
This node integrates with the Zitadel API, allowing users to perform various operations across multiple Zitadel services. Specifically, for the passwordReset operation under the default resource, it enables resetting a user's password by interacting with the UserService. This is useful in scenarios where automated user management workflows require triggering password resets programmatically, such as in onboarding processes, security protocols, or administrative tasks.
For example, an organization could use this node to reset a user's password automatically when they request it via a support ticket system, or as part of a scheduled security audit that enforces password changes.
Properties
| Name | Meaning |
|---|---|
| Service | The Zitadel service to interact with. Options: UserService, OrganizationService, AuthService, ManagementService, AdminService, ZITADELActions, UserSchemaService. Default is UserService. |
| userId | The unique identifier of the user whose password is to be reset. Required when Service is UserService and Operation is passwordReset. |
| sendLink | A string parameter indicating whether to send a password reset link. Required for passwordReset operation under UserService. |
| returnCode | A string parameter specifying the expected return code or status for the password reset operation. Required for passwordReset under UserService. |
Output
The node outputs a JSON object containing the response from the Zitadel API corresponding to the invoked operation. For the passwordReset operation, the output JSON will include details about the password reset request result, such as confirmation of the reset action or any relevant metadata returned by the API.
No binary data output is produced by this node.
Example output structure (simplified):
{
"json": {
// Response fields from Zitadel's password reset API call
}
}
Dependencies
- Requires an API authentication token (Personal Access Token) for Zitadel, configured in n8n credentials.
- Connects to the Zitadel API endpoint at
https://zitadel.studentcouncil.dk. - Uses gRPC client libraries internally to communicate with Zitadel services.
Troubleshooting
Common Issues:
- Missing or invalid API authentication token will cause authorization failures.
- Incorrect
userIdmay lead to errors indicating the user was not found. - Improperly formatted parameters (e.g.,
sendLinkorreturnCode) might cause request validation errors.
Error Messages:
- Authorization errors: Ensure the API key credential is correctly set up and has sufficient permissions.
- Validation errors: Check that all required parameters are provided and correctly formatted.
- Network errors: Verify connectivity to the Zitadel API endpoint.