Actions42
- getUserByID
- addHumanUser
- 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 verifyPhone operation under the default resource, it verifies a user's phone number by submitting a verification code associated with a user ID.
Common scenarios where this node is beneficial include:
- Verifying a user's phone number during onboarding or authentication flows.
- Automating phone verification steps in user management workflows.
- Integrating phone verification as part of multi-factor authentication processes.
For example, you might use this node to verify a phone number after a user receives a verification code via SMS, ensuring that the phone number is valid and linked to the correct user account.
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 phone number is being verified. Required when Service is UserService and Operation is verifyPhone. |
| verificationCode | The verification code sent to the user's phone that needs to be submitted for verification. Required when Service is UserService and Operation is verifyPhone. |
Output
The node outputs a JSON object containing the response from the Zitadel API's verifyPhone method. This typically includes confirmation of whether the phone verification was successful or details about the verification status.
No binary data output is produced by this operation.
Example output structure (simplified):
{
"verified": true,
"userId": "string",
"message": "Phone number verified successfully"
}
(Note: Actual fields depend on Zitadel API response.)
Dependencies
- Requires an API authentication token (Personal Access Token) for Zitadel, 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 and has sufficient permissions.
- Incorrect userId or verificationCode: Verify that the user ID exists and the verification code matches what was sent to the user.
- Network issues: Confirm network connectivity to the Zitadel API endpoint.
- Parsing errors: Input properties like
userIdandverificationCodemust be strings; ensure no invalid JSON formatting is used.
Common error messages may include authorization failures or validation errors from Zitadel. Resolving these usually involves checking credentials, input correctness, and API permissions.