Automations use Handlebars syntax for templating. This applies to user prompt templates in both AI and Direct processing modes, and to all text fields in Discord and Telegram output configurations.
Basics
Event data is available under the event object. Access fields with double curly braces:
Conditionals
Loops
Logical Operators
Combine conditions using and, or, and comparison helpers as sub-expressions:
Built-in helpers format event data for readability.
Some formatters accept named options:
Comparison Helpers
Use these as sub-expressions inside {{#if}} blocks:
Event Fields
Each webhook event type exposes different fields. You can browse the available fields for any event type from the automation editor in the dashboard. Click View Event Fields when configuring your template.
See Webhook Events for the full list of supported event types. Last modified on April 11, 2026