How to work with the challenges
The challenges here are harder than the practice tasks, and are meant for those who finished and want to go deeper. Try on your own for at least 20 minutes before opening the hints, and the solution only after that. There is no single right solution: if your scenario meets the requirements, it is right.
Broken scenario โ find the bug
This is what real work looks like: something broke, and all you have is the History. Read the error, and pick the right fix.
Advanced: Automatic updates
๐ฌ The scenario
When a document changes in Drive โ the store is updated.
๐ฏ The requirements
- Detect changed files.
- Delete old chunks.
- Ingest again.
๐ฏ The desired result โ how the scenario should look and work
Click Run once and then each module: you will see its settings, and on the last module โ the output you should get.
๐ค Example of the final output
{
"deleted": 14,
"upserted": 11
}๐ฌ Stuck? To the guided solution with a click simulation โ
๐ก Hints (try without them first)
- Watch files (modified).
- Delete vectors by prefix / a source filter.
Drive Watch (modified) โ Pinecone Delete vectors (filter: fileId) โ ingestion for the same file. That way even if there are fewer chunks โ no old ones are left.
๐ฌ The guided solution โ a click simulation
๐ธ 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.
- 1Detect changed filesDrive โ Watch files (modified) in the policies folder.

๐ธ Step 1.1 โ the red ring marks where to click 
๐ธ Step 1.2 โ the red ring marks where to click - In the left menu click Scenarios โ + Create a new scenario.
- Click the scenario name at the top left (New scenario) and type:
C11 - Auto update. - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Google Driveand click the Google Drive app. - In the list of actions choose Watch Files in a Folder.
- In the Watch field type:
Modified files - In the Folder field type:
Policies - Click OK (or Save) to close the module window.
- 2Delete the old vectorsDelete vectors with a fileId filter โ before re-inserting.

๐ธ Step 2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
HTTPand click the HTTP app. - In the list of actions choose Make a request.
- In the URL field type:
https://index.pinecone.io/vectors/delete - In the Method field choose:
POST - In the Body field map (drag from the panel or type):
{"filter":{"fileId":"{{1.id}}"}} - Click OK (or Save) to close the module window.
- 3Ingest againDownload โ text โ chunks โ embeddings โ upsert (as in the session).

๐ธ Step 3.1 โ the red ring marks where to click 
๐ธ Step 3.2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Google Driveand click the Google Drive app. - In the list of actions choose Download a File.
- In the File ID field map (drag from the panel or type):
{{1.id}} - Click OK (or Save) to close the module window.
- Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
OpenAIand click the OpenAI app. - In the list of actions choose Create embeddings.
- In the Input field map (drag from the panel or type):
{{chunk}} - Click OK (or Save) to close the module window.
- Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
HTTPand click the HTTP app. - In the list of actions choose Make a request.
- In the URL field type:
https://index.pinecone.io/vectors/upsert - In the Body field map (drag from the panel or type):
{"vectors":[{"id":"{{1.id}}-{{i}}","values":โฆ,"metadata":{"fileId":"{{1.id}}"}}]} - Click OK (or Save) to close the module window.
- 4RunChange a document and check that the answer updates.

๐ธ Step 4 โ the red ring marks where to click - Click โถ Run once at the bottom left.
- When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
- The output should look roughly like this:
{ "deleted": 14, "upserted": 11 }
Experts: Permissions by department
๐ฌ The scenario
A kitchen employee sees only kitchen and general procedures.
๐ฏ The requirements
- department in the metadata (by folder).
- A filter in the query by the user.
- Mapping user โ department.
๐ฏ The desired result โ how the scenario should look and work
Click Run once and then each module: you will see its settings, and on the last module โ the output you should get.
๐ค Example of the final output
{
"matches": 5,
"departments": [
"kitchen",
"general"
]
}๐ฌ Stuck? To the guided solution with a click simulation โ
๐ก Hints (try without them first)
- Data store: chat_id โ department.
- Pinecone filter:
{"department": {"$in": ["kitchen","general"]}}.
Ingestion: department by the parent folder's name. Query: Data store Get (chat_id) โ a filter in the query. The permission is enforced in the store โ not in the instructions to the LLM.
๐ฌ The guided solution โ a click simulation
๐ธ 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.
- 1department in the metadataIn ingestion: the parent folder name = the department.

