# Zapier — XSS PDF Solutions Integrations
> zapier.com/apps/pdf-solutions-by-xss/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
XSS PDF Solutions streamlines PDF management by automating tasks like merging, compressing, and protecting files within your workflows.

- App slug: pdf-solutions-by-xss
- Operations published here: 24 (24 functions)

## Authentication
Zapier connects to XSS PDF Solutions 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 pdf-solutions-by-xss
```

## 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/pdf-solutions-by-xss/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect XSS PDF Solutions 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 · addWatermark_v1`.
- **SDK**:

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

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "pdf-solutions-by-xss", owner: "me" });

const { data } = await zapier.runAction({
  app: "pdf-solutions-by-xss",
  actionType: "write",
  action: "addWatermark_v1",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action pdf-solutions-by-xss write addWatermark_v1 \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing XSS PDF Solutions'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: "pdf-solutions-by-xss" }).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 pdf-solutions-by-xss --page-size 50 --max-items 200 --json
```

### Functions (24)

Functions change something in XSS PDF Solutions.

#### Add Watermark
Add a watermark to a PDF file

- Type: write · Key: `addWatermark_v1`
- Requires: file, text
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "addWatermark_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write addWatermark_v1`

#### Ask PDF With AI
Get information about the PDF content using AI

- Type: write · Key: `askPdf_v1`
- Requires: file, questText
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "askPdf_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write askPdf_v1`

#### String Similarity Score
Compares two text strings and returns how similar they are (0.0–1.0). Useful to detect duplicates, spelling variations or fuzzy matching (e.g. “Jonas” vs “Jonas Müller”).

- Type: write · Key: `calculateStringSimilarity_v1`
- Requires: text_a, text_b, algorithm
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "calculateStringSimilarity_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write calculateStringSimilarity_v1`

#### Compress PDF
compress PDF file to smaller size

- Type: write · Key: `compressPdf_v1`
- Requires: file, dpi, imageQuality
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "compressPdf_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write compressPdf_v1`

#### Convert Invoice to E-Invoice
Convert an invoice into a JSON file for e-invoices

- Type: write · Key: `convertInvoicePdfToEInvoice_v1`
- Requires: file
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "convertInvoicePdfToEInvoice_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write convertInvoicePdfToEInvoice_v1`

#### Convert to PDF
converts given file into PDF file

- Type: write · Key: `convertToPdf_v1`
- Requires: file
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "convertToPdf_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write convertToPdf_v1`

#### Create an API Key
Create an API Key

- Type: write · Key: `createApiKey_v1`
- Requires: length
- Optional: prefix, suffix, use_dashes, uppercase
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "createApiKey_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write createApiKey_v1`

#### Create Document From Image
Creates a document from an image send, either excel in case the image is a table, word document in case the image is text or returns the image. This also works with handwritten texts.

- Type: write · Key: `createDocumentFromImage_v1`
- Requires: file
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "createDocumentFromImage_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write createDocumentFromImage_v1`

#### Create Markdown From File
Create Markdown From File

- Type: write · Key: `createMarkdownFromFile_v1`
- Requires: nothing
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "createMarkdownFromFile_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write createMarkdownFromFile_v1`

#### Create Markdown and Structured JSON From File
Convert various files to Markdown and structured JSON for use with LLMs and related text analysis pipelines.

- Type: write · Key: `createMarkdownStructuredJsonFromFile_v1`
- Requires: file, llm_model
- Optional: llm_prompt, enable_plugins
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "createMarkdownStructuredJsonFromFile_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write createMarkdownStructuredJsonFromFile_v1`

#### Create a Password
Create a password

- Type: write · Key: `createPassword_v1`
- Requires: length
- Optional: uppercase, lowercase, numbers, symbols
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "createPassword_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write createPassword_v1`

#### Get a TXT File With Mark Down From a PDF
Retrieve the content of a pdf as mark down text

- Type: write · Key: `createTxtMarkdownFromPdf_v1`
- Requires: file
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "createTxtMarkdownFromPdf_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write createTxtMarkdownFromPdf_v1`

#### Build a Safe User Name
Build a safe user name

- Type: write · Key: `createUsername_v1`
- Requires: random_digits, max_length
- Optional: firstname, lastname, uppercase, separator, ensure_starts_with_letter
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "createUsername_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write createUsername_v1`

#### Flatten PDF
Quickly and easily protect completed forms from changes

- Type: write · Key: `flattenPdf_v1`
- Requires: file
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "flattenPdf_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write flattenPdf_v1`

#### Generate Hash Code
Hash an input string with flexible options.

- Type: write · Key: `generateHashcode_v1`
- Requires: input, algorithm, iterations, encoding
- Optional: salt, salt_position, uppercase, length
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "generateHashcode_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write generateHashcode_v1`

#### Generate Passphrase
Create a human-readable passphrase (Diceware style).

- Type: write · Key: `generatePassphrase_v1`
- Requires: words
- Optional: separator, capitalize, titlecase, random_uppercase, random_digits, random_symbol
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "generatePassphrase_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write generatePassphrase_v1`

#### Generate Slug
Create a short, URL-safe slug from arbitrary text

- Type: write · Key: `generateSlug_v1`
- Requires: max_length
- Optional: source, separator, lowercase, allow_unicode, random_suffix_length, dedupe_separators
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "generateSlug_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write generateSlug_v1`

#### MAC Address Vendor Lookup
Takes a MAC address (or first 3 bytes) and returns which vendor / manufacturer block it belongs to (OUI lookup — e.g. Apple, Samsung, Cisco etc.).

- Type: write · Key: `lookupMacAddressVendor_v1`
- Requires: mac
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "lookupMacAddressVendor_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write lookupMacAddressVendor_v1`

#### Merge PDF
merge PDF files into single PDF file

- Type: write · Key: `mergePdf_v1`
- Requires: file
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "mergePdf_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write mergePdf_v1`

#### Protect PDF
protects PDF file with given passphrase

- Type: write · Key: `protectPdf_v1`
- Requires: file, userPass
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "protectPdf_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write protectPdf_v1`

#### Remove Metadata From PDF
Quickly and easily remove metadata from PDF files

- Type: write · Key: `removeMetadata_v1`
- Requires: file
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "removeMetadata_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write removeMetadata_v1`

#### Country Code Resolver
Takes any country name / ISO2 / ISO3 / dialing prefix and returns the normalized country record (iso2 / iso3 / dial), mapped to a single canonical form.

- Type: write · Key: `resolveCountryCode_v1`
- Requires: country
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "resolveCountryCode_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write resolveCountryCode_v1`

#### Unlock PDF
Removes password protection of given PDF

- Type: write · Key: `unlockPdf_v1`
- Requires: file, userPass
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "unlockPdf_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write unlockPdf_v1`

#### IBAN Structure Validator
Checks if an IBAN corresponds to the correct structure + length for the given country code and reports if the IBAN is structurally valid (not whether the account exists, only format correctness).

- Type: write · Key: `validateIbanStructure_v1`
- Requires: iban
- SDK: `runAction({ app: "pdf-solutions-by-xss", actionType: "write", action: "validateIbanStructure_v1" })`
- CLI: `npx zapier-sdk run-action pdf-solutions-by-xss write validateIbanStructure_v1`

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