Exercise 2: Document All Your Workflows
Time: 1-2 hours
Using the template from Lesson 2, write complete documentation for every workflow you've built.
Minimum required: 3 workflows
- Morning Brief
- Inbox Triage
- Your custom API integration
But also document: any other workflows you've created during this course.
Use the template:
=== WORKFLOW: [Name] ===
PURPOSE:
[One sentence describing what this workflow does and why it exists]
TRIGGER:
[What starts it, how often, any conditions]
KEY STEPS:
- [Step 1, in plain English]
- [Step 2, in plain English]
- [Step 3, in plain English]
- [etc.]
DATA SOURCES & DESTINATIONS:
Input from: [APIs, databases, webhooks, hardcoded values]
Output to: [Email, databases, APIs, files, etc.]
AI STEPS:
Model: [e.g., Claude 3.5 Sonnet]
Prompt: [Copy the exact prompt, or link to it]
Expected output: [What should the AI produce?]
KNOWN EDGE CASES:
- [Edge case 1 and how we handle it]
- [Edge case 2 and how we handle it]
LAST UPDATED:
[Date] by [your name] — [one sentence describing the change]
Save to: Google Doc, Notion page, or text file — whatever format you'll actually maintain.
The 2am test: Could you (or someone else) understand this workflow well enough to fix a broken execution at 2am? If not, add more detail.