AI Automation with n8n, Make and ZapierZapier in depth · Lesson 7 of 17

Zapier fundamentals: Zaps, paths, formatter and code

Article · 15 min · 8 min lecture

Video lecture

Zapier fundamentals: Zaps, paths, formatter and code

13 chapters · about 8 min · full transcript

Coming soon

Chapter 1 of 13

Zapier fundamentals

  • 8,000+ apps, linear Zaps
  • Filters, paths, formatter, code
  • Reliability features
  • Build a lead-to-CRM Zap

The narrated lecture is in production

Every chapter is scripted and ready. Browse the chapters and read the full transcript now — the video will appear here when it’s published.

Chapters

Why Zapier

Zapier is the most widely adopted no-code automation platform, with a catalog of more than 8,000 app integrations. Its linear Zap model is the easiest for non-technical teams to understand, and its breadth means the app you need is probably already connected. It is cloud-only and billed primarily by tasks (successful action steps), with plan limits and features that change over time; check current pricing.

Zap anatomy

ElementPurpose
TriggerEvent in an app ("New form entry", "New deal") or Webhooks by Zapier "Catch Hook", Schedule by Zapier
ActionsCreate/update/find records, send messages
Search actions with "create if not found"Upsert patterns without code
Filter by ZapierContinue only if conditions match
Paths by ZapierBranch into different sequences based on rules
Formatter by ZapierText, numbers, dates, line items, lookup tables, utilities
Delay by ZapierWait for a time or until a date
Looping by ZapierRun actions for each item in a list
Code by ZapierJavaScript or Python for custom logic
Webhooks by ZapierReceive webhooks and send custom HTTP requests
Sub-ZapsReusable Zap components called from other Zaps
Storage / Tables / InterfacesSimple key-value storage, database tables, forms and portals

Mapping fields

Each step's output fields appear in a picker for later steps. Zapier often provides both a "pretty" and a raw version of fields. When fields are line items (arrays), some apps accept them directly; otherwise use Formatter "Line-item" utilities or Looping.

Code by Zapier

JavaScript example (inputs mapped into inputData):

// Code by Zapier (JavaScript). Map email, phone, country into Input Data.
const email = (inputData.email || "").trim().toLowerCase();
let phone = (inputData.phone || "").replace(/[^\d+]/g, "");
const cc = { AE: "971", PK: "92", SA: "966", GB: "44", US: "1" }[inputData.country || "AE"];
if (phone.startsWith("00")) phone = "+" + phone.slice(2);
if (!phone.startsWith("+")) phone = "+" + cc + phone.replace(/^0+/, "");
output = [{ email, phone }];

Python version uses input_data and sets output. Keep code steps small and well commented; they run with time and memory limits.

Reliability features

  • Zap history: every run with data in and out; filter by status.
  • Autoreplay (plan-dependent): automatically retry failed steps.
  • Error notifications and custom error handling paths (check current features).
  • Versioning and change history on higher plans.

Worked example: a UK coaching business onboarding flow

Trigger: Stripe "New payment". Steps: Find or create the customer in HubSpot; Paths by Zapier: Path A (1:1 coaching product) -> create a Google Calendar booking link email and a Trello card; Path B (group program) -> add to a Mailchimp audience tag and a Circle community invite; Formatter to format the program start date for the UK; Slack message to the coach; Delay 3 days -> send a check-in email. No code, built in an afternoon, readable by the whole team.

Hands-on: build a lead-to-CRM Zap with dedupe and routing

  1. Trigger: your form app ("New submission") or Webhooks by Zapier > Catch Hook.
  2. Code by Zapier (normalize email and phone, as above).
  3. CRM > Find Contact by email, with "Create if not found" enabled.
  4. Filter: only continue if the contact was newly created (or if lifecycle stage is empty).
  5. Paths: Path "Gulf" (country is AE or SA) -> assign owner A; Path "Pakistan" (PK) -> owner B; Path "Other" -> owner C.
  6. Slack > Send Channel Message with name, company, source and a CRM link.
  7. Test each step with real sample data, then publish and watch Zap history for the first live runs.

Pitfalls

  • Building 20-step Zaps without sub-Zaps, making maintenance painful.
  • Assuming polling triggers are instant; check each trigger's type and frequency.
  • Letting task usage explode with Looping over large lists.

Measuring success

  • Time from lead submission to owner notification (target: under five minutes).
  • Duplicate contacts created per month (target: zero, thanks to find-or-create).
  • Task usage per lead (watch for loops and late filters).
  • Failed runs per week and time to fix, from Zap history.

When to move beyond Zapier

Consider n8n or Make when you need complex data transformations across many line items, very high volumes where task costs grow quickly, self-hosting for data residency, or deep custom code. Many teams keep Zapier for simple, broad integrations and use another platform for the heavy lifting.

Key takeaways

  • Zapier offers 8,000+ app integrations with a readable linear Zap model, billed mainly by tasks.
  • Built-ins include Filter, Paths, Formatter, Delay, Looping, Code (JavaScript/Python), Webhooks, Sub-Zaps, Storage, Tables and Interfaces.
  • Use find-or-create searches for upserts, small commented code steps for normalization, and sub-Zaps for reuse.
  • Rely on Zap history, autoreplay and error notifications; filter early to control task usage.

Check your understanding

Quick questions to lock in the lesson. They don’t count towards your certificate.

  1. You need 'create the contact only if it does not already exist' in Zapier without code. What should you use?
  2. In Code by Zapier (JavaScript), how do mapped values arrive and how do you return results?
  3. A Zap loops over 2,000 rows but discards most after a later filter. What reduces task usage most?

Put it into practice

Build the lead-to-CRM Zap (Code normalize, find-or-create, filter new, paths by region, Slack). Test each step, publish it and review Zap history after the first three live leads.

Enrol for free to save your progress

Reading is always free. Enrol to keep your place, take the final assessment and earn a verifiable certificate.