Zapier

Automate PDF and document-to-Markdown conversion with Zapier. Step-by-step guide using Webhooks by Zapier.

Zapier connects 6,000+ apps. Use the Webhooks by Zapier action to convert files through the Markdown Anything API.

Prerequisites

  • A Zapier account (Pro plan or higher for webhooks)
  • A Markdown Anything API token (generate one)

Sync Conversion

Create a New Zap

Set up your trigger (e.g., "New File in Google Drive", "New Email Attachment in Gmail").

Add Webhooks by Zapier Action

Choose Webhooks by Zapier as your action, then select Custom Request.

Configure:

  • Method: POST
  • URL: https://markdownanything.com/api/v1/convert
  • Headers:
    Authorization: Bearer mda_your_token_here
  • Data Pass-Through?: No

Configure the File Upload

Under Data, set up the file parameter:

  • Key: file
  • Value: Map to the file URL from your trigger step

Add optional parameters:

  • use_enhanced_ai: true
  • include_metadata: true

Use the Result

In subsequent steps, map markdown from the webhook response to your destination — Google Docs, Notion, Slack, or any other app.

Async Conversion

For large files that may exceed Zapier's timeout, use async mode:

Create a Catch Hook

Create a separate Zap with Webhooks by Zapier > Catch Hook as the trigger. Copy the webhook URL.

Send with Webhook URL

In your conversion Zap, add webhook_url to the request data with your Catch Hook URL. The API returns 202 Accepted immediately.

Process the Result

Your Catch Hook Zap fires when the conversion completes, with the full Markdown in the payload.

Zapier's built-in file handling may convert file URLs to binary automatically. If you get errors, try passing the direct download URL in the file field.