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

Blueprint files + how to compare with the solution

  • โฌ‡๏ธ S13 - Lead Engine โ€” Webhook โ†’ normalize + business Filter โ†’ Data store (Dedupe) โ†’ OpenAI score โ†’ Increment (rotation) โ†’ save โ†’ Router: Slack / nurture

All the files and import instructions: the Blueprint files page.

For every task you will find four layers here: an animated click simulation, an illustrated step-by-step guide (a marked screenshot for every step + "what to click and what to type" instructions), the final result and a table of common problems.

โ„น๏ธ How do you import a Blueprint into Make?
  1. Open a new scenario: Scenarios โ†’ Create a new scenario.
  2. Click โ‹ฏ (More) in the bottom bar โ†’ Import Blueprint.
  3. Choose a JSON file you saved (Export Blueprint) and click Save.
  4. Modules that need a connection will be marked โ€” open each one and choose your connection.
  5. A Blueprint does not include passwords or keys โ€” you always create the connections again.

Solution to Part A โ€” multiple-choice questions

  1. An existing lead comes back from a new source. What's right?
    โœ… Update + notify the current owner
    Don't break ownership.
  2. Round-robin in Make:
    โœ… Increment function + mod
    A counter that persists.
  3. Why save the AI's reason?
    โœ… The salesperson understands why the lead is hot
    Transparency.
  4. Combined score:
    โœ… Rules + AI with weights
    Stability + nuance.
  5. What triggers a Speed-to-lead escalation?
    โœ… A hot lead with no contact after X minutes
    A scenario checks every 10 minutes.
  6. Marketing email requires:
    โœ… Prior consent + unsubscribe option
    Anti-spam law.
  7. Content engine โ€” who publishes?
    โœ… A human approves the draft
    Human-in-the-loop.
  8. Facebook Lead Ads is a trigger that is:
    โœ… Instant
    Immediate.

Solution to task 1: Shared normalization scenario

The solution in four layers: a click simulation (the cursor shows what to click, what to type and in which order), an illustrated guide for every step, the written steps and a simulation of the result.

๐Ÿ“ธ The illustrated guide โ€” step by step, click by click

For every step: a screenshot of the (simulated) Make editor with the click spot marked, and below it exactly what to click and what to type. You can work from here next to an open Make window.

  1. 1
    Inputs
    New scenario โ†’ Scenarios โ†’ Start scenario + Scenario inputs: source, name, email, phone, company, message.
    Marked screenshot โ€” step 1: Inputs
    ๐Ÿ“ธ Step 1.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 1: Inputs
    ๐Ÿ“ธ Step 1.2 โ€” the red ring marks where to click
    1. In the left menu click Scenarios โ†’ + Create a new scenario.
    2. Click the scenario name at the top left (New scenario) and type: normalize_lead.
    3. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    4. In the search box type Scenarios and click the Scenarios app.
    5. In the list of actions choose Start scenario.
    6. Keep the defaults.
    7. Click OK (or Save) to close the module window.
    8. Click โš™๏ธ Scenario settings in the bottom bar.
    9. In the Scenario inputs field type: source ยท name ยท email ยท phone ยท company ยท message
    10. Click OK.
  2. 2
    Cleanup
    Set multiple variables.
    Marked screenshot โ€” step 2: Cleanup
    ๐Ÿ“ธ Step 2 โ€” the red ring marks where to click
    1. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    2. In the search box type Tools and click the Tools app.
    3. In the list of actions choose Set multiple variables.
    4. In the email field map (drag from the panel or type): {{lower(trim(email))}}
    5. In the phone field type: +972โ€ฆ
    6. In the name field map (drag from the panel or type): {{capitalize(trim(name))}}
    7. Click OK (or Save) to close the module window.
  3. 3
    Dedupe
    Search the CRM โ†’ Array aggregator โ†’ Router.
    Marked screenshot โ€” step 3: Dedupe
    ๐Ÿ“ธ Step 3.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 3: Dedupe
    ๐Ÿ“ธ Step 3.2 โ€” the red ring marks where to click
    1. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    2. In the search box type Google Sheets and click the Google Sheets app.
    3. In the list of actions choose Search Rows.
    4. In the Filter field map (drag from the panel or type): email = {{2.email}}
    5. Click OK (or Save) to close the module window.
    6. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    7. In the search box type Flow Control and click the Flow Control app.
    8. In the list of actions choose Array aggregator.
    9. Keep the defaults.
    10. Click OK (or Save) to close the module window.
    11. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    12. In the search box type Flow Control and click the Flow Control app.
    13. In the list of actions choose Router.
    14. Keep the defaults.
    15. Click OK (or Save) to close the module window.
  4. 4
    Return
    Return output.
    Marked screenshot โ€” step 4: Return
    ๐Ÿ“ธ Step 4 โ€” the red ring marks where to click
    1. Click the small + coming out of the Router (to its right) to open a new route.
    2. In the search box type Scenarios and click the Scenarios app.
    3. In the list of actions choose Return output.
    4. In the leadId field choose: โ€ฆ
    5. In the isNew field map (drag from the panel or type): {{length(4.array) = 0}}
    6. Click OK (or Save) to close the module window.
  5. 5
    Intakes
    Tally โ†’ Call a scenario; Webhook โ†’ Call a scenario.
    Marked screenshot โ€” step 5: Intakes
    ๐Ÿ“ธ Step 5.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 5: Intakes
    ๐Ÿ“ธ Step 5.2 โ€” the red ring marks where to click
    1. In the left menu click Scenarios โ†’ + Create a new scenario.
    2. Click the scenario name at the top left (New scenario) and type: S13 - Tally intake.
    3. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    4. In the search box type Webhooks and click the Webhooks app.
    5. In the list of actions choose Custom webhook.
    6. Keep the defaults.
    7. Click OK (or Save) to close the module window.
    8. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    9. In the search box type Scenarios and click the Scenarios app.
    10. In the list of actions choose Call a scenario.
    11. In the Scenario field type: normalize_lead
    12. In the source field type: tally
    13. Click OK (or Save) to close the module window.

