Selçuk Kızıltuğ

Domain Packs: teach DecisionBox your industry in minutes

Domain Packs: Teach DecisionBox Your Industry in Minutes

Create, edit, import, and share AI discovery templates β€” entirely from the dashboard.

πŸ‘‹ Cross-posting from our blog for anyone who hasn't seen it. Original post: https://decisionbox.io/blog/domain-packs

TL;DR

Domain packs are how DecisionBox knows what to look for in your data. From the dashboard, you can create a domain pack, edit it with a built-in markdown editor, export it as JSON to share with others, or import one someone else made. No restarts, no deploys β€” just save and run a discovery.

What Is a Domain Pack?

A domain pack teaches DecisionBox's AI agent how to analyze a specific industry. Think of it as a recipe: it tells the agent what questions to ask, what patterns matter, and what context it needs about your business.

Every pack has four parts:

Part

What It Does

Categories

Sub-types within the domain. E-Commerce has "Multi-Category Store". Gaming has "Match-3", "Idle", and "Casual". Each activates different analysis strategies.

Analysis Areas

The patterns to look for β€” like "Conversion Funnel", "Revenue & Pricing", or "Customer Retention".

Prompts

Markdown instructions that guide the AI through exploration, analysis, and recommendations.

Profile Schema

A form where users describe their business β€” KPIs, business model, product catalog β€” so the AI can tailor its analysis.

DecisionBox ships with built-in packs for E-Commerce, Gaming, Social Network, and Real Estate CRM. But you can create your own for any industry.

Browsing Your Packs

Navigate to Domain Packs in the sidebar. Each pack appears as a card with its name, status (Published or Draft), number of categories and analysis areas, and version.

You can create a new pack, import one from a JSON file, export any pack, edit it, or delete it. Deleting a pack doesn't affect projects that already use it β€” they keep their own copy.

Domain Packs list page showing built-in packs with Import and New Pack buttons

Inside a Domain Pack: E-Commerce

Let's open the built-in E-Commerce pack to see how everything fits together.

General

The basics: a slug (ecommerce), a name, a description, a version number, and a Published toggle that controls whether the pack shows up when creating new projects.

General tab showing slug, name, description, version, and published toggle

Categories

Categories are sub-types within your domain. The E-Commerce pack ships with Multi-Category Store β€” for large retailers selling across electronics, appliances, fashion, and more.

You could add others like "Subscription Box" or "Marketplace", each with its own tailored prompts and analysis areas.

For comparison, the Gaming pack has three categories β€” Match-3, Idle, and Casual β€” because a puzzle game and an idle clicker need completely different analysis strategies.

Categories tab showing the Multi-Category Store category

Prompts

This is where the magic happens. Prompts are markdown documents that tell the AI agent how to think about your industry.

There are three base prompts:

Base Context gives the agent background about the user's specific business. It includes {{PROFILE}} β€” the information the user filled in about their store (business model, KPI targets, product categories). If a user sets a 3% conversion rate target, the agent uses that to judge whether what it finds is a problem or not.

Exploration is the main prompt that drives autonomous SQL generation. It tells the agent what dataset to connect to, what tables are available, and lays out a phased strategy: start broad with baseline metrics, deep-dive into each analysis area, then look for cross-area correlations. It even includes example SQL queries tailored to e-commerce β€” conversion funnels, revenue by category, repeat customer behavior β€” so the agent hits the ground running.

Recommendations takes what the agent discovered and turns it into specific, actionable steps β€” with target segments, expected impact, and implementation details.

Each prompt is edited with a markdown editor that supports preview mode.

Prompts tab showing the markdown editor for the exploration prompt

You can also write category-specific prompts. Select "Multi-Category Store" from the dropdown and you'll see an exploration context that tells the agent to focus on cross-category shopping behavior, brand dynamics, and price range diversity β€” things that only matter for large multi-category retailers.

The Gaming pack leans on this heavily: the Idle game context explains prestige cycles and offline earnings, while the Casual game context focuses on ad tolerance and onboarding funnels. Same domain, very different analysis.

Category-specific prompt editor showing multi-category exploration context

Analysis Areas

Analysis areas define what the agent should look for and how to interpret what it finds.

The E-Commerce pack has five areas β€” three at the base level (for all categories) and two specific to Multi-Category Store:

Priority

Area

What It Finds

1

Conversion Funnel

