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

How to use the guide

The guide has three levels of help for each task. Start at the first level and go down only if you need to:

  1. Level 1 โ€” direction: what you need to achieve, and ready prompts for AI tools that help without giving the answer.
  2. Level 2 โ€” steps: an ordered list of what to click and what to type in Make.
  3. Level 3 โ€” the full solution: on the solution page.
๐Ÿ’ก TipAlways Run once after every module you add, and check the bubble above it. That way you know exactly where things go wrong.

Step 0 โ€” accounts and setup

๐Ÿงช Hoppscotch

Send HTTP requests from the browser โ€” free, no installation. (Or Postman.) https://hoppscotch.io

๐Ÿช Webhook.site

A temporary address to see what Make sends. https://webhook.site

๐Ÿ“˜ JSONPlaceholder

A fake API for practicing GET/POST. https://jsonplaceholder.typicode.com

Task 1: Talking to an API

๐ŸŽฏ What you need to achieve

Practice GET and POST against a practice API.

  1. HTTP GET to https://jsonplaceholder.typicode.com/users/1.
  2. HTTP GET with a query: /posts?userId=1 โ€” how many posts came back?
  3. HTTP POST to /posts with a JSON body (title, body, userId).
  4. Check the status code in each one.

๐Ÿค– Prompts for AI tools (ChatGPT / Claude / Gemini)

A "private tutor" prompt โ€” when you are stuck:

I am a student in the course "AI Business Automation with Make".
I am working on the task: "Talking to an API".
The requirements:
1. HTTP GET to https://jsonplaceholder.typicode.com/users/1.
2. HTTP GET with a query: /posts?userId=1 โ€” how many posts came back?
3. HTTP POST to /posts with a JSON body (title, body, userId).
4. Check the status code in each one.

What I have done so far: [describe briefly]
Where I got stuck / the full error message: [paste]
What the output bubble of the last module shows (Output bundle): [paste]

Please explain step by step what to check and what to change, with the exact module and field names in Make.
Do not give me the whole solution at once โ€” first one hint, and if I ask, the next step.

A concept-explanation prompt:

Explain to me in simple words, as to a beginner, the concepts that appear in the task "Talking to an API" in Make.
For each concept: a one-sentence definition, a short business example, and where you see it in Make's interface.
๐Ÿชœ Level 2 โ€” 4 ordered steps: what to click and what to type
  1. GET
    HTTP โ†’ Make a request, the users/1 URL, Parse response โ†’ Run once.
  2. Query
    URL: โ€ฆ/posts, Query parameters: userId = 1. In the bubble: Data is an array โ€” {{length(1.data)}}.
  3. POST
    Method POST, Body type Raw, Content type JSON, Request content: {"title":"Hello","body":"from Make","userId":1}.
  4. Status
    In the bubble: Status code 201.

โœ… How to know you succeeded

๐Ÿ› ๏ธ If something does not work

SymptomWhat to do
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.

Task 2: A first webhook with a response

๐ŸŽฏ What you need to achieve

Create a webhook that receives a name and returns a greeting as JSON.

  1. A custom webhook named hello.
  2. Send from Hoppscotch: POST with {"name":"Dana"}.
  3. Webhook response with status 200 and a body {"greeting":"Hello Dana!"}.
  4. Header: Content-Type: application/json; charset=utf-8.

๐Ÿค– Prompts for AI tools (ChatGPT / Claude / Gemini)

A "private tutor" prompt โ€” when you are stuck:

I am a student in the course "AI Business Automation with Make".
I am working on the task: "A first webhook with a response".
The requirements:
1. A custom webhook named hello.
2. Send from Hoppscotch: POST with {"name":"Dana"}.
3. Webhook response with status 200 and a body {"greeting":"Hello Dana!"}.
4. Header: Content-Type: application/json; charset=utf-8.

What I have done so far: [describe briefly]
Where I got stuck / the full error message: [paste]
What the output bubble of the last module shows (Output bundle): [paste]

Please explain step by step what to check and what to change, with the exact module and field names in Make.
Do not give me the whole solution at once โ€” first one hint, and if I ask, the next step.

A concept-explanation prompt:

