zapier-integration
Building a Zapier integration
Zapier is CLI-first: the zapier-platform-cli (zapier) builds/pushes/submits a
connector whose source lives in integrations/zapier/ (index.js, authentication.js,
triggers/, searches/, creates/). But the submission is NOT CLI-only — it's gated
on live-usage validation you satisfy in the browser. Read this before writing the first
file; command-level playbook is itsryanarmani/scripts scripts/zapier/README.md.
The one bug that wastes a day: auth is imperative
Zapier does not auto-attach the connection's auth to your requests. Unlike Make (base
authorization), n8n (credential authenticate), or Pipedream (app _makeRequest) —
which attach auth declaratively — Zapier applies auth only where you wire it. The
authentication.test request you write to check credentials is separate; a header
hardcoded there does NOT authenticate your triggers/searches/creates.
Symptom: connect succeeds, every real call 401s ("API key missing"). It ships broken
for every user, and zapier validate never flags it (it checks structure, not live
calls). Wire it once, globally, in index.js: