Turn documents into Twenty records


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

Create and update records in Twenty, the open-source CRM, from every processed document.

Overview

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

  • Opportunity updates: create or update opportunities in Twenty from signed order forms, with amount, close date and the linked company record.
  • Company records: create companies from customer or supplier onboarding forms, with domain, address and registration details filled in.
  • Contact capture: turn business cards and event sign-up sheets into people records with name, email, job title and company.

Before you begin

  • A Cradl AI agent with at least one processed document to test with.
  • Twenty: Pro, Organization or Enterprise on Twenty Cloud, or self-hosted.

How to set it up

  1. In Twenty, create a workflow with the Webhook trigger, set it to POST and add the fields you expect in the body, based on Cradl AI’s sample payload. Twenty docs
  2. In Twenty, add a Create Record or Create or Update Record action, map the body fields, activate the workflow and copy its Live URL. Twenty 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 customer onboarding form, as in the company records use case.

{  "output": {    "companyName": {      "rawValue": "Lakeside Logistics Inc.",      "value": "Lakeside Logistics Inc.",      "confidence": 0.964,      "page": 0,      "name": "Company Name"    },    "ein": {      "rawValue": "84-1234567",      "value": "84-1234567",      "confidence": 0.94,      "page": 0,      "name": "EIN"    },    "stateOfIncorporation": {      "rawValue": "Delaware",      "value": "Delaware",      "confidence": 0.913,      "page": 0,      "name": "State of Incorporation"    },    "billingAddress": {      "rawValue": "1200 N Lake Shore Dr, Chicago, IL 60610",      "value": "1200 N Lake Shore Dr, Chicago, IL 60610",      "confidence": 0.907,      "page": 0,      "name": "Billing Address"    },    "paymentTerms": {      "rawValue": "Net 30",      "value": "30",      "confidence": 0.929,      "page": 0,      "name": "Payment Terms"    }  },  "context": {    "runId": "cradl:run:eee4d543…",    "documentId": "cradl:document:349e99a0…"  }}

Good to know

The URL only starts runs after the workflow is activated. Before that, use Test.

Document automation for the agentic era.

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