AI use cases
These scenarios combine the AI connector, Dolibarr, and often Email or HTTP. Sample data: Acme Solar, contacts @example.com.
🤖 Incoming email summary
Goal: a rep receives a long thread; Knot outputs three actionable bullets.
- Webhook trigger from your messaging bridge (or manual input).
- AI node: system prompt “You are a sales assistant; reply in English; max 3 bullets”.
- Email to the Dolibarr record owner.
Simulate with fake HTML body before activation.
🤖 Quote draft
Goal: speed up a proposal from free-form notes.
- Object event or Manual on proposal creation.
- Get third party + order history (Dolibarr).
- AI: suggest line items (JSON).
- Logic If: human approval before Update (mandatory guardrail).
Never let AI alone validate a legal amount — always require human review.
🤖 Structured extraction
Goal: turn PDF text or a note field into Dolibarr fields.
- HTTP or business upload → raw text in context.
- AI with “Reply only as JSON: { “siret”, “amount”, “due_date” }”.
- Logic: validate schema (required keys).
- Dolibarr Update on third party or invoice.
Add a limited retry if JSON is malformed.
🤖 Cost and quality
| Lever | Effect |
|---|---|
| Compact model | Cheaper; enough for classification |
| Short prompt | Fewer tokens |
| Logic pre-filter | Fewer AI calls |
| Simulate | Zero provider cost |