@jaylouisw/n8n-nodes-twingate
v0.1.0
Published
n8n node for Twingate Zero Trust Network Access
Maintainers
Readme
n8n-nodes-twingate
This is an n8n community node that integrates with Twingate, a Zero Trust Network Access (ZTNA) platform.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
npm install @jaylouisw/n8n-nodes-twingateOr install directly in n8n:
- Go to Settings > Community Nodes
- Select Install
- Enter
@jaylouisw/n8n-nodes-twingateand confirm
Operations
This node supports the following Twingate resources and operations:
Remote Network
- Create - Create a new remote network
- Get - Get a remote network by ID
- Get All - Get all remote networks
- Update - Update a remote network
- Delete - Delete a remote network
Resource
- Create - Create a new resource with access controls and protocol restrictions
- Get - Get a resource by ID
- Get All - Get all resources
- Update - Update a resource
- Delete - Delete a resource
Connector
- Create - Create a new connector in a remote network
- Get - Get a connector by ID
- Get All - Get all connectors
- Update - Update connector settings
- Delete - Delete a connector
- Generate Tokens - Generate authentication tokens for a connector
Group
- Create - Create a new group with users and resource access
- Get - Get a group by ID
- Get All - Get all groups
- Update - Update group membership and resources
- Delete - Delete a group
User
- Get - Get a user by ID
- Get All - Get all users
- Update - Update user details and role
- Delete - Delete a user
Device
- Get - Get a device by ID
- Get All - Get all devices
- Update Trust - Update device trust status
Service Account
- Create - Create a new service account
- Get - Get a service account by ID
- Get All - Get all service accounts
- Update - Update service account resource access
- Delete - Delete a service account
- Create Key - Generate a new API key for the service account
- Revoke Key - Revoke an existing service account key
Security Policy
- Get - Get a security policy by ID
- Get All - Get all security policies
Credentials
To use this node, you need to set up Twingate API credentials:
- Log in to your Twingate Admin Console
- Navigate to Settings > API
- Generate a new API token
- In n8n, create new credentials of type Twingate API
- Enter your:
- Subdomain: Your Twingate network subdomain (e.g.,
mycompanyformycompany.twingate.com) - API Key: The API token you generated
- Subdomain: Your Twingate network subdomain (e.g.,
API Rate Limits
Twingate enforces the following rate limits:
- Read operations: 60 requests per minute
- Write operations: 20 requests per minute
The node will return an error if rate limits are exceeded.
Resources
Development
Building
npm install
npm run buildLinting
npm run lint
npm run lint:fixTesting Locally
To test the node locally with n8n:
# Link the package
npm link
# In your n8n installation directory
npm link n8n-nodes-twingate
# Start n8n
n8n startLicense
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
For issues with this community node, please open an issue in this repository.
For issues with Twingate itself, please contact Twingate Support.
