Send verified document data to Microsoft Teams


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

Alert a channel when an invoice over a limit arrives, or when a document needs a second look.

Overview

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

Popular use cases

  • Large invoice alerts: post an Adaptive Card to the finance channel when an invoice total is over your limit, showing supplier, amount and due date.
  • Shipment updates: post a card to the logistics channel for each bill of lading, with carrier, container number and expected arrival date.
  • Contract renewals: post each processed contract to the legal team’s channel with counterparty, renewal date and notice period, instead of forwarding PDFs by email.

Before you begin

  • A Cradl AI agent with at least one processed document to test with.
  • Microsoft Teams: Microsoft 365 plans with Teams. The Teams webhook trigger uses a standard connector, not a premium one.

How to set it up

  1. In Teams, open Workflows and create a workflow from blank with the trigger “When a Teams webhook request is received”. Set who can trigger it to Anyone, save, and copy the URL. Microsoft Teams docs
  2. In Cradl AI, add a Webhook export to your agent, choose POST and paste the URL into Endpoint. Don’t add an Authorization header, because a workflow open to Anyone rejects requests that carry one. Cradl AI docs
  3. In the workflow, add Parse JSON with a schema generated from the sample under View payload in Cradl AI, then add “Post card in a chat or channel” with the fields you want. Microsoft Teams docs
  4. In Cradl AI, choose a recent run under Test delivery and click Test webhook, then check that the card appears in the channel. 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 bill of lading, as in the shipment updates use case.

{  "output": {    "billOfLadingNumber": {      "rawValue": "PCLU238411907",      "value": "PCLU238411907",      "confidence": 0.914,      "page": 0,      "name": "Bill of Lading Number"    },    "carrierName": {      "rawValue": "Pacific Coast Lines",      "value": "Pacific Coast Lines",      "confidence": 0.949,      "page": 0,      "name": "Carrier Name"    },    "containerNumber": {      "rawValue": "PCLU 734118 5",      "value": "PCLU7341185",      "confidence": 0.95,      "page": 0,      "name": "Container Number"    },    "portOfLoading": {      "rawValue": "Port of Oakland",      "value": "Port of Oakland",      "confidence": 0.95,      "page": 0,      "name": "Port of Loading"    },    "estimatedArrival": {      "rawValue": "Jun 18, 2026",      "value": "2026-06-18",      "confidence": 0.961,      "page": 0,      "name": "Estimated Arrival"    }  },  "context": {    "runId": "cradl:run:eee4d543…",    "documentId": "cradl:document:349e99a0…"  }}

Good to know

The ready-made “Send webhook alerts” templates expect an Adaptive Card, so build the workflow yourself with a Parse JSON step. Cards are limited to about 28 KB.

Document automation for the agentic era.

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