mark-code-step-patterns - Patterns for reliable Mark workflow code steps
Provides patterns for writing and reviewing Python code steps in Optimizely Agent Platform (Mark) workflows, including validation, error handling, routing, and delivery.
Tags
Updated: 2026-11-25Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Handle tool-call failures
- Validate structured inputs
- Route expected problems
- Protect workflow execution
- Control user-facing messages
- Manage step data size
- Handle email attachments
- Deliver emails safely
Inputs
- Python code steps
- Workflow trigger inputs
- Email attachment metadata
- Webhook payloads
- Tool-call results
- Platform tool responses
Outputs
- Status results
- Routing tokens
- User-safe summaries
- Created canvases
- Sent emails
- Workflow step outputs
Requirements
- Optimizely Agent Platform (Mark)
- Python code-step runtime
- Required platform tool access
