Send verified document data to OutSystems


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

Bring document data into the custom apps your teams already use.

Overview

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

Popular use cases

  • Claims intake app: save each extracted claim form to a Claims entity, so your OutSystems app lists new claims with policy number and amount ready to handle.
  • Supplier portal: store invoice data in your app’s Invoice and InvoiceLine entities, so suppliers and staff see status without retyping documents.
  • Review screen: build a screen over the saved fields where staff check and correct extracted values before approving them in your app.

Before you begin

  • A Cradl AI agent with at least one processed document to test with.
  • OutSystems: OutSystems 11.

How to set it up

  1. In OutSystems Service Studio, open the Logic tab, right-click REST under Integrations and choose Expose REST API. Then add a REST API method with HTTP Method POST that saves the body to your entities. OutSystems docs
  2. In OutSystems, set the REST API’s Authentication property to Custom, and in OnAuthentication read your API key header with GetRequestHeader. OutSystems docs
  3. In Cradl AI, add a Webhook export, choose POST and paste https://<server>/<module>/rest/<api>/<method> into Endpoint. Add the API key header under HTTP headers. Cradl AI docs
  4. In Cradl AI, choose a recent run under Test delivery and click Test webhook, then check the new record in your app. 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 supplier portal 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

Model the request body as a structure that matches Cradl AI’s payload, including the nested data object.

Document automation for the agentic era.

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