Automations with n8n and Zapier

Build your first sellable workflow (form in, AI reply out, CRM updated) with proper error handling, and understand the building blocks every platform shares.

Every automation you will ever sell is the same five blocks in a different order: a trigger, some data shaping, an AI step, an action, and error handling. Once you can build the lead-response workflow below in both Zapier and n8n, you can build 80% of what clients ask for. This lesson walks through that build and the habits that separate a demo from something a business can rely on.

The five building blocks

Block Zapier name n8n name Example
Trigger Trigger Trigger node (Webhook, Gmail, Schedule) New Tally form submission
Transform Formatter Set / Code / Edit Fields Clean the phone number, build the prompt
AI step AI by Zapier / Anthropic / OpenAI action Anthropic / OpenAI / AI Agent node Generate the reply and classify intent
Action Action Node (Gmail, Google Sheets, HubSpot, HTTP Request) Send email, create CRM contact
Control Filter / Paths IF / Switch / Error Trigger Only reply if needs_human is false

Learn these words and the platform documentation starts to make sense.

The first sellable workflow, step by step

Goal: a web form enquiry gets a personalised reply within 2 minutes, lands in a spreadsheet or CRM, and the owner is pinged when a human is needed.

  1. Trigger: Tally or the site's form posts to a webhook (n8n) or triggers the Tally app (Zapier).
  2. Transform: build the prompt text by inserting the enquiry fields into your production prompt from the previous lesson.
  3. AI step: call Claude or OpenAI, request JSON with reply, intent, needs_human.
  4. Control: IF needs_human is true → send the owner a Slack or email alert with the original message and stop. Else continue.
  5. Action A: send the reply by Gmail or the client's mail provider, from the client's address, with the booking link.
  6. Action B: append a row to Google Sheets or create a contact in HubSpot/Pipedrive with name, email, intent, timestamp.
  7. Error path: if any step fails, notify yourself and the owner; never fail silently.

Build time once you know the tools: 2–4 hours. Test with at least 10 varied enquiries including a rude one, an off-topic one, and one in a second language.

Tip

Add a 60–120 second delay before the reply is sent and a "draft mode" switch for the first week: replies go to the owner for approval instead of the customer. Owners relax when they have seen 30 drafts they would have sent themselves, and you get a labelled test set for free.

Error handling is the product

A demo works once. A product works on the 400th run when the CRM API times out. Minimum standards:

  • Retry with backoff on HTTP steps (n8n: node settings → Retry On Fail, 3 tries, 5 s wait; Zapier retries some errors automatically, check the task history).
  • An error workflow that catches failures and messages you with the execution link.
  • Idempotency: if the trigger fires twice, the customer must not get two emails. Check the spreadsheet or CRM for the email address before sending.
  • Timeouts and fallbacks: if the AI step fails, send a short fixed acknowledgement ("Thanks, we'll reply within an hour") and alert a human.

Zapier or n8n for this build?

Zapier: faster to build, the client can read it, about 3–5 tasks per enquiry, so 300 enquiries a month fit in the ~750-task plan. n8n: one execution per enquiry regardless of steps, cheaper at volume, and you can host it in the EU. For your first paid client, use whatever gets delivered this week.

Secrets and credentials

Create the integrations with the client's own accounts (their Gmail, their HubSpot) using credentials they can revoke. Store any API keys in the platform's credential vault, never in a Set node or a Google Sheet. When the engagement ends, the client keeps control of their data and you keep your reputation.

Beginner mistake: one giant workflow

Thirty nodes handling enquiries, reviews and invoices in one canvas. When it breaks, everything breaks and nobody can read it. One workflow per job, named client-purpose-v1, with a one-line description at the top. Small workflows are easier to sell, price and hand over.

Do this before moving on
  • Built the lead-response workflow end to end in one platform
  • Tested it with 10 enquiries including rude, off-topic and foreign-language cases
  • Added retries, an error notification and a duplicate check
  • Credentials live in the platform vault under the client's account

Sources & further reading

  • n8n documentation: Webhook node, IF node, Error Trigger, retry settings
  • Zapier help centre: Paths, Filters, task history and retry behaviour
  • Anthropic and OpenAI API documentation on structured/JSON outputs
  • Tally and Cal.com documentation for webhooks and booking links