Actions28
Resource → Get Many
AI-generatedOverview
This node interacts with the Twingate GraphQL API to perform various operations on different resources such as users, resources, connectors, remote networks, groups, and access requests. Specifically, for the 'Resource' resource and 'Get Many' operation, it retrieves multiple resource records from Twingate, supporting pagination and limiting the number of results returned. This is useful for scenarios where you need to fetch a list of resources managed in Twingate, for example, to synchronize or analyze resource data in an automated workflow.
Use Case Examples
- Fetch all resources from Twingate to display in a dashboard.
- Retrieve a limited number of resources for processing or reporting purposes.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all resource results or only up to a given limit. |
| Limit | Maximum number of resource results to return when 'Return All' is false. |
Output
JSON
id- Unique identifier of the resource.name- Name of the resource.addresstype- Type of the resource address (e.g., IP, hostname, or CIDR).value- Value of the resource address.
remoteNetworkid- ID of the remote network the resource belongs to.name- Name of the remote network the resource belongs to.
Dependencies
- Twingate GraphQL API
Troubleshooting
- Ensure the Twingate API credentials are correctly configured and have the necessary permissions to query resources.
- If the node returns an error with GraphQL errors, check the error messages for details such as invalid queries or permission issues.
- Pagination is handled internally; if you expect more results than the limit, set 'Return All' to true to fetch all pages.
Links
- Twingate GraphQL API Documentation - Official documentation for the Twingate GraphQL API used by this node.