Skip to content

Onboarding creates prompts with only Starter's 2 engines even when a Growth trial is selected #78

Closed

Description

@gkhngyk

Summary

During cloud onboarding, prompts are created before the plan/trial step, so they always get the default plan's engine set (Starter → ChatGPT + Perplexity, 2 engines) — even when the user goes on to start a Growth trial at the final step. Growth allows all 8 engines, but the onboarding-created prompts never reflect that.

Why it happens

Onboarding step order:

1. brand_setup → 2. brand_details → 3. topics → 4. prompts → 5. competitors → 6. plan

Prompts are saved at step 4, but the plan is only chosen at step 6. At step 4 the org is still on its default plan ('free', which falls back to Starter limits), so the available scrapers are gated to Starter's allowedScrapers (chatgpt-web, perplexity-web) and written into each prompt's platforms array.

  • Step map, scraper gating, prompt save (platforms: activeScrapers.map(...)): onboarding/page.tsx
  • Plan engine sets (starter.allowedScrapers vs growth, which has none = all 8): config/plans.ts

Expected

A user who starts a Growth trial during onboarding should end up with prompts that track the engines their plan allows — not just the 2 Starter engines.

Possible directions

  • Move the plan step before prompt creation, or
  • After the plan/trial is confirmed, re-derive each onboarding-created prompt's platforms from the selected plan, or
  • Default new prompts to the plan's full engine set once a Growth trial/subscription is active.

Acceptance criteria

  • After completing onboarding with a Growth trial, the created prompts track the engines Growth allows (up to 8), not just 2
  • Starter onboarding behavior is unchanged (2 engines)

Related: the plan-upgrade engine-expansion gap (separate issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions