Load document data into Fivetran automatically


The Cradl AI builder with the Export to Webhook panel open: endpoint URL, signing secret, HTTP headers and a test delivery.

Use Fivetran to land document data in Snowflake, BigQuery, Redshift or Databricks for reporting and audit.

Overview

Fivetran can receive Cradl AI’s Webhook export directly. Fivetran gives you an incoming URL through Webhooks connection, Cradl AI posts each processed document to it, and you map the fields where you work. Nothing sits in between.

Popular use cases

  • Warehouse loading: land every run in one Fivetran-managed table in Snowflake, BigQuery, Redshift or Databricks without building or hosting a pipeline.
  • Spend models: turn the data column of each event into invoice line tables with a dbt model, ready for spend reporting by supplier and month.
  • Audit trail: keep runId, documentId and Fivetran’s _created timestamp for every event, so each loaded value traces back to its document.

Before you begin

  • A Cradl AI agent with at least one processed document to test with.
  • Fivetran: All Fivetran plans, including Free (up to 500,000 connector MAR a month).

How to set it up

  1. In Fivetran, add a Webhooks connection, enter the destination schema and table, choose Unpacked as the sync format, and copy the Webhook URL. Fivetran docs
  2. In Fivetran, under Authentication mechanism, choose Token Based and set a header name and secret, then click Save & Test. Fivetran docs
  3. In Cradl AI, add a Webhook export with POST and the Webhook URL. Under HTTP headers, add the same header and secret, then click Test webhook. Cradl AI docs

What Cradl AI sends

Each processed document arrives as one JSON request with two parts. output holds every field under its field ID, with the value, the text as read, a confidence score and a readable name. context holds the run and document IDs. The request is signed with HMAC SHA-256 in the X-Cradl-Signature header.

This example is a supplier invoice with line items, as in the spend models use case. A table field, such as invoiceLineItems, holds a list with one entry per row.

{  "output": {    "supplierName": {      "rawValue": "Summit Industrial Supply",      "value": "Summit Industrial Supply",      "confidence": 0.909,      "page": 0,      "name": "Supplier Name"    },    "invoiceNumber": {      "rawValue": "INV-20931",      "value": "INV-20931",      "confidence": 0.916,      "page": 0,      "name": "Invoice Number"    },    "invoiceDate": {      "rawValue": "05/23/2026",      "value": "2026-05-23",      "confidence": 0.951,      "page": 0,      "name": "Invoice Date"    },    "totalAmount": {      "rawValue": "$1,380.00",      "value": "1380",      "confidence": 0.906,      "page": 0,      "name": "Total Amount"    },    "invoiceLineItems": [      {        "lineDescription": {          "rawValue": "Steel angle 1-1/2 in.",          "value": "Steel angle 1-1/2 in.",          "confidence": 0.95,          "page": 0,          "name": "Line Description"        },        "quantity": {          "rawValue": "12",          "value": "12",          "confidence": 0.953,          "page": 0,          "name": "Quantity"        },        "lineTotal": {          "rawValue": "$930.00",          "value": "930",          "confidence": 0.94,          "page": 0,          "name": "Line Total"        }      },      {        "lineDescription": {          "rawValue": "Freight",          "value": "Freight",          "confidence": 0.95,          "page": 0,          "name": "Line Description"        },        "quantity": {          "rawValue": "1",          "value": "1",          "confidence": 0.953,          "page": 0,          "name": "Quantity"        },        "lineTotal": {          "rawValue": "$450.00",          "value": "450",          "confidence": 0.94,          "page": 0,          "name": "Line Total"        }      }    ]  },  "context": {    "runId": "cradl:run:eee4d543…",    "documentId": "cradl:document:349e99a0…"  }}

Good to know

Fivetran loads in batches: the first event takes about 10–15 minutes and later ones up to 30. It can deliver duplicates, so dedupe on runId.

Document automation for the agentic era.

Build your first agent in minutes, and let your business users review and train it from day one.