Actions42
- listUsers
- registerTOTP
- addHumanUser
- getUserByID
- setEmail
- resendEmailCode
- verifyEmail
- setPhone
- removePhone
- resendPhoneCode
- verifyPhone
- updateHumanUser
- deactivateUser
- reactivateUser
- lockUser
- unlockUser
- deleteUser
- registerPasskey
- verifyPasskeyRegistration
- createPasskeyRegistrationLink
- listPasskeys
- removePasskey
- registerU2F
- verifyU2FRegistration
- removeU2F
- 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 createInviteCode operation under the default resource, it enables creating an invite code related to user management. This can be useful in scenarios where you want to programmatically generate invitation codes for users within an organization or system managed by Zitadel.
Practical examples include:
- Automatically generating invite codes for new users during onboarding.
- Sending invite codes via email or other communication channels.
- Returning the generated invite code for further processing or display.
Properties
| Name | Meaning |
|---|---|
| Service | The Zitadel service to interact with. Options: UserService, OrganizationService, AuthService, ManagementService, AdminService, ZITADELActions, UserSchemaService. Default is UserService. |
| userId | The identifier of the user for whom the invite code is being created. Required when Service is UserService and Operation is createInviteCode. |
| sendCode | A string parameter likely indicating whether or how to send the invite code (e.g., via email). Required for UserService createInviteCode. |
| returnCode | A string parameter that probably controls if the invite code should be returned in the response. Required for UserService createInviteCode. |
Output
The output JSON contains the raw response from the Zitadel API corresponding to the invoked operation. For createInviteCode, this will typically include details about the newly created invite code, such as the code itself and any associated metadata.
If the node supports binary data output, it would represent files or attachments, but based on the provided code, this node outputs only JSON data.
Dependencies
- Requires an API authentication token (Personal Access Token) for Zitadel, which must be configured in the node credentials.
- Connects to the Zitadel API endpoint at
https://zitadel.studentcouncil.dk. - Uses gRPC client libraries internally to communicate with Zitadel services.
Troubleshooting
- Invalid or missing API token: Ensure the API key credential is correctly set up in n8n; otherwise, authorization errors will occur.
- Incorrect property values: Passing malformed JSON strings or incorrect parameters may cause request failures. Verify input formats especially for JSON fields.
- Operation not found: Selecting an unsupported operation for a given service will result in no action; ensure the operation name matches those supported by the selected service.
- Network issues: Connectivity problems to the Zitadel endpoint will prevent successful API calls.