Website lead → AI qualification → CRM record → follow-up notification
A service client wanted to stop manually reading every form submission, summarizing it and copying information into CRM fields before follow-up.
Starting problem
Free-text form submissions created inconsistent CRM notes and manual work. Earlier automation behavior also broke when fields were blank or the model returned an unexpected structure.
Constraints
- Original customer text had to be preserved alongside AI-generated fields.
- The AI could summarize and classify but could not invent contact information or commitments.
- Missing required fields needed a review path instead of a silent failure.
- Duplicate submissions required an explicit handling rule.
A→Z implementation
- Map trigger and data contractDocumented each form field, optional value, CRM target field, allowed values and the exact data supplied to the AI step.
- Design AI transformationCreated a structured output for lead summary, intent category, urgency and explicit unknown values.
- Build validation and routingValidated required fields and AI output before any CRM write, with separate paths for incomplete data and processing errors.
- Create CRM and notification actionsStored source text and AI enrichment in the intended CRM structure and routed internal notifications based on agreed rules.
- Test normal and failure scenariosTested complete leads, optional blanks, malformed data, duplicate submissions, long text, model schema failure and downstream errors.
- Deploy and hand overDocumented field mappings, failed-run inspection, retry behavior and manual fallback.
Artifacts delivered
Acceptance criteria
- Valid submissions created the expected CRM structure without losing source text.
- Unknown values remained unknown instead of being fabricated.
- Incomplete or failed runs were visible and followed a defined review path.
- Routing rules consistently produced the intended owner/category under tested conditions.