Black Friday 2026: 80% off everything · code BLACKFRIDAY80 · ends Dec 1 · free Claude course

Ends in0d 00h 00m 00s

Free sample · no email · 2,767 of 15,048 words

The AI Automation Playbook

The opening of the playbook as your AI agent reads it. The full volume adds the step-by-step playbook, the prompts, the checklist and the sources.

1. The problem

A demo usually starts with a clean input and ends with an attractive output. Business operations start with inconsistent inputs, duplicate events, missing permissions, records that change underneath you, and people who are unavailable when approval is needed.

The hard question isn’t whether an agent can update a CRM. It’s whether the system updates the correct record, with authorized information, exactly once, under the right policy, and whether somebody notices when it doesn’t.

Terms used in this book

Term Meaning Example
Deterministic automation Explicit rules decide the next action Copy an approved account ID into a project record
AI-assisted workflow A fixed process that contains one or more model steps Extract a request category, then validate and route it
Agent A model chooses its own actions within constraints Investigate a support issue using approved read tools
MCP connection An interface through which a client discovers and calls tools Let an assistant query an approved CRM tool

Anthropic separates workflows, where models and tools follow predefined code paths, from agents, where models direct their own process and tool use [1]. In this book the default architecture is a controlled workflow with small AI components. An agent earns its place only when the next useful action really depends on what it discovers.

Why this matters now

Several things changed between 2025 and late 2026. Check any old tutorial against them before you copy its design.

The platforms gained real agent and control features. n8n 2.0, released in December 2025, was a hardening release. It separates saving from publishing, so edits don’t reach the live workflow until you publish. It makes task runners the default for Code nodes, blocks environment-variable access from Code nodes by default, and changes how waiting sub-workflows behave [4][5]. Later 2.x releases added human review of AI Agent tool calls, where the agent can’t run a gated tool until a person approves its exact parameters, along with version-history diffs and execution-data redaction [5][6]. Zapier now offers MCP access to app actions, a Human in the Loop app for approval and data collection, and Zapier Agents [20][23][26].

Billing units changed, and AI made usage harder to predict. Zapier Classic Zaps count successful billable actions as tasks, with product-specific exceptions [15]. Each successful Zapier MCP tool call uses two tasks, test calls included, and failed calls are free [16]. From 1 December 2026, Next Gen Zaps and Zapier SDK calls also consume tasks [17]. AI by Zapier steps are priced by model tier and tool usage [18]. Make replaced operations with credits in August 2025, and AI modules and code run at variable rates [28]. n8n’s plans bill per workflow execution, not per step [13]. The same process can cost very different amounts on each platform.

Older integrations were retired. OpenAI’s Assistants API reached its sunset on 26 August 2026, and the migration guide describes replacements [39]. The MCP TypeScript SDK now has a v1 maintenance line, which supports specifications up to 2025-11-25, and a v2 line for the 2026-07-28 specification [38]. “Supports MCP” doesn’t prove that every feature combination works. Record the exact client, server, SDK and protocol versions you tested.

Third-party limits changed. Since 29 May 2025, Slack limits conversations.history and conversations.replies for new installations of commercially distributed apps that aren’t approved for the Slack Marketplace. Internal customer-built apps keep the higher tier [40]. Blanket claims about either Slack or Zapier limits are unreliable, so classify your integration before you design around them.

The rules caught up. In the EU, the AI Act’s AI literacy duty has applied since 2 February 2025. General applicability and the Article 50 transparency duties, such as telling people they are talking to an AI system, have applied since 2 August 2026. The 2026 Digital Omnibus amendments postponed the stand-alone high-risk obligations to December 2027 [41][42]. Don’t rely on the original 2024 timetable. In the UK, the Data (Use and Access) Act 2025 replaced UK GDPR Article 22 with Articles 22A–22D. Solely automated significant decisions are now broadly allowed, with safeguards [43][44]. The ICO’s draft guidance says human involvement must be meaningful and must happen before the decision takes effect [45]. In the US, Colorado replaced its original AI Act with a narrower law that takes effect on 1 January 2027 [48]. Guides citing the earlier Colorado deadline are out of date.

