← Back to blog

Zapier Document Extraction with Cryvis

Wire Cryvis OCR APIs into Zapier with multipart HTTP, Bearer auth, and Zaps for invoices, receipts, KYC, and vehicle docs.

Zapier moves files between apps. Cryvis turns those files into structured JSON. Put them together and you get a Zap that watches Drive, Gmail, or a form upload, posts the document to an API, and writes the fields into Sheets, Airtable, HubSpot, or Slack.

This hub covers how Cryvis fits in Zapier, which endpoint to call, how auth and credits work, and a full index of tutorials.

Prefer Make.com? See the Make.com + Cryvis hub. Prefer self-hosted workflows? See the n8n + Cryvis hub.

How Cryvis fits in a Zap

Cryvis is not a native Zapier app. You call it with an HTTP step that supports multipart/form-data — typically Webhooks by Zapier → Custom Request, or another action that can attach file binaries as form parts.

Typical pattern:

[Trigger: New File in Drive / Gmail Attachment / Form]
        |
        v
[Download / get file binary]
        |
        v
[Webhooks: Custom Request]
  POST https://api.cryvis.com/v1/documents/<type>
  Authorization: Bearer <API_KEY>
  Body: multipart/form-data
  Field: file = binary from previous step
        |
        v
[Filter: success is true]
        |
        v
[Destination: Sheets / Airtable / HubSpot / Slack]

Notes that save debugging time:

  • Multipart field names depend on the endpoint: invoices/receipts/PAN use file; passport uses first_page + last_page; Aadhaar uses one or two parts named file; driver license needs file + country; Indian vehicle RC uses front and/or back.
  • Accepted MIME types (typical): application/pdf, image/jpeg, image/png, image/webp.
  • Response shape: { success, data: { ...fields }, meta }. Map from data.*, not the top-level wrapper.
  • Credit cost: 1 credit per PDF page or image. See Credits.

Auth

  1. Create an API key in the Cryvis console.
  2. On the HTTP / Custom Request step, add a header:
Authorization: Bearer <API_KEY>

Store the key in a Zapier storage field or a secret your team controls. Do not paste live keys into shared Zap templates you publish publicly.

Endpoint cheat sheet

Document typeMethod + pathProductDocs
InvoicePOST /v1/documents/invoice/apis/invoice/docs/api/extractInvoice
ReceiptPOST /v1/documents/receipt/apis/receipt/docs/api/extractReceipt
PassportPOST /v1/documents/passport/apis/passport/docs/api/extractPassport
PANPOST /v1/documents/pan/apis/pan/docs/api/extractPan
AadhaarPOST /v1/documents/aadhaar/apis/aadhaar/docs/api/extractAadhaar
Driver licensePOST /v1/documents/driver-license/apis/driver-license/docs/api/extractDriverLicense
Indian Vehicle RCPOST /v1/documents/indian-vehicle-rc/apis/indian-vehicle-rc/docs/api/extractIndianVehicleRc
Custom PDF fieldsPOST /v1/custom-extractors/:slug/apis/custom/docs/custom-extractors

Base URL for all of the above: https://api.cryvis.com.

Invoice fields you will map most often: invoice_number, invoice_date, due_date, currency, seller, buyer, line_items[], subtotal, tax_total, total_amount, amount_due.

Credits

Every successful extraction consumes credits: 1 per PDF page or image. Multi-page PDFs cost one credit per page. Failed auth or bad MIME usually do not consume extraction credits — check Credits before you go live on a high-volume inbox.

Tutorial index

Invoice

Receipts

KYC

Vehicle

PDF / structured extraction

HTTP building blocks

Start here

If you only need invoice headers in a spreadsheet, begin with Extract invoice data into Google Sheets. For Gmail intake with Slack alerts, use Automate invoice processing. For the raw HTTP mechanics, jump to Send multipart/form-data.

Ready to extract: sign up, create a key, open the Invoice API, and wire the first Custom Request against extractInvoice.