Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
User → Invite User
AI-generatedOverview
This node operation invites a new user by sending an invitation email. It is useful in scenarios where an administrator wants to onboard new users to a system by inviting them via email, specifying their role, and optionally customizing the invitation URL. For example, inviting a new team member to a project management platform with a specific role and a custom invite link.
Use Case Examples
- Invite a new user to a workspace by providing their email and role.
- Send a customized invitation email with a specific invite URL to a new user.
Properties
| Name | Meaning |
|---|---|
| The email address of the user to invite. This is required to send the invitation. | |
| Role | The role assigned to the new user, defining their permissions and access level. This is required. |
| Additional Fields | Optional additional parameters for the invitation, such as a custom invite URL which the invitation link will lead to. This requires environment configuration to enable. |
Output
JSON
email- The email address of the invited user.role- The role assigned to the invited user.inviteUrl- The custom invite URL if provided.status- The status of the invitation process, e.g., success or failure.
Dependencies
- Requires an API key credential or authentication token to interact with the user management system's invitation API.
Troubleshooting
- Ensure the email address is valid and properly formatted to avoid invitation failures.
- Verify that the role provided exists and is valid in the system to prevent errors.
- If using a custom invite URL, ensure the USER_INVITE_URL_ALLOW_LIST environment variable is configured correctly to enable this feature.
- Common errors may include authentication failures, invalid input data, or permission issues when inviting users. Check API credentials and permissions.
Links
- USER_INVITE_URL_ALLOW_LIST Environment Variable - Documentation on configuring environment variables to enable custom invite URLs.