Where shoppers drop off β€” view to cart to purchase rates, cart abandonment by price range, category-level differences

2

Revenue & Pricing

Where the money comes from β€” AOV trends, revenue concentration across categories and brands, price sensitivity

3

Customer Retention

Who comes back β€” repeat purchase rates, cohort analysis, repurchase intervals

Each area includes its own detailed analysis prompt. For example, the Conversion Funnel prompt tells the agent to check cart abandonment by price range, compare category-level conversion, and estimate revenue at risk β€” and it defines what "critical" vs "medium" severity means for this type of insight.

Analysis Areas tab showing areas with expandable prompt editors

The Gaming pack shows how category-specific areas work: Churn, Engagement, and Monetization apply to all game types, but ad_performance only activates for Casual games and economy only for Idle games.

Profile Schema

The profile schema defines the form that users fill out when creating a project. It's a JSON Schema that gets rendered as a dynamic form in the project settings.

The E-Commerce pack asks about:

  • Business: Industry, business model, target market, growth stage

  • Product Catalog: Number of products, average price, categories, inventory model

  • Shipping: Free shipping threshold, delivery time, return rate

  • Payment: Accepted methods, supported currencies

  • KPI Targets: Conversion rate, AOV, 30-day retention, CAC, LTV

The Multi-Category Store category adds extra fields for catalog depth, search and discovery features, and cross-sell/bundling capabilities.

All of this becomes the {{PROFILE}} that the agent receives in every prompt. The more context users provide, the more targeted the analysis β€” setting a conversion rate target of 3% means the agent flags anything below that as a problem.

Profile Schema tab showing the JSON schema editor

Create Your Own

Click New Pack and follow the same structure: general info, categories, prompts, analysis areas, and profile schema.

For example, a FinTech pack might have categories like "Neobank", "Lending", and "Payments", with analysis areas for transaction fraud, customer lifetime value, and churn prediction.

DecisionBox validates everything when you save β€” required template variables in prompts, analysis areas with prompts and keywords, valid slug format. Once saved, the pack is immediately available for new projects.

Sharing Packs

Every pack can be exported as a single JSON file and imported elsewhere.

Export: Click Export on any pack card. The browser downloads a portable JSON file β€” no database IDs, no timestamps, just the pack definition.

Import: Click Import, upload a .json file or paste the JSON directly, and the pack is created.

Import modal showing JSON preview and Import button

This makes it easy to:

  • Move packs between environments (staging to production)

  • Share packs with your team or the community

  • Keep pack definitions in version control alongside your code

What Happens When You Run a Discovery

When a user creates a project, they pick a domain pack and category. DecisionBox copies the pack's prompts and analysis areas into the project β€” the project gets its own independent copy. The user fills in the profile form, clicks Run Discovery, and the agent takes it from there.

A few things worth noting:

  • Changing a pack doesn't change existing projects. Projects snapshot the pack at creation time, so updates to a pack only affect new projects.

  • Projects can be customized independently. You can tweak a project's prompts without touching the source pack.

What's Next

  • Community pack registry β€” browse and install packs with one click

  • Pack versioning β€” track changes, diff, and rollback

  • AI-assisted pack creation β€” describe your industry and let the AI draft prompts for you

Get Started

DecisionBox ships with built-in packs seeded automatically on startup.

To create your own:

  1. Navigate to Domain Packs in the sidebar

  2. Click New Pack

  3. Fill in your categories, prompts, analysis areas, and profile schema

  4. Save β€” and start running discoveries

Or grab a JSON file from someone who already built a pack for your industry, and Import it.

Links:

Happy to answer questions in the thread β€” especially if you're thinking about building a pack for your own industry and want a sanity check on the structure.

40 views

Add a comment

Replies

Best
Henry Lindsey

one concrn I have is complexity. If packs become too detailed, I wonder if users will actually spend time configuring them properly.

Lakeesha Weatherwax

@henry_lindseyΒ the export and import approach is really useful πŸ‘ version control for configuration like this is something I have wanted in similar system before

Shania Jennings

@henry_lindseyΒ The separation between analysis areas and prompts makes sense πŸ™‚ it feels like a structured way to guide an agent without over constraining it.

Mathew Chang

@henry_lindseyΒ  @shania_jenningsΒ I am curious how flexible the profile schema is in practice πŸ€” especially when real users start adding messy or incomplete data.