Zapier integration playbook
Builds, publishes, grows and maintains a B2B SaaS vendor's own Zapier integration - Platform CLI code (triggers, actions, auth, invoke and push), Zapier's review and beta, Partner Program tiers, publishing Zap templates, Workflow Element embeds and versioning without breaking live Zaps. Use whenever the user mentions their Zapier integration, zapier-platform CLI or Platform UI, the Zapier app directory, or a Zapier trigger that misses or duplicates records. Do NOT use for building Zaps as an end user, for calling existing Zapier apps from code or agents (Zapier SDK, Zapier MCP), for choosing embedded iPaaS (use samber/developer-platform-skills@connector-marketplace-strategy), or for generic marketplace listing work (use samber/developer-platform-skills@integration-listing-optimization).
By- name:
- zapier-integration-playbook
- description:
- Builds, publishes, grows and maintains a B2B SaaS vendor's own Zapier integration - Platform CLI code (triggers, actions, auth, invoke and push), Zapier's review and beta, Partner Program tiers, publishing Zap templates, Workflow Element embeds and versioning without breaking live Zaps. Use whenever the user mentions their Zapier integration, zapier-platform CLI or Platform UI, the Zapier app directory, or a Zapier trigger that misses or duplicates records. Do NOT use for building Zaps as an end user, for calling existing Zapier apps from code or agents (Zapier SDK, Zapier MCP), for choosing embedded iPaaS (use samber/developer-platform-skills@connector-marketplace-strategy), or for generic marketplace listing work (use samber/developer-platform-skills@integration-listing-optimization).
Zapier integration playbook
You own a SaaS product's integration on Zapier: a set of triggers, actions and searches that thousands of users wire into Zaps you never see. Every live Zap depends on today's keys and field shapes.
Changes that break live Zaps
Zapier's change matrix and deduplication docs make each of these breaking in effect. Each stops existing Zaps, floods them, or forces users to rebuild them by hand:
- Renaming or removing a trigger, action, input-field or output-field key.
- Changing an output's response structure, or an input field's type.
- Switching a trigger between polling and REST hook.
- Changing the auth scheme, renaming an auth field, or adding a required auth field.
- Adding a required input field, unless it defaults.
- Changing what counts as "new" on a live polling trigger: sort order, page contents or id format. Each live Zap's dedupe memory holds the old ids, so the first poll after the change fires every unseen item as new.
Ship the replacement beside the original instead: copy the step under a new key (new_invoice_v2) with the same name and description, make the change there, hide the old step. Old Zaps keep running; new Zaps get the new step. Hiding a step invalidates every Zap template built on it: rebuild and resubmit those templates on the new key. Breaking changes that cannot ship this way need a new major version, and Zapier blocks user migration across majors: every user updates their Zaps manually.
Promotion blocks most schema-level breaking changes inside a major, but not renamed or removed output keys, changed response structure, or changed perform behavior. Diff those yourself before every promotion.
| Rationalization | Why it fails |
|---|---|
| "The key is ugly, let's rename it." | Users never see keys. Renaming breaks every Zap using it. |
| "It's a small user base, they'll rebuild their Zaps." | Zapier gives you no user email list; you reach them only through your own channels. |
| "Just fix the sort order in place, it's a bug." | Every live Zap floods with old records on the next poll. Twin it under a new key. |
| "We'll migrate everyone to 2.0." | Migrations stop at the major boundary, in the UI and CLI alike. |
| "Polling is slow; flip the trigger to instant." | Type changes are breaking. Add an instant twin under a new key, hide the polling one. |
Interview
Ask one question at a time; skip what the request or repo already answers. When you cannot ask, state an assumption for each missing answer and flag it in the output:
- Stage: no integration, private (how many users), submitted, beta, or public? Platform UI or CLI?
- Current steps: which triggers, actions, searches; polling or hook; auth scheme?
- Does the API expose a webhook subscription endpoint, newest-first sorting, unique ids, OAuth?
- Which jobs do customers automate today: support tickets, CSV exports, "do you integrate with X" requests?
- Date a result must land by, one-off launch or compounding channel, and engineering days available.
Re-rank every menu below against answers 3 and 5, and say which answer moved which option. Use answer 1 to choose UI or CLI (see Build).
Route by stage
- Any version with live users, or any planned change to one → classify every change first (Maintain, step 4), then continue below.
- No integration or private → Design, Build, then Publish.
- Submitted → Publish steps 4-5; draft templates and help articles while review runs.
- Beta or public → Grow; go back to Design for any step whose 24-hour activation trails the others.
- Deciding whether to be on Zapier at all → samber/developer-platform-skills@connector-marketplace-strategy.
Design
- Pick the steps from customer jobs, not from the API reference. Read Zapier's recommended steps for the app's category on its recommended-triggers-and-actions page when you can browse; otherwise start from the examples in references/platform-rules.md. Keep what support tickets and exports prove people do. Order: event triggers on core objects > creates on core objects > searches that feed dropdowns and search-or-create > updates > everything else. Ship four to eight good steps before twenty thin ones.
- Shape the steps Zapier's way: create-or-update becomes a search-or-create plus an Update action; avoid deletes, and give any delete a copy field saying it is irreversible.
- Use the product's own nouns. Step names title-cased (
New Invoice,Create Customer,Find Invoice), field labels sentence-cased; descriptions "Triggers when…", "Creates a…", "Finds a…". - Auth: OAuth v2 when the product already issues OAuth tokens, else self-serve API key. Basic auth is acceptable but weakest. Users who must email support for a key block publication. Return HTTP 401 on expired tokens: Zapier refreshes on 401 only.
- Trigger type: REST hook (shown as Instant) when the API can create and delete webhook subscriptions per Zap and keep several alive at once. Otherwise polling. Never a static webhook in a public integration. Every hook trigger also needs a perform list returning the exact payload schema; hook deliveries are not deduplicated, so send each event once.
- Polling contract: newest-first, a unique primary key that never changes format, enough items per page to cover a burst (Zapier never reads page two). Zapier dedupes by id per Zap, so never filter "already sent" items server-side. An "updated" trigger needs a composite id such as
id-updated_at; keep the original id in another field. Prefer a specific state trigger (New Paid Invoice) over a generic "Updated Invoice". A trigger that routinely exceeds 100 new items per poll belongs on a hook. - Fields: no input a user must type an id into; back each with a dynamic dropdown from a hidden trigger, plus a search for mapped values. Expose account custom fields as dynamic fields. Mirror the API's required fields exactly.
- Output and samples: return id, human name, link to the record, ISO 8601 dates with offset, split names and addresses. Static sample data: one item, realistic values, only keys every account returns, so no custom fields.
- Errors: never return 200 on a failure. User-fixable failures raise a normal error naming the field and the reason, under 250 characters (Zapier truncates the rest). Unmet preconditions (duplicate, already paid) raise a halted error, which never counts toward the auto-off rule. Let 429 surface with a
Retry-Afterheader: Zapier retries it. During a known outage, throw a throttled error with a delay; an uncaught 5xx errors the run toward the auto-off rule. Searches with no match return an empty array. - Never move money. Publishing rules ban facilitating payments or asset transfers. Recording a completed payment matches Zapier's own accounting recommendations; confirm anything that starts a charge, such as a payment link, with Zapier partner support before building it.
For an inherited integration, audit against this list first and classify each fix as additive (new key, hide old) or breaking (new major). Prefer additive fixes inside the current major. A version is editable only while private with fewer than 5 users: otherwise clone it to the next minor of the same major (1.0.3 → 1.1.0), fix the clone, promote, migrate. Hidden steps keep serving existing Zaps; confirm in validation that hiding a static-webhook step clears its publishing check.
Build
Default to the CLI: the integration lives as code, so a private staging integration is one register away and stays identical to production. Keep the Platform UI only for a small integration that a non-engineer maintains and that needs no staging copy. Moving UI → CLI is a convert; CLI → UI is a manual rebuild users cannot migrate to. For the code-level API, read references/cli-build.md.
- Scaffold with
zapier-platform init,registerthe integration, pinzapier-platform-coreexactly inpackage.json, keep secrets in per-version environment variables. - Write
authenticationwith a cheaptestcall and a connection label; for OAuth2 setrefreshAccessTokenandautoRefresh. - Write each step from the Design list: triggers (polling
perform, or hookperformSubscribe/performUnsubscribe/perform/performList), creates, searches,searchOrCreates. - Add input fields (static, dynamic dropdowns, dynamic fields, line items), output fields and a static
sampleper step. - Centralize auth headers and error mapping in
beforeRequest/afterResponse; throw onlyz.errors.*. - Test locally with
zapier-platform invokeand unit tests with mocked HTTP, thenvalidateandpusha version. - Register a second, private integration (
<App> (Staging)) from the same code. Keep the.zapierapprcthatregisterorlinkwrites for each integration as a per-environment file, and copy the right one in beforepush. Point the staging integration's environment variables at your staging API. Invite testers withusers:addorusers:links, and push andinvokethere before you push to production. Never promote it: private integrations stay out of the app directory, and Zapier allows one public integration per app.
Publish
- Make every visible step pass a live run: at least 3 users with a live Zap, one live Zap and one successful run per visible step, in the admins' Zap history. Hide steps nobody can exercise.
- Clear every validation Error and Publishing Task in the Developer Platform; Warnings don't block but read them.
- Meet the eligibility rules: a publicly launched product, API ownership, production HTTPS endpoints, a non-expiring test account with paid features, an admin with a company-domain email, one public integration per app, not a Zapier competitor. See references/platform-rules.md.
- Submit from Integration Home; a reviewer replies with outstanding items, typically within a week. Each fix round adds about another week.
- Approval lists you in the app directory as Beta. Beta ends after 90 days, or the next business day after Zapier detects one signup from any of your Zapier embeds.
Against a deadline, count backwards: recruiting the 3 live users comes before submission, templates exist only after approval, template review takes about two weeks. Four weeks between submission and the date is the happy-path minimum.
Grow
Efficiency: Zap templates > a template embedded in the launch post and help articles > Workflow Element on the product's integrations page > Zapier surfaced in onboarding, support answers and empty integration search > Zapier spotlight benefits (Silver and up) > a custom marketplace on the Workflow API.
| Lever | Value | Low effort | Gate |
|---|---|---|---|
| 5-10 Zap templates for the top jobs | ++ | +++ | beta or public, ~2-week review |
| Template embed in launch post and help article per job | ++ | +++ (minutes) | one public template |
| Workflow Element in-product | +++ | ++ (an hour or two) | beta or public, a public template, domain allowlist |
| Onboarding, support macros, empty-search fallback | ++ | ++ | none |
| Newsletter spotlight, featured week, blog flyover | + | ++ | Silver+ (50 active users) |
| Custom marketplace on the Workflow API | +++ | - (a week) | engineering capacity |
- Submit templates on approval day: every other surface embeds them, and private integrations cannot have any. Anyone can publish templates for your app, and Zapier generates some from usage; yours are the ones you control.
- Any Zapier embed that produces one signup exits beta the next business day and, with a healthy score and the minimum active users, unlocks the next tier's benefits early. A deadline makes the first public template, embedded in the launch post, the fastest route; add the Workflow Element once templates are public.
- The order starves the Workflow API marketplace. Promote it when the product already runs an integrations directory with heavy search traffic. If Zapier must stay invisible in-product, that is an embedded-iPaaS decision for connector-marketplace-strategy.
- Zapier-led co-marketing campaigns are Platinum only, and Zapier pays partners no revenue share; the return is retained, activated users.
- Write template copy to Zapier's rules: see references/templates.md.
Maintain
- Read the Partner Program tier inputs: active users this quarter (tiers re-evaluated each January, April, July, October) and a health score built from open bug reports, feature requests and response to them, not from error rates. Work the Bugs & Feature Requests queue weekly, or sync it to your tracker with Zapier Issue Manager; keep users affected by open bugs under 10% of monthly actives.
- Watch Zap activation within 24 hours by trigger and by action. A low step means a design defect: test it in the editor yourself.
- Watch run errors: a Zap erroring on 95% of more than 20 runs over 7 days turns off. Zapier documents no integration-level error threshold for delisting; don't promise one.
- For any change, classify it with references/versioning.md, then clone, change, validate and diff by hand before promoting. Automatic migrations are on by default: promotion itself moves a first group of users, so test first. CLI: canary 5-10% for 30-60 minutes. UI: share the clone with test accounts. Then promote, watch Monitoring, migrate the rest. Breaking changes go additive (new key, hide old) or to a new major.
- Public integrations sit in Zapier's Integration Maintenance Program by default: Zapier engineers may change your versions, and a CLI team must pull those changes before pushing or promoting. Only the Technical Contact can opt out.
- Deprecate only a version that will stop working, such as on an endpoint sunset; otherwise mark it legacy. Set the date 3 weeks to 1 year ahead; Zapier emails affected users 14 days before; with automatic migrations on, users migrated before then get no email. Announce in-app and by email too.
Measure
- Activation within 24 hours per step; target self-set, compare steps against each other.
- Quarterly active users against the next tier threshold; share of users on the promoted version.
- Open bugs and feature requests, and median days to first response.
- Templates live, embed click-to-activation funnel.
Output
Return these sections, in order:
- Assumptions, one line each, for every interview answer you lacked.
- Stage and route.
- Step table: key, label, type, change class (
keep/additive/hide/breaking/rejected), reason. - Auth and trigger-type decisions, each with the API capability it rests on.
- Publish checklist: item, owner role, week.
- Growth actions ranked, with the interview answer that moved each.
- Versioning plan: target version, canary, migration, what you diff by hand.
- Metric baseline: current value, or "unknown" plus where to read it.
Mark every Zapier platform number, from this file or its references, with † and a footnote: verify against Zapier's live docs before quoting it.
References
- samber/developer-platform-skills@webhook-platform-design - the subscription API a REST hook trigger needs.
- samber/developer-platform-skills@api-versioning-policy - deprecating the underlying API without stranding Zap users.
- samber/developer-platform-skills@oauth2-provider-design - the OAuth server Zapier connects through.
- samber/developer-platform-skills@integration-error-observability - your own per-integration logs beside Zapier's Monitoring.
- samber/developer-platform-skills@integration-partnership-strategy - whether Zapier beats a native integration for a given partner.
Open this reference as its own page
Building with the Zapier Platform CLI
Source: docs.zapier.com integrations/build-cli/* (overview, input-fields, dynamic-dropdowns, making-http-requests, testing-and-debugging, hydration), integrations/build/cli-hook-trigger, the CLI command reference and the platform schema (packages/schema/docs/build/schema.md in zapier/zapier-platform). Check the schema and CLI reference for the installed zapier-platform-core version before copying a key.
Contents
- UI or CLI
- Project and app definition
- Authentication
- Triggers
- Creates, searches, search-or-create
- Input fields
- Output fields and samples
- Requests, middleware, errors
- Files and hydration
- Test, push, release
UI or CLI
- Platform UI: form editor plus Code Mode; fine for a small API-key or OAuth integration a non-engineering owner maintains.
- CLI: source control, unit tests in CI, shared modules and npm packages, middleware, custom auth,
primary: trueoutput keys, canary releases. - UI → CLI:
zapier-platform convert <path> --integrationId <id> --version <x.y.z>, thenzapier-platform push. The project links to the same integration (.zapierapprc); push creates a new version, so users carry over through normal migration. - CLI → UI: no conversion. Developer Support creates an empty version, you rebuild it by hand, and users cannot be migrated to it. The move is one-way once users run on CLI versions; before that, delete the CLI version and continue in the UI.
Project and app definition
npm install -g zapier-platform-cli
zapier-platform login # --sso with a deploy key for SSO accounts
zapier-platform init my-app # pick a template: minimal, oauth2, custom-auth, dynamic-dropdown...; --language typescript
zapier-platform register "Acme Billing" # creates the integration on Zapier
zapier-platform scaffold trigger invoice # adds triggers/invoice.js and wires it into index.js
- Integrations run on Node.js 22; run tests on 22 in CI even if you develop on another version.
index.jsexports one app object:version(frompackage.json),platformVersion(fromzapier-platform-core),authentication,beforeRequest,afterResponse,requestTemplate,hydrators,triggers,searches,creates,searchOrCreates,resources,flags,throttle.- Pin
zapier-platform-coreto an exact version inpackage.jsonand upgrade deliberately; old cores keep working, butD027warns when you lag, and Zapier may set an upgrade deadline. - Secrets live in per-version environment variables:
zapier-platform env:set 1.0.0 CLIENT_ID=... CLIENT_SECRET=...; locally in.env.
Authentication
authentication.type is one of basic, custom, digest, oauth1, oauth2, session; test (a request or function hitting a cheap "who am I" endpoint) is required.
| Need | Type | Key parts |
|---|---|---|
| API key, or key-as-Basic | custom |
fields (key, plus subdomain if any), a beforeRequest that adds the header |
| Username + password | basic / digest |
fields provided automatically |
Token exchange, non-standard grant (e.g. client_credentials) |
session |
sessionConfig.perform returns { sessionKey }; beforeRequest adds it |
| Third-party OAuth | oauth2 |
oauth2Config.authorizeUrl, getAccessToken, optional refreshAccessToken, autoRefresh: true, scope, enablePkce |
connectionLabel: a{{...}}string or a function naming the account (email, workspace). Never a secret.- OAuth2: store the app's client id and secret as
CLIENT_ID/CLIENT_SECRETenvironment variables (env:set) and read them as{{process.env.CLIENT_ID}}; Zapier generatesstate; find theredirect_uriwithzapier-platform describe. - With
autoRefresh, a 401 triggersrefreshAccessToken(session:sessionConfig.perform) and a retry. Extra values returned there are stored inbundle.authData; declare them ascomputed: truefields. - Validate any user-supplied subdomain before building URLs from it.
Triggers
triggers: {
new_invoice: {
key: 'new_invoice',
noun: 'Invoice',
display: { label: 'New Invoice', description: 'Triggers when a new invoice is created.' },
operation: {
perform: async (z, bundle) => {
const res = await z.request({ url: 'https://api.acme.test/invoices', params: { sort: '-created_at', limit: 100 } });
return res.data.items; // array; the deduper keys on `id`
},
sample: { id: 1042, number: 'INV-1042', total: 120.5, created_at: '2026-01-15T10:00:00Z' },
outputFields: [{ key: 'id', label: 'Invoice ID', primary: true }, { key: 'number', label: 'Invoice Number' }],
},
},
},
- Polling: return an array, newest first. Without an
id, map one in (item.id = item.invoiceId) or setprimary: trueon output fields (v15.6.0+). - REST hook:
type: 'hook'plus four functions:performSubscribe: POSTbundle.targetUrlto your API; the returned JSON becomesbundle.subscribeData.performUnsubscribe: delete usingbundle.subscribeData.id.perform: turnbundle.cleanedRequestinto an array; return[]to skip an event.performList: same shape as the webhook payload, for editor samples.
- Honour
bundle.metain pollingperform:isLoadingSample,isFillingDynamicDropdown,isPopulatingDedupe(first poll seeding the dedupe list),limit,page. Test withinvoke --isPopulatingDedupeand--limit. - Hidden polling triggers (
display.hidden: true) power dynamic dropdowns; setcanPaginate: trueand readbundle.meta.pagefor long lists.
Creates, searches, search-or-create
- Create:
performreturns one object (id, name, link to the record). Search: returns an array, best match first; a miss is[]. searchOrCreates: { find_customer: { key: 'find_customer', display: {...}, search: 'find_customer', create: 'create_customer' } }: the key must equal the search key.updateandupdateInputFromSearchOutputare marked experimental.lockon a create serializes runs that must not overlap;throttlecaps calls per window.
Input fields
inputFields entries: key, label, type (string, text, integer, number, boolean, datetime, file, password, copy, code, json (core v18.4.0+)), required, helpText, default, placeholder, choices, list, children, dynamic, search, dependsOn, altersDynamicFields, computed.
- Dynamic dropdown from a hidden trigger:
dynamic: 'list_customers.id.name', plussearch: 'find_customer.id'so users can map a value. - Function dropdown (core v18.4.0+):
choices: { perform: async (z, bundle) => [...] }, withdependsOn: ['account_id']for parent fields. - Dynamic fields: put a function in the
inputFieldsarray returning field objects (e.g. the account's custom fields);bundle.inputDataholds values chosen so far. Only dropdowns acceptaltersDynamicFields: true, which re-runs those functions on change. - Line items: a field with
children: [...]sends an array of objects; don't usechildrenfor visual grouping. jsonfields accept a JSON Schema inschema;copyshows read-only Markdown help, e.g. the irreversibility warning on a delete.
Output fields and samples
sample: one realistic record with keys every account returns; validated againstoutputFields(D024).outputFields: labels for abbreviations, units and ids; nested keys asparent__key, line items asparent[]key; a function entry adds per-account custom fields.
Requests, middleware, errors
z.request(url | options)returns a response with.statusand parsed.data(core v10+);{{bundle.authData.x}}curlies work in shorthand request objects.- Request lifecycle: defaults →
beforeRequestmiddleware → auth headers → params → send → parse → log → 401 +autoRefreshraises refresh-auth →afterResponsemiddleware → automatic throw on status ≥ 400 unlessskipThrowForStatus. - From core v18, a 429 raises
ThrottledErrorbeforeafterResponse(opt out withflags.throwForThrottlingEarly: false; the default istrue, though the schema text reads the other way). Never swallow 401 or 429 inafterResponse. - Throw platform errors, never plain
Error:z.errors.Error(message, code, status): user must fix the Zap; counts toward auto-off.z.errors.HaltedError(message): precondition not met; never turns the Zap off.z.errors.ExpiredAuthError(message): user must reconnect; runs held for replay.z.errors.RefreshAuthError(): refresh and retry (OAuth2, session).z.errors.ThrottledError(message, delaySeconds): retry later; use it for a known outage too.
- Log with
z.console.log; read logs withzapier-platform logs.
Files and hydration
z.dehydrateFile(fn, inputData)returns a pointer Zapier resolves only when a later step needs the file;z.dehydrate(fn, inputData)does the same for expensive extra data. Registerfnunderhydrators.z.stashFile(bufferStringStream, [knownLength], [filename], [contentType])uploads file content to Zapier storage and returns a URL to pass downstream. Call it only inside a hydrator, or in a hookperformfor short-lived URLs; never in a pollingperform.
Test, push, release
zapier-platform invoke auth start # write authData to .env
zapier-platform invoke auth test # run authentication.test
zapier-platform invoke trigger new_invoice # local run; -r for remote
zapier-platform test # unit tests (createAppTester + nock)
zapier-platform validate # schema and publishing checks
zapier-platform push # uploads the version in package.json
zapier-platform promote 1.1.0
zapier-platform migrate 1.0.3 1.1.0 10 # percent, same major only
zapier-platform canary:create 1.0.3 1.1.0 -p 10 -d 3600
zapier-platform deprecate 1.0.0 2027-03-01 --reason=...
zapier-platform pull # fetch changes Zapier engineers made
- Unit tests:
const appTester = zapier.createAppTester(App); zapier.tools.env.inject();thenawait appTester(App.triggers.new_invoice.operation.perform, bundle); mock HTTP withnockso CI needs no credentials. - Invite testers to a private version with
zapier-platform users:add <email> <version>orusers:links; add co-developers withteam:add. Publishing needs 3 users with live Zaps. - Bump
package.jsonversion before each push; unlabelled versions push in sequence. Use labelled versions (1.2.0-beta) to iterate. - The legacy
zapierbinary is gone from current CLI releases; usezapier-platform.
Open this reference as its own page
Zapier platform rules and numbers
Zapier changes these numbers. Before quoting one to a stakeholder, check the page named beside it on docs.zapier.com; the site's llms.txt index lists every page and each page has a .md version.
Contents
- Recommended steps by category
- Auth schemes
- Runtime limits
- Publishing eligibility
- Validation checks that block publishing
- Stages
- Partner Program
- Run-error rules
Recommended steps by category
Source: integrations/quickstart/recommended-triggers-and-actions (about 40 categories; read the one matching the app).
| Category | Triggers | Actions | Searches / search-or-create |
|---|---|---|---|
| Accounting | New Payment, New Invoice/Bill, New Expense, New Customer, New Quote/Estimate | Create Customer, Create Invoice/Bill, Send Invoice, Create Payment/Sales Receipt | Find Invoice, Find Customer; Find or Create Customer |
| Contact management | New Contact/Lead/Company, New Form Submission | Create Contact, Add Contact to Group/Tag/List, Update Contact | Find Contact; Find or Create Contact |
| Customer support | New Ticket, New Customer, New Message, New Closed Conversation, Tag Added | Create/Update Ticket, Add Comment/Note, Send Message, Create Customer | Find Customer, Find Ticket; Find or Create Customer |
Auth schemes
Source: integrations/build/auth.
- OAuth v2 (preferred), API Key (next; keys must be self-serve), Session, Basic (least appropriate), Digest. Custom schemes need the CLI.
- The scheme can be replaced only on an unpromoted version with fewer than 5 active users. Otherwise clone a new major; ask Zapier first, since it can sometimes migrate connected accounts between schemes for public integrations.
- Zapier refreshes OAuth v2 and session credentials on HTTP 401 only. Throw the refresh-auth error in code if the API signals expiry another way.
- Credentials are collected only in the auth configuration, never in a step's fields, and never hardcoded.
Runtime limits
Source: integrations/build/operating-constraints, integration-build-guidelines.
| Limit | Value |
|---|---|
| Poll, hook processing, action, search, editor test | 30 s each, requests plus code |
| Polling interval | by the user's plan: Free 15 min, Professional 2, Team and Enterprise 1; Instant triggers ignore plan |
| New items per poll | 100 by default after dedupe; more holds runs and emails the user; only page one is read |
| Deduplication memory | 105,000 ids per Zap, cleared when the Zap turns off |
| REST hook intake | 10,000 per 5 minutes, 30 per second |
| Payloads | webhook 10 MB; action input 6 MB (35 MB on platform v17.2.0+); response 20 MB; files about 120 MB |
| Unsubscribed hook | Zapier answers 410: stop sending; DELETE <targetUrl> unsubscribes from your side and pauses that user's Zap |
| Hook deliveries | not deduplicated: never send one event twice |
| Error message | truncated at 250 characters |
| Editable versions | private with fewer than 5 users; otherwise clone |
Publishing eligibility
Source: integrations/publish/integration-publishing-requirements.
- You own the API or hold the owner's written permission; you hold the trademarks.
- Name equals the brand, no "Zapier", "app", "integration" or TM. Description opens "<Name> is a…", functional, no marketing claims. Homepage is the marketing site.
- The product is publicly launched, not invite-only; its API is documented.
- HTTPS everywhere, production endpoints only, English user-facing text.
- One public integration per app; duplicate or replacement integrations stay private.
- Description 40-140 characters.
- Test account for
integration-testing@zapier.com: non-expiring, paid features on. - One admin whose email domain matches the app's domain, employee or contractor.
- Banned: financial transactions, asset transfer, payment processing; spam or unsolicited messaging; steps that name or target a specific third-party site, or user-facing "scraping" wording (generic data-pull steps are allowed).
- Banned publishers: companies Zapier deems competitors, and apps from US-sanctioned countries.
Validation checks that block publishing
Source: integrations/publish/integration-checks-reference. Errors and Publishing Tasks block; Warnings don't.
| Code | Rule |
|---|---|
| S001 | At least 3 users with a live Zap (on, recent successful run) |
| S002 | One live Zap per visible trigger, action and search |
| T001 | One successful run per visible step, in the admins' Zap history |
| D006 | REST hook trigger needs a perform list (polling URL) |
| D017 | Static webhook discouraged; not allowed public |
| D004 | Id fields should have dynamic dropdowns |
| D010, D012, D024 | Static sample present, contains the primary key, matches output fields |
| T002, T004-T006 | Live results contain the primary key and a superset of the sample's keys |
| M001-M006 | Category, description, logo, admin role and domain, homepage |
| C001-C004 | On promotion: avoid removing steps, fields, samples; incompatible json field schema blocked within a major |
| S003 | At most 100 production versions with live Zaps |
Stages
Source: integrations/publish/public-integration.
- Private: share by invite link; any number of users.
- Submitted: version Pending; reviewer reply within about a week.
- Beta: listed with a Beta tag for 90 days, or until the next business day after one embed-sourced signup.
- Public: Beta tag removed, enrolled in the Partner Program.
Zap templates and the Workflow Element need beta or public status; templates must use the promoted version.
Templates: 5-10 to start; no Paths, Code, Webhooks, Looping or Formatter steps; rejected for duplicate or narrow use cases, hard-coded values, non-English copy. Deprecating a version marks its templates Invalid within 24 h. Workflow Element: Zapier estimates hours to implement, against weeks for the Workflow API.
Partner Program
Source: integrations/publish/partner-program, benefits-guide.
| Tier | Active users this quarter | Notable benefits |
|---|---|---|
| Bronze | any public integration | partner support, free Partner Sandbox workspace |
| Silver | 50 | "Learn More" lead button with UTMs, one featured week per year, newsletter spotlight once a year, "Best of" blog flyover, monthly Community post of new steps and resolved issues |
| Gold | 350 | Silver benefits |
| Platinum | 3,000, or 350 with 20% quarter-on-quarter growth | priority Solutions Engineer support, 1:1 advocacy session, priority in Zapier-led co-marketing |
- Re-evaluated at the start of January, April, July and October; a dip at quarter start is normal because the count accumulates.
- Every tier needs a "healthy" health score: open bugs and feature requests, weighted by votes, and your responsiveness to them.
- Embed fast-track: with an embed-sourced signup and a healthy score, next-tier benefits unlock at 40, 300 or 2,500 active users.
Run-error rules
Source: help.zapier.com troubleshooting articles; integration-build-guidelines.
- A Zap whose runs error 95% of the time over 7 days, with more than 20 runs, turns off (24 h grace on Team, 72 h on Enterprise plans).
- No public page states an integration-level error rate that triggers delisting. Removal grounds documented: banned categories, Platform Agreement breaches, gaming review, faked users.
- Halted errors never count toward it. Expired-auth errors turn the Zap off, email the user, and hold runs for replay after reconnecting.
Open this reference as its own page
Copy templates: steps, Zap templates, help article
Source: docs.zapier.com integrations/publish/integration-build-guidelines and zap-templates.
Step names and descriptions
// ✓ Good - title-cased name, product noun, standard opening, period, no app name
Trigger New Paid Invoice key: new_paid_invoice noun: Invoice
"Triggers when an invoice is marked as paid."
Action Create Customer key: create_customer noun: Customer
"Creates a new customer."
Search Find Invoice key: find_invoice noun: Invoice
"Finds an invoice by number or customer email."
// ✗ Bad - generic key, "Get" instead of "Find", app name in copy, generic update trigger
Trigger Updated invoice key: trigger_1
"Triggers when an Invoice is updated in Acme Billing"
Search Get Invoice key: search_2
Zap template title and description
Rules: title starts with an action verb, sentence case; present tense, active voice; name both apps; say "new" or "updated" when the trigger event is one; never "sync" or "automatic"; no you/we/I. The description opens with the user's goal, is unique to this template, and ends with an italic note for any setup step or limitation. No links and no Zapier vocabulary (Zap, trigger, action) in the description. Descriptions that only swap app names, or repeat the title, are rejected.
Title: Create Acme Billing invoices from new won deals in HubSpot
Description: Bill customers the moment a deal closes. When a HubSpot deal
moves to Closed Won, this workflow creates a draft invoice in Acme Billing
with the deal amount and the contact's billing details.
*Note: Map your HubSpot line items to Acme Billing products during setup.*
// ✗ Rejected - "sync", "automatically", second person, description repeats title
Title: Automatically sync your HubSpot deals to Acme Billing
Description: Sync HubSpot deals to Acme Billing.
Pre-fill every required field with the best mapping. Add filters only when the template is useless without one.
Help-center article per job
# <Job, in the user's words>, with <Product> and Zapier
1. What this does: one sentence, the job and the result.
2. Before you start: plan or permission needed in <Product>; where the API key or OAuth connection lives.
3. Embedded template(s) for this job.
4. Field mapping notes: the 3-5 fields people get wrong.
5. Troubleshooting: the error messages your integration raises, each with its fix.
Open this reference as its own page
Versioning, migration and deprecation
Source: docs.zapier.com integrations/manage (versions, version-lifecycle-states, planning-changes, migrate, automatic-migrations, deprecate) and its platform changelog.
Classify the change
| Change | Class | Ship it as |
|---|---|---|
| New trigger, action, search, optional field, label, help text, sample | non-breaking | minor or patch |
| Subscribe/unsubscribe internals, auth token request, test call | non-breaking | patch |
| Required input field added or changed | depends | default it, or additive step |
| Input field type | breaking, blocked at promotion | additive step, or new major |
| Perform function, perform list, middleware | depends | test against live Zaps first |
| Rename a step key, input key or output key | breaking | new step under new key, hide old |
| Change output structure or remove output keys | breaking | new step, or transform the new API shape back to the old one in code |
| Polling <-> REST hook | breaking | twin step under a new key, hide old |
| Polling sort order, page contents, or primary-key format | breaking in effect: old dedupe memory fires every unseen item | twin step under a new key, hide old |
| Auth scheme, auth field key, new required auth field | breaking | new major; ask Zapier about assisted connection migration first |
Promotion compares the new version's schema with the promoted one and blocks most breaking changes inside the same major. It does not catch renamed or removed output keys, changed response structure or changed perform behavior: diff those by hand.
Lifecycle
- Private: editable, shareable, the default for every new version.
- Promoted: default for new Zaps, directory-visible, frozen. One at a time; the previous one becomes Available.
- Available: keeps working for its Zaps.
- Legacy: hidden from new Zaps, keeps working, never a migration target.
- Deprecating -> Deprecated: on the date, unmigrated Zaps pause, the version cannot be tested or turned on, users get a fixed "Zaps paused" email.
Migration and push rules
- Migration only within one major:
1.4.0 -> 1.5.0yes,1.9.0 -> 2.0.0never. - Unlabelled versions push in sequence: no skipped predecessor, no version inserted behind a newer one on its line. Iterate on labelled versions (
1.3.0-beta); those cannot be migrated to.
Release procedure
- Clone the promoted version; make the change; run validation.
- Share the clone with internal or friendly accounts. CLI only: canary 5-10% of traffic for 30-60 minutes, non-breaking changes only, and stop if errors rise more than 5%.
- Promote.
- Migrate by percentage (5% first), watch the Monitoring logs for new errors, then migrate the rest. With automatic migrations on (the default, tied to the Integration Maintenance Program), promotion moves a subset, marking the old version legacy moves most, deprecation moves all.
- Mark older Available versions legacy one at a time, oldest first, so users land on the promoted version.
- Deprecate a version only when it must stop working: date 3 weeks to 1 year out, user email 14 days before, delete only at zero users including paused Zaps and connections.
Keeping triggers alive through API changes
- Treat step keys, output keys and output shape as a public contract, separate from the API's own versioning.
- Pin the API version the integration calls; when the API changes shape, map the new response back to the old output in the perform code.
- Before sunsetting an API endpoint, find every step that calls it and ship the replacement step first. Near the sunset date, promote a version whose old step throws a clear error naming the replacement step.
- Drafts migrate only when published, so a user can republish an old draft onto an old version; keep old versions working until deprecation.
Leaving Zapier
Revert the integration to private (via developer support), then deprecate every version except the latest still in use. Zaps calling shut-down endpoints error and eventually turn off.
More in this playbook
Cross crm opportunity sync
Coordinate opportunities and customer records across multiple CRMs while preserving attribution, visibility, commissions, and governance.
IntegrationsMIT Wade Foster + 1Co-founder & CEO @ ZapierInstall zapier
Install and connect Zapier, routing to the right surface (MCP, SDK, or CLI) for what the person needs. Use when someone says "install Zapier", "add Zapier", "connect Zapier", or "set up Zapier", or when they want an AI client (Claude, ChatGPT, Cursor) to use their apps, want to call Zapier from code, or want Zapier in the terminal.
IntegrationsMIT Wade Foster + 1Co-founder & CEO @ ZapierMcp sheet cache bridge
Keep Zapier Tables or another MCP-connected record store as the source of truth while Google Sheets-based tools read an event-driven cache tab.
