Actions15
Overview
The Invite User operation of the Cativa n8n node allows you to send an invitation to a new user via email. This is useful for automating onboarding processes, such as inviting users to your platform or service and optionally requiring them to confirm their email address before gaining access.
Common scenarios:
- Automating user invitations after a signup form submission.
- Bulk-inviting users from a list (e.g., CSV import).
- Integrating with other systems to trigger user invitations based on business logic.
Practical example:
When a new employee joins your company, this node can automatically send them an invitation email to register in your internal portal, optionally requiring email confirmation.
Properties
Name | Meaning |
---|---|
The email address of the user to invite. Required. | |
Name | The first name of the user being invited. Required. |
Email Confirmation | Whether the user needs to confirm their email address before activation (true/false). |
Output
The output will be a JSON object representing the result of the invitation action. Typical fields may include:
id
: The unique identifier of the invited user.email
: The email address of the invited user.status
: The status of the invitation (e.g., "pending", "sent").message
: Any additional information or error messages.
If an error occurs and "Continue On Fail" is enabled, the output will contain an error
field with the error message.
Dependencies
- External Service: Requires access to the Cativa API.
- API Credentials: You must configure the
cativaApi
credential in n8n for authentication.
Troubleshooting
Common issues:
- Invalid or missing credentials: If the API key is not set up correctly, authentication will fail.
- Missing required fields: Omitting the Email or Name property will cause the node to throw an error.
- Email already invited: Attempting to invite an email that has already been invited may result in an error from the API.
Error messages:
"Authentication successful"
: Indicates credentials are valid."Error: <message>"
: General error message; check the details for missing fields or API errors.
How to resolve:
- Double-check that all required properties are filled.
- Ensure the
cativaApi
credential is configured and valid. - Review the error message for specific guidance.
Links and References
- n8n Documentation
- (If available) Cativa API documentation – refer to your service provider for API reference.