Send verified document data to Appian


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

Feed verified data into case management and approvals in Appian.

Overview

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

Popular use cases

  • Case management: start a process model that creates a case record from each verified application, with applicant details as process parameters.
  • Invoice approvals: write each invoice to an Appian record type and assign an approval task to the cost center owner in the process model.
  • Customer onboarding: start a KYC onboarding process from identity and address documents, with extracted names and dates ready for reviewers.

Before you begin

  • A Cradl AI agent with at least one processed document to test with.
  • Appian: Appian platform, cloud or self-managed.

How to set it up

  1. In Appian, click NEW > Web API, set HTTP Method to POST and an Endpoint, and start your process with a!startProcess, passing a!fromJson(http!request.body) as process parameters. Appian docs
  2. In Appian’s Admin Console, create an API key under Web API Authentication for a service account, and add that account to a group in the web API’s role map. Appian docs
  3. In Cradl AI, open your agent, add a Webhook export, choose POST under Endpoint and paste the /suite/webapi/ URL. Under HTTP headers, add appian-api-key with the key. Cradl AI docs
  4. In Cradl AI, under Test delivery, choose a recent run and click Test webhook so Appian receives a real sample payload. 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 driver’s license, as in the customer onboarding use case.

{  "output": {    "fullName": {      "rawValue": "Emily Carter",      "value": "Emily Carter",      "confidence": 0.91,      "page": 0,      "name": "Full Name"    },    "licenseNumber": {      "rawValue": "C123-4567-8901",      "value": "C123-4567-8901",      "confidence": 0.906,      "page": 0,      "name": "License Number"    },    "dateOfBirth": {      "rawValue": "03/12/1986",      "value": "1986-03-12",      "confidence": 0.984,      "page": 0,      "name": "Date of Birth"    },    "issuingState": {      "rawValue": "IL",      "value": "IL",      "confidence": 0.923,      "page": 0,      "name": "Issuing State"    },    "expirationDate": {      "rawValue": "03/12/2031",      "value": "2031-03-12",      "confidence": 0.933,      "page": 0,      "name": "Expiration Date"    }  },  "context": {    "runId": "cradl:run:eee4d543…",    "documentId": "cradl:document:349e99a0…"  }}

Good to know

A 404 usually means the API key’s service account isn’t in a group with access to the web API.

Document automation for the agentic era.

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