๐ŸŽฌ The final result โ€” run the simulation

๐Ÿ› ๏ธ Common problems and how to fix them

SymptomFix
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.

Solution to task 2: Combined score with AI

The solution in four layers: a click simulation (the cursor shows what to click, what to type and in which order), an illustrated guide for every step, the written steps and a simulation of the result.

๐Ÿ“ธ The illustrated guide โ€” step by step, click by click

For every step: a screenshot of the (simulated) Make editor with the click spot marked, and below it exactly what to click and what to type. You can work from here next to an open Make window.

  1. 1
    Rules
    Set variable rulesScore.
    Marked screenshot โ€” step 1: Rules
    ๐Ÿ“ธ Step 1 โ€” the red ring marks where to click
    1. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    2. In the search box type Tools and click the Tools app.
    3. In the list of actions choose Set variable.
    4. In the rulesScore field map (drag from the panel or type): {{โ€ฆ rules: budget, size, urgency โ€ฆ}}
    5. Click OK (or Save) to close the module window.
  2. 2
    AI
    Prompt with an ideal customer profile (ICP) โ†’ JSON.
    Marked screenshot โ€” step 2: AI
    ๐Ÿ“ธ Step 2.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 2: AI
    ๐Ÿ“ธ Step 2.2 โ€” the red ring marks where to click
    1. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    2. In the search box type Make AI Toolkit and click the Make AI Toolkit app.
    3. In the list of actions choose Ask anything.
    4. In the Prompt field type: ICP: companies with 20โ€“200 employeesโ€ฆ return JSON {aiScore, reason}
    5. Click OK (or Save) to close the module window.
    6. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    7. In the search box type JSON and click the JSON app.
    8. In the list of actions choose Parse JSON.
    9. Keep the defaults.
    10. Click OK (or Save) to close the module window.
  3. 3
    Combine
    {{round(rulesScore*0.6 + aiScore*0.4)}}.
    Marked screenshot โ€” step 3: Combine
    ๐Ÿ“ธ Step 3 โ€” the red ring marks where to click
    1. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    2. In the search box type Tools and click the Tools app.
    3. In the list of actions choose Set variable.
    4. In the score field map (drag from the panel or type): {{round(rulesScore*0.6 + aiScore*0.4)}}
    5. Click OK (or Save) to close the module window.
  4. 4
    CRM
    Update: score, reason.
    Marked screenshot โ€” step 4: CRM
    ๐Ÿ“ธ Step 4.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 4: CRM
    ๐Ÿ“ธ Step 4.2 โ€” the red ring marks where to click
    1. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    2. In the search box type Google Sheets and click the Google Sheets app.
    3. In the list of actions choose Update a Row.
    4. In the score field map (drag from the panel or type): {{score}}
    5. In the reason field map (drag from the panel or type): {{3.reason}}
    6. Click OK (or Save) to close the module window.
    7. Click โ–ถ Run once at the bottom left.
    8. When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
    9. The output should look roughly like this:
      {
       "score": 80,
       "reason": "Company fits the ICP size, defined budget"
      }

๐Ÿ› ๏ธ Common problems and how to fix them

