What You’ll Build
By the end of this tutorial, you’ll have a contact form workflow that:- Collects information: Name, email, and preferred contact time
- Validates input: Checks email format and allows retries
- Routes intelligently: Different follow-ups based on user preference
- Integrates externally: Validates email domains and notifies a CRM system
- Feels polished: Progress indicators and friendly messages throughout
Prerequisites
Before starting this tutorial, you should have:- Basic understanding of Syllable Agents, Tools, and Prompts
- Access to the Syllable Console
- Familiarity with JSON syntax
Learning Path
The tutorial is structured as 7 progressive examples. Each example builds on the previous one, introducing new concepts:| Example | What You’ll Build | Key Concepts |
|---|---|---|
| 1. Hello World | Simple greeting workflow | Basic step structure, terminal steps, workflow initialization |
| 2. Collect Input | Name collection with validation | Input parameters, validation, current step inputs |
| 3. Multi-Step Flow | Full contact form (name → email → time) | Step transitions, data persistence, workflow variables |
| 4. Lifecycle Actions | Polished experience with progress indicators | on.enter, on.submit, say action, counters |
| 5. Conditional Branching | Smart routing based on preferences | JMESPath expressions, conditional next routing |
| 6. Retry Loop | Email validation with retry attempts | Validation patterns, inc action, loop-back transitions |
| 7. Tool Integration | External API calls and CRM notification | call action, tools.allow, progressive tool disclosure |
The User Journey
Each example addresses a real need that arises when building production workflows:Tutorial Structure
Each example follows the same format:- Objective: What you’ll learn and why it matters
- The Scenario: User story context for the feature
- Implementation: Complete JSON tool definition you can copy
- Key Concepts: Detailed explanation of new features
- How It Works: Step-by-step breakdown of workflow execution
- Try It: Instructions to test in the Syllable Console
- What’s Next: Preview of the next example
Estimated Time
- Quick read-through: ~15 minutes
- Following along with testing: ~45 minutes
- Building your own variant: ~1-2 hours
Next Steps
Ready to start? Continue to Example 1: Hello World to create your first Step Workflow.Reference
While working through the tutorial, you may want to reference:- Step Workflow Reference — Complete documentation of all configuration options
- Step Workflows Overview — High-level introduction to the feature

