Turn documents into Zoho Inventory records


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

Create purchase orders and receipts from supplier documents.

Overview

Zoho Inventory can receive Cradl AI’s Webhook export directly. Zoho Inventory 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

  • Purchase orders: create purchase orders in Zoho Inventory from supplier order confirmations, with vendor, items, quantities and expected delivery date.
  • Receiving: record purchase receives from scanned delivery notes against the open purchase order, so stock on hand updates when goods arrive.
  • Sales orders: create sales orders in Zoho Inventory from customer purchase order PDFs, matched to the customer and item SKUs.

Before you begin

  • A Cradl AI agent with at least one processed document to test with.
  • Zoho Inventory: Premium or Enterprise (the plans with custom functions).

How to set it up

  1. In Zoho Inventory, open Settings, go to Developer Data > Incoming Webhooks and click + New Incoming webhooks. Zoho Inventory docs
  2. In Zoho Inventory, write a Deluge function that parses the request body and creates the record, for example a purchase order with zoho.inventory.createRecord, then save it and copy the ZAPI Key URL. Zoho Inventory docs
  3. In Cradl AI, open your agent, add a Webhook export and paste the URL under Endpoint with POST. Under Test delivery, choose a recent run and 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 delivery note, as in the receiving use case. A table field, such as deliveryLines, holds a list with one entry per row.

{  "output": {    "deliveryNoteNumber": {      "rawValue": "DN-55012",      "value": "DN-55012",      "confidence": 0.933,      "page": 0,      "name": "Delivery Note Number"    },    "supplierName": {      "rawValue": "Summit Industrial Supply",      "value": "Summit Industrial Supply",      "confidence": 0.909,      "page": 0,      "name": "Supplier Name"    },    "purchaseOrderNumber": {      "rawValue": "PO-4471",      "value": "PO-4471",      "confidence": 0.936,      "page": 0,      "name": "Purchase Order Number"    },    "deliveryDate": {      "rawValue": "06/11/2026",      "value": "2026-06-11",      "confidence": 0.98,      "page": 0,      "name": "Delivery Date"    },    "deliveryLines": [      {        "itemDescription": {          "rawValue": "Steel angle 1-1/2 in.",          "value": "Steel angle 1-1/2 in.",          "confidence": 0.957,          "page": 0,          "name": "Item Description"        },        "quantityDelivered": {          "rawValue": "12",          "value": "12",          "confidence": 0.911,          "page": 0,          "name": "Quantity Delivered"        }      },      {        "itemDescription": {          "rawValue": "Hex bolt 3/8 in.",          "value": "Hex bolt 3/8 in.",          "confidence": 0.957,          "page": 0,          "name": "Item Description"        },        "quantityDelivered": {          "rawValue": "200",          "value": "200",          "confidence": 0.911,          "page": 0,          "name": "Quantity Delivered"        }      }    ]  },  "context": {    "runId": "cradl:run:eee4d543…",    "documentId": "cradl:document:349e99a0…"  }}

Document automation for the agentic era.

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