SymptomFix
AI gives everyone 90Give criteria and examples of a cold lead.

Solution to task 3: Round-robin + Speed-to-lead

The solution in four layers: a click simulation (the cursor shows what to click, what to type and in which order), an illustrated guide for every step, the written steps and a simulation of the result.

๐Ÿ“ธ The illustrated guide โ€” step by step, click by click

For every step: a screenshot of the (simulated) Make editor with the click spot marked, and below it exactly what to click and what to type. You can work from here next to an open Make window.

  1. 1
    Assign
    Increment function โ†’ owner.
    Marked screenshot โ€” step 1: Assign
    ๐Ÿ“ธ Step 1.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 1: Assign
    ๐Ÿ“ธ Step 1.2 โ€” the red ring marks where to click
    1. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    2. In the search box type Tools and click the Tools app.
    3. In the list of actions choose Increment function.
    4. In the Reset a value field type: Never
    5. Click OK (or Save) to close the module window.
    6. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    7. In the search box type Tools and click the Tools app.
    8. In the list of actions choose Set variable.
    9. In the owner field map (drag from the panel or type): {{get(reps; (1.i mod 3) + 1)}}
    10. Click OK (or Save) to close the module window.
  2. 2
    Message
    Telegram with Inline keyboard.
    Marked screenshot โ€” step 2: Message
    ๐Ÿ“ธ Step 2 โ€” the red ring marks where to click
    1. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    2. In the search box type Telegram Bot and click the Telegram Bot app.
    3. In the list of actions choose Send a Text Message or a Reply.
    4. In the Text field map (drag from the panel or type): New lead for {{owner}}: {{name}}
    5. In the Reply markup field type: Inline keyboard: [โœ… I made contact]
    6. Click OK (or Save) to close the module window.
  3. 3
    Click
    In the bot's intake scenario: callback contacted โ†’ Update CRM.
    Marked screenshot โ€” step 3: Click
    ๐Ÿ“ธ Step 3.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 3: Click
    ๐Ÿ“ธ Step 3.2 โ€” the red ring marks where to click
    1. In the left menu click Scenarios โ†’ + Create a new scenario.
    2. Click the scenario name at the top left (New scenario) and type: S12 - Bot intake.
    3. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    4. In the search box type Telegram Bot and click the Telegram Bot app.
    5. In the list of actions choose Watch Updates.
    6. Keep the defaults.
    7. Click OK (or Save) to close the module window.
    8. Click the ๐Ÿ”ง icon on the line between the last two modules โ†’ Set up a filter.
    9. In the Label field type: contacted.
    10. In Condition set: callback_query.data = contacted (pick the field from the panel, the operator from the list, and type a value).
    11. Click OK โ€” a funnel icon appears on the line.
    12. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    13. In the search box type Google Sheets and click the Google Sheets app.
    14. In the list of actions choose Update a Row.
    15. In the contactedAt field map (drag from the panel or type): {{now}}
    16. Click OK (or Save) to close the module window.
  4. 4
    Escalate
    Scheduling 10 min โ†’ Search โ†’ Telegram to the manager.
    Marked screenshot โ€” step 4: Escalate
    ๐Ÿ“ธ Step 4.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 4: Escalate
    ๐Ÿ“ธ Step 4.2 โ€” the red ring marks where to click
    1. In the left menu click Scenarios โ†’ + Create a new scenario.
    2. Click the scenario name at the top left (New scenario) and type: S13 - Speed-to-lead.
    3. Click the clock ๐Ÿ•’ in the bottom bar (next to the ON/OFF switch).
    4. In the schedule settings choose: At regular intervals ยท 10 minutes and click OK.
    5. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    6. In the search box type Google Sheets and click the Google Sheets app.
    7. In the list of actions choose Search Rows.
    8. In the Filter field type: score โ‰ฅ 80 AND contactedAt empty AND created < now-10m
    9. Click OK (or Save) to close the module window.
    10. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    11. In the search box type Telegram Bot and click the Telegram Bot app.
    12. In the list of actions choose Send a Text Message or a Reply.
    13. In the Text field type: โฐ A hot lead is waiting!
    14. Click OK (or Save) to close the module window.

๐Ÿ› ๏ธ Common problems and how to fix them

SymptomFix
All leads go to the same repIncrement function in a different scenario than the one running / wrong mod.

Solution to task 4: Nurture + content engine

The solution in four layers: a click simulation (the cursor shows what to click, what to type and in which order), an illustrated guide for every step, the written steps and a simulation of the result.

๐Ÿ“ธ The illustrated guide โ€” step by step, click by click

