OctiAI

Categories

One‑Shot Prompt Template: EU E‑Commerce Topical Map (Machine‑Readable)

Generate a production-ready, localized JSON topical map for EU e-commerce focused on transactional intent and monetization.

What You'll Get

How to Use

Keep seed keywords limited and precise

Use only the seed keywords you want the model to expand from. Limit to high-intent transactional seeds to avoid informational drift. Explicitly list country-level constraints to ensure compliant localization.

Works Best With

One-shot topical map prompt for conversion-focused ecommerce briefs

Prompt Template


# Goal
Generate a single-shot, machine-readable topical map (JSON only) for an EU-focused e‑commerce site optimized for transactional intent and monetization (direct sales, affiliates, ads). Output must include clusters → pillar/support pages → product/detail + buying-guides → intent tags → SEO title + meta description + canonical/hreflang hint + URL slug → schema type suggestion → primary CTA and conversion priority → internal-link graph prioritized for purchases.

## Inputs
- Niche / category: {{niche_category}}  
- ICP summary (country-level differences, buying behavior): {{icp_summary}}  
- Target EU countries (list of ISO 2-letter codes or language-country codes): {{target_countries}}  
- Seed keywords (comma-separated list): {{seed_keywords}}  
- Monetization goals (e.g., direct_sales, affiliates, display_ads): {{monetization_goals}}  
- Competitors (2-3 domain names): {{competitors}}  
- Constraints (pricing limits, shipping rules, legal restrictions per country): {{constraints}}

## Prompt
You are an SEO content architect. Using only the Inputs provided, produce a single JSON object (output JSON only; no explanatory text) that is a production-ready topical map optimized for transactional intent and monetization across the specified EU countries.

Requirements and rules (obey exactly):
- Use the provided {{seed_keywords}} as the exclusive seed vocabulary for topic generation; do not invent additional seed keywords.
- Localize titles/metas/hreflang hints per each country in {{target_countries}} and reflect country-specific legal/shipping constraints from {{constraints}} in page notes and schema suggestions.
- Prioritize purchase funnel flow: category/pillar → buying guide → product/detail → checkout CTA. Internal-link graph must favor edges that increase conversion probability.
- Respect {{icp_summary}} when assigning intent tags and conversion priorities.
- Reflect monetization goals in CTA and conversion_priority fields based on {{monetization_goals}}.
- Do not invent or assert factual competitor data about {{competitors}}; only use competitor names as context for differentiation.
- SEO copy constraints: SEO title max 60 characters; meta description max 155 characters. URL slugs must be lowercase, hyphenated, and ≤5 words.
- Provide explicit schema type suggestions from this whitelist only: Product, Offer, FAQPage, BreadcrumbList, HowTo, Article, WebPage, LocalBusiness.
- Output must be valid JSON; arrays and objects must be used exactly as specified in the Output Format section below.

