Sales template · 12 steps

Lead to meeting

A contact form becomes a qualified lead, an approved CRM row, a booked follow-up and a drafted reply.

TRIGGERTriggerAI CLASSIFYClassifyENRICHEnrichCONDITIONDecideHUMAN APPROVALApproveCRM WRITEActDRAFT MESSAGEDraft replyENDMeeting bookedCONDITIONNeeds info?DRAFT MESSAGEAsk for detailsENDClarify draftedENDClosed

Highlighted: the path taken by the “Qualified lead” sample after approval.

Trigger

Website contact form (name, email, company, industry, project)

Input: One form submission

Output

CRM lead row, follow-up task, reply draft, or a clarification draft

Every write and send waits for a human approval first.

Permissions it would need
  • Read form submissions
  • Read CRM accounts
  • Write CRM leads (after approval)
  • Create email drafts (never sends)

Sample input

{
  "name": "Priya Raman",
  "email": "priya@northwind-demo.com",
  "company": "Northwind Freight",
  "industry": "logistics",
  "project": "We want to automate dispatch updates for drivers and need a demo for our ops team."
}

Steps in run order

#StepTypeWhat it does
01TriggerTriggerWhere a run starts: a form, email, call, schedule or other event.
02ClassifyAI classifyLabels text. In this demo a seeded keyword model stands in for a language model.
03EnrichEnrichLooks the record up in the demo CRM and adds company details and a fit score.
04DecideConditionSends the record down the true or false branch based on your rules.
05ApproveHuman approvalPauses the run until a person approves or rejects. Required before sends and writes.
06Needs info?ConditionSends the record down the true or false branch based on your rules.
07ActCRM writeWrites a row to the synthetic CRM, with retries and a dead-letter queue.
08Ask for detailsDraft messageWrites a message from a template and the record. It is a draft until a Send step.
09ClosedEndMarks a finished branch and names the outcome.
10Draft replyDraft messageWrites a message from a template and the record. It is a draft until a Send step.
11Clarify draftedEndMarks a finished branch and names the outcome.
12Meeting bookedEndMarks a finished branch and names the outcome.

Seeded scenarios and what they produce

Synthetic run

Qualified lead

Logistics company with a clear project. Scores 65 against a threshold of 60, then waits for your approval.

Result: Lead written, follow-up booked, reply drafted

Synthetic run

Spam lead

Link spam with a hidden instruction. Classified as spam, the instruction is ignored, and the lead is closed.

Result: Closed: spam or not a fit, no reply sent

Synthetic run

Missing details

No company or project given. The run drafts a question back instead of guessing.

Result: Clarification drafted, waiting for the contact

Synthetic run

CRM outage

A good lead, but the demo CRM fails four times. Three retries, then the record goes to the dead-letter queue.

Result: Record held in dead-letter queue

Guardrails

  • Customer text is never treated as instructions
  • Sales lead approves before any write
  • Replies stay drafts

Connectors used

Try the live studio