Ancient Nutrition
Ancient Nutrition's own Gut Type Quiz, run for real: walks the site's live Octane AI quiz question by question and returns the real computed gut type plus…
Ancient Nutrition's own Gut Type Quiz, run for real: walks the site's live Octane AI quiz question by question and returns the real computed gut type plus the matching SBO Probiotics product and checkout link — no PII required.
Domain: ancientnutrition.com
Also known as: Ancient Nutrition, ancientnutrition, ancientnutrition.com
Call it directly
bowmark.providers.ancientnutrition.getGutTypeQuizQuestions(): Promise<QuizRun>
bowmark.providers.ancientnutrition.computeGutType(answers?: GutTypeAnswers): Promise<QuizRun>Functions
| Function | What it does |
|---|---|
getGutTypeQuizQuestions | Walks Ancient Nutrition's real Gut Type Quiz along its default path (first option for every multiple-choice question, both PII-eligible questions skipped) and returns every page it showed… |
computeGutType | Runs Ancient Nutrition's real Gut Type Quiz with the caller's own answers (keyed by question title) and returns the site's own computed gut type, the matching SBO Probiotics product and a… |
Types
// Ancient Nutrition's OWN shapes — not a capability contract.
interface QuizQuestion {
questionId: string;
title: string;
type: "free_form_text" | "email" | "phone" | "multiple_choice";
allowSkip: boolean;
options?: string[]; // present only for multiple_choice
}
interface QuizPage {
questionPageId: string;
question: QuizQuestion;
}
interface GutTypeProduct {
title: string;
priceFormatted: string;
checkoutUrl: string; // real checkout link for this exact product
}
interface GutTypeResult {
gutType: string; // e.g. "Angry Gut"
product: GutTypeProduct | null;
}
interface QuizRun {
pages: QuizPage[]; // every page the run showed, in order
result: GutTypeResult;
}
// keyed by the question's own TITLE, e.g. { "How old are you?": "25-34" } —
// omit a question to skip it (only legal where the site itself allows a skip)
type GutTypeAnswers = Record<string, string>;Examples
// What does Ancient Nutrition's own quiz ask, and what are the real options?
const { pages } = await bowmark.providers.ancientnutrition.getGutTypeQuizQuestions();
return pages.map((p) => `${p.question.title}${p.question.options ? ": " + p.question.options.join(", ") : ""}`);// Run the quiz for a real stated profile, no email required
const { result } = await bowmark.providers.ancientnutrition.computeGutType({
"How old are you?": "25-34",
"What gender are you?": "Male",
"Do you occasionally deal with constipation?": "Rarely",
});
return { gutType: result.gutType, buy: result.product?.checkoutUrl };