Turn documents into HubSpot records


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

Attach document data to the right HubSpot contact, company or deal: application forms, signed contracts and ID checks.

Overview

HubSpot can receive Cradl AI’s Webhook export directly. HubSpot gives you an incoming URL through Workflow 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

  • Signed contracts: enroll the matching deal by its contract ID when a signed order form is processed, then move it to Closed won and set the amount.
  • Customer onboarding: match onboarding forms to the company record by customer number, then fill in tax ID, billing address and payment terms.
  • Identity checks: enroll the contact by their unique customer ID after an ID document is read, set a verification status and create a task for the owner.

Before you begin

  • A Cradl AI agent with at least one processed document to test with.
  • HubSpot: Professional or Enterprise in Marketing Hub, Sales Hub, Service Hub, Data Hub or Smart CRM.

How to set it up

  1. In HubSpot, go to Automation > Workflows and create a workflow. Under Custom events & external events, choose “Received a webhook from an external app”, click + Add a webhook, name the event and copy the Webhook URL. HubSpot docs
  2. 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
  3. In HubSpot, review the test event and give each payload property a HubSpot property label and data type. Then pick the incoming property that matches a custom property with “Require unique values” turned on, such as a customer number. HubSpot docs
  4. In HubSpot, click Continue to trigger setup, add actions such as Edit record or Create task, then save and turn the workflow on. HubSpot 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 signed order form, as in the signed contracts use case.

{  "output": {    "contractId": {      "rawValue": "CT-2026-0318",      "value": "CT-2026-0318",      "confidence": 0.913,      "page": 0,      "name": "Contract ID"    },    "customerName": {      "rawValue": "Lakeside Logistics Inc.",      "value": "Lakeside Logistics Inc.",      "confidence": 0.907,      "page": 0,      "name": "Customer Name"    },    "contractValue": {      "rawValue": "$24,000.00",      "value": "24000",      "confidence": 0.921,      "page": 0,      "name": "Contract Value"    },    "signedDate": {      "rawValue": "June 2, 2026",      "value": "2026-06-02",      "confidence": 0.926,      "page": 0,      "name": "Signed Date"    }  },  "context": {    "runId": "cradl:run:eee4d543…",    "documentId": "cradl:document:349e99a0…"  }}

Good to know

The trigger only enrolls existing records that match a unique custom property. It doesn’t create records, accepts JSON only, and datetime values must be mapped as strings.

Document automation for the agentic era.

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