
Route document data through Activepieces, the open-source automation tool you can run in the cloud or host yourself.
Overview
Activepieces can receive Cradl AI’s Webhook export directly. Activepieces gives you an incoming URL through Catch Webhook trigger, Cradl AI posts each processed document to it, and you map the fields where you work. Nothing sits in between.
Popular use cases
- Spreadsheet log: append each processed document as a Google Sheets row with supplier, invoice number, total and due date from the payload.
- Line items: use a Loop on Items step to create one Airtable record per invoice line, each linked back to its parent invoice record.
- Self-hosted flows: run the flow on your own Activepieces instance, so the connections and credentials for your internal systems stay on your infrastructure.
Before you begin
- A Cradl AI agent with at least one processed document to test with.
- Activepieces: Free, Plus, Team and Ultimate cloud plans, and free self-hosting.
How to set it up
- In Activepieces, start a flow with the Webhook piece’s Catch Webhook trigger, set Authentication to Header Auth with a header name and value, and copy the Live URL. Activepieces docs
- In Cradl AI, open your agent, add a Webhook export, choose POST under Endpoint and paste the URL. Under HTTP headers, add the same header name and value. Cradl AI docs
- In Cradl AI, under Test delivery, choose a recent run and click Test webhook so Activepieces receives a real sample payload. Cradl AI docs
- In Activepieces, use the sample data to map fields into the next steps, then publish the flow. Activepieces 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 line items use case. A table field, such as invoiceLineItems, holds a list with one entry per row.
Good to know
Activepieces Cloud accepts webhook payloads up to 5 MB.
