Send verified document data to Jira


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

Open a ticket for every document that needs action: unmatched invoices, damaged-goods claims, customs holds.

Overview

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

Popular use cases

  • Unmatched invoices: create a work item in the accounts payable project for each invoice without a PO number, with supplier and amount in its fields.
  • Damaged-goods claims: open a work item in the claims project for each delivery note that reports damage, with carrier and delivery reference in the summary.
  • Customs holds: create a work item for each customs document on hold, with entry number and port, so logistics can track it on their board.

Before you begin

  • A Cradl AI agent with at least one processed document to test with.
  • Jira: Jira Cloud. Each run that performs actions uses steps from your plan’s monthly automation allowance.

How to set it up

  1. In Jira, create an automation flow with the “Incoming webhook” trigger and set it to “No work items from the webhook”. Turn it on, then copy the URL and secret. Jira docs
  2. In Cradl AI, add a Webhook export to your agent, choose POST and paste the URL into Endpoint. Under HTTP headers, add X-Automation-Webhook-Token with the secret as its value. Cradl AI docs
  3. In Jira, add a “Create work item” action and fill its fields with smart values that point into the payload, such as {{webhookData.output.entryNumber.value}}, using your agent’s field IDs from the sample payload. Jira docs
  4. In Cradl AI, choose a recent run under Test delivery and click Test webhook, then check the flow’s audit log in Jira. 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 customs entry on hold, as in the customs holds use case.

{  "output": {    "entryNumber": {      "rawValue": "ABC-1004471-8",      "value": "ABC-1004471-8",      "confidence": 0.909,      "page": 0,      "name": "Entry Number"    },    "portOfEntry": {      "rawValue": "Port of Long Beach",      "value": "Port of Long Beach",      "confidence": 0.958,      "page": 0,      "name": "Port of Entry"    },    "importerOfRecord": {      "rawValue": "Summit Industrial Supply",      "value": "Summit Industrial Supply",      "confidence": 0.924,      "page": 0,      "name": "Importer of Record"    },    "holdReason": {      "rawValue": "Missing certificate of origin",      "value": "Missing certificate of origin",      "confidence": 0.949,      "page": 0,      "name": "Hold Reason"    },    "enteredValue": {      "rawValue": "$18,400.00",      "value": "18400",      "confidence": 0.982,      "page": 0,      "name": "Entered Value"    }  },  "context": {    "runId": "cradl:run:eee4d543…",    "documentId": "cradl:document:349e99a0…"  }}

Good to know

Send the secret in the header rather than appending it to the URL. Atlassian recommends the header because it’s more secure.

Document automation for the agentic era.

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