Session 9 / 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. What is AI less good at?
    โœ… Precise calculations
    Calculations โ€” with functions.
  2. How does AI use Credits in the Make AI Provider?
    โœ… By tokens / actual usage
    Dynamic.
  3. What reduces hallucinations?
    โœ… "Don't make it up โ€” null" + context
    An explicit instruction and context.
  4. Why shorten the email content?
    โœ… Saving tokens and Credits
    Input = cost.
  5. Structured output:
    โœ… The model is bound to a defined JSON structure
    The most reliable.
  6. A small model suits:
    โœ… Classification at high volumes
    Fast and cheap.
  7. An error handler on Parse JSON:
    โœ… Resume with category = other
    A safe default.
  8. Human-in-the-loop is:
    โœ… A person approves before an irreversible action
    A draft โ†’ approval.

Solution to task 1: A first AI: classification

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
    Tools โ†’ Set variable: text.
    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: S09 - Classification.
    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 variable.
    6. In the text field type: Hi, I'd like a quote for a website for our companyโ€ฆ
    7. Click OK (or Save) to close the module window.
  2. 2
    AI
    Make AI Toolkit โ†’ (Categorize / Ask anything) or OpenAI โ†’ Generate a response / Anthropic Claude โ†’ Create a prompt.
    Marked screenshot โ€” step 2: AI
    ๐Ÿ“ธ 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 Make AI Toolkit and click the Make AI Toolkit app.
    3. In the list of actions choose Ask anything.
    4. Keep the defaults.
    5. Click OK (or Save) to close the module window.
  3. 3
    Prompt
    The classification from the lecture in a short version.
    Marked screenshot โ€” step 3: Prompt
    ๐Ÿ“ธ Step 3 โ€” the red ring marks where to click
    1. Click module number 2 to open its settings.
    2. In the Prompt field map (drag from the panel or type): Classify the email as one of: lead / support / invoice / spam / other. Return one word. Email: {{1.text}}
    3. Click OK.
  4. 4
    Test
    5 emails, a results table.
    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:
      {
       "result": "lead"
      }

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

SymptomFix
It returns a whole sentenceAdd "one word only, no punctuation".
Connection errorAn invalid key or no credit with the provider.

Solution to task 2: Structured JSON extraction

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
    AI
    The full prompt with JSON.
    Marked screenshot โ€” step 1: AI
    ๐Ÿ“ธ 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 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: Return JSON only: {"category":โ€ฆ,"name":โ€ฆ,"company":โ€ฆ,"budget":โ€ฆ}. Don't invent โ€” null.
    5. Click OK (or Save) to close the module window.
  2. 2
    Clean-up
    Set variable clean = replace ร—2.
    Marked screenshot โ€” step 2: Clean-up
    ๐Ÿ“ธ 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 variable.
    4. In the clean field map (drag from the panel or type): {{replace(replace(1.result; "```json"; emptystring); "```"; emptystring)}}
    5. Click OK (or Save) to close the module window.
  3. 3
    Parse
    JSON โ†’ Parse JSON โ†’ data structure.
    Marked screenshot โ€” step 3: Parse
    ๐Ÿ“ธ Step 3.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 3: Parse
    ๐Ÿ“ธ 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 JSON and click the JSON app.
    3. In the list of actions choose Parse JSON.
    4. In the Data structure field type: lead_extract
    5. In the JSON string field map (drag from the panel or type): {{2.clean}}
    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:
      {
       "category": "lead",
       "name": "Dana Cohen",
       "company": "Acme",
       "budget": 40000
      }
  4. 4
    Errors
    An error handler on Parse โ†’ Resume.
    Marked screenshot โ€” step 4: Errors
    ๐Ÿ“ธ Step 4 โ€” the red ring marks where to click
    1. Right-click module the last โ†’ Add error handler.
    2. Choose the Resume directive.
    3. In the category field type: other

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

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

SymptomFix
Source is not valid JSONAI added text โ€” strengthen the instruction or use structured output.
budget "60 thousand"Instruct explicitly: a number only.

