Skip to main content

Connect

Establishes a connection to Google Vision API service for subsequent image analysis operations.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

No inputs required for this node.

Options

  • Credentials - The Google Cloud credentials required to authenticate with the Vision API service.

Output

  • Vision Id - A unique identifier for the established Vision API client connection that can be used by other Vision nodes.

How It Works

The Connect node establishes a connection to the Google Vision API service using the provided credentials. When executed, the node:

  1. Retrieves the provided credentials and validates them
  2. Creates a new ImageAnnotatorClient using the Google Cloud Vision API
  3. Stores the client connection and assigns it a unique ID
  4. Returns the unique Vision ID that can be used by other nodes

Requirements

  • Valid Google Cloud credentials with appropriate permissions for Vision API
  • Enabled Vision API in your Google Cloud project
  • Proper network access to Google Cloud services

Error Handling

The node will return specific errors in the following cases:

  • Invalid or missing credentials
  • Authentication failures
  • Network connectivity issues
  • Vision API service errors

Usage Notes

  • The Vision ID output should be passed to other Vision nodes that require a connection
  • The credentials should have appropriate permissions for the Vision API services you plan to use
  • This connection should be established before using any other Vision nodes
  • The connection is managed internally and doesn't require explicit disconnection