Overview & Available Integrations
Ocriva integrates with third-party services through webhook-based event delivery. When documents are processed, batches complete, or templates change, Ocriva sends real-time HTTP notifications to your connected services — no polling, no manual exports, no glue code required.
Every integration in this section is built on the same underlying mechanism: a webhook endpoint registered in Ocriva that receives a JSON payload the moment an event fires. The difference between integrations is simply which URL you point that webhook at and how the receiving service interprets the payload.
How Integrations Work
When you connect Ocriva to an external service, the data flows in one direction — from Ocriva outward:
Document uploaded
|
v
AI processes & extracts
|
v
Event fired (e.g. document.processed)
|
v
Webhook delivers JSON payload
|
v
Third-party service acts
(send Slack message, trigger Zap, append Sheet row, etc.)Payload Customization with {{variable}}
Ocriva uses a {{variable}} template system so you can shape exactly what gets sent to each integration. When configuring a webhook, you can reference any field from the event payload using double-brace syntax:
Document "{{payload.fileName}}" processed successfully.
Confidence: {{payload.confidence}}
Extracted by: {{payload.templateName}}At delivery time, Ocriva substitutes each placeholder with the real value from the event. This lets you craft Slack messages, Discord embeds, or Zapier field mappings without writing any server-side code.
TIP
Use {{payload.extractedData.*}} to pass specific extracted fields directly into automation tools. For example, {{payload.extractedData.invoiceNumber}} pulls the invoice number straight into a Make scenario or Google Sheets row.
See the Webhooks Guide for full details on payload structure, signature verification, and retry behavior.
Available Integrations
| Integration | Category | What It Does | Guide |
|---|---|---|---|
| Slack | Messaging | Send processing notifications to Slack channels | Setup Guide |
| Discord | Messaging | Send notifications to Discord channels | Setup Guide |
| Zapier | Automation | Trigger Zaps from document processing events | Setup Guide |
| Make (Integromat) | Automation | Connect to Make scenarios | Setup Guide |
| n8n | Automation | Trigger n8n workflows | Setup Guide |
| Google Sheets | Spreadsheet | Auto-log extracted data to spreadsheets | Setup Guide |
| LINE | Mobile | Scan documents via LINE, receive notifications | Setup Guide |
| Google Drive | File Storage | Pull documents from Drive for processing and export results back automatically | Setup guide |
| Custom | Custom | Any HTTP endpoint that accepts POST | Webhooks Setup |
NOTE
All integrations except LINE and Google Drive use standard outbound webhooks. LINE is a bidirectional integration — users can send documents to a LINE bot and receive extracted results back as a LINE message. Google Drive is also a bidirectional integration — it pulls documents from a Drive Input Folder for processing and automatically exports results back to a Drive Output Folder.
Categories
Messaging — Slack, Discord
Messaging integrations deliver real-time team notifications when documents succeed or fail. They are the fastest way to keep a team informed without anyone needing to log into Ocriva.
- Post to a dedicated
#ocr-resultschannel when high-confidence extractions land - Alert
#ops-alertsimmediately when a document fails processing - Mention specific users or roles for urgent documents
Automation — Zapier, Make, n8n
Automation platforms connect Ocriva to hundreds of downstream services without writing code. Once Ocriva fires an event, the automation platform receives it as a trigger and can route extracted data anywhere:
- Push invoice fields into an accounting system (Xero, QuickBooks)
- Create CRM records from extracted contact information (HubSpot, Salesforce)
- Store structured data in a database or data warehouse
- Chain multiple actions — notify Slack, write to Sheets, and open a Jira ticket all from one event
File Storage — Google Drive
The Google Drive integration is fundamentally different from other integrations — it's not an outbound webhook but a bidirectional connection:
- Pull: Fetch documents from a Google Drive Input Folder into Ocriva for automatic processing
- Push: Export results (JSON/CSV) back to a Google Drive Output Folder as soon as processing completes
- Configure Input/Output Folders per Template — invoices go to one folder, contracts to another
- Teams work in Google Drive as usual — just upload documents to Drive, Ocriva handles the rest
- Supports organization Shared Drives — manage permissions through standard Drive sharing
Spreadsheet — Google Sheets
Google Sheets integration logs extracted data directly into a spreadsheet row every time a document is processed. This is useful for teams that want a lightweight, human-readable audit trail or need to share results without setting up a database.
Mobile — LINE
The LINE integration is a first-class mobile workflow. Users scan a document with their phone, send it to a configured LINE bot, and receive the extracted result as a reply — all without opening a desktop browser. It is particularly popular in markets where LINE is the primary business communication tool.
Prerequisites
Before setting up any integration, confirm the following:
- An active Ocriva organization with available webhook quota (check Organization → Limits)
- A project to scope webhook events — integrations are always attached to a specific project
- Credentials for the target service (Slack workspace admin access, Discord server permissions, a Zapier or Make account, etc.)
WARNING
Webhook quota is enforced per organization. If you reach your limit, new webhook deliveries will be silently dropped. Monitor your quota under Organization → Limits and upgrade your plan if needed before connecting new integrations in production.
Quick Start
The setup flow is the same regardless of which integration you choose:
- Open the Integrations page in Ocriva (sidebar → Integrations).
- Select the service you want to connect.
- Follow the service-specific setup to obtain a webhook URL from that service (each guide below walks through this step).
- Paste the webhook URL into Ocriva.
- Choose which events to subscribe to (see Event Types below).
- Optionally configure a secret for signature verification.
- Click Test Connection — Ocriva sends a sample payload and confirms delivery.
TIP
For custom integrations not listed here, use the Custom template. Any service that accepts HTTP POST requests can receive Ocriva webhooks — internal microservices, data pipelines, or homegrown tools included.
Event Types for Integrations
The three events most commonly used with integrations are:
| Event | When It Fires | Best For |
|---|---|---|
document.processed | After AI extraction completes successfully | All integrations — the core notification event |
document.failed | When processing fails after all retries | Alerting integrations (Slack, Discord) |
batch.completed | When every file in a batch finishes | Reporting integrations (Sheets, automation) |
NOTE
batch.completed fires once per batch, not once per document. Use it when you want a single summary notification rather than one message per file. For individual file results inside a batch, subscribe to document.processed instead.
See Event Types & Payloads for the complete reference including template.updated, document.exported, and all payload field definitions.
What's Next
Pick the integration that matches your workflow:
- Slack Setup — post to channels with custom message formatting
- Discord Setup — send embeds to Discord channels
- Zapier Setup — trigger Zaps from any document event
- Make Setup — build Make scenarios with Ocriva as the trigger
- n8n Setup — connect to self-hosted or cloud n8n workflows
- Google Sheets Setup — append extracted data rows automatically
- LINE Integration — scan and receive results over LINE
- Webhooks Setup — build a fully custom integration against any HTTP endpoint
