Actions28
Resource → Get
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 with the 'Get' operation, it retrieves detailed information about a specific resource by its ID. This is useful for scenarios where you need to fetch and use resource details within an automation workflow, such as monitoring resource configurations or integrating resource data with other systems.
Use Case Examples
- Fetch a resource by its ID to display its details in a dashboard.
- Retrieve resource information to use in conditional logic within a workflow.
Properties
| Name | Meaning |
|---|---|
| Resource ID | The ID of the resource to retrieve. This is a required string input used to specify which resource to get. |
Output
JSON
id- The unique identifier of the resource.name- The name of the resource.addresstype- The type of the resource's address (e.g., IP, hostname, or CIDR).value- The value of the resource's address.
remoteNetworkid- The ID of the remote network to which the resource belongs.name- The name of the remote network to which the resource belongs.
createdAt- The timestamp when the resource was created.updatedAt- The timestamp when the resource was last updated.
Dependencies
- Twingate API key credential with network name and API token
Troubleshooting
- Ensure the provided Resource ID is correct and exists in the Twingate system to avoid 'not found' errors.
- Check that the API token and network name credentials are correctly configured and valid to prevent authentication errors.
- GraphQL errors will be reported with detailed messages; review these messages to identify issues such as permission problems or malformed queries.
Links
- Twingate GraphQL API Documentation - Official documentation for the Twingate GraphQL API used by this node.