Skip to main content

Connect

Establishes a connection to ElevenLabs AI using API credentials. This node creates a connection session that can be reused across multiple 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.

Inputs

This node does not have direct inputs.

Options

  • API Key - Your ElevenLabs AI API key for authentication. Store this securely in the Robomotion vault.

Outputs

  • Connection Id (String) - Unique identifier for this ElevenLabs AI connection session. Pass this to other ElevenLabs nodes to reuse the connection.

How It Works

The Connect node authenticates with ElevenLabs AI and creates a connection session. When executed, the node:

  1. Retrieves the API key from the vault
  2. Creates an authenticated ElevenLabs client
  3. Stores the client internally with a unique connection ID
  4. Returns the connection ID for use in subsequent nodes

Requirements

  • Valid ElevenLabs AI API key
  • API key must be stored in the Robomotion vault

Error Handling

The node will return an error in the following case:

  • Missing API key - "API Key cannot be empty. Please provide your ElevenLabs AI API key in the credentials."

Usage Notes

  • Use this node at the beginning of your ElevenLabs workflow to establish authentication
  • The connection ID can be passed to other ElevenLabs nodes via message scope
  • Alternatively, many ElevenLabs nodes support direct API key authentication without using Connect
  • Using Connect is recommended when you need to perform multiple operations, as it reuses the same authenticated client
  • Don't forget to use the Disconnect node at the end of your workflow to release resources
  • Keep your API key secure by storing it in the Robomotion vault, not hardcoding it

Example Use Cases

  • Setting up authentication before generating multiple speech files
  • Creating a reusable connection for voice cloning workflows
  • Establishing a session for batch processing audio files