Loading data
Input
Send a lead through the real pipeline. The engine extracts structured fields, scores it with the rule engine, chooses an action, drafts a reply, and records every step.
Pipeline result
Send a lead and the extracted score, status, and chosen action appear here. The full run is saved to the audit log.
POST /api/webhooks/lead
Any form, CRM, or automation tool can post JSON here. The response returns the lead id, run id, score, and status.
curl -X POST http://localhost:3000/api/webhooks/lead \
-H "Content-Type: application/json" \
-d '{
"name": "Elena Vossberg",
"company": "Brueckenwerk",
"message": "27-person supplier, inbound requests sit for days. Budget around $4,200."
}'