M4-B — Prompt-Based Automation
Automation sounds like coding. It is not — not at this stage. Here, automation means: the same series of prompt steps runs every time the same type of work appears.
🤖 What is prompt-based automation?
Prompt-based automation = using a fixed sequence of prompts so AI does the boring steps for you.
| Manual way | Automated prompt way |
|---|---|
| You think of 5 steps every time | Steps are written once in a chain |
| You copy-paste between chats | One flow: output of Step 1 → input of Step 2 |
| Easy to forget a step | Same steps every time |
| Only works when you remember | Works when you follow the checklist |
Simple analogy — making tea for guests
Manual: Every guest → you decide steps from scratch
Automation: Same steps every time → boil water → add tea → add milk → serve
Prompt automation is the recipe card for AI work.
🔗 The basic flow (what happens behind the scenes)
Even without code, this is what is happening:
YOU trigger the workflow
↓
Prompt 1 runs → AI gives Output A
↓
You paste Output A into Prompt 2 → AI gives Output B
↓
Prompt 3 polishes Output B → Final result
↓
YOU review and use it
The "backend" here is simple: your clipboard + your template files + your review. No server yet. But the idea is the same as big automation tools — steps in order, same every time.
Later in the course (n8n, agents) a computer will paste Step 1 into Step 2 for you. For now, you are the connector.
📋 Example workflow — "New student enquiry"
Step 1 — Classify (Prompt A)
Read this message and reply with ONLY one label:
- FEES
- BATCH_TIMING
- COURSE_DETAILS
- OTHER
Message: {{paste enquiry here}}
Step 2 — Draft reply (Prompt B — pick template by label)
Use the FEES reply template.
Student question: {{original message}}
Draft a 3-line WhatsApp reply.
Step 3 — Quality check (Prompt C)
Review this draft reply.
Check: friendly tone? no fake promises? under 4 lines?
If okay → print FINAL. If not → rewrite.
Enquiry → Classify → Pick template → Draft → Check → You send
That is a prompt-based automation workflow.
🛠️ Three automation patterns you can use today
Pattern 1 — Assembly line
One big job split into small prompt steps.
Raw notes → Summarise → Make bullet points → Make quiz questions
Best for: study material, reports, content creation.
Pattern 2 — Router
First prompt decides which template to use next.
Incoming message → "What type is this?" → Route to Template A / B / C
Best for: customer replies, email sorting, doubt categories.
Pattern 3 — Draft → Human → Publish
AI drafts → You edit → AI formats for platform → You post
Best for: LinkedIn, Instagram, presentations.
⚙️ What runs in the "backend" (simple picture)
When you use ChatGPT or Gemini, this is always happening — even for one prompt:
Your text → App sends to company's server → AI model reads → Answer comes back
When you automate with prompt chains, nothing magical changes:
Step 1 answer becomes Step 2 input
(same server, same model, just more steps)
| Layer | Who does it now | Who does it later (Module 12) |
|---|---|---|
| Step order | You follow a checklist | n8n / agent runs steps |
| Copy-paste between steps | You | Software |
| Final approval | You | Still you (human-in-the-loop) |
Even fully automated systems need someone to check wrong answers before they go to customers.
📝 Build your first automation (15-minute exercise)
- Pick one boring task you do weekly (same type every time)
- Write 3 prompt templates (Step 1, 2, 3)
- Save them in one Obsidian note called
My First Automation - Run the chain on real input once
- Write what broke — which step needs clearer instructions?
✅ When is prompt automation enough?
| Good for automation | Not good for automation |
|---|---|
| Same question types again and again | One-off creative art direction |
| Drafts you always edit anyway | Legal/medical final decisions |
| Formatting, summarising, sorting | Anything needing live real-world data without tools |
Previous: M4-A — Reusable Prompt Systems
Next: Ruleset Prompt — permanent rules for how AI should behave
Module 5: M5-A — Text Image and Video AI — when AI creates pictures and videos too