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)
Hands off · Stage 01POST /quiz/submit

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
Hands off · Stage 02POST webhook

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
Hands off · Stages 03–042× POST to Iterable

Lifecycle

Profile + event

Iterable

  • users/update writes the answers to the profile
  • events/track fires quizSubmitted
  • Welcome journey sends the quiz results email
Sends · Stage 05Quiz results email

The Handshake, Call by Call

Order matters. The profile write lands first so the journey's first email can read profile fields as well as event fields; the event only fires once Iterable has confirmed the profile. Step 3 is a read-back that Postman asserts against, so a bad run fails loudly instead of quietly sending the wrong email.

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.

Pathways by popularity:1 Coding2 Game Dev3 Robotics4 Creative5 Math6 AITicked = picked for Maya.

1 Tabulate each pathway

In a table only if it fits:Ages 10–12Day camp at Puget Bay University or live onlineSeats left
CodingPathway #1 · most popular first
  1. #1Python Game LabLive onlinebecomes match 1
  2. #2Code a Virtual Robot in PythonLive onlinebecomes match 2
  3. #3Drone Coding LabDay campbecomes match 3
RoboticsPathway #3 · most popular first
  1. #1Robotics: Build & Code a RoverDay campbecomes match 4
  2. #2Arduino Inventors: Sensors & CircuitsDay campbecomes match 5
  3. #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.

  1. 1Python Game LabCoding #1
  2. 2Code a Virtual Robot in PythonCoding #2
  3. 3Drone Coding LabCoding #3
  4. 4Robotics: Build & Code a RoverRobotics #1
  5. 5Arduino Inventors: Sensors & CircuitsRobotics #2
  6. 6Robotics II: Autonomous RoversRobotics #3

3 Build the event

POST{{baseUrl}}/api/events/trackdataFields, trimmed
"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

StageCallWhat it carriesWhy it matters
Stage 01POST /quiz/submitBrowser → Web serverOne 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 02POST webhookWeb server → PostmanThe 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 03POST users/updatePostman → IterableThe 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 04POST events/trackPostman → IterablequizSubmitted, 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 05Journey entryInside IterableThe 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.
VerifyGET users/getByEmailPostman → IterableA read-back of the profile that Postman asserts against.A bad run fails loudly instead of quietly sending the wrong email.
Back to Projects

© 2026 Cheyne Mosher. All rights reserved.

Back to Projects