Skip to main content
Use the supported double-curly syntax to insert runtime values into prompts, request bodies, headers, and other configurable fields.

Prerequisites

  • A workflow with a known source for each value.
  • A test case that supplies the same scope and shape at runtime.

Use supported syntax

  1. Open a prompt, tool field, or payload template.
  2. Insert a simple value with {{name}}.
  3. Use scoped values such as {{initial_context.phone_number}} or {{gathered_context.preference}}.
  4. Use a default when a value can be absent, for example {{name | default}}.
  5. Test the rendered result before publishing.

Supported scopes

Initial context contains values available at call start. Gathered context contains values extracted during the call. Other runtime metadata is available only where the owning field supports it.

Constraints and failure states

Variable names are case-sensitive contracts between the producer and consumer. A template cannot create a missing value; provide the value through initial context, pre-call data, or extraction before relying on it.

Protect your data

Templates can place values into spoken audio, outbound requests, or logs. Avoid rendering secrets and restrict fields to the intended audience.