# Zapier — cloudlayer.io Integrations
> zapier.com/apps/cloudlayerio/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## 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

## Identity
cloudlayer.io is a service that lets you generate dynamic PDF documents or Images from a URL or HTML templates.

- App slug: cloudlayerio
- Operations published here: 14 (1 event, 10 functions, 3 queries)

## Authentication
Zapier connects to cloudlayer.io 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 cloudlayerio
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/cloudlayerio/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect cloudlayer.io through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action cloudlayerio write docx_to_html \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing cloudlayer.io's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "cloudlayerio" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions cloudlayerio --page-size 50 --max-items 200 --json
```

### Events (1)

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

#### New Completed Job
Triggers when a document conversion job completes.

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

### Functions (10)

Functions change something in cloudlayer.io.

#### Convert DOCX to HTML
Convert a Word document to HTML.

- Type: write · Key: `docx_to_html`
- Requires: file
- Optional: timeout, filename
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "docx_to_html" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write docx_to_html`

#### Convert DOCX to PDF
Convert a Word document to PDF.

- Type: write · Key: `docx_to_pdf`
- Requires: file
- Optional: timeout, filename
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "docx_to_pdf" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write docx_to_pdf`

#### Create Image From HTML
Convert HTML content to an image.

- Type: write · Key: `html_to_image`
- Requires: html
- Optional: format, viewportWidth, viewportHeight, fullPage, quality, selector, transparentBackground, timeout, filename, storage
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "html_to_image" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write html_to_image`

#### Create PDF From HTML
Convert HTML content to a PDF document.

- Type: write · Key: `html_to_pdf`
- Requires: html
- Optional: pageSize, landscape, marginTop, marginBottom, marginLeft, marginRight, printBackground, headerTemplate, footerTemplate, timeout, filename, storage
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "html_to_pdf" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write html_to_pdf`

#### Merge PDFs
Combine multiple PDF files into a single document.

- Type: write · Key: `merge_pdfs`
- Requires: urls
- Optional: timeout, filename, storage
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "merge_pdfs" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write merge_pdfs`

#### Create Image From Template
Render a cloudlayer.io template with data and convert to an image.

- Type: write · Key: `template_to_image`
- Requires: templateId
- Optional: data, format, viewportWidth, viewportHeight, fullPage, quality, selector, transparentBackground, timeout, filename, storage
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "template_to_image" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write template_to_image`

#### Create Invoice PDF
Create an Invoice PDF document from an invoice template.

- Type: write · Key: `template_to_invoice`
- Requires: templateId, company_name, logo_href, address1, city, state_province_region, zip_postal_code, country, bill_to_fullname, bill_to_address1, bill_to_city, bill_to_state_province_region, bill_to_zip_postal_code, bill_to_country, product_service_title, invoice_date, currency, locale, tax_label, tax_percentage, li_title, li_quantity, li_unit_price
- Optional: __auto_calculate, phone_number, email, invoice_no, reference_no, due_date, subTotal, totalTax, amount, li_description, li_amount, notes, terms, timeout
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "template_to_invoice" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write template_to_invoice`

#### Create PDF From Template
Render a cloudlayer.io template with data and convert to PDF.

- Type: write · Key: `template_to_pdf`
- Requires: templateId
- Optional: data, pageSize, landscape, marginTop, marginBottom, marginLeft, marginRight, printBackground, headerTemplate, footerTemplate, timeout, filename, storage
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "template_to_pdf" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write template_to_pdf`

#### Create Image From URL
Capture a screenshot of a web page.

- Type: write · Key: `url_to_image`
- Requires: url
- Optional: waitForSelector, delay, format, viewportWidth, viewportHeight, fullPage, quality, selector, transparentBackground, timeout, filename, storage
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "url_to_image" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write url_to_image`

#### Create PDF From URL
Convert a web page to a PDF document.

- Type: write · Key: `url_to_pdf`
- Requires: url
- Optional: waitForSelector, delay, pageSize, landscape, marginTop, marginBottom, marginLeft, marginRight, printBackground, headerTemplate, footerTemplate, timeout, filename, storage
- SDK: `runAction({ app: "cloudlayerio", actionType: "write", action: "url_to_pdf" })`
- CLI: `npx zapier-sdk run-action cloudlayerio write url_to_pdf`

### Queries (3)

Queries read from cloudlayer.io and return data. They change nothing.

#### Find Asset
Look up a generated asset by ID.

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

#### Find Job
Look up a conversion job by ID.

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

#### Find Template
Find a public template by name or type.

- Type: search · Key: `find_template`
- Requires: nothing
- Optional: query, type, category
- SDK: `runAction({ app: "cloudlayerio", actionType: "search", action: "find_template" })`
- CLI: `npx zapier-sdk run-action cloudlayerio search find_template`

## Popular integrations
- [cloudlayer.io + Pics.io](zapier.com/apps/cloudlayerio/integrations/pics-io.md)
- [cloudlayer.io + Booqable](zapier.com/apps/cloudlayerio/integrations/booqable.md)
- [cloudlayer.io + Calendly](zapier.com/apps/cloudlayerio/integrations/calendly.md)
- [cloudlayer.io + Airtable](zapier.com/apps/cloudlayerio/integrations/airtable.md)
- [cloudlayer.io + Asana](zapier.com/apps/cloudlayerio/integrations/asana.md)
- [cloudlayer.io + ActiveCampaign](zapier.com/apps/cloudlayerio/integrations/activecampaign.md)
- [cloudlayer.io + ChatGPT (OpenAI)](zapier.com/apps/cloudlayerio/integrations/chatgpt.md)
- [cloudlayer.io + Podio](zapier.com/apps/cloudlayerio/integrations/podio.md)
- [cloudlayer.io + MarkUp.io](zapier.com/apps/cloudlayerio/integrations/markupio.md)

## Links
- Full app page: zapier.com/apps/cloudlayerio/integrations
- MCP: zapier.com/mcp/cloudlayerio
- SDK: npmjs.com/package/@zapier/zapier-sdk