Produce the topical map that includes:
- Clusters with priority scores (1-5, 1 highest); each cluster includes pillar/support pages and product/detail and buying guides.
- For every page: page_type, title (localized per country where relevant), intent_tags (transactional, commercial_investigation, informational), seo_title, meta_description, url_slug, canonical (base URL placeholder: https://www.example.com/{{niche_category_slug}}), hreflang array (one entry per {{target_countries}} with language-country code and localized URL), schema_type_suggestion, structured_snippet of 3 conversion-focused bullet points, primary_cta, conversion_priority (1-5, 1 highest), and internal_links (targets with anchor_text and priority).
- A top-level internal_link_graph array of directed edges: {source_slug, target_slug, anchor_text, priority} prioritized to boost purchases.
- A short notes field per page capturing any legal/shipping/pricing constraints applied from {{constraints}}.
- Ensure all text fields are machine-safe (no newlines inside JSON strings beyond escaped characters).

Use the following canonical base URL pattern for pages:
https://www.example.com/{{niche_category_slug}}/<url_slug>

Generate the JSON now.

## Output Format
The LLM must return a single JSON object matching this exact schema and key names:

{
  "niche_category": string,
  "niche_category_slug": string,
  "target_countries": [ string ],
  "seed_keywords": [ string ],
  "monetization_goals": [ string ],
  "competitors": [ string ],
  "constraints": [ string ],
  "topical_map": [
    {
      "cluster_id": string,
      "cluster_topic": string,
      "priority": integer,                       // 1 (highest) to 5 (lowest)
      "pages": [
        {
          "page_id": string,
          "page_type": "pillar" | "category" | "product" | "buying_guide" | "support",
          "title_localized": [                    // one object per country
            { "country": string, "language": string, "title": string }
          ],
          "intent_tags": [ string ],              // e.g., ["transactional"]
          "seo_title": string,                    // <=60 chars
          "meta_description": string,             // <=155 chars
          "url_slug": string,                     // lowercase, hyphenated, <=5 words
          "canonical": string,                    // full URL using base pattern
          "hreflang": [                           // one entry per target country
            { "hreflang": string, "url": string }
          ],
          "schema_type_suggestion": string,       // from whitelist
          "structured_snippet": [ string, string, string ], // 3 conversion bullets
          "primary_cta": string,                  // e.g., "Buy now", "Compare prices"
          "conversion_priority": integer,         // 1 highest to 5 lowest
          "internal_links": [                     // prioritized links from this page
            { "target_page_id": string, "anchor_text": string, "priority": integer }
          ],
          "notes_constraints": string             // concise mention of shipping/pricing/legal
        }
      ]
    }
  ],
  "internal_link_graph": [
    {
      "source_slug": string,
      "target_slug": string,
      "anchor_text": string,
      "priority": integer
    }
  ]
}

Strict formatting constraints:
- All fields must be present even if empty arrays.
- Use integers for priority fields.
- Use only the provided schema_type whitelist.
- The root fields must reflect the Inputs provided earlier.
- JSON only. No extra keys at root level.

## Guardrails
- Do not output explanatory text, checklists, or analysis—JSON only.
- Do not invent new seed keywords or country lists.
- Keep SEO title ≤60 characters and meta description ≤155 characters; if exceeding, truncate to fit while preserving meaning.
- Use safe, neutral language; do not include promotional claims that could be legally sensitive.
- Hreflang entries must use valid language-country codes (e.g., en-IE, fr-FR) corresponding to {{target_countries}} input format.
- URL slugs must not contain stopwords beyond 5 words; remove extraneous adjectives if needed to meet the ≤5 words rule.
- If a legal constraint blocks a product in a country, include the page but set conversion_priority to 5 and note restriction in notes_constraints.

## Examples
Example (minimal illustrative fragment — the final output must be a full topical_map JSON conforming to Output Format):

{
  "niche_category": "portable-espresso-machines",
  "niche_category_slug": "portable-espresso-machines",
  "target_countries": ["DE", "FR"],
  "seed_keywords": ["portable espresso", "travel coffee machine"],
  "monetization_goals": ["direct_sales","affiliates"],
  "competitors": ["competitor1.com","competitor2.com"],
  "constraints": ["max_price_eur=300","no_battery_shipping_to_DE"],
  "topical_map": [
    {
      "cluster_id": "c1",
      "cluster_topic": "best portable espresso machines",
      "priority": 1,
      "pages": [
        {
          "page_id": "c1-p1",
          "page_type": "pillar",
          "title_localized": [
            {"country":"DE","language":"de","title":"Beste tragbare Espressomaschinen 2026"},
            {"country":"FR","language":"fr","title":"Meilleures machines expresso portables 2026"}
          ],
          "intent_tags": ["transactional","commercial_investigation"],
          "seo_title": "Best portable espresso machines - Buy in EU",
          "meta_description": "Compare top portable espresso machines for travel. Prices, shipping, and EU-ready models. Buy or compare offers.",
          "url_slug": "best-portable-espresso-machines",
          "canonical": "https://www.example.com/portable-espresso-machines/best-portable-espresso-machines",
          "hreflang": [
            {"hreflang":"de-DE","url":"https://www.example.com/portable-espresso-machines/de/best-portable-espresso-machines"},
            {"hreflang":"fr-FR","url":"https://www.example.com/portable-espresso-machines/fr/best-portable-espresso-machines"}
          ],
          "schema_type_suggestion": "Article",
          "structured_snippet": ["Price comparisons across EU","Shipping times per country","Top 5 models for travel"],
          "primary_cta": "Compare prices",
          "conversion_priority": 1,
          "internal_links": [
            {"target_page_id":"c1-p2","anchor_text":"See full product specs","priority":1},
            {"target_page_id":"c1-p3","anchor_text":"Buying guide for travel coffee","priority":2}
          ],
          "notes_constraints": "Exclude battery-only models in DE due to shipping restrictions."
        }
      ]
    }
  ],
  "internal_link_graph": [
    {"source_slug":"best-portable-espresso-machines","target_slug":"product-handle-compact-espresso","anchor_text":"Buy Compact Espresso now","priority":1}
  ]
}

Variables

Usage Notes

Not for

Do not include

One‑Shot Prompt Template: EU E‑Commerce Topical Map (Machine‑Readable)

A single-shot prompt template that, from niche, ICP, target EU countries, seed keywords, monetization goals, competitors, and constraints, returns a machine-readable topical map (clusters, pillar/product/buying-guide pages, intent tags, localized SEO titles/meta descriptions/hreflang, schema suggestions, CTAs, conversion priorities, and an internal-link graph) ready for CMS ingestion.

Turn this into a working asset in minutes.

Import into Workspace to auto-fill variables, adapt output style, and iterate with OctiAI's prompt editor.

What you'll get

Output format

Markdown

Best used when

Avoid when

Sign in to save, like, or rate this prompt.

Made for

What to fill in

Use the guidance below to complete each placeholder with the right level of detail.

Niche Category

Provide the key details needed for this variable.

Icp Summary

Provide the key details needed for this variable.

Target Countries

Provide the key details needed for this variable.

Seed Keywords

Provide the key details needed for this variable.

Monetization Goals

Provide the key details needed for this variable.

Competitors

Provide the key details needed for this variable.

Constraints

Provide the key details needed for this variable.

Niche Category Slug

Provide the key details needed for this variable.

Rules

Canonical Examples

Input: niche_category: eco-friendly home cleaning; icp_summary: eco-conscious shoppers in DE, FR, NL; target_countries: [DE, FR, NL]; seed_keywords: [eco-friendly cleaning, green cleaners, non-toxic cleaners, sustainable cleaning]; monetization_goals: [direct_sales, affiliates]; competitors: [ecocleaners.example, greenhome.example]; constraints: [shipping within EU, GDPR compliance, pricing caps per country]

Loading result...

Failed to load output.


Cluster c1: best eco-friendly cleaning products; pillar: topical-map-for-ecommerce; country-localized titles; products: 3 product-detail pages; buying_guides: 1 guide; internal_links prioritized for purchases.

Why it works: Uses strict seed vocabulary to generate localized, conversion-optimized topical maps with country-specific hreflang, pillar/product/buying-guide pages, and a monetization-aware CTA/priority structure.

Input: niche_category: premium outdoors gear; icp_summary: affluent outdoor enthusiasts in FR, IT, ES; target_countries: [FR, IT, ES]; seed_keywords: [outdoor gear, premium camping gear, hiking equipment, waterproof jackets]; monetization_goals: [direct_sales, display_ads]; competitors: [gearleader.example, outdoorpro.example]; constraints: [EUR price caps, shipping to FR/IT/ES with 2-5 day delivery, no lithium battery shipping restrictions per country]

Loading result...

Failed to load output.


Two clusters with localized titles per country and a linked graph prioritizing product detail and checkout.

Why it works: Demonstrates multi-country localization with tight seed vocabulary, building pillar/pages and product pages anchored by intent tags and conversion-focused CTAs.

Works Best With

One-shot topical map prompt for conversion-focused ecommerce briefs