Twingate icon

Twingate

Interact with Twingate GraphQL API

Actions28

Connector → Create

AI-generated

Overview

This node interacts with the Twingate GraphQL API to manage connectors within a Twingate network. Specifically, the 'Create' operation for the 'Connector' resource allows users to create a new connector by specifying its name and the ID of the remote network it belongs to. This is useful for automating the setup and management of network connectors in Twingate, enabling seamless integration into workflows that require network configuration or expansion.

Use Case Examples

  1. Creating a new connector named 'Office Connector' linked to a specific remote network ID to extend network access.
  2. Automating connector creation as part of a larger network deployment process.

Properties

Name Meaning
Name The name of the connector to be created.
Remote Network ID The ID of the remote network to which the connector will belong.

Output

JSON

  • id - The unique identifier of the created connector.
  • name - The name of the created connector.
  • remoteNetwork
    • id - The ID of the remote network associated with the connector.
    • name - The name of the remote network associated with the connector.

Dependencies

  • Requires an API key credential for Twingate API authentication, specifically the network name and API token.

Troubleshooting

  • Common issues include invalid or missing API credentials, resulting in authentication errors.
  • GraphQL errors may occur if required parameters like 'name' or 'remoteNetworkId' are missing or invalid.
  • Network connectivity issues to the Twingate API endpoint can cause request failures.
  • Error messages typically include HTTP status codes and GraphQL error messages, which help identify the cause such as invalid input or permission issues.

Links

Discussion