Solution to task 3: Smart Inbox

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
    Trigger
    Gmail โ†’ Watch emails, Folder INBOX, Criteria: unread.
    Marked screenshot โ€” step 1: Trigger
    ๐Ÿ“ธ Step 1.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 1: Trigger
    ๐Ÿ“ธ 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: S09 - Smart Inbox.
    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. In the Folder field type: INBOX
    7. In the Criteria field type: Unread emails only
    8. Click OK (or Save) to close the module window.
  2. 2
    Clean-up
    Text parser โ†’ HTML to text; substring 4000.
    Marked screenshot โ€” step 2: Clean-up
    ๐Ÿ“ธ Step 2.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 2: Clean-up
    ๐Ÿ“ธ 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 Text parser and click the Text parser app.
    3. In the list of actions choose HTML to text.
    4. In the HTML field map (drag from the panel or type): {{1.html}}
    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 body field map (drag from the panel or type): {{substring(2.text; 0; 4000)}}
    10. Click OK (or Save) to close the module window.
  3. 3
    AI
    The full prompt.
    Marked screenshot โ€” step 3: AI
    ๐Ÿ“ธ 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 Make AI Toolkit and click the Make AI Toolkit app.
    3. In the list of actions choose Ask anything.
    4. In the Prompt field map (drag from the panel or type): โ€ฆ the full prompt from the lecture โ€ฆ {{3.body}}
    5. Click OK (or Save) to close the module window.
  4. 4
    Parse
    Parse JSON + Resume.
    Marked screenshot โ€” step 4: Parse
    ๐Ÿ“ธ Step 4.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 4: Parse
    ๐Ÿ“ธ 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 JSON and click the JSON app.
    3. In the list of actions choose Parse JSON.
    4. Keep the defaults.
    5. Click OK (or Save) to close the module window.
    6. Right-click module the last โ†’ Add error handler.
    7. Choose the Resume directive.
    8. In the category field type: other
  5. 5
    Router
    4 routes with filters on category.
    Marked screenshot โ€” step 5: Router
    ๐Ÿ“ธ Step 5.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 5: Router
    ๐Ÿ“ธ Step 5.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 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.
    6. Click the small + coming out of the Router (to its right) to open a new route.
    7. In the search box type Gmail and click the Gmail app.
    8. In the list of actions choose Create a draft.
    9. Keep the defaults.
    10. Click OK (or Save) to close the module window.
    11. Click the ๐Ÿ”ง icon on the line between the last two modules โ†’ Set up a filter.
    12. In the Label field type: lead.
    13. In Condition set: category = lead (pick the field from the panel, the operator from the list, and type a value).
    14. Click OK โ€” a funnel icon appears on the line.
    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 Add a label.
    18. Keep the defaults.
    19. Click OK (or Save) to close the module window.
    20. Click the ๐Ÿ”ง icon on the line between the last two modules โ†’ Set up a filter.
    21. In the Label field type: spam.
    22. In Condition set: category = spam (pick the field from the panel, the operator from the list, and type a value).
    23. Click OK โ€” a funnel icon appears on the line.
  6. 6
    Actions
    Create a draft (reply), Add a label, CRM (session 5/8), Telegram.
    Marked screenshot โ€” step 6: Actions
    ๐Ÿ“ธ Step 6.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 6: Actions
    ๐Ÿ“ธ Step 6.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 Google Sheets and click the Google Sheets app.
    3. In the list of actions choose Add a Row.
    4. Keep the defaults.
    5. Click OK (or Save) to close the module window.
    6. Click the small + coming out of the Router (to its right) to open a new route.
    7. In the search box type Telegram Bot and click the Telegram Bot app.
    8. In the list of actions choose Send a Text Message or a Reply.
    9. Keep the defaults.
    10. Click OK (or Save) to close the module window.
    11. Click โ–ถ Run once at the bottom left.
    12. When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
    13. The output should look roughly like this:
      {
       "category": "lead",
       "draft": "r-91โ€ฆ"
      }

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

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

SymptomFix
The draft isn't in the threadThe Thread ID isn't mapped.
It processes the same email againMark it as read or add a label and matching criteria.

Solution to task 4: Measuring accuracy and cost

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
    Log
    Sheets: subject, category, urgency, credits?
    Marked screenshot โ€” step 1: Log
    ๐Ÿ“ธ 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 Google Sheets and click the Google Sheets app.
    3. In the list of actions choose Add a Row.
    4. In the subject field map (drag from the panel or type): {{1.subject}}
    5. In the category field map (drag from the panel or type): {{5.category}}
    6. In the urgency field map (drag from the panel or type): {{5.urgency}}
    7. Click OK (or Save) to close the module window.
  2. 2
    Marking
    A manual correct column.
    Marked screenshot โ€” step 2: Marking
    ๐Ÿ“ธ Step 2 โ€” the red ring marks where to click
    1. Open sheets.google.com in your browser (the โ€œAI logโ€ screen).
    2. On the screen you will see: Column correct: โœ” / โœ˜ (manual)
  3. 3
    Calculation
    COUNTIF / COUNT.
    Marked screenshot โ€” step 3: Calculation
    ๐Ÿ“ธ Step 3 โ€” the red ring marks where to click
    1. Open sheets.google.com in your browser (the โ€œAI logโ€ screen).
    2. On the screen you will see: =COUNTIF(F:F;"โœ”")/COUNTA(F:F)-1 โ†’ 92%
  4. 4
    Cost
    History โ†’ operations/Credits for each run.
    Marked screenshot โ€” step 4: Cost
    ๐Ÿ“ธ Step 4 โ€” the red ring marks where to click
    1. Click the History tab (at the top) and check that the last line is: Operations ยท Credits per run (AI by tokens).

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

SymptomFix
It's hard to calculate CreditsLook at a run's summary in History, or Usage in the organization.

Solution to the bonus challenge

Add an Examples: section to the instructions with 3 pairs (email โ†’ JSON). Usually the accuracy in borderline cases rises significantly, at the cost of a few hundred tokens per call. If the examples are long โ€” consider prompt caching (if the provider supports it) or another model.