๐ธ Step 1.1 โ the red ring marks where to click 
๐ธ Step 1.2 โ the red ring marks where to click - In the left menu click Scenarios โ + Create a new scenario.
- Click the scenario name at the top left (New scenario) and type:
C11 - Permissions. - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Google Driveand click the Google Drive app. - In the list of actions choose Watch Files in a Folder.
- Keep the defaults.
- Click OK (or Save) to close the module window.
- Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Toolsand click the Tools app. - In the list of actions choose Set variable.
- In the Variable name field type:
department - In the Variable value field map (drag from the panel or type):
{{1.parents[1].name}} - Click OK (or Save) to close the module window.
- 2Map user โ departmentIn the questions scenario: Data store Get by chat_id.

๐ธ Step 2.1 โ the red ring marks where to click 
๐ธ Step 2.2 โ the red ring marks where to click - In the left menu click Scenarios โ + Create a new scenario.
- Click the scenario name at the top left (New scenario) and type:
C11 - Question. - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Telegram Botand click the Telegram Bot app. - In the list of actions choose Watch Updates.
- Keep the defaults.
- Click OK (or Save) to close the module window.
- Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Data storeand click the Data store app. - In the list of actions choose Get a record.
- In the Data store field type:
staff - In the Key field map (drag from the panel or type):
{{1.message.chat.id}} - Click OK (or Save) to close the module window.
- 3A filter in the querydepartment โ [the user's department, general] โ enforced in the store.

๐ธ Step 3.1 โ the red ring marks where to click 
๐ธ Step 3.2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
HTTPand click the HTTP app. - In the list of actions choose Make a request.
- In the URL field type:
https://index.pinecone.io/query - In the Body field map (drag from the panel or type):
{"topK":5,"filter":{"department":{"$in":["{{2.department}}","general"]}}} - Click OK (or Save) to close the module window.
- Click โถ Run once at the bottom left.
- When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
- The output should look roughly like this:
{ "matches": 5, "departments": [ "kitchen", "general" ] }
Boss challenge: pgvector instead of Pinecone
๐ฌ The scenario
Move the store to Supabase.
๐ฏ The requirements
- The vector extension and a table.
- A match_documents function.
- A call from Make.
๐ฏ The desired result โ how the scenario should look and work
Click Run once and then each module: you will see its settings, and on the last module โ the output you should get.
๐ค Example of the final output
{
"rows": 5
}๐ฌ Stuck? To the guided solution with a click simulation โ
๐ก Hints (try without them first)
create extension vector;order by embedding <=> query_embedding limit k.
A table documents(id text pk, content text, metadata jsonb, embedding vector(1536)). A function match_documents(query_embedding, match_count, filter jsonb). Make: HTTP to the rpc or Execute a query with parameters. An advantage: a JOIN with the CRM tables.
๐ฌ The guided solution โ a click simulation
๐ธ 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.
- 1An extension and a table in Supabasecreate extension vector; a documents table with embedding vector(1536).

๐ธ Step 1 โ the red ring marks where to click - Open supabase.com/dashboard in your browser (the โSQL editorโ screen).
- On the screen you will see: create extension if not exists vector; ยท create table documents (id text primary key, content text, metadata jsonb, embedding vector(1536));
- Click the Run button.
- 2A match_documents functionSearch by cosine distance with a filter.

๐ธ Step 2 โ the red ring marks where to click - Open supabase.com/dashboard in your browser (the โSQL editorโ screen).
- On the screen you will see: create function match_documents(query_embedding vector(1536), match_count int, filter jsonb) returns table(โฆ) โฆ
- Click the Run button.
- 3Call from MakeAn embedding for the question โ HTTP to rpc/match_documents.

๐ธ Step 3.1 โ the red ring marks where to click 
๐ธ Step 3.2 โ the red ring marks where to click - In the left menu click Scenarios โ + Create a new scenario.
- Click the scenario name at the top left (New scenario) and type:
C11 - pgvector. - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
OpenAIand click the OpenAI app. - In the list of actions choose Create embeddings.
- In the Input field map (drag from the panel or type):
{{question}} - Click OK (or Save) to close the module window.
- Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
HTTPand click the HTTP app. - In the list of actions choose Make a request.
- In the URL field type:
https://xyz.supabase.co/rest/v1/rpc/match_documents - In the Method field choose:
POST - In the Body field map (drag from the panel or type):
{"query_embedding": {{1.embedding}}, "match_count": 5, "filter": {}} - Click OK (or Save) to close the module window.
- Click โถ Run once at the bottom left.
- When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
- The output should look roughly like this:
{ "rows": 5 }