File Structure and Core Syntax
yflow: '1.0'
flow:
name: My Application
persona:
language: en-US
voice: Jessica
llmModel: gpt-4o
nodes:
- start:
next: greeting
- greeting:
type: say
message: Welcome to our service!
next: main_agent
- main_agent:
type: agent
system: Help the user with their request.
goals:
done:
next: farewell
fallback:
next: farewell
# ... more nodes
integrations:
banking_api: # ID - snake_case, immutable
type: rest
base_url: https://api.bank.com
# ... Top-Level Keys
Flow Versioning
Version Field Rules:
When to Bump:
Version vs YFlow Spec:
Pre-release and Build Metadata (optional):
Core Syntax
Flow Definition
Last updated
Was this helpful?