Bowmark AIdocs

Summer Fridays

Summer Fridays' Skincare Quiz, run for real — the quiz's own published routine-selection logic against a buyer's answers, filled with real, live, in-stock…

Summer Fridays' Skincare Quiz, run for real — the quiz's own published routine-selection logic against a buyer's answers, filled with real, live, in-stock Summer Fridays products for an AM/PM routine.

Domain: summerfridays.com

Also known as: Summer Fridays, summerfridays, SUMMER FRIDAYS

Call it directly

bowmark.providers.summerfridaysquiz.getSkincareQuizQuestions(): Promise<SkincareQuizQuestion[]>
bowmark.providers.summerfridaysquiz.getSkincareRoutine(answers: SkincareQuizAnswerInput[]): Promise<SkincareRoutine>

Functions

FunctionWhat it does
getSkincareQuizQuestionsReads the live Skincare Quiz's question list — every question in order, with its option labels.
getSkincareRoutineRuns Summer Fridays' own published quiz decision tree for a buyer's answers (given as question/choice LABELS, matched case-insensitively against getSkincareQuizQuestions) and returns a real…

Types

interface SkincareQuizOption {
  label: string;
  value: string;
  tags: string[];
}
interface SkincareQuizQuestion {
  name: string;
  label: string;
  multiSelect: boolean;
  options: SkincareQuizOption[];
}
interface SkincareQuizAnswerInput {
  question: string;
  choice: string | string[];
}
interface SkincareRoutineProduct {
  category: string;
  name: string;
  price: number;
  available: boolean;
  url: string;
  image: string | null;
}
interface SkincareRoutine {
  morning: SkincareRoutineProduct[];
  evening: SkincareRoutineProduct[];
  warnings: string[];
  answers: SkincareQuizAnswerInput[];
}

Examples

// what AM/PM routine does the Skincare Quiz recommend for combination, sensitive skin wanting more hydration?
const routine = await bowmark.providers.summerfridaysquiz.getSkincareRoutine([
  { question: "How would you describe your skin?", choice: "Combination" },
  { question: "Do you consider your skin to be sensitive?", choice: "Yes" },
  { question: "What are your skincare goals? Select up to 3.", choice: ["Boost hydration", "Dull skin"] },
  { question: "Would you like to include undereye care in your routine? If yes, what's your priority?", choice: "Dark circles" },
  { question: "What is your age?", choice: "25-34" },
  { question: "How many steps do you want in your routine?", choice: "Up to five steps" },
  { question: "When are you planning on using your routine?", choice: "AM + PM" },
]);
log(routine.morning.map(p => `${p.category}: ${p.name} — $${p.price} -> ${p.url}`).join("\n"));
// what does the Skincare Quiz actually ask?
const qs = await bowmark.providers.summerfridaysquiz.getSkincareQuizQuestions();
log(qs.map(q => `${q.label}: ${q.options.map(o => o.label).join(" / ")}`).join("\n"));