Actions28
User → Create
AI-generatedOverview
This node interacts with the Twingate GraphQL API to manage users within the Twingate network. Specifically, the 'User - Create' operation allows creating a new user by providing their email, first name, last name, and role. This is useful for automating user management tasks such as onboarding new users into the Twingate system with specific roles.
Use Case Examples
- Automatically create a new user in Twingate when a new employee joins your company, setting their email, first name, last name, and role.
- Batch create multiple users in Twingate by feeding user data into the node in an automation workflow.
Properties
| Name | Meaning |
|---|---|
| The email address of the user to be created, required for user identification and communication. | |
| First Name | The first name of the user, used for personalization and identification. |
| Last Name | The last name of the user, used for personalization and identification. |
| Role | The role assigned to the user, defining their permissions and access level within Twingate. Options include Access Reviewer, Admin, DevOps, Member, and Support. |
Output
JSON
id- Unique identifier of the created user.email- Email address of the created user.firstName- First name of the created user.lastName- Last name of the created user.role- Role assigned to the created user.state- Current state of the user account.
Dependencies
- Twingate GraphQL API
Troubleshooting
- Ensure the API credentials (network name and API token) are correctly configured and valid to avoid authentication errors.
- Verify that the email address provided is unique and properly formatted to prevent user creation failures.
- Check for GraphQL errors in the response which may indicate issues with the input parameters or API limitations.
- If the node throws a 'Request failed with status code' error, verify network connectivity and API endpoint correctness.
Links
- Twingate GraphQL API Documentation - Official documentation for the Twingate GraphQL API used by this node.