What usually goes wrong, and why

  • Automating the wrong process. Teams start with whatever is most annoying, not what is frequent, stable and well understood. A process that changes every month breaks its automation every month.
  • Agents where a workflow would do. An agent that picks its own steps is slower, costs more and is harder to debug than a fixed sequence with one model call inside it [1].
  • No idempotency. Webhooks are delivered at least once. Stripe, for example, documents duplicate deliveries and warns against relying on event order [29]. Without a deduplication key, a retry creates a second invoice, a second CRM record or a second customer email.
  • Silent failure. In n8n, setting a node’s On Error to Continue lets the execution succeed, so the error workflow never fires [7]. In Zapier, publishing a custom error handler turns off Autoreplay for that Zap [25]. A Human in the Loop step can report success after a decline or a timeout if it is configured to continue [21].
  • Valid but wrong output. A model can return perfectly valid JSON that contains an invented account number. A schema only checks structure.
  • Excessive agency. An agent gets a broad API key “for the prototype” and nobody narrows it. OWASP lists Prompt Injection (LLM01) and Excessive Agency (LLM06) among the top LLM risks for 2025, and the two combine: text in an inbound email can steer an agent that holds write permissions [33].
  • Self-hosting without operating. In January 2026, CVE-2026-21858 allowed unauthenticated remote code execution through certain form-based n8n workflows. Australia’s ACSC told users to upgrade to 1.121.0 or later [49]. More critical expression-escape vulnerabilities followed [50]. An unpatched instance holding every company credential is a serious liability.
  • Rubber-stamp approvals. A person “approves” 300 items in one batch at 5 pm. That isn’t oversight, and the ICO’s draft guidance doesn’t treat retrospective batch sign-off as meaningful involvement [45]. Reviewers can also approve a proposal that has gone stale.
  • Counting gross savings. Teams report minutes saved and leave out review, exceptions and maintenance.

Treat these as separate failure classes, because each is fixed in a different place:

  • Process failure: the rule underneath is ambiguous or contradictory.
  • Integration failure: systems disagree about identity, state or delivery.
  • Judgement failure: the AI reaches an unsupported conclusion.
  • Control failure: the system allows an action outside its authority.
  • Operating failure: nobody owns the backlog, the alert or the repair.

Don’t respond to every failure by changing the prompt. Fix the layer that failed.

What good looks like

For every business case, the operator can answer:

  • What triggered it?
  • Which policy and workflow version applied?
  • What did the AI propose?
  • What authorized the action?
  • What changed in the destination?
  • What remains unresolved?
  • How can the action be stopped, corrected or reconciled?

A good automation programme has these properties:

  • A short, ranked list of processes, each with a named owner and a written spec.
  • Each step runs at the lowest level of autonomy that does the job.
  • Every external write is idempotent, logged, and either reversible or gated.
  • Every AI step returns structured output that is validated before anything acts on it.
  • A fixed evaluation set that every change is tested against before it is published.
  • A dashboard covering verified completion, exceptions, overrides, cost and net time saved, reviewed every week.
  • A runbook that tells whoever is on duty what to do when it breaks.

2. Before you start

Choose a process whose outcome you can check in a system of record. “Improve operations” is too broad. “Create one internal onboarding project for each approved account” is testable.

Gather examples before you discuss architecture. Include ordinary cases, exceptions, duplicates, incomplete records and cases where a person refused to proceed. Remove any information the builder doesn’t need.

Inputs

  • Process candidates: 5–20 recurring tasks with rough weekly volume and minutes per instance.
  • Process artefacts: SOPs, templates, sample inputs (sanitized), and the systems each process touches.
  • Owners: a business owner who accepts the outcome and a technical operator who maintains the workflow.
  • Risk appetite: which actions may run without a person. For example: “update CRM fields: yes; send to a customer: no; issue a refund: never.”

Access and accounts

  • Admin rights on the automation platform. That can be Zapier (Autoreplay needs Professional or higher [24]), n8n Cloud, or a self-hosted n8n instance that you can patch.
  • A separate sandbox workspace, project or instance, and test accounts in each connected app: a CRM sandbox, Stripe test mode, a test inbox.
  • Model provider accounts with spending limits and budget alerts.
  • A secrets store: the platform’s credential facility or an approved external secrets manager.
  • A logging destination: a database table, n8n data tables (check your instance’s storage limit [9]), Zapier Tables or your warehouse.

Decisions to make up front

Decision Required answer Evidence
Identity Which immutable ID identifies the entity? System documentation and a sample
Eligibility Which rule admits a case? Policy approved by the owner
Authority Who may approve each write? Role or access policy
Freshness How old may evidence be? Process requirement
Data Which fields must never reach a model, and which only reach providers under approved terms? Data classification
Retention When must each data category be deleted? Approved schedule
Recovery What happens after an uncertain write? Runbook
Budget What stops further spending? Configured limit
Approvals Where do approvals happen, and who are the primary and backup approvers? Agreed rota

Classify the actual use case. If any step makes a decision with legal or similarly significant effects on a person, such as hiring, credit, insurance pricing or access to a service, involve qualified counsel before you build. In the EU, GDPR Article 22 restricts solely automated decisions of this kind [47], and the AI Act’s high-risk categories are on the amended timetable [41][42]. In the UK, check Articles 22A–22D and current ICO guidance [43][44].

Decide and record whether you need a data protection impact assessment. The ICO recommends assessing necessity, proportionality, risks to personal data and meaningful human involvement [46]. Record your reasoning even if you conclude a DPIA isn’t needed.

For a first implementation, pick internal coordination or preparation work. Keep employment, credit, medical and similarly consequential decisions under a separately approved governance process.

