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

Blueprint files + how to compare with the solution

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. Where do you set up a filter?
    โœ… On the line between two modules
    Click the line โ†’ Set up a filter.
  2. A Router with a "โ‰ฅ50" route and a "โ‰ฅ80" route. A lead with 90:
    โœ… On both routes
    Every route whose filter holds โ€” runs.
  3. Make stores dates in:
    โœ… UTC
    Display with a time zone in formatDate.
  4. What does ifempty(company; "private") return when company is empty?
    โœ… private
    ifempty returns a fallback value.
  5. Which operator checks a regex in a filter?
    โœ… Matches pattern
    Text โ†’ Matches pattern.
  6. What does switch(source; "google"; 3; "referral"; 5; 0) return for "facebook"?
    โœ… 0
    The last value is the default.
  7. What is the pattern for showing an Israeli date and time?
    โœ… formatDate(d; "DD/MM/YYYY HH:mm"; "Asia/Jerusalem")
    With an explicit time zone.
  8. Why put filters early in the scenario?
    โœ… Modules that don't run don't use Credits
    A direct saving in Credits.

Solution to task 1: First filters

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
    A sample lead
    Tools โ†’ Set multiple variables: name, email, budget=45000.
    Marked screenshot โ€” step 1: A sample lead
    ๐Ÿ“ธ Step 1.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 1: A sample lead
    ๐Ÿ“ธ 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: S03 - Filters.
    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 Tools and click the Tools app.
    5. In the list of actions choose Set multiple variables.
    6. In the name field type: Dana Cohen
    7. In the email field type: dana@acme.co.il
    8. In the budget field type: 45000
    9. Click OK (or Save) to close the module window.
  2. 2
    A second module
    Tools โ†’ Compose a string: Relevant lead: {{1.name}}.
    Marked screenshot โ€” step 2: A second module
    ๐Ÿ“ธ 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 Compose a string.
    4. In the Text field map (drag from the panel or type): Relevant lead: {{1.name}}
    5. Click OK (or Save) to close the module window.
  3. 3
    Filter
    Click the line โ†’ Label: High budget โ†’ {{parseNumber(1.budget)}} Numeric: Greater than 20000 โ†’ Add AND rule โ†’ email Basic: Exists.
    Marked screenshot โ€” step 3: Filter
    ๐Ÿ“ธ Step 3 โ€” the red ring marks where to click
    1. Click the ๐Ÿ”ง icon on the line between the last two modules โ†’ Set up a filter.
    2. In the Label field type: High budget.
    3. In Condition set: {{parseNumber(1.budget)}} ยท Numeric: Greater than ยท 20000 AND email ยท Basic: Exists (pick the field from the panel, the operator from the list, and type a value).
    4. Click OK โ€” a funnel icon appears on the line.
  4. 4
    Test
    Run once โ†’ you see a bubble. Change to 5000 โ†’ Run once โ†’ a bubble only on module 1.
    Marked screenshot โ€” step 4: Test
    ๐Ÿ“ธ Step 4 โ€” the red ring marks where to click
    1. Click โ–ถ Run once at the bottom left.
    2. When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
    3. The output should look roughly like this:
      {
       "text": "Relevant lead: Dana Cohen"
      }

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

SymptomFix
The filter always failsA Text comparison instead of Numeric โ€” "45000" > "20000" as text may fail.
I can't find Set up a filterClick exactly on the line (or on the wrench icon in its middle).

