diff --git a/apps/sim/app/(landing)/components/footer/footer.tsx b/apps/sim/app/(landing)/components/footer/footer.tsx index 84ef7e7aa82..27c8f18d713 100644 --- a/apps/sim/app/(landing)/components/footer/footer.tsx +++ b/apps/sim/app/(landing)/components/footer/footer.tsx @@ -133,6 +133,7 @@ const SOCIAL_LINKS: FooterItem[] = [ href: 'https://github.com/simstudioai/sim', external: true, }, + { label: 'YouTube', href: 'https://www.youtube.com/@simdotai', external: true }, ] const LEGAL_LINKS: FooterItem[] = [ diff --git a/apps/sim/app/(landing)/components/home-faq/faqs.ts b/apps/sim/app/(landing)/components/home-faq/faqs.ts new file mode 100644 index 00000000000..79378841b0b --- /dev/null +++ b/apps/sim/app/(landing)/components/home-faq/faqs.ts @@ -0,0 +1,36 @@ +import { INTEGRATION_COUNT_LABEL } from '@sim/deployment-config/integration-claims' + +/** + * Category questions answer engines ask before they name a product: what Sim is, who can + * build with it, how it is hosted, deployed, and governed. Every answer restates a claim the + * homepage already makes (`HOME_FEATURES`, the security certifications) and names the plan or + * license a claim depends on. The FAQPage JSON-LD reads this same array, so the structured + * answers always equal the visible ones. + * Pricing questions live on `/pricing`; do not repeat them here. + */ +export const HOME_FAQS = [ + { + question: 'Is Sim an AI agent builder?', + answer: `Yes. Sim is the open-source AI workspace where teams build, deploy, and manage AI agents. Build an agent visually in the workflow builder, describe it in Chat and let Sim build it, or write it with code through the API and CLI, using ${INTEGRATION_COUNT_LABEL} integrations and every major LLM.`, + }, + { + question: 'Can non-technical teams build AI agents in Sim?', + answer: + 'Yes. In Chat, anyone can describe the agent they need in plain language and Sim builds it. The visual workflow builder shows every step, so teams can review and adjust an agent without writing code, and engineers can extend it with custom functions, the API, or the CLI.', + }, + { + question: 'Is Sim open source, and can I self-host it?', + answer: + "Yes. Sim's core is open source under the Apache 2.0 license and runs in your own cloud with Docker or Kubernetes, or you can use the hosted workspace at sim.ai. Enterprise features such as SSO and access control need a separate license.", + }, + { + question: 'How do teams deploy agents built in Sim?', + answer: + 'Deploy an agent as a chat, an API endpoint, or an MCP server, the standard way other AI tools call an agent. A chat can be public or limited to SSO, specific emails, or a password. Agents can also run on a schedule or start from event triggers in connected apps.', + }, + { + question: 'How does Sim govern AI agents across a company?', + answer: + "Sim's Enterprise plan gives administrators permission groups that control which models, integrations, and tools each team can use, organization and per-member spend limits, audit records, single sign-on with domain verification, and configurable data retention. Every plan traces each run in Logs, and Sim is SOC 2 Type II compliant.", + }, +] as const diff --git a/apps/sim/app/(landing)/components/home-faq/home-faq.tsx b/apps/sim/app/(landing)/components/home-faq/home-faq.tsx new file mode 100644 index 00000000000..f2d02026949 --- /dev/null +++ b/apps/sim/app/(landing)/components/home-faq/home-faq.tsx @@ -0,0 +1,68 @@ +import { ChevronDown, cn } from '@sim/emcn' +import { SITE_URL } from '@/lib/core/utils/urls' +import { HOME_FAQS } from '@/app/(landing)/components/home-faq/faqs' +import { JsonLd } from '@/app/(landing)/components/json-ld' +import { + HOME_INSET, + HOME_TYPE, + LANDING_CONTENT_WIDTH, + LANDING_GUTTER, +} from '@/app/(landing)/components/landing-layout' + +const HOME_FAQ_JSON_LD = { + '@context': 'https://schema.org', + '@type': 'FAQPage', + '@id': `${SITE_URL}#faq`, + mainEntity: HOME_FAQS.map(({ question, answer }) => ({ + '@type': 'Question', + name: question, + acceptedAnswer: { '@type': 'Answer', text: answer }, + })), +} + +/** + * Homepage FAQ with matching `FAQPage` JSON-LD. Native `
` rows keep it a server + * component: the homepage loads its animated islands with `next/dynamic`, and the animated + * `LandingFAQ` would put framer-motion in the initial bundle. Closed answers stay in the HTML. + */ +export function HomeFAQ() { + return ( +
+ +
+

+ Questions teams ask about Sim +

+
+ {HOME_FAQS.map(({ question, answer }, index) => ( +
+ +

{question}

+
+

{answer}

+
+ ))} +
+
+
+ ) +} diff --git a/apps/sim/app/(landing)/components/home-faq/index.ts b/apps/sim/app/(landing)/components/home-faq/index.ts new file mode 100644 index 00000000000..75cdfdc3b0a --- /dev/null +++ b/apps/sim/app/(landing)/components/home-faq/index.ts @@ -0,0 +1,2 @@ +export { HOME_FAQS } from './faqs' +export { HomeFAQ } from './home-faq' diff --git a/apps/sim/app/(landing)/components/index.ts b/apps/sim/app/(landing)/components/index.ts index a34d53b72ed..61e03318d61 100644 --- a/apps/sim/app/(landing)/components/index.ts +++ b/apps/sim/app/(landing)/components/index.ts @@ -11,6 +11,7 @@ export { FeaturedCustomer } from './featured-customer' export { Features } from './features' export { Footer } from './footer' export { Hero } from './hero' +export { HomeFAQ } from './home-faq' export { HomeStructuredData } from './home-structured-data' export type { JsonLdData } from './json-ld' export { JsonLd } from './json-ld' diff --git a/apps/sim/app/(landing)/components/site-structured-data/site-structured-data.tsx b/apps/sim/app/(landing)/components/site-structured-data/site-structured-data.tsx index e1167d276ed..15c0263a194 100644 --- a/apps/sim/app/(landing)/components/site-structured-data/site-structured-data.tsx +++ b/apps/sim/app/(landing)/components/site-structured-data/site-structured-data.tsx @@ -38,6 +38,7 @@ const SITE_JSON_LD = { 'https://github.com/simstudioai/sim', 'https://www.linkedin.com/company/simdotai/', 'https://join.slack.com/t/sim-ott9864/shared_invite/zt-43lp8tc5v-0qrrqHGBKUsvQlpoouH~TA', + 'https://www.youtube.com/@simdotai', ], contactPoint: [ { diff --git a/apps/sim/app/(landing)/landing.tsx b/apps/sim/app/(landing)/landing.tsx index 832f23a0851..72d559ce913 100644 --- a/apps/sim/app/(landing)/landing.tsx +++ b/apps/sim/app/(landing)/landing.tsx @@ -4,6 +4,7 @@ import { FeaturedCustomer, Features, Hero, + HomeFAQ, HomeStructuredData, PlatformSuite, ProductDemo, @@ -34,6 +35,7 @@ import { LandingAnalytics } from '@/app/(landing)/landing-analytics' * 7. {@link Features} - the horizontal product rail. * 8. {@link WorkspaceControls} - the rail's six governance controls, untitled. * 9. {@link Security} - governance intro, Trust Center link, certification blocs. + * 10. {@link HomeFAQ} - category questions with matching FAQPage JSON-LD. * * `
` is a `flex flex-col` whose `gap` is the single source of truth for * major-section rhythm. Customer proof, platform media, and product controls @@ -67,6 +69,7 @@ export default function Landing() { +
) } diff --git a/apps/sim/app/index.md/route.ts b/apps/sim/app/index.md/route.ts index 51749fc2be6..90a8791450a 100644 --- a/apps/sim/app/index.md/route.ts +++ b/apps/sim/app/index.md/route.ts @@ -1,5 +1,6 @@ import { SITE_URL } from '@/lib/core/utils/urls' import { DOCS_URL } from '@/lib/help-links' +import { HOME_FAQS } from '@/app/(landing)/components/home-faq' import { HOME_FEATURES, HOME_HERO_HEADING, @@ -53,6 +54,11 @@ export async function GET() { 'What teams do in Sim', HOME_FEATURES.map((feature) => `- ${feature}`) ), + section( + 'Questions teams ask about Sim', + HOME_FAQS.map(({ question, answer }) => `### ${question}\n\n${answer}`), + '\n\n' + ), section('Platform', navMenuLines(PLATFORM_MENU)), section('Solutions', SOLUTION_LINES), section('More', [ diff --git a/apps/sim/content/library/best-free-ai-agent-builders-2026/index.mdx b/apps/sim/content/library/best-free-ai-agent-builders-2026/index.mdx index 1f428f99bb4..d49bd09d476 100644 --- a/apps/sim/content/library/best-free-ai-agent-builders-2026/index.mdx +++ b/apps/sim/content/library/best-free-ai-agent-builders-2026/index.mdx @@ -168,4 +168,5 @@ Before you commit, run one real task end to end on the free plan, including a de - [Best no-code AI agent builders](https://www.sim.ai/library/best-no-code-ai-agent-builders-2026) if nobody on your team writes code - [Best open-source AI agent platforms](https://www.sim.ai/library/open-source-ai-agent-platforms) if self-hosting is a requirement +- [Cheapest AI agent builders for startups](https://www.sim.ai/library/cheapest-ai-agent-builders-for-startups-2026) if you are comparing paid entry prices as well as free plans - [Best AI agent platforms and builders in 2026](https://www.sim.ai/library/best-ai-agent-platforms-2026) for the broader category diff --git a/apps/sim/content/library/cheapest-ai-agent-builders-for-startups-2026/index.mdx b/apps/sim/content/library/cheapest-ai-agent-builders-for-startups-2026/index.mdx new file mode 100644 index 00000000000..9f5e552dff0 --- /dev/null +++ b/apps/sim/content/library/cheapest-ai-agent-builders-for-startups-2026/index.mdx @@ -0,0 +1,196 @@ +--- +slug: cheapest-ai-agent-builders-for-startups-2026 +title: 'Cheapest AI Agent Builders for Startups in 2026: Free Tiers and Entry Prices Compared' +description: 'Compare free tiers and entry prices for Sim, n8n, Zapier, Make, Dify, Gumloop, Lindy, and Relevance AI to find a low-cost AI agent builder for a small team.' +seoTitle: 'Cheapest AI Agent Builders for Startups in 2026' +date: 2026-11-24 +authors: + - sim +readingTime: 8 +tags: [AI Agents, Pricing, Open Source, Sim] +ogImage: /library/cheapest-ai-agent-builders-for-startups-2026/cover.jpg +draft: false +faq: + - q: "What is the cheapest AI agent platform with solid features?" + a: "The lowest cash cost is a self-hosted open-source builder such as Sim, n8n's Community Edition, or Dify's Community Edition, where you pay only for your server and models; among hosted paid plans, Zapier Professional starts at $19.99 a month, n8n Starter at €20 a month billed annually, and Sim Pro at $25 per user per month." + - q: "Which AI agent builder is the best value for the price?" + a: "It depends on the unit you are billed in: n8n bills per workflow execution with unlimited steps, Zapier bills per task, and Sim, Make, Gumloop, and Lindy bill in credits, so the best value is the plan whose unit matches how many steps and model calls your agent makes." + - q: "Which AI agent builder has the best free tier for testing before buying?" + a: "For a recurring hosted allowance, Make's Free plan offers up to 1,000 credits a month and Zapier's Free plan 100 tasks a month, while Sim's Free plan gives 1,000 one-time credits with all integrations and no credit card, and n8n Cloud offers a 14-day trial with no credit card." + - q: "What is the best low-cost or free AI agent platform for a startup with a tiny budget?" + a: "A startup with no budget can self-host Sim, n8n, or Dify for no license fee and bring its own model keys, or start on a hosted free plan and move to a paid tier only when the agent runs every day." + - q: "What is the best AI agent builder for a small startup team?" + a: "For a team rather than a solo builder, check which plan lets you invite teammates before comparing prices: in Sim, Pro at $25 per user per month adds teammate invites and three workspaces to what the Free plan includes." + - q: "Do I need a credit card to try an AI agent builder?" + a: "Not always: Sim's Free plan and n8n Cloud's 14-day trial both start without a credit card." + - q: "Is Sim free?" + a: "Yes, Sim's Free plan costs $0 with 1,000 one-time credits, one workspace, and all 280+ integrations on your own model keys, and Sim's Apache 2.0 core can be self-hosted for no license fee." + - q: "How much does Sim cost after the free plan?" + a: "Sim Pro is $25 per user per month with 6,000 credits a month plus a weekly refresh of 2,000 more, Max is $100 per user per month with 25,000 credits a month plus a weekly refresh of 4,000, and annual billing costs 15% less." + - q: "Can I self-host an AI agent builder for free?" + a: "Yes, Sim's Apache 2.0 core, n8n's Community Edition, and Dify's Community Edition can be self-hosted without a license fee, but you still pay for the server, the models, and the time to maintain them." + - q: "Do AI agent builders offer startup discounts?" + a: "n8n lists a Startup plan for companies with fewer than 20 employees that qualify, so ask each vendor's sales team before paying list price." + - q: "Does bringing my own model API keys lower the cost?" + a: "Usually yes: in Sim, model calls on your own provider keys add no Sim usage charge beyond the 1-credit base charge per run, so you pay the model provider directly at its own rates." +--- + +The cheapest way to run an AI agent in 2026 is to self-host an open-source builder such as Sim, n8n's Community Edition, or Dify's Community Edition and pay only for a server and model usage. If you would rather not run infrastructure, the lowest hosted entry prices are Zapier Professional from $19.99 a month, n8n Starter at €20 a month billed annually, and Sim Pro at $25 per user per month, and several builders have a free plan or trial to test on first. + +This article is published by Sim, and Sim is one of the eight products covered. Prices were checked against each vendor's pricing page on November 24, 2026, except Make, whose page could not be loaded for this review; its figures come from a capture used in our [guide to free AI agent builders](https://www.sim.ai/library/best-free-ai-agent-builders-2026). Prices change, so confirm them before you commit. + +> **Choose self-hosting when** you have someone who can run a server and you want the lowest cash cost. +> +> **Choose a hosted free plan when** you want to test an agent on real work this week without a card. +> +> **Choose Sim when** you want to build visually, in Chat, or with code on an Apache 2.0 core, use your own model keys without a markup, and add teammates on the same agents when you are ready. + +## What is the cheapest AI agent platform with solid features? + +There are two kinds of cheap, and they cost different things. + +- **Self-hosted, no license fee.** Sim, n8n, and Dify publish editions you can run yourself. The software costs nothing, but a server, model usage, updates, and security are on you. +- **Hosted, low entry price.** Zapier, n8n, and Sim have paid plans from about $20 to $25 a month for one builder. You trade a monthly fee for not running anything. + +For a startup, the deciding cost is usually not the plan price but the unit the plan meters. An agent that runs ten steps and three model calls per run burns through a per-task or per-credit allowance much faster than one that runs a single step. + +## How do free tiers and entry prices compare? + +| Builder | Free option | Lowest listed paid price | Billed in | +| --- | --- | --- | --- | +| **Sim** | Free plan, 1,000 one-time credits, no card; or self-host the Apache 2.0 core | Pro, $25 per user per month | Credits | +| **n8n** | Self-hosted Community Edition; 14-day Cloud trial, no card | Starter, €20 a month billed annually | Workflow executions | +| **Zapier** | Free plan, 100 tasks a month, two-step Zaps | Professional, from $19.99 a month | Tasks | +| **Make** | Free plan, up to 1,000 credits a month | Priced by credit volume | Credits | +| **Dify** | Sandbox, 200 message credits; or self-deploy the Community Edition | Professional, $590 per workspace a year | Message credits | +| **Gumloop** | 14-day trial of Pro | Pro, $37 a month | Credits | +| **Lindy** | $50 in credits that last 7 days | From $49.99 per user per month | Credits | +| **Relevance AI** | Try for free | No self-serve price published | Custom | + +## Which builder has the best free tier for testing before you buy? + +The best free tier for testing is one that lets you run the exact agent you plan to buy, with your real integrations, for long enough to see a week of results. + +- **Recurring hosted allowances** suit agents that run on a schedule. Make offers up to 1,000 credits a month, and Zapier 100 tasks a month with two-step Zaps. +- **One-time allowances and trials** suit a focused evaluation. Sim's Free plan gives 1,000 one-time credits with all 280+ integrations and no card. n8n Cloud offers 14 days with no card. Gumloop offers 14 days of Pro. Lindy's $50 in credits last 7 days. +- **Self-hosted editions** have no time limit at all, so they suit long evaluations if you can run a server. + +On Sim's Free plan, models and tools run on your own provider keys, and each run carries a base charge of 1 credit. If every model call in an agent uses your keys, the 1,000 credits cover up to 1,000 runs, with sandboxed code and hosted tools costing extra. + +## What does each platform cost a small startup team? + +Sim, the publisher, is listed first; the others follow in order of entry price, with the trade-off for each stated plainly. + +### 1. Sim + +**Best for:** Small teams that want to build visually, in Chat, or with code, bring their own model keys, and keep the option to self-host. + +**What it costs:** The Free plan is $0 with 1,000 one-time credits, one workspace, two concurrent executions, and all 280+ integrations on your own keys. Pro is $25 per user per month with 6,000 credits a month plus a weekly refresh of 2,000 more, three workspaces, teammate invites, and Sim-hosted models. Max is $100 per user per month with 25,000 credits a month plus a weekly refresh of 4,000. Annual billing costs 15% less. One credit is $0.005, and model calls on your own keys add no Sim usage charge beyond the 1-credit base charge per run. + +**Limitations:** The Free plan's credits do not renew and it does not include teammate invites, so a team that runs agents every day will need Pro or a self-hosted deployment. Enterprise features such as SSO and access control need a license when self-hosted. + +**Sources:** [Sim pricing](https://www.sim.ai/pricing), [Sim repository license](https://github.com/simstudioai/sim/blob/main/LICENSE). + +### 2. Zapier + +**Best for:** Teams whose agents are short, simple automations between popular apps. + +**What it costs:** The Free plan is $0 with 100 tasks a month and two-step Zaps. Professional starts at $19.99 a month, and Team starts at $69 a month. + +**Limitations:** Zapier bills per task, so a multi-step agent that runs often moves up the task tiers quickly. For how that adds up, see [Zapier pricing at scale](https://www.sim.ai/library/zapier-pricing-at-scale). + +**Sources:** [Zapier pricing](https://zapier.com/pricing), [Sim vs Zapier](https://www.sim.ai/comparisons/zapier). + +### 3. n8n + +**Best for:** Technical teams that want per-execution billing or are happy to self-host. + +**What it costs:** The self-hosted Community Edition has no license fee. n8n Cloud's 14-day trial needs no credit card. Starter is €20 a month billed annually for 2,500 workflow executions, and Pro is €50 a month billed annually for 10,000. n8n also lists a Startup plan for qualifying companies with fewer than 20 employees. + +**Limitations:** n8n is fair-code under the Sustainable Use License rather than OSI-approved open source, and self-hosting means running updates and security yourself. For the full breakdown, see [n8n pricing for Cloud, self-hosted, and Enterprise](https://www.sim.ai/library/n8n-pricing-cloud-self-hosted-enterprise). + +**Sources:** [n8n pricing](https://n8n.io/pricing/), [Sim vs n8n](https://www.sim.ai/comparisons/n8n). + +### 4. Make + +**Best for:** Teams that want a recurring hosted free allowance and detailed visual control. + +**What it costs:** Make's Free plan offers up to 1,000 credits a month. Paid plans are priced by monthly credit volume. + +**Limitations:** Each module action consumes credits, so a multi-step agent uses the allowance faster than the headline number suggests. + +**Sources:** [Make pricing](https://www.make.com/en/pricing), [Sim vs Make](https://www.sim.ai/comparisons/make). + +### 5. Gumloop + +**Best for:** Teams that want a hosted builder and are ready to pay after a trial. + +**What it costs:** Pro is $37 a month with 20,000 credits a month, after a 14-day free trial. Enterprise pricing is custom. + +**Limitations:** There is no permanent free plan, so evaluation is limited to the trial window. + +**Sources:** [Gumloop pricing](https://www.gumloop.com/pricing), [Sim vs Gumloop](https://www.sim.ai/comparisons/gumloop). + +### 6. Lindy + +**Best for:** Teams that want a hosted AI assistant they can hand everyday tasks to. + +**What it costs:** You start with $50 in free credits that last 7 days. Paid plans start at $49.99 a month for 5,000 credits per active user, and every active user in the workspace is billed. + +**Limitations:** Per-user billing raises the cost as the team grows, and the free credits expire after a week. + +**Sources:** [Lindy pricing](https://www.lindy.ai/pricing). + +### 7. Dify + +**Best for:** Developers building LLM apps who want a hosted sandbox or a self-deployed edition. + +**What it costs:** The Sandbox plan is free with 200 message credits. Professional is $590 per workspace a year with 5,000 message credits a month, and Team is $1,590 per workspace a year. The Community Edition can be self-deployed under the Dify Open Source License. + +**Limitations:** Paid plans are billed per workspace per year, and the Sandbox credits are sized for trying the product rather than running an agent daily. + +**Sources:** [Dify pricing](https://dify.ai/pricing), [Sim vs Dify](https://www.sim.ai/comparisons/dify). + +### 8. Relevance AI + +**Best for:** Sales and go-to-market teams buying an AI agent workforce through a sales process. + +**What it costs:** Relevance AI offers a free start, but its pricing page publishes no self-serve plan prices; Enterprise is priced through sales. + +**Limitations:** Without a listed price, a startup cannot compare it on cost until it talks to sales. + +**Sources:** [Relevance AI pricing](https://relevanceai.com/pricing), [Sim vs Relevance AI](https://www.sim.ai/comparisons/relevance-ai). + +## How do credits, tasks, and executions change the real price? + +The same agent can cost very different amounts depending on what the plan counts. + +- **Per execution (n8n).** One workflow run counts once, however many steps it has, so long agents are cheaper per run. +- **Per task (Zapier).** Each action step counts, so cost grows with the number of steps. +- **Per credit (Sim, Make, Gumloop, Lindy).** Credits are spent on runs, steps, or model calls depending on the vendor, so check what one credit buys. + +Model usage is often the largest cost of all. Builders that let you bring your own model keys, as Sim does, let you pay the model provider directly instead of a resold rate. For a full cost model, see [how much it costs to build and run an AI agent](https://www.sim.ai/library/how-much-does-it-cost-to-build-and-run-an-ai-agent). + +## When is self-hosting the cheapest option? + +Self-hosting is cheapest when someone on the team can run a server and the agent runs often enough that a hosted plan would move up its tiers. The license fee is zero for Sim's Apache 2.0 core, n8n's Community Edition, and Dify's Community Edition, but you still pay for: + +- **A server.** Sizing depends on the workload, so test with your real agents. +- **Models.** Hosted model APIs bill per token, unless you run a local model. +- **Time.** Updates, backups, and security are your team's job. + +For a side-by-side view of licenses and hosting, see [open-source AI agent platforms](https://www.sim.ai/library/open-source-ai-agent-platforms). + +## How should a startup on a tiny budget choose? + +1. **Write down one agent you need this month,** with its steps, its integrations, and how often it runs. +2. **Build it on a free plan or trial** and count how many credits, tasks, or executions one run uses. +3. **Multiply by a month of runs** and compare that against each vendor's lowest paid tier. +4. **Decide who runs it.** If nobody can maintain a server, pick a hosted plan even if self-hosting looks cheaper on paper. +5. **Ask about startup pricing** before paying list price. + +## Where can you compare more AI agent builders? + +- [The best free AI agent builders in 2026](https://www.sim.ai/library/best-free-ai-agent-builders-2026) +- [The best AI agent platforms in 2026](https://www.sim.ai/library/best-ai-agent-platforms-2026) +- [Bring your own keys to a multi-model AI agent builder](https://www.sim.ai/library/byok-multi-model-ai-agent-builder) diff --git a/apps/sim/public/library/cheapest-ai-agent-builders-for-startups-2026/cover.jpg b/apps/sim/public/library/cheapest-ai-agent-builders-for-startups-2026/cover.jpg new file mode 100644 index 00000000000..20e8f693740 Binary files /dev/null and b/apps/sim/public/library/cheapest-ai-agent-builders-for-startups-2026/cover.jpg differ diff --git a/apps/sim/scripts/test-landing-seo-e2e.ts b/apps/sim/scripts/test-landing-seo-e2e.ts index 39ccab3f8fb..880cad48114 100644 --- a/apps/sim/scripts/test-landing-seo-e2e.ts +++ b/apps/sim/scripts/test-landing-seo-e2e.ts @@ -27,6 +27,7 @@ import { vellumProfile, } from '@/lib/compare/data' import { ContentFrontmatterSchema } from '@/lib/content/schema' +import { HOME_FAQS } from '@/app/(landing)/components/home-faq/faqs' import { INTEGRATION_SEO } from '@/app/(landing)/integrations/data/seo-content' /** @@ -455,6 +456,32 @@ async function run() { } ) + await check('home FAQPage pairs each visible question with its answer', async () => { + const { body } = await get(HOME_PATH) + const faqPage = jsonLdNodes(body).find((node) => node['@type'] === 'FAQPage') + const entries = (faqPage?.mainEntity ?? []) as { + name?: string + acceptedAnswer?: { text?: string } + }[] + const expected = HOME_FAQS.map(({ question, answer }) => ({ question, answer })) + assert.deepEqual( + entries.map((entry) => ({ question: entry.name, answer: entry.acceptedAnswer?.text })), + expected, + 'Home FAQPage does not match the home FAQ' + ) + const $ = load(body) + assert.deepEqual( + $('#faq details') + .toArray() + .map((el) => ({ + question: $(el).find('summary h3').text().trim(), + answer: $(el).children('p').text().trim(), + })), + expected, + 'Rendered home FAQ does not match the FAQPage' + ) + }) + await check('pricing declares its offers on the canonical product node', async () => { const { body } = await get('/pricing') const product = jsonLdNodes(body).find((node) => Array.isArray(node.offers))