Session 4 / 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's the difference between a webhook and polling?
    โœ… Webhook = the system sends to us when there is an event; polling = we ask every X minutes
    Push vs. pull.
  2. To check an API key sent in a header you need:
    โœ… Get request headers: Yes in the webhook
    Without it the headers don't appear in the output.
  3. Code 429 means:
    โœ… Too many requests โ€” slow down
    A rate limit.
  4. Why use Create JSON rather than writing JSON by hand?
    โœ… It prevents broken JSON when there are quotes/lines/special characters
    Correct encoding automatically.
  5. Make an API call lets you:
    โœ… Call any endpoint with an existing connection's auth
    Flexibility + ready auth.
  6. When should Webhook response go?
    โœ… As early as possible, before slow actions
    There is a time limit for waiting.
  7. Evaluate all states as errors off means:
    โœ… 4xx/5xx won't stop the scenario
    You handle the status yourself.
  8. Where do you see requests waiting to be processed?
    โœ… Webhooks โ†’ the queue
    Every webhook has a queue.

Solution to task 1: Talking to an API

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
    GET
    HTTP โ†’ Make a request, the users/1 URL, Parse response โ†’ Run once.
    Marked screenshot โ€” step 1: GET
    ๐Ÿ“ธ Step 1.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 1: GET
    ๐Ÿ“ธ 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: S04 - API.
    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 HTTP and click the HTTP app.
    5. In the list of actions choose Make a request.
    6. In the URL field type: https://jsonplaceholder.typicode.com/users/1
    7. In the Method field choose: GET
    8. In the Parse response field choose: Yes
    9. Click OK (or Save) to close the module window.
    10. Click โ–ถ Run once at the bottom left.
    11. When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
    12. The output should look roughly like this:
      {
       "statusCode": 200,
       "data": {
        "id": 1,
        "name": "Leanne Graham"
       }
      }
  2. 2
    Query
    URL: โ€ฆ/posts, Query parameters: userId = 1. In the bubble: Data is an array โ€” {{length(1.data)}}.
    Marked screenshot โ€” step 2: Query
    ๐Ÿ“ธ Step 2.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 2: Query
    ๐Ÿ“ธ Step 2.2 โ€” the red ring marks where to click
    1. Click module number 1 to open its settings.
    2. In the URL field type: https://jsonplaceholder.typicode.com/posts
    3. In the Query String field type: userId = 1
    4. Click OK.
    5. Click โ–ถ Run once at the bottom left.
    6. When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
    7. The output should look roughly like this:
      {
       "statusCode": 200,
       "data": "[10 items]"
      }
  3. 3
    POST
    Method POST, Body type Raw, Content type JSON, Request content: {"title":"Hello","body":"from Make","userId":1}.
    Marked screenshot โ€” step 3: POST
    ๐Ÿ“ธ Step 3 โ€” the red ring marks where to click
    1. Click module number 1 to open its settings.
    2. In the Method field choose: POST
    3. In the Body type field type: Raw
    4. In the Content type field type: JSON (application/json)
    5. In the Request content field type: {"title":"Hello","body":"from Make","userId":1}
    6. Click OK.
  4. 4
    Status
    In the bubble: Status code 201.
    Marked screenshot โ€” step 4: Status
    ๐Ÿ“ธ 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:
      {
       "statusCode": 201,
       "data": {
        "id": 101,
        "title": "Hello"
       }
      }

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

SymptomFix
400 on the POSTContent type isn't JSON, or the JSON is invalid.
Special characters appear as \u05e9That's fine โ€” it's encoded JSON. Parse response returns normal text.