Solution to task 2: Clean and normalize a 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
    Input
    Set multiple variables with the dirty lead from the lecture.
    Marked screenshot โ€” step 1: Input
    ๐Ÿ“ธ Step 1.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 1: Input
    ๐Ÿ“ธ 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: S03 - Lead cleanup.
    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 Tools and click the Tools app.
    5. In the list of actions choose Set multiple variables.
    6. In the name field type: Dana COHEN
    7. In the email field type: Dana@Acme.co.il
    8. In the phone field type: 050-123-4567
    9. Click OK (or Save) to close the module window.
  2. 2
    name / email
    {{trim(1.name)}}, {{lower(trim(1.email))}}.
    Marked screenshot โ€” step 2: name / email
    ๐Ÿ“ธ 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 name field map (drag from the panel or type): {{trim(1.name)}}
    5. In the email field map (drag from the panel or type): {{lower(trim(1.email))}}
    6. Click OK (or Save) to close the module window.
  3. 3
    phone
    {{"+972" + substring(replace(1.phone; "/[^0-9]/g"; emptystring); 1; 10)}}.
    Marked screenshot โ€” step 3: phone
    ๐Ÿ“ธ Step 3 โ€” the red ring marks where to click
    1. Click module number 2 to open its settings.
    2. In the phone field map (drag from the panel or type): {{"+972" + substring(replace(1.phone; "/[^0-9]/g"; emptystring); 1; 10)}}
    3. Click OK.
  4. 4
    domain
    {{last(split(lower(trim(1.email)); "@"))}}.
    Marked screenshot โ€” step 4: domain
    ๐Ÿ“ธ Step 4 โ€” the red ring marks where to click
    1. Click module number 2 to open its settings.
    2. In the domain field map (drag from the panel or type): {{last(split(lower(trim(1.email)); "@"))}}
    3. Click OK.
  5. 5
    isBusiness
    {{if(contains(domain; "gmail") or contains(domain; "walla") or contains(domain; "yahoo") or contains(domain; "hotmail"); false; true)}}.
    Marked screenshot โ€” step 5: isBusiness
    ๐Ÿ“ธ Step 5.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 5: isBusiness
    ๐Ÿ“ธ Step 5.2 โ€” the red ring marks where to click
    1. Click module number 2 to open its settings.
    2. In the isBusiness field map (drag from the panel or type): {{if(contains(domain; "gmail") or โ€ฆ; false; true)}}
    3. Click OK.
    4. Click โ–ถ Run once at the bottom left.
    5. When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
    6. The output should look roughly like this:
      {
       "name": "Dana COHEN",
       "email": "dana@acme.co.il",
       "phone": "+972501234567",
       "domain": "acme.co.il",
       "isBusiness": true
      }

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

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

SymptomFix
phone came out +97250123456 (a digit missing)substring(โ€ฆ; 1; 10) โ€” the end is 10 (exclusive). Check that the source is 10 digits long.
emptystring isn't recognizedPick it from the General tab in the panel, don't type it.

Solution to task 3: A live lead form with a webhook

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
    Webhook
    Webhooks โ†’ Custom webhook โ†’ Add โ†’ copy the address.
    Marked screenshot โ€” step 1: Webhook
    ๐Ÿ“ธ Step 1.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 1: Webhook
    ๐Ÿ“ธ 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: S03 - Lead form.
    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. In the Webhook field type: Add โ†’ Tally leads
    7. In the Address field type: https://hook.eu2.make.com/abc123โ€ฆ (Copy address)
    8. Click OK (or Save) to close the module window.
  2. 2
    Tally
    Integrations โ†’ Webhooks โ†’ paste โ†’ Connect.
    Marked screenshot โ€” step 2: Tally
    ๐Ÿ“ธ Step 2 โ€” the red ring marks where to click
    1. Open tally.so/forms/leads/integrations in your browser (the โ€œIntegrationsโ€ screen).
    2. On the screen you will see: Webhooks ยท Endpoint URL: https://hook.eu2.make.com/abc123โ€ฆ
    3. Click the Connect button.
  3. 3
    Learn the structure
    Make: Run once โ†’ submit the form โ†’ Successfully determined.
    Marked screenshot โ€” step 3: Learn the structure
    ๐Ÿ“ธ Step 3 โ€” the red ring marks where to click
    1. Click โ–ถ Run once at the bottom left.
    2. When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
    3. The output should look roughly like this:
      {
       "status": "Successfully determined",
       "name": "Dana Cohen",
       "email": "dana@acme.co.il",
       "budget": "45000"
      }
  4. 4
    Filter
    Email Matches pattern ^[^@\s]+@[^@\s]+\.[^@\s]+$.
    Marked screenshot โ€” step 4: Filter
    ๐Ÿ“ธ Step 4.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 4: Filter
    ๐Ÿ“ธ 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 Tools and click the Tools app.
    3. In the list of actions choose Set multiple variables.
    4. Keep the defaults.
    5. Click OK (or Save) to close the module window.
    6. Click the ๐Ÿ”ง icon on the line between the last two modules โ†’ Set up a filter.
    7. In the Label field type: Valid email.
    8. In Condition set: Email ยท Text: Matches pattern ยท ^[^@\s]+@[^@\s]+\.[^@\s]+$ (pick the field from the panel, the operator from the list, and type a value).
    9. Click OK โ€” a funnel icon appears on the line.
  5. 5
    Clean-up + score
    Set multiple variables with the formula from the lecture.
    Marked screenshot โ€” step 5: Clean-up + score
    ๐Ÿ“ธ Step 5 โ€” the red ring marks where to click
    1. Click module number 2 to open its settings.
    2. In the score field map (drag from the panel or type): {{โ€ฆ the formula from the lecture โ€ฆ}}
    3. In the email field map (drag from the panel or type): {{lower(trim(1.email))}}
    4. Click OK.
  6. 6
    Activation
    Scheduling: Immediately โ†’ ON.
    Marked screenshot โ€” step 6: Activation
    ๐Ÿ“ธ Step 6 โ€” the red ring marks where to click
    1. Click the clock ๐Ÿ•’ in the bottom bar (next to the ON/OFF switch).
    2. In the schedule settings choose: Immediately and click OK.
    3. Switch the toggle OFF โ†’ ON in the bottom bar so the scenario runs on its schedule.

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

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