Intake checklist

  • Business owner and technical operator named
  • Source event or scheduled query identified
  • Authoritative destination record identified
  • Eligible population and completion condition defined
  • Candidate list with weekly volume and minutes per instance
  • At least 30 sanitized real examples per candidate, including exceptions
  • Systems touched listed, with API or connector access confirmed
  • Sandbox workspace and test accounts created
  • Spending limits and alerts set on model providers and the platform
  • Secrets store chosen; nobody shares credentials over chat
  • Personal, confidential and restricted fields identified
  • Processing locations and retention documented
  • Actions that need human approval defined; approvers and backups agreed
  • Significant-decision check done, with counsel involved where needed
  • Manual fallback and stop condition defined
  • Logging destination created
  • Success metric for the first process written down

3. The method

Nine steps. A step is complete when its evidence exists, not when the editor looks finished.

1. Select and size the process

  • What to do: Score the candidates on volume, time cost, stability, rule clarity, input structure, error cost and data sensitivity. Pick one, and record a baseline.
  • Why: The choice of process decides most of the return. Frequent, stable, well-understood processes pay back. Rare or changing ones don’t.
  • Done when: One process is selected, with a scored table and a baseline of weekly volume, minutes per instance, error rate and cycle time.

2. Specify the process contract

  • What to do: Write a one-page spec covering the trigger, eligible cases, authoritative data, rules, permitted actions, exceptions, SLA, owner and a field-level definition of “correct”.
  • Why: A model can’t reliably fill in missing business policy. The spec becomes your test oracle.
  • Done when: The owner signs off the spec, and two people classify the same sample cases the same way using it.

3. Choose the autonomy level, step by step

  • What to do: Give each step of the spec one of five levels: rule, AI-assisted, AI step with validation, gated agent, or autonomous agent.
  • Why: You choose autonomy per step, not for the whole process. Most steps should be rules.
  • Done when: Every step has a level and a one-line reason, and every step at level 3 or above names how its result is verified.

4. Choose platform and hosting

  • What to do: Choose Zapier, n8n Cloud, self-hosted n8n, Make or custom code against the controls you need. Model the cost at 1x and 3x volume. Check the licence terms.
  • Why: Billing units, data handling, licensing and operating burden differ a lot between platforms.
  • Done when: A dated decision record explains the choice, the rejected alternatives, the cost and the patching owner if you self-host.

5. Establish access and data boundaries

  • What to do: Set up dedicated identities, minimum permissions, separate environments, field allowlists, retention by store and a version record.
  • Why: Prompt instructions can’t replace access controls.
  • Done when: Denial tests show that unauthorized records, actions and destinations can’t be reached.

6. Build the deterministic skeleton

  • What to do: Build trigger authentication, validation, the operation ledger, atomic deduplication, idempotent writes, bounded retries, the error path, destination verification and reconciliation. Leave AI out for now.
  • Why: Most production failures are plumbing failures. Language quality doesn’t fix delivery uncertainty.
  • Done when: Sending the same input three times, including concurrently, produces exactly one effect, and a forced failure reaches the alert channel.

7. Add AI steps and approvals with guardrails

  • What to do: Give the model a narrow task, a schema, approved evidence and a way to abstain. Scope its tools. Bind each approval to the exact proposal.
  • Why: Narrow tasks and structured output turn a probabilistic component into one you can check. Gates limit the damage from prompt injection and confabulation [33][34].
  • Done when: Invalid or unsupported output goes to a person, every write tool has a scope and a gate decision, and approval, denial, timeout and changed-data paths are all tested.

8. Test, evaluate and launch with controls

  • What to do: Run functional, adversarial, recovery and economic tests against a golden dataset. Then shadow live traffic, roll out in stages, and publish a versioned release with a runbook.
  • Why: Production includes cases that tests in the editor don’t. A controlled launch keeps the blast radius small.
  • Done when: The owner approves a release packet with evidence, a tested stop control and a tested rollback.

9. Operate and improve

  • What to do: Reconcile outcomes, review metrics weekly, re-run evaluations on every change, patch the platform, review cost monthly and retire automations that stop paying.
  • Why: Upstream apps change, models change and processes drift. An automation that nobody looks after gets worse.
  • Done when: Another operator can run it from the runbook and dashboard, and each automation gets a quarterly decision to keep, change or retire it.

For a wider governance map of organizational risk, use NIST’s Generative AI Profile. It is a voluntary companion to the AI Risk Management Framework. It is not a product certification and not evidence that your workflow is safe [34].


THE AI AUTOMATION PLAYBOOK cover

Keep going: the full playbook

  • Playbook steps
  • Trigger
  • Eligible / excluded cases
  • Authoritative systems and stable identifiers
  • Inputs
  • Steps (as done by hand today)
  • Rules
  • Permitted reads / writes / approval-required / prohibited actions
  • Exceptions (route to a person)
Get the full volume · $5.80BF −80%

Book + Claude skill + MCP access. Black Friday 2026 price. Back to the book page

Or start free

4 complete playbooks, the 7-day Claude Code course and a key your AI can use right now. No card.

Free. We email you about new lessons and volumes now and then. Unsubscribe any time.

Secure checkout with Stripe

Where should we send your key?

Your licence key and receipt go to this email. If checkout fails or you get interrupted, we can send you a link to finish.

One payment, instant access. We never see your card.