# Code by Zapier + EveryPage Integrations: Connect with Zapier MCP
> zapier.com/apps/code/integrations/everypage
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Code by Zapier and EveryPage in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · create_variant`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "everypage", owner: "me" });

const { data } = await zapier.runAction({
  app: "everypage",
  actionType: "write",
  action: "create_variant",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action everypage write create_variant \
  --inputs '{}'
```

## Code by Zapier

### Identity
Write custom Python or Javascript code in response to any data from any service! Transform, mutate, customize or even do custom HTTP in a native and familiar environment.

- App slug: code
- Operations published here: 4 (2 events, 2 functions)

### Capabilities

#### Events (2)

Events fire when something happens in Code by Zapier. Use them to start a run.

##### Run Python
Use Python to kick off a workflow.  This is an advanced action!  Uses the latest supported version of Python.

- Type: read · Key: `01929fad-d3c3-301b-6108-52ea63edb8ea`
- Requires: code
- Optional: zap_id, zap_step_id
- SDK: `runAction({ app: "code", actionType: "read", action: "01929fad-d3c3-301b-6108-52ea63edb8ea" })`
- CLI: `npx zapier-sdk run-action code read 01929fad-d3c3-301b-6108-52ea63edb8ea`

##### Run Javascript
Use Javascript to kick off a workflow.  This is an advanced action!  Uses the latest supported version of Node.

- Type: read · Key: `01929fad-d3a5-77c0-55e2-ddf8d28eb2ad`
- Requires: code
- Optional: zap_id, zap_step_id
- SDK: `runAction({ app: "code", actionType: "read", action: "01929fad-d3a5-77c0-55e2-ddf8d28eb2ad" })`
- CLI: `npx zapier-sdk run-action code read 01929fad-d3a5-77c0-55e2-ddf8d28eb2ad`

#### Functions (2)

Functions change something in Code by Zapier.

##### Run Javascript
Run Javascript code  This is an advanced action!  Uses the latest supported version of Node.

- Type: write · Key: `01929fad-d3dd-62c2-52ed-7868d5fcc691`
- Requires: code
- Optional: zap_id, zap_step_id, input
- SDK: `runAction({ app: "code", actionType: "write", action: "01929fad-d3dd-62c2-52ed-7868d5fcc691" })`
- CLI: `npx zapier-sdk run-action code write 01929fad-d3dd-62c2-52ed-7868d5fcc691`

##### Run Python
Run Python code  This is an advanced action!  Uses the latest supported version of Python.

- Type: write · Key: `01929fad-d3f6-c57c-1b40-ef8691be1f86`
- Requires: code
- Optional: zap_id, zap_step_id, input
- SDK: `runAction({ app: "code", actionType: "write", action: "01929fad-d3f6-c57c-1b40-ef8691be1f86" })`
- CLI: `npx zapier-sdk run-action code write 01929fad-d3f6-c57c-1b40-ef8691be1f86`

## EveryPage

### Identity
EveryPage is a privacy-first PDF sharing with page-by-page reader analytics. See who read a document, how far they got, and who came back.

- App slug: everypage
- Operations published here: 17 (8 events, 5 functions, 4 queries)

