Workflow Templates
Workflow Templates are reusable blueprints that bundle agents, teams, and triggers into a single installable package. Users fill in a few variables and get a fully wired workflow in one click.Overview
A template captures your entire workflow setup β agents with their prompts, team configuration, pipeline steps, and scheduled triggers β and parameterizes it with{{variable}} placeholders. When someone installs your template, they fill in those variables and CrewForm automatically creates everything for them.
Browsing Templates
Navigate to Marketplace β Templates to browse published workflow templates. Each template card shows:- Icon & Name β Quick visual identification
- Category β Coaching, Research, Content, DevOps, Reporting, etc.
- Description β What the template does
- Install Count β Community popularity
- Resource Summary β Number of agents, team mode, and trigger type
Installing a Template
- Click a template card in the Marketplace
- Review what will be created β agents, team, and trigger details
- Fill in the variables β each template defines its own set of configurable values
- Click Install Template
- CrewForm automatically creates all resources in your workspace
Variable Resolution
Variables use{{mustache}} syntax. During installation, every {{variable}} in the template definition (agent prompts, task descriptions, team names, etc.) is replaced with the value you provide.
Example: A template with {{sport}} and {{age_group}} variables in the agentβs system prompt:
sport = "rugby", age_group = "under 9s", and focus_areas = "tackling, passing, positioning":
Creating a Template
There are two ways to create a workflow template:From the Marketplace
- Click + Create Template in the Marketplace header
- Follow the 4-step wizard:
| Step | What You Do |
|---|---|
| 1. Select | Pick agents and optionally a team from your workspace |
| 2. Variables | Auto-scans {{variable}} patterns from prompts; define labels, placeholders, defaults |
| 3. Metadata | Set name, description, icon, category, tags, and optional CRON/webhook trigger |
| 4. Preview | Review everything before publishing |
From an Agent
- Open any agentβs detail page
- Click the Template button in the header
- The wizard opens with that agent pre-selected
Variable Tips
- Use descriptive variable names:
{{target_audience}}not{{var1}} - Provide sensible defaults so users can install quickly
- Mark variables as required only if the template wonβt work without them
- Variables work anywhere in the template definition β prompts, names, descriptions, trigger configs
Built-in Templates
CrewForm ships with 5 starter templates:π Weekly Sports Coach
A single-agent workflow with a CRON trigger that delivers weekly coaching tips. Variables:sport, age_group, focus_areas, cron_expression
Creates: 1 agent + 1 CRON trigger (default: every Friday at 9am)
π Content Research Pipeline
A 3-agent pipeline for topic research, content writing, and editing. Variables:topic, target_audience, tone
Creates: 3 agents (Researcher, Writer, Editor) + 1 pipeline team
π° Daily News Digest
A 2-agent pipeline that gathers and summarizes industry news on a schedule. Variables:industry, news_sources, output_format
Creates: 2 agents (Gatherer, Summarizer) + 1 pipeline team + 1 CRON trigger (weekdays at 7am)
π Code Review Assistant
A single-agent webhook-triggered workflow for automated code reviews. Variables:language, coding_standards, severity_level
Creates: 1 agent + 1 webhook trigger
π Weekly Report Generator
A 2-agent pipeline for data analysis and report writing on a weekly schedule. Variables:department, key_metrics, stakeholders
Creates: 2 agents (Analyst, Writer) + 1 pipeline team + 1 CRON trigger (Mondays at 8am)
Template Definition Schema
For advanced users, templates are stored as JSONB with this structure:Database
Templates are stored in theworkflow_templates table with:
- RLS policies β creators can manage their own; all users can read published templates
- JSONB storage β template definitions and variables stored as flexible JSON
- Install counter β tracks how many times each template has been installed
- Indexes β optimized for category, tag, and full-text search queries
Next Steps
- Agents Guide β Learn how agents work before templating them
- Pipeline Teams β Understand team modes for multi-agent templates
- Marketplace β Browse and install community templates

