Project · iD Tech · Iterable · Postman
Quiz-to-Iterable Pipeline: Architecture Overview
Note: This is a technical explainer for how the quiz event works in The Quiz Project.
The Architecture at a Glance
Browser
Quiz web form
kestrelcamps.example
- Five steps, email collected last
- Submits one JSON object
- Session id travels with it (idempotency key)
Web team
Web server
Node
- Validates and stores the raw submission
- Forwards it to the Postman webhook
- Never exposes the Iterable key to the browser
Marketing ops
Collection run
Postman
- Normalizes email, maps age to bracket
- Finds the home campus, ranks six matches
- Two requests, tests on each, then verifies
Lifecycle
Profile + event
Iterable
- users/update writes the answers to the profile
- events/track fires quizSubmitted
- Welcome journey sends the quiz results email
The Handshake, Call by Call
How the Six Matches Are Built
Inside the Postman run, the six slots are divided evenly across the pathways picked in the quiz, up to three. Pathways and courses are both ranked by popularity: the most popular pathway goes first, and within it the most popular courses. The six results become recs on the quizSubmitted event. In this example, Priya picked Robotics and Coding for her camper Maya, age 10.
1 Tabulate each pathway
- #1Python Game LabLive onlinebecomes match 1
- #2Code a Virtual Robot in PythonLive onlinebecomes match 2
- #3Drone Coding LabDay campbecomes match 3
- #1Robotics: Build & Code a RoverDay campbecomes match 4
- #2Arduino Inventors: Sensors & CircuitsDay campbecomes match 5
- #3Robotics II: Autonomous RoversDay campbecomes match 6
2 Fill the six slots
Two pathways, so each gets three slots. Coding is the more popular pathway, so its three go first.
- 1Python Game LabCoding #1
- 2Code a Virtual Robot in PythonCoding #2
- 3Drone Coding LabCoding #3
- 4Robotics: Build & Code a RoverRobotics #1
- 5Arduino Inventors: Sensors & CircuitsRobotics #2
- 6Robotics II: Autonomous RoversRobotics #3
3 Build the event
"quiz": { "version": "2027.1",
"matchCount": 6, "onlineCount": 2 },
"recs": [
{ "rank": 1, "pathway": "Coding",
"name": "Python Game Lab", … },
{ "rank": 2, "pathway": "Coding",
"name": "Code a Virtual Robot in Python", … },
{ "rank": 3, "pathway": "Coding",
"name": "Drone Coding Lab", … },
{ "rank": 4, "pathway": "Robotics",
"name": "Robotics: Build & Code a Rover", … },
{ "rank": 5, "pathway": "Robotics",
"name": "Arduino Inventors: Sensors & Circuits", … },
{ "rank": 6, "pathway": "Robotics",
"name": "Robotics II: Autonomous Rovers", … }
]matchCount is the number of matches; onlineCount is how many of them run live online.
Stage by Stage
| Stage | Call | What it carries | Why it matters |
|---|---|---|---|
| Stage 01 | POST /quiz/submitBrowser → Web server | One JSON object: seven answers, two consent boxes, plus a session id, timestamp, quiz version and source URL. | The session id is the idempotency key: a double-submit can never create two events. |
| Stage 02 | POST webhookWeb server → Postman | The raw submission, forwarded as the webhook body. A pre-request script normalizes the email, maps age to a bracket, finds the home campus and ranks up to six matches. | The transformation runs once, and the Iterable key never reaches the browser. |
| Stage 03 | POST users/updatePostman → Iterable | The profile, upserted by email: parent, home campus, preferred format, one object per student, consent and quiz date. | A sibling is never overwritten, and later campaigns can segment on the answers. |
| Stage 04 | POST events/trackPostman → Iterable | quizSubmitted, with the one student this quiz is about and six ranked matches: everything the email needs to render a course card. | Fires only after the profile write is confirmed. The event id comes from the session id, so a repeat delivery is not a duplicate. |
| Stage 05 | Journey entryInside Iterable | The Lead welcome & nurture journey enters at Quiz, checks email consent and no enrollment, and sends the quiz results email instantly. | The email reads the student and matches off the event, and the parent's name and home campus off the profile. |
| Verify | GET users/getByEmailPostman → Iterable | A read-back of the profile that Postman asserts against. | A bad run fails loudly instead of quietly sending the wrong email. |