AI-Assisted Workflow Binder
The Workflow Wrench
Fundamentals first. Hype second. A hands-on automation manual for turning messy business processes into reliable AI-assisted workflows.
AI-Assisted Workflow Binder
Fundamentals first. Hype second. A hands-on automation manual for turning messy business processes into reliable AI-assisted workflows.
Front Matter
This is a working manual, not a textbook. The point is to learn the underlying thing, then build a small real automation with it.
The paid job is not training models. It is taking an annoying business process and making a workflow run without constant human babysitting.
Input can feel productive. Output teaches faster. Pair reading with a small build before moving on.
Most chapters are sized for 30-90 focused minutes. If you stall, shrink the build. Do not fight the fog.
Choose Your Route
Pick the path that matches your current energy and background. The order is the tool; guilt is not.
Part 1, then APIs/JSON/webhooks, then n8n projects, business automations, prompts, and AI-native workflows.
Read linearly from mindset through business work. Best if shaky foundations make you anxious.
Start with the mindset, skim foundations, then move to prompts, agents, real automations, and n8n as a client tool.
Operating Models
The PDF repeats a small set of decision tools because they transfer across APIs, prompts, n8n, agents, and client discovery.
Score each idea fast. A process should be recurring, structured, annoying, cheap to fail, and already inside a system you can call.
| Trait | Good Sign | Bad Sign |
|---|---|---|
| Recurring | At least weekly, or on a critical path. | Once a quarter with no urgency. |
| Structured | Same input shape and output shape. | Every case is a new animal. |
| Annoying | The user lights up with irritation. | They kind of enjoy doing it. |
| Cheap to fail | Mistakes are reviewable and reversible. | A wrong call creates legal, medical, or money-moving risk. |
The traps are tutorial loops, hype chasing, premature scaling, perfectionism, and toolchain addiction.
Native Page Spine
Every PDF part is preserved below, compressed into expandable chapters with the thesis, core claims, checkpoints, and build outputs kept intact.
Part One
Fundamentals beat hype. Before the tools, learn to see business work as a process you can translate.
AI research and AI application are different jobs. Most clients pay for the second: turning messy work into repeatable workflows.
Every paying job is a translation problem. Sort the user's story into trigger, inputs, decision, action, and observation.
Good candidates are recurring, structured, annoying, cheap to fail, and accessible through systems you can call.
Most stalls come from tutorial loops, hype chasing, premature scaling, perfectionism, and toolchain addiction.
Part Two
The boring layer that pays: APIs, JSON, webhooks, Python, databases, and workflow discipline.
An API is a request/response contract. Most automation work means reading docs, sending HTTP, handling auth, and parsing JSON.
curl against GitHub, inspect headers with -i, and provoke a 404 on purpose.JSON is structured text with six types: string, number, boolean, null, array, and object.
wttr.in, extract temperature and forecast values with jq, then reshape the response.A webhook is a URL you give a service so it can POST to you when something happens.
You need enough Python to read JSON, call APIs, branch, write files or databases, and handle errors.
requests, environment variables, small functions, and explicit exceptions.A database stores data between workflow runs. Start with Postgres for business data, SQLite for tiny solo work.
A demo runs once. A workflow runs repeatedly, handles ugly inputs, and tells you when it breaks.
Part Three
The instruction layer on top of the plumbing: explicit roles, examples, constraints, and structured outputs.
A workflow prompt is usually split into stable system instructions and variable user content.
The reliable patterns are role plus task, few-shot examples, stepwise reasoning when judgment is needed, structured output, and delimited input.
Free text is brittle when another step has to consume it. Use structured output, define a schema, validate, and retry once on failure.
Reusable prompt functions keep the same classifier, summarizer, and reply drafter available across projects.
prompts.py with three production-shaped prompt functions and validated returns.Part Four
The canvas makes every workflow step visible: trigger, data, transform, branch, side effect.
n8n is open-source, self-hostable, visible, and has a code escape hatch. That combination makes it useful even if a client later prefers another tool.
Start with n8n Cloud for speed or Docker for free self-hosting. Learn workflow, node, trigger, action, item, expression, and credential.
{{ }} reference current or upstream values.Schedule a daily run, read RSS, filter items newer than 24 hours, format a digest, and send by email or Slack.
Receive a form webhook, append name/email/topic to Google Sheets, and send a confirmation email.
Watch an inbox, classify email as buyer/applicant/partner/spam/other, parse JSON, and route each category to the right place.
Take a lead, derive the email domain, call enrichment APIs, score fit with an LLM, and branch into auto-reply, sales routing, or human review.
Part Five
The LLM becomes the operator: it chooses tools, reads results, stores memory, and sometimes coordinates other LLMs.
The model sees a goal, chooses a tool, receives the result, and repeats until done or bounded.
Claude Code, Codex, Cursor, Aider, Continue, and Cline show what an agent loop looks like in a domain where it already works well.
Model Context Protocol standardizes tools, resources, and prompts that AI clients can discover and call.
The model only knows what is in the current context. Memory systems choose what to put back.
Use supervisor/worker, pipeline, or critique topologies only when specialization or criticism clearly helps.
Realtime voice agents can handle tight domains: reception, lead qualification, appointment scheduling, and simple orders.
Part Six
Five sellable workflow patterns with specs, architecture, pitfalls, and pricing baselines.
New leads should reach the right owner within 60 seconds. Classify, enrich, assign, notify, log, and draft a reply.
Watch client email and calendar activity, summarize interactions, match to CRM contacts/deals, and update after human approval.
Use meeting transcripts to create summaries, decisions, owner/date action items, tracker tasks, and Slack posts.
Build a first-line responder that answers from an FAQ, captures structured info, books appointments, and escalates when outside scope.
Extract invoices, receipts, contracts, and forms into structured data, validate, then store or queue for review.
Part Seven
Price the work, find first clients, and run discovery calls that become one-page specs.
Use setup fee, care retainer, and hourly new-work rate. Quote outcomes, not typing time.
Start with warm intros, free pilots for accessible businesses, narrow LinkedIn outreach, niche communities, and job boards only when cashflow needs it.
A 30-minute call should end with a spec and next step, not a premature technical proposal.
Part Eight
Lookup, not linear reading: glossary, templates, status codes, snippets, resources, and the 90-day cadence.
Keep definitions short enough to use mid-build: agent, API, auth, backoff, branch, CRUD, chunk, context window, credential, curl, dead-letter queue, embedding, endpoint, few-shot, function calling, HMAC, HTTP, idempotent, JSON, JSONB, jq, LLM, MCP, n8n, OAuth, OCR, pagination, polling, prompt, prompt injection, RAG, rate limit, REST, retry, schema, SDK, SQL, structured output, system prompt, temperature, token, tool use, trigger, vector database, webhook.
The reusable sheets are a one-page spec, proposal one-pager, prompt skeleton, pre-ship checklist, HTTP status table, and Python snippets for API calls, env secrets, retries, and validation.
The PDF recommends official docs and durable books over tool-chasing. Bookmark Anthropic docs, OpenAI Cookbook, n8n docs, Postgres docs, and MDN. Read Designing Data-Intensive Applications, The Pragmatic Programmer, and Atomic Habits slowly.
Useful communities include n8n Community Forum, Indie Hackers, and local or industry-specific business groups. Newsletters are for skimming: Ben's Bites, Latent Space, and The Pragmatic Engineer.
Build Ladder
The PDF is hands-on by design. These are the build outputs to finish before calling the material "read."
Call GitHub with curl, inspect headers, trigger a 404, then use wttr.in and jq to extract nested values.
Send a real form submission to webhook.site and read the payload before wiring it to production.
Fetch weather for three cities, append CSV rows, then move the same data into a Postgres table.
Create reusable classifier, meeting summary, and reply draft functions with typed validation.
Daily digest, form-to-sheet confirmation, AI email classifier, and lead enrichment pipeline.
Lead routing, CRM updates, meeting-to-tasks, first-line responders, and document extraction.
Reference Shelf
These are rewritten as web-native cards so they can be copied into a project note without dragging the whole PDF along.
# Project
What this replaces:
Trigger:
Inputs:
- field: type, source, sample
Decision:
- happy path
- branch B
- fallback
Side effects:
Failure handling:
- retries
- dead-letter destination
- monitoring
Success metrics:
Out of scope:
# Proposal: [Project]
For: [Client]
What this replaces:
What I will build:
Timeline:
- discovery + spec
- build + iterate
- handoff + training
Investment:
- setup
- care plan
- new work rate
Success looks like:
Next step:
SYSTEM:
You are a [role] who [trait].
You always [hard rule].
You never [hard rule].
Return [format].
USER:
[Task in 1-3 sentences.]
<input>
{user_text}
</input>
Return only JSON matching:
{
"field": "type",
"confidence": "low | medium | high"
}
| Code | Meaning | Action |
|---|---|---|
| 200 | OK | Process the body. |
| 201 | Created | Process the new resource ID from body or Location header. |
| 204 | No content | Move on. |
| 400 | Bad request | Fix the input. Do not retry blindly. |
| 401 | Missing or invalid auth | Check credentials. |
| 403 | No permission | Ask the account admin. |
| 404 | Not found | Check the URL or resource ID. |
| 409 | Conflict | Re-read, merge, retry. |
| 422 | Validation failed | Read the error and fix the body. |
| 429 | Rate limited | Wait per Retry-After. |
| 500/502/503/504 | Server or gateway failure | Retry with backoff. |
Cadence
The PDF ends with a practical pacing plan. It is simple on purpose.
| Weeks | Focus | Goal |
|---|---|---|
| 1-2 | Parts 1-2 | Comfort with APIs, JSON, webhooks, and Python basics. |
| 3 | Parts 3-4 | Prompt library built and four n8n projects complete. |
| 4-6 | Two real automations | Build for friends or free pilots using Part 6 patterns. |
| 7-8 | Part 5 | One small MCP server and one agent prototype. |
| 9-10 | First paid pilot | Use the discovery and pricing process from Part 7. |
| 11-12 | Reflect and iterate | Update prompt library, refine pricing, plan the next 90 days. |