Explain to me in simple words, as to a beginner, the concepts that appear in the task "A first webhook with a response" in Make.
For each concept: a one-sentence definition, a short business example, and where you see it in Make's interface.
๐Ÿชœ Level 2 โ€” 5 ordered steps: what to click and what to type
  1. Webhook
    Webhooks โ†’ Custom webhook โ†’ Add โ†’ hello โ†’ copy.
  2. Send
    Run once โ†’ Hoppscotch POST with a JSON body.
  3. Create JSON
    JSON โ†’ Create JSON โ†’ data structure: Generate from {"greeting":"x"} โ†’ greeting = Hello {{1.name}}!.
  4. Response
    Webhooks โ†’ Webhook response: status 200, body = the JSON string, Content-Type header.
  5. ON
    Scheduling Immediately โ†’ ON โ†’ send another request.

โœ… How to know you succeeded

๐Ÿ› ๏ธ If something does not work

SymptomWhat to do
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.

Task 3: A secure leads API

๐ŸŽฏ What you need to achieve

Build the session project: a secure webhook with validation and correct responses.

  1. Get request headers on.
  2. 401 when x-api-key is missing or wrong.
  3. 400 when there is no email or it's invalid, with a clear message.
  4. 201 with leadId, score and message when everything is valid.
  5. Test all 3 cases.

๐Ÿค– Prompts for AI tools (ChatGPT / Claude / Gemini)

A "private tutor" prompt โ€” when you are stuck:

I am a student in the course "AI Business Automation with Make".
I am working on the task: "A secure leads API".
The requirements:
1. Get request headers on.
2. 401 when x-api-key is missing or wrong.
3. 400 when there is no email or it's invalid, with a clear message.
4. 201 with leadId, score and message when everything is valid.
5. Test all 3 cases.

What I have done so far: [describe briefly]
Where I got stuck / the full error message: [paste]
What the output bubble of the last module shows (Output bundle): [paste]

Please explain step by step what to check and what to change, with the exact module and field names in Make.
Do not give me the whole solution at once โ€” first one hint, and if I ask, the next step.

A concept-explanation prompt:

Explain to me in simple words, as to a beginner, the concepts that appear in the task "A secure leads API" in Make.
For each concept: a one-sentence definition, a short business example, and where you see it in Make's interface.
๐Ÿชœ Level 2 โ€” 6 ordered steps: what to click and what to type
  1. Webhook
    Custom webhook Leads API, Get request headers: Yes.
  2. Authentication
    Router: a route with a filter on the header = course-2026-secret; fallback โ†’ Response 401 {"ok":false,"error":"unauthorized"}.
  3. Validation
    An inner Router: email Matches pattern; fallback โ†’ Response 400 {"ok":false,"error":"invalid email"}.
  4. Enrichment
    Set multiple variables: clean name/email/phone, domain, score, leadId.
  5. Response
    Create JSON โ†’ Webhook response 201.
  6. Tests
    Hoppscotch: no key (401), a wrong email (400), valid (201).

โœ… How to know you succeeded

๐Ÿ› ๏ธ If something does not work

SymptomWhat to do
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.

Task 4: Calling an external API for enrichment

๐ŸŽฏ What you need to achieve

Add real enrichment: estimating gender/age by first name (a free API) โ€” as practice in calling an API.

  1. HTTP GET to https://api.genderize.io?name=โ€ฆ with the first name.
  2. Handle the case where the API fails (the scenario doesn't stop).
  3. Add the result to the response.

๐Ÿค– Prompts for AI tools (ChatGPT / Claude / Gemini)

A "private tutor" prompt โ€” when you are stuck:

I am a student in the course "AI Business Automation with Make".
I am working on the task: "Calling an external API for enrichment".
The requirements:
1. HTTP GET to https://api.genderize.io?name=โ€ฆ with the first name.
2. Handle the case where the API fails (the scenario doesn't stop).
3. Add the result to the response.

What I have done so far: [describe briefly]
Where I got stuck / the full error message: [paste]
What the output bubble of the last module shows (Output bundle): [paste]

Please explain step by step what to check and what to change, with the exact module and field names in Make.
Do not give me the whole solution at once โ€” first one hint, and if I ask, the next step.

A concept-explanation prompt:

Explain to me in simple words, as to a beginner, the concepts that appear in the task "Calling an external API for enrichment" in Make.
For each concept: a one-sentence definition, a short business example, and where you see it in Make's interface.
๐Ÿชœ Level 2 โ€” 3 ordered steps: what to click and what to type
  1. HTTP
    GET https://api.genderize.io, Query: name = {{first(split(1.name; " "))}}, Parse response.
  2. Errors
    Evaluate all states as errors: No.
  3. Use it
    In the response: {{if(5.statusCode = 200; 5.data.gender; "unknown")}}.

โœ… How to know you succeeded

๐Ÿ› ๏ธ If something does not work

SymptomWhat to do
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.

Before you submit