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:| Credential | Required for | Fields |
|---|---|---|
| GraphQL Subscription API | All Worlds nodes | GraphQL URL, WebSocket URL, Token ID, Token Value |
| SendGrid API | Email notifications | API Key, Sender Email, Sender Name, Template ID, Environment |
| Redis API | Detection buffering (if applicable) | Host, Port, Password, Database |
Setting up GraphQL credentials
- In the Workflow Builder, go to Credentials → Add Credential
- Search for GraphQL Subscription API
- 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
- GraphQL URL: Your Worlds API endpoint (e.g.,
- Click Test to verify connectivity, then Save