Solution to task 2: A first webhook with a response

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 โ†’ hello โ†’ copy.
    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: S04 - hello.
    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 โ†’ hello
    7. In the Address field type: https://hook.eu2.make.com/helloโ€ฆ (Copy address)
    8. Click OK (or Save) to close the module window.
  2. 2
    Send
    Run once โ†’ Hoppscotch POST with a JSON body.
    Marked screenshot โ€” step 2: Send
    ๐Ÿ“ธ Step 2.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 2: Send
    ๐Ÿ“ธ Step 2.2 โ€” 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:
      {
       "name": "Dana"
      }
    4. Open hoppscotch.io in your browser (the โ€œHoppscotchโ€ screen).
    5. On the screen you will see: POST https://hook.eu2.make.com/helloโ€ฆ ยท Body ยท JSON: {"name":"Dana"}
    6. Click the Send button.
  3. 3
    Create JSON
    JSON โ†’ Create JSON โ†’ data structure: Generate from {"greeting":"x"} โ†’ greeting = Hello {{1.name}}!.
    Marked screenshot โ€” step 3: Create JSON
    ๐Ÿ“ธ 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 JSON and click the JSON app.
    3. In the list of actions choose Create JSON.
    4. In the Data structure field type: Generate โ†’ {"greeting":"x"}
    5. In the greeting field map (drag from the panel or type): Hello {{1.name}}!
    6. Click OK (or Save) to close the module window.
  4. 4
    Response
    Webhooks โ†’ Webhook response: status 200, body = the JSON string, Content-Type header.
    Marked screenshot โ€” step 4: Response
    ๐Ÿ“ธ Step 4 โ€” 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 Webhooks and click the Webhooks app.
    3. In the list of actions choose Webhook response.
    4. In the Status field type: 200
    5. In the Body field map (drag from the panel or type): {{2.json}}
    6. In the Custom headers field type: Content-Type: application/json
    7. Click OK (or Save) to close the module window.
  5. 5
    ON
    Scheduling Immediately โ†’ ON โ†’ send another request.
    Marked screenshot โ€” step 5: ON
    ๐Ÿ“ธ Step 5.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 5: ON
    ๐Ÿ“ธ Step 5.2 โ€” 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.
    4. Open hoppscotch.io in your browser (the โ€œHoppscotchโ€ screen).
    5. On the screen you will see: Status: 200 OK ยท {"greeting":"Hello Dana!"}
    6. Click the Send button.

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

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

SymptomFix
I got AcceptedThe scenario isn't ON and isn't in Run once, or Webhook response isn't in the chain.
Garbled charactersAdd charset=utf-8 to Content-Type.

Solution to task 3: A secure leads API

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
    Custom webhook Leads API, Get request headers: Yes.
    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: S04 - Leads API.
    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 โ†’ Leads API
    7. In the Get request headers field choose: Yes
    8. Click OK (or Save) to close the module window.
  2. 2
    Authentication
    Router: a route with a filter on the header = course-2026-secret; fallback โ†’ Response 401 {"ok":false,"error":"unauthorized"}.
    Marked screenshot โ€” step 2: Authentication
    ๐Ÿ“ธ Step 2.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 2: Authentication
    ๐Ÿ“ธ 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 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 Flow Control and click the Flow Control app.
    8. In the list of actions choose Router.
    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: Valid key.
    13. In Condition set: {{get(map(1.__IMTH__; "value"; "name"; "x-api-key"); 1)}} ยท Equal to ยท course-2026-secret (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 Webhooks and click the Webhooks app.
    17. In the list of actions choose Webhook response.
    18. In the Status field type: 401
    19. In the Body field type: {"ok":false,"error":"unauthorized"}
    20. Click OK (or Save) to close the module window.
    21. Click the ๐Ÿ”ง on the line of the last route โ†’ Set up a filter.
    22. Type Fallback as the Label, and tick Fallback route: Yes.
    23. Click OK โ€” this route runs only when no other route matched.
  3. 3
    Validation
    An inner Router: email Matches pattern; fallback โ†’ Response 400 {"ok":false,"error":"invalid email"}.
    Marked screenshot โ€” step 3: Validation
    ๐Ÿ“ธ Step 3.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 3: Validation
    ๐Ÿ“ธ Step 3.2 โ€” 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: Valid email.
    3. In Condition set: email ยท Matches pattern ยท ^[^@\s]+@[^@\s]+\.[^@\s]+$ (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.
    5. Click the small + coming out of the Router (to its right) to open a new route.
    6. In the search box type Webhooks and click the Webhooks app.
    7. In the list of actions choose Webhook response.
    8. In the Status field type: 400
    9. In the Body field type: {"ok":false,"error":"invalid email"}
    10. Click OK (or Save) to close the module window.
    11. Click the ๐Ÿ”ง on the line of the last route โ†’ Set up a filter.
    12. Type Fallback as the Label, and tick Fallback route: Yes.
    13. Click OK โ€” this route runs only when no other route matched.
  4. 4
    Enrichment
    Set multiple variables: clean name/email/phone, domain, score, leadId.
    Marked screenshot โ€” step 4: Enrichment
    ๐Ÿ“ธ Step 4 โ€” 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(1.email))}}
    5. In the domain field map (drag from the panel or type): {{last(split(email; "@"))}}
    6. In the leadId field map (drag from the panel or type): L-{{formatDate(now; "YYYYMMDD")}}-โ€ฆ
    7. Click OK (or Save) to close the module window.
  5. 5
    Response
    Create JSON โ†’ Webhook response 201.
    Marked screenshot โ€” step 5: Response
    ๐Ÿ“ธ Step 5.1 โ€” the red ring marks where to click
    Marked screenshot โ€” step 5: Response
    ๐Ÿ“ธ 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 JSON and click the JSON app.
    3. In the list of actions choose Create JSON.
    4. In the ok field type: true
    5. In the leadId field map (drag from the panel or type): {{leadId}}
    6. Click OK (or Save) to close the module window.
    7. Click the + (the big circle in the middle, or the half-circle to the right of the last module).
    8. In the search box type Webhooks and click the Webhooks app.
    9. In the list of actions choose Webhook response.
    10. In the Status field type: 201
    11. In the Body field map (drag from the panel or type): {{json}}
    12. Click OK (or Save) to close the module window.
  6. 6
    Tests
    Hoppscotch: no key (401), a wrong email (400), valid (201).
    Marked screenshot โ€” step 6: Tests
    ๐Ÿ“ธ Step 6 โ€” the red ring marks where to click
    1. Open hoppscotch.io in your browser (the โ€œHoppscotch โ€” 3 testsโ€ screen).
    2. On the screen you will see: No x-api-key โ†’ 401 ยท email: dana@ โ†’ 400 ยท Valid โ†’ 201 {"ok":true,"leadId":"L-20261110-โ€ฆ"}
    3. Click the Send button.

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

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

