Skip to main content

Automation

Configure the automation engine and template variables.

Overview

The automation engine allows you to create rules that trigger actions based on streaming events. Rules are evaluated in real-time and can execute chat commands, overlay updates, or API calls.

Permissions

Automations use six dedicated permissions:

PermissionDescription
automations:readView automations and their configuration
automations:createCreate new automations
automations:editEdit automation metadata, nodes, edges
automations:deleteDelete automations
automations:executeManually trigger and start/stop automations
automations:historyView execution history and debug logs

Template Variables

The template engine supports 60+ variables across multiple categories. Variables are wrapped in {{doubleCurlyBraces}} and resolved at execution time.

For the full variable reference, see:

Quick Reference

CategoryExamplePermission
Channel{{channelName}}, {{platform}}None
Bot{{botName}}, {{commandPrefix}}None
Time{{date}}, {{time}}, {{timezone}}None
User{{username}}, {{displayName}}chat:userinfo
Stream{{streamTitle}}, {{category}}, {{viewerCount}}events:read
Events{{followerName}}, {{cheerAmount}}, {{subTier}}events:read
Spotify{{songName}}, {{songArtist}}, {{isPlaying}}spotify:read

Rule Configuration

Rules consist of:

  1. Trigger -- The event type that activates the rule
  2. Conditions -- Optional filters (minimum amount, specific platform, etc.)
  3. Actions -- What to do when triggered (send message, update overlay, etc.)

REST API

All automation endpoints are under /v1/automations. See the REST API reference for full details.

MethodPathPermission
GET/v1/automationsautomations:read
POST/v1/automationsautomations:create
GET/v1/automations/{id}automations:read
PATCH/v1/automations/{id}automations:edit
DELETE/v1/automations/{id}automations:delete
PUT/v1/automations/{id}/nodesautomations:edit
PUT/v1/automations/{id}/edgesautomations:edit