Skip to main content

Connect

Establishes a connection to the OpenAI API service.

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

This node does not have any input variables.

Options

  • API Key - The OpenAI API token credential used to authenticate with the service.
  • Use Robomotion Credits - When enabled, uses Robomotion credits instead of your own API key for billing.

Output

  • Connection Id - A unique identifier for the established connection that can be used by other OpenAI nodes.

How It Works

The Connect node establishes a connection to the OpenAI API service. When executed, the node:

  1. Validates the provided API key credential if not using Robomotion credits
  2. Establishes a connection to the OpenAI service
  3. Returns a connection identifier that can be used by other OpenAI nodes

Requirements

  • A valid OpenAI API key (unless using Robomotion credits)
  • Network access to the OpenAI API service

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid API Key credential
  • Network connectivity issues to the OpenAI service
  • Invalid API key or authentication failure

Usage Notes

  • The connection ID should be passed to other OpenAI nodes that require a connection
  • When using Robomotion credits, no API key is required
  • The connection is managed internally and will be automatically closed when the workflow completes
  • For security, always use the credential store for API keys rather than hardcoding them