Session 13 / 15๐Ÿ”Žืขื‘

In one sentence

Students assemble everything they've learned into an end-to-end lead engine, architected as small connected scenarios.

Preparation before the session

Time plan

  1. 00:00โ€“00:15 Recap: voice assistant
  2. 00:15โ€“00:40 Lead Engine architecture
  3. 00:40โ€“01:10 Intake, normalization, dedupe and enrichment
  4. 01:10โ€“01:25 โ˜• Break
  5. 01:25โ€“01:50 AI scoring, assignment and Speed-to-lead
  6. 01:50โ€“02:15 Nurture and the content engine
  7. 02:15โ€“02:50 Build together: Lead Engine
  8. 02:50โ€“03:00 Wrap-up and practice

Lecture parts and activity type

PartActivity type
Lead Engine architectureArchitecture
Intake and normalizationExplanation
Dedupe, enrichment and combined scoringExplanation
Assignment and Speed-to-leadDemo
NurtureExplanation
Content engineDemo

The 3 messages that must get across

  1. One scenario per stage.
  2. Speed-to-lead is money.
  3. The law and human approval.

Questions for class discussion

  • Where do leads "fall through" for you?
  • What's your current response time?
  • Who approves content before publishing?

Live demo script

Shared normalization scenario

  1. Inputs โ€” New scenario โ†’ Scenarios โ†’ Start scenario + Scenario inputs: source, name, email, phone, company, message.
  2. Cleanup โ€” Set multiple variables.
  3. Dedupe โ€” Search the CRM โ†’ Array aggregator โ†’ Router.
  4. Return โ€” Return output.
  5. Intakes โ€” Tally โ†’ Call a scenario; Webhook โ†’ Call a scenario.

Combined score with AI

  1. Rules โ€” Set variable rulesScore.
  2. AI โ€” Prompt with an ideal customer profile (ICP) โ†’ JSON.
  3. Combine โ€” {{round(rulesScore*0.6 + aiScore*0.4)}}.
  4. CRM โ€” Update: score, reason.

Round-robin + Speed-to-lead

  1. Assign โ€” Increment function โ†’ owner.
  2. Message โ€” Telegram with Inline keyboard.
  3. Click โ€” In the bot's intake scenario: callback contacted โ†’ Update CRM.
  4. Escalate โ€” Scheduling 10 min โ†’ Search โ†’ Telegram to the manager.

Problems students will run into

ProblemQuick fix
Call a scenario can't find itThe scenario isn't On demand / has no Scenario inputs.
Format differs between sourcesMap every intake to the same names.
AI gives everyone 90Give criteria and examples of a cold lead.
All leads go to the same repIncrement function in a different scenario than the one running / wrong mod.
A lead gets 2 emails a daynextTouchAt wasn't updated (error) โ€” Error handler + Update before sending?

Tips from the classroom

  • Draw one student's funnel on the board.
  • Call a scenario โ€” demo it slowly.
  • Stress the law โ€” it's not optional.

Adapting to different levels

For students who struggle: Normalization + Dedupe.

For fast students: AI SDR + UTM attribution.

Answer key โ€” multiple-choice questions

Students see the answers in shuffled order, so the key gives the wording of the right answer.

#Right answer
1Update + notify the current owner
2Increment function + mod
3The salesperson understands why the lead is hot
4Rules + AI with weights
5A hot lead with no contact after X minutes
6Prior consent + unsubscribe option
7A human approves the draft
8Instant

Homework

  1. A Lead Engine with at least 2 sources.
  2. Prep for session 14: list all the scenarios you built in the course, who "owns" each one, and which connections they use.