### Authentication
Zapier connects to EveryPage via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection everypage
```

### Capabilities

#### Events (8)

Events fire when something happens in EveryPage. Use them to start a run.

##### Link Expired / Self-Destructed
Triggers when a document link self-destructs after reaching its view limit.

- Type: read · Key: `file_burned`
- Requires: nothing
- Optional: file
- SDK: `runAction({ app: "everypage", actionType: "read", action: "file_burned" })`
- CLI: `npx zapier-sdk run-action everypage read file_burned`

##### Document Opened
Triggers when a reader opens one of your EveryPage PDFs, delivered instantly.

- Type: read · Key: `instant_open`
- Requires: nothing
- Optional: file
- SDK: `runAction({ app: "everypage", actionType: "read", action: "instant_open" })`
- CLI: `npx zapier-sdk run-action everypage read instant_open`

##### New Document Read (Instant)
Triggers when a reader finishes viewing one of your EveryPage PDFs, delivered instantly.

- Type: read · Key: `instant_read`
- Requires: nothing
- Optional: file
- SDK: `runAction({ app: "everypage", actionType: "read", action: "instant_read" })`
- CLI: `npx zapier-sdk run-action everypage read instant_read`

##### New Download
Triggers when a reader downloads one of your EveryPage PDFs to disk.

- Type: read · Key: `new_download`
- Requires: nothing
- Optional: file
- SDK: `runAction({ app: "everypage", actionType: "read", action: "new_download" })`
- CLI: `npx zapier-sdk run-action everypage read new_download`

##### New Form Fill
Triggers when a viewer completes the email gate or lead-capture form on one of your documents.

- Type: read · Key: `new_form_fill`
- Requires: nothing
- Optional: file
- SDK: `runAction({ app: "everypage", actionType: "read", action: "new_form_fill" })`
- CLI: `npx zapier-sdk run-action everypage read new_form_fill`

##### New Document Read
Triggers when one of your EveryPage PDFs is opened by a reader.

- Type: read · Key: `new_read`
- Requires: nothing
- Optional: file
- SDK: `runAction({ app: "everypage", actionType: "read", action: "new_read" })`
- CLI: `npx zapier-sdk run-action everypage read new_read`

##### New Reader Comment
Triggers when a reader leaves a feedback note on one of your EveryPage documents.

- Type: read · Key: `note_created`
- Requires: nothing
- Optional: file
- SDK: `runAction({ app: "everypage", actionType: "read", action: "note_created" })`
- CLI: `npx zapier-sdk run-action everypage read note_created`

##### Receipt Confirmed
Triggers when a viewer confirms receipt of one of your documents.

- Type: read · Key: `receipt_confirmed`
- Requires: nothing
- Optional: file
- SDK: `runAction({ app: "everypage", actionType: "read", action: "receipt_confirmed" })`
- CLI: `npx zapier-sdk run-action everypage read receipt_confirmed`

#### Functions (5)

Functions change something in EveryPage.

##### Create Link Variant
Mints a per-recipient tracked link for an existing document, so readership is attributed to each recipient.

- Type: write · Key: `create_variant`
- Requires: file
- Optional: label, allowDownload, pageFrom, pageTo
- SDK: `runAction({ app: "everypage", actionType: "write", action: "create_variant" })`
- CLI: `npx zapier-sdk run-action everypage write create_variant`

##### Delete File
Permanently deletes a document, every share link and QR code pointing at it, and its readership history.

- Type: write · Key: `delete_file`
- Requires: file
- SDK: `runAction({ app: "everypage", actionType: "write", action: "delete_file" })`
- CLI: `npx zapier-sdk run-action everypage write delete_file`

##### Replace Content
Swaps the PDF behind an existing share link - the link, QR code, settings, and readership history all keep working.

- Type: write · Key: `replace_content`
- Requires: file, newFile
- Optional: filename, keepAnchors
- SDK: `runAction({ app: "everypage", actionType: "write", action: "replace_content" })`
- CLI: `npx zapier-sdk run-action everypage write replace_content`

##### Update File Settings
Updates the sharing settings of an existing document.

- Type: write · Key: `update_file_settings`
- Requires: file
- Optional: viewerMode, passcode, clearPasscode, allowDownload, expiryHours, neverExpire, blockRightClick, blockPrint, blockCopy, notifyOnView, viewLimit, askReceipt, requireEmail, gateDomains, slug, watermark, pageFrom, pageTo, blurOnLeave
- SDK: `runAction({ app: "everypage", actionType: "write", action: "update_file_settings" })`
- CLI: `npx zapier-sdk run-action everypage write update_file_settings`

##### Upload PDF & Get Tracking Link
Uploads a PDF to EveryPage and returns a trackable share link.

- Type: write · Key: `upload_pdf`
- Requires: file
- Optional: filename, viewerMode, passcode, allowDownload, expiryHours, neverExpire, blockRightClick, blockPrint, blockCopy, notifyOnView, viewLimit, askReceipt, requireEmail, gateDomains, slug, watermark, pageFrom, pageTo, blurOnLeave
- SDK: `runAction({ app: "everypage", actionType: "write", action: "upload_pdf" })`
- CLI: `npx zapier-sdk run-action everypage write upload_pdf`

#### Queries (4)

Queries read from EveryPage and return data. They change nothing.

##### Find File
Finds one of your documents by file name (case-insensitive match).

- Type: search · Key: `find_file`
- Requires: query
- SDK: `runAction({ app: "everypage", actionType: "search", action: "find_file" })`
- CLI: `npx zapier-sdk run-action everypage search find_file`

##### Get Annotations
Fetches the annotations readers drew on a document, with the page and note for each one.

- Type: search · Key: `get_annotations`
- Requires: file
- SDK: `runAction({ app: "everypage", actionType: "search", action: "get_annotations" })`
- CLI: `npx zapier-sdk run-action everypage search get_annotations`

##### Get Page Marks
Fetches the pick, reject and maybe verdicts readers left on a document's pages, with a per-viewer breakdown.

- Type: search · Key: `get_page_marks`
- Requires: file
- SDK: `runAction({ app: "everypage", actionType: "search", action: "get_page_marks" })`
- CLI: `npx zapier-sdk run-action everypage search get_page_marks`

##### Get Analytics Summary
Fetches a document's readership summary: views, sessions, unique visitors, time spent, downloads, and completion.

- Type: search · Key: `get_readership`
- Requires: file
- SDK: `runAction({ app: "everypage", actionType: "search", action: "get_readership" })`
- CLI: `npx zapier-sdk run-action everypage search get_readership`

## Links
- Code by Zapier integrations: zapier.com/apps/code/integrations.md
- EveryPage integrations: zapier.com/apps/everypage/integrations.md
- Full page: zapier.com/apps/code/integrations/everypage
- SDK: npmjs.com/package/@zapier/zapier-sdk