Home / Integrations / Zapier / PDF and Office files to Markdown for LLMs

Updated

PDF and Office files to Markdown for LLMs in Zapier

Run Document to Markdown & JSON (PDF, DOCX, PPTX, HTML, OCR) from Zapier for feeding PDF and Office documents to an LLM, a RAG index or a knowledge base. The tool runs on Apify as plainprobe/document-to-markdown, returns one JSON item per document and costs $0.004 per document; failed items are not charged.
Apify Store page

Steps

  1. Choose a trigger. Start the Zap with Schedule by Zapier (every day or every week) or with a new row in Google Sheets that holds your input.
  2. Run the Actor. Add the Apify app, action Run Actor. Connect your Apify account (Zapier opens Apify; click Allow Access), choose the Actor plainprobe/document-to-markdown and paste the input JSON below.
  3. Get the results. Add the Apify search Fetch dataset items with the dataset ID of that run, so the next steps receive the result fields.
  4. Send results to Notion. Add a Filter by Zapier step (status equals ok) and a Notion action, and map the fields listed in the table below.
  5. Turn the Zap on. Test each step, then publish the Zap.

Alternative: Webhooks by Zapier, event POST, URL https://api.apify.com/v2/acts/plainprobe~document-to-markdown/run-sync-get-dataset-items, header Authorization: Bearer YOUR_APIFY_TOKEN, payload type JSON with the input above. The response is the array of results.

Input to paste

The input is a JSON object; replace the example values with your own.

{
  "urls": [
    {
      "url": "https://arxiv.org/pdf/1706.03762"
    }
  ],
  "chunking": true
}

Which output fields to map to Notion

Each result contains these fields (shortened example below). A useful mapping to Notion, with an OpenAI or AI Agent step as another common destination:

Result fieldWhere it goes
titlepage title
markdownpage content, or the prompt sent to the AI step
pageCountnumber property: pages
wordCountnumber property: words
urlURL property: source document
{
  "url": "https://arxiv.org/pdf/1706.03762",
  "status": "ok",
  "format": "pdf",
  "title": "Attention Is All You Need",
  "pageCount": 15,
  "pagesConverted": 15,
  "truncated": false,
  "wordCount": 6383,
  "ocrPages": 0,
  "markdown": "Provided proper attribution is provided, Google hereby grants permission to\nreproduce the tables and figures\u2026",
  "error": null,
  "durationMs": 2126,
  "convertedAt": "2026-12-01T09:47:45Z"
}

A scheduled workflow you can copy

Every morning, convert the PDF reports published at a list of public URLs, send each markdown text to an AI step for a five-line summary, and save title, source URL and summary as a new Notion page.

What it costs

$0.004 per document (one document converted, first 50 pages included), billed by Apify per successful result, with no subscription. Failed documents are free. A 30-page text PDF costs $0.004, a 200-page manual $0.019, a 10-page scan $0.024.

Full details, benchmark and pricing table: Document to Markdown & JSON (PDF, DOCX, PPTX, HTML, OCR).

Questions about pdf and office files to markdown for llms in Zapier

How much does pdf and office files to markdown for llms cost when run from Zapier?

$0.004 per document (one document converted, first 50 pages included), charged by Apify to your Apify account; Zapier only counts its own executions or operations. Failed items are not charged.

Can I send several items in one Zapier run?

Yes. Put all of them in the urls list of the input; one Actor run returns one result per document, and Zapier handles them as separate items.

Can I use Zapier without the Apify app?

Yes. Use Webhooks by Zapier, POST, URL https://api.apify.com/v2/acts/plainprobe~document-to-markdown/run-sync-get-dataset-items, header Authorization: Bearer YOUR_APIFY_TOKEN and the input JSON as data. The response is the list of results.

Same tool in other platforms: n8n · Make · all Zapier workflows