Skip to main content

Requirements

Before building workflows with Worlds custom nodes, you need:

Worlds Platform Access

  • An active Worlds account with access to your organization’s sites and cameras
  • GraphQL API credentials — a Token ID and Token Value pair for authenticating with the Worlds API
  • At least one site with configured zones and active camera feeds

Workflow Builder Instance

  • A running Workflow Builder instance (self-hosted or Docker) with the Worlds custom nodes installed
  • The state machine service running and connected to your Redis instance
  • Network connectivity between the Workflow Builder, the state machine, and the Worlds API

Credentials configured in the Workflow Builder

You need to set up these credential types in your Workflow Builder instance:
CredentialRequired forFields
GraphQL Subscription APIAll Worlds nodesGraphQL URL, WebSocket URL, Token ID, Token Value
SendGrid APIEmail notificationsAPI Key, Sender Email, Sender Name, Template ID, Environment
Redis APIDetection buffering (if applicable)Host, Port, Password, Database

Setting up GraphQL credentials

  1. In the Workflow Builder, go to CredentialsAdd Credential
  2. Search for GraphQL Subscription API
  3. Fill in:
    • GraphQL URL: Your Worlds API endpoint (e.g., https://your-instance.worlds.io/graphql)
    • WebSocket URL: The WebSocket endpoint (e.g., wss://your-instance.worlds.io/graphql)
    • Token ID: Your authentication token ID
    • Token Value: Your authentication token value
  4. Click Test to verify connectivity, then Save