SymptomFix
Always 401Get request headers is off, or the header name is in capital letters in the comparison.
Both the fallback and a normal route ranThe fallback wasn't ticked โ€” it's set up as a route with an empty filter.

Solution to task 4: Calling an external API for enrichment

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
    HTTP
    GET https://api.genderize.io, Query: name = {{first(split(1.name; " "))}}, Parse response.
    Marked screenshot โ€” step 1: HTTP
    ๐Ÿ“ธ 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 HTTP and click the HTTP app.
    3. In the list of actions choose Make a request.
    4. In the URL field type: https://api.genderize.io
    5. In the Query String field map (drag from the panel or type): name = {{first(split(1.name; " "))}}
    6. In the Parse response field choose: Yes
    7. Click OK (or Save) to close the module window.
  2. 2
    Errors
    Evaluate all states as errors: No.
    Marked screenshot โ€” step 2: Errors
    ๐Ÿ“ธ Step 2 โ€” the red ring marks where to click
    1. Click the last module to open its settings.
    2. In the Evaluate all states as errors field choose: No
    3. Click OK.
  3. 3
    Use it
    In the response: {{if(5.statusCode = 200; 5.data.gender; "unknown")}}.
    Marked screenshot โ€” step 3: Use it
    ๐Ÿ“ธ Step 3 โ€” the red ring marks where to click
    1. Click module number -2 to open its settings.
    2. In the gender field map (drag from the panel or type): {{if(5.statusCode = 200; 5.data.gender; "unknown")}}
    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:
      {
       "statusCode": 200,
       "data": {
        "name": "dana",
        "gender": "female",
        "probability": 0.98
       }
      }

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

SymptomFix
429The free API has a daily quota. Switch to Webhook.site for testing.
gender nullThe name isn't known โ€” that's fine, handle it with ifempty.

Solution to the bonus challenge

A recommended structure: Endpoint (POST https://hookโ€ฆ) ยท Auth (x-api-key) ยท Request body (a field table: name, type, required) ยท Responses (201 / 400 / 401 with an example) ยท Rate limits ยท Contact. Be careful not to publish the secret in the docs โ€” just "provided separately".