n8n-nodes-twingate
v1.0.7
Published
n8n community node for Twingate GraphQL API integration
Maintainers
Keywords
Readme
n8n-nodes-twingate
This is an n8n community node. It lets you use Twingate in your n8n workflows.
Twingate is a zero trust network access platform that provides secure access to private resources. This node integrates with the Twingate GraphQL Admin API to manage users, resources, connectors, remote networks, groups, and access requests.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
User Operations
- Get - Retrieve a single user by ID
- Get Many - Retrieve multiple users with pagination support
- Create - Create a new user
- Update - Update an existing user's details
- Delete - Delete a user
Resource Operations
- Get - Retrieve a single resource by ID
- Get Many - Retrieve multiple resources with pagination support
- Create - Create a new resource
- Update - Update an existing resource
- Delete - Delete a resource
Connector Operations
- Get - Retrieve a single connector by ID
- Get Many - Retrieve multiple connectors with pagination support
- Create - Create a new connector
- Update - Update an existing connector
- Delete - Delete a connector
Remote Network Operations
- Get - Retrieve a single remote network by ID
- Get Many - Retrieve multiple remote networks with pagination support
- Create - Create a new remote network
- Update - Update an existing remote network
- Delete - Delete a remote network
Group Operations
- Get - Retrieve a single group by ID
- Get Many - Retrieve multiple groups with pagination support
- Create - Create a new group
- Update - Update an existing group
- Delete - Delete a group
Access Request Operations
- Get - Retrieve a single access request by ID
- Get Many - Retrieve multiple access requests with pagination support
- Approve - Approve an access request
- Reject - Reject an access request
Credentials
To use this node, you need to authenticate with Twingate using an API token.
Prerequisites
- A Twingate account with admin access
- A Twingate network already set up
Setup
- Log in to your Twingate Admin Console
- Navigate to Settings > API
- Click Generate Token
- Provide a descriptive label for the token
- Select the permission level (typically Read, Write & Provision)
- Click Generate and copy the token (it won't be displayed again)
Credential Fields
- Network Name - Your Twingate network subdomain (without
.twingate.com)- Example: If your network URL is
https://mycompany.twingate.com, entermycompany
- Example: If your network URL is
- API Token - The API token generated from the Admin Console
Compatibility
- Minimum n8n version: 1.0.0
- Tested with n8n version: Latest
Usage
Example: Create a User
- Add a Twingate node to your workflow
- Select User as the resource
- Select Create as the operation
- Configure:
- Email: [email protected]
- First Name: John
- Last Name: Doe
- Role (in Additional Fields): Member
- Connect your Twingate credentials
Example: Approve Access Request
- Add a Twingate node to your workflow
- Select Access Request as the resource
- Select Approve as the operation
- Enter the Access Request ID
- Connect your Twingate credentials
Example: Get All Resources
- Add a Twingate node to your workflow
- Select Resource as the resource
- Select Get Many as the operation
- Configure pagination:
- Return All: true (to get all resources) or false (to limit results)
- Limit: 50 (if Return All is false)
- Connect your Twingate credentials
Resources
Version history
0.1.0 (Initial Release)
- Initial implementation of Twingate node
- Support for User, Resource, Connector, Remote Network, Group, and Access Request resources
- Basic CRUD operations for most resources
- Access Request approval and rejection
- GraphQL API integration with authentication
