Core Operations
Compute Operations
Execute logic and transform data.think
AI reasoning with LLMs and ML models
code
JavaScript/TypeScript execution
transform
Declarative data transformations
convert
Document format conversion (HTML, Markdown, DOCX)
Data Operations
Access and manipulate data stores.Communication Operations
Send messages and make requests.Async Operations
Background processing and message queues.queue
Cloudflare Queue message processing
Presentation Operations
Render content for users.html
Render HTML templates
Generate PDF documents
form
Generate validated forms
chart
Data visualization (bar, line, pie, etc.)
Looking for API documentation? The
docs/ directory is now a first-class component in Conductor.
See Building Documentation for details.HTTP Context Operations
Manage HTTP-specific concerns.cookies
Cookie management with consent awareness
Analytics Operations
Track metrics and emit events.telemetry
Emit events to Cloudflare Analytics Engine
Extension Operations
Extend functionality with external tools.tools
MCP tools and custom skills
Quick Reference
| Operation | Use Case | Example |
|---|---|---|
| think | AI reasoning, text generation | Analyze sentiment, generate content |
| code | Complex logic, calculations | Calculate totals, custom algorithms |
| transform | Declarative data shaping | Pick/omit fields, merge data, mock data |
| convert | Document format conversion | HTML→Markdown, DOCX extraction |
| chart | Data visualization | Bar, line, pie charts as SVG or image URLs |
| storage | Simple storage, caching | Cache in KV, store files in R2 |
| data | Database queries, structured data | Query D1, vector search in Vectorize |
| http | API calls, web requests | Fetch external data |
| Send notifications | Order confirmations, alerts | |
| sms | Send text messages | 2FA codes, alerts |
| html | Render web pages | Dashboard, reports |
| Generate documents | Invoices, reports | |
| form | Generate validated forms | User registration, surveys |
| queue | Message queue processing | Background jobs, event processing |
| cookies | Cookie management | Sessions, tracking, consent |
| telemetry | Analytics events | Track metrics, billing, costs |
| tools | External tool integration | Web search, file operations |
Common Configuration
All operations support:Output Access
Reference operation outputs:Performance Features
Automatic Parallelization
Operations without dependencies run in parallel:Built-in Caching
Cache expensive operations:Automatic Retry
Retry failed operations:Error Handling
Conditional Execution
Skip operations on failure:Error Context
Access error details:Best Practices
- Use the Right Operation - Each is optimized for its use case
- Cache Aggressively - Cache expensive operations
- Handle Failures - Use conditions and fallbacks
- Parallel by Default - Don’t create unnecessary dependencies
- Set Timeouts - Prevent hanging operations
- Monitor Performance - Track operation durations
- Test Thoroughly - Unit test each operation
- Version Components - Use Edgit for prompts/configs
Operation Comparison
When to Use What
think vs code vs transform vs convert:- Use
thinkfor AI reasoning, natural language - Use
codefor complex logic, conditionals, loops - Use
transformfor simple data shaping (pick/omit/merge) - Use
convertfor format conversion (HTML↔Markdown, DOCX)
- Use
storage(KV) for caching, simple key-value - Use
data(D1) for structured data, complex queries
- Use
httpfor direct API calls - Use
toolsfor MCP-compatible tools
- Use
emailfor rich content, attachments - Use
smsfor urgent, short messages
- Use
htmlfor simple rendering - Use
pagefor full-stack, interactive UIs