SymptomFix
The webhook receives nothingCheck that the scenario is in Run once or ON, and that the address in Tally is complete.
The fields don't appearRedetermine data structure and submit another form.
score is always 5budget arrives as text โ€” parseNumber, or the field is empty โ€” ifempty(โ€ฆ; 0).

Solution to task 4: Router: routing by score

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
    Router
    After the score module โ†’ Flow Control โ†’ Router.
    Marked screenshot โ€” step 1: Router
    ๐Ÿ“ธ 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 Flow Control and click the Flow Control app.
    3. In the list of actions choose Router.
    4. Keep the defaults.
    5. Click OK (or Save) to close the module window.
  2. 2
    Hot route
    Filter: score โ‰ฅ 80 โ†’ Telegram: ๐Ÿ”ฅ Hot lead! {{name}} ยท {{company}} ยท ILS {{budget}} ยท score {{score}} ยท {{phone}}.
    Marked screenshot โ€” step 2: Hot route
    ๐Ÿ“ธ Step 2.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 2: Hot route
    ๐Ÿ“ธ Step 2.2 โ€” 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 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): ๐Ÿ”ฅ Hot lead! {{name}} ยท {{company}} ยท โ‚ช{{budget}} ยท score {{score}} ยท {{phone}}
    5. Click OK (or Save) to close the module window.
    6. Click the ๐Ÿ”ง icon on the line between the last two modules โ†’ Set up a filter.
    7. In the Label field type: Hot lead.
    8. In Condition set: score ยท Numeric: Greater than or equal to ยท 80 (pick the field from the panel, the operator from the list, and type a value).
    9. Click OK โ€” a funnel icon appears on the line.
  3. 3
    Warm route
    Filter: โ‰ฅ50 AND <80 โ†’ a short Telegram.
    Marked screenshot โ€” step 3: Warm route
    ๐Ÿ“ธ Step 3.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 3: Warm route
    ๐Ÿ“ธ Step 3.2 โ€” 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 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): Warm lead: {{name}} ยท score {{score}}
    5. Click OK (or Save) to close the module window.
    6. Click the ๐Ÿ”ง icon on the line between the last two modules โ†’ Set up a filter.
    7. In the Label field type: Warm.
    8. In Condition set: score โ‰ฅ 50 AND score < 80 (pick the field from the panel, the operator from the list, and type a value).
    9. Click OK โ€” a funnel icon appears on the line.
  4. 4
    Fallback
    A third route โ†’ Filter โ†’ Fallback route: Yes โ†’ Tools โ†’ Set variable.
    Marked screenshot โ€” step 4: Fallback
    ๐Ÿ“ธ Step 4.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 4: Fallback
    ๐Ÿ“ธ Step 4.2 โ€” 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 Tools and click the Tools app.
    3. In the list of actions choose Set variable.
    4. In the status field type: Nurture
    5. Click OK (or Save) to close the module window.
    6. Click the ๐Ÿ”ง on the line of the last route โ†’ Set up a filter.
    7. Type Fallback as the Label, and tick Fallback route: Yes.
    8. Click OK โ€” this route runs only when no other route matched.
  5. 5
    Test
    Submit 3 forms: budget 60K + this month, 25K + quarter, 3K + just looking.
    Marked screenshot โ€” step 5: Test
    ๐Ÿ“ธ Step 5 โ€” the red ring marks where to click
    1. Click โ–ถ Run once at the bottom left.
    2. When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
    3. The output should look roughly like this:
      {
       "route": "Hot lead",
       "message_id": 88
      }

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

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

SymptomFix
A lead got two messagesOverlapping ranges โ€” check โ‰ฅ50 AND <80.
The fallback always runsIt's set up as a normal route with an empty filter. Tick Fallback route: Yes.

Solution to the bonus challenge

The professional way: document versions of the scoring model (v1, v2โ€ฆ) in notes, and test them on leads that closed in the past. If leads that closed got a low score โ€” the weights are wrong. In session 13 we will add an AI score that complements the rules.