For every step: a screenshot of the (simulated) Make editor with the click spot marked, and below it exactly what to click and what to type. You can work from here next to an open Make window.

  1. 1
    Nurture
    Daily Scheduling โ†’ Search โ†’ Router โ†’ Gmail โ†’ Update.
    Marked screenshot โ€” step 1: Nurture
    ๐Ÿ“ธ Step 1.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 1: Nurture
    ๐Ÿ“ธ Step 1.2 โ€” the red ring marks where to click
    1. In the left menu click Scenarios โ†’ + Create a new scenario.
    2. Click the scenario name at the top left (New scenario) and type: S13 - Nurture.
    3. Click the clock ๐Ÿ•’ in the bottom bar (next to the ON/OFF switch).
    4. In the schedule settings choose: Every day ยท 10:00 and click OK.
    5. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    6. In the search box type Google Sheets and click the Google Sheets app.
    7. In the list of actions choose Search Rows.
    8. In the Filter field type: nextTouchAt โ‰ค today AND replied = No
    9. Click OK (or Save) to close the module window.
    10. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    11. In the search box type Flow Control and click the Flow Control app.
    12. In the list of actions choose Router.
    13. Keep the defaults.
    14. Click OK (or Save) to close the module window.
    15. Click the small + coming out of the Router (to its right) to open a new route.
    16. In the search box type Gmail and click the Gmail app.
    17. In the list of actions choose Send an email.
    18. Keep the defaults.
    19. Click OK (or Save) to close the module window.
    20. Click the small + coming out of the Router (to its right) to open a new route.
    21. In the search box type Google Sheets and click the Google Sheets app.
    22. In the list of actions choose Update a Row.
    23. In the nextTouchAt field map (drag from the panel or type): {{addDays(now; 3)}}
    24. Click OK (or Save) to close the module window.
  2. 2
    Stop
    Watch emails โ†’ update replied.
    Marked screenshot โ€” step 2: Stop
    ๐Ÿ“ธ Step 2.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 2: Stop
    ๐Ÿ“ธ Step 2.2 โ€” the red ring marks where to click
    1. In the left menu click Scenarios โ†’ + Create a new scenario.
    2. Click the scenario name at the top left (New scenario) and type: S13 - Stop.
    3. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    4. In the search box type Gmail and click the Gmail app.
    5. In the list of actions choose Watch emails.
    6. Keep the defaults.
    7. Click OK (or Save) to close the module window.
    8. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    9. In the search box type Google Sheets and click the Google Sheets app.
    10. In the list of actions choose Update a Row.
    11. In the replied field choose: Yes
    12. Click OK (or Save) to close the module window.
  3. 3
    Content
    RSS โ†’ keyword Filter โ†’ AI โ†’ Airtable โ†’ Slack.
    Marked screenshot โ€” step 3: Content
    ๐Ÿ“ธ Step 3.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 3: Content
    ๐Ÿ“ธ Step 3.2 โ€” the red ring marks where to click
    1. In the left menu click Scenarios โ†’ + Create a new scenario.
    2. Click the scenario name at the top left (New scenario) and type: S13 - Content engine.
    3. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    4. In the search box type RSS and click the RSS app.
    5. In the list of actions choose Watch RSS feed items.
    6. Keep the defaults.
    7. Click OK (or Save) to close the module window.
    8. Click the ๐Ÿ”ง icon on the line between the last two modules โ†’ Set up a filter.
    9. In the Label field type: Keywords.
    10. In Condition set: title contains automation OR AI (pick the field from the panel, the operator from the list, and type a value).
    11. Click OK โ€” a funnel icon appears on the line.
    12. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    13. In the search box type Make AI Toolkit and click the Make AI Toolkit app.
    14. In the list of actions choose Ask anything.
    15. Keep the defaults.
    16. Click OK (or Save) to close the module window.
    17. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    18. In the search box type Airtable and click the Airtable app.
    19. In the list of actions choose Create a Record.
    20. Keep the defaults.
    21. Click OK (or Save) to close the module window.
    22. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    23. In the search box type Slack and click the Slack app.
    24. In the list of actions choose Create a Message.
    25. Keep the defaults.
    26. Click OK (or Save) to close the module window.

๐Ÿ› ๏ธ Common problems and how to fix them

SymptomFix
A lead gets 2 emails a daynextTouchAt wasn't updated (error) โ€” Error handler + Update before sending?

Solution to the bonus challenge

SQL (or Airtable views): select source, count(*), avg(score), avg(extract(epoch from first_contact_at - received_at)/60) from leads where received_at > now() - interval '7 days' group by source โ†’ Text aggregator โ†’ Gmail HTML. Add a comparison with last week.