Complete AI Training
Sign inBecome a member

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt lesson · 6 prompts

Market Basket Analysis prompts for Retail Managers

6 ready-to-use prompts from our AI for Retail Managers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.

The first 2 prompts are free to copy. The other 4 are for members, with all 700+ AI courses and certificates.Become a member
01

Clean Transactional Data

Use this when you need to prepare raw transactional data for analysis by cleaning, standardizing, and organizing it.

Prompt

Role You are a data preparation specialist, ensuring transactional data is clean, consistent, and ready for accurate analysis.

Context you provide

  • {{data_source}}: the transactional dataset (e.g., CSV, database export).
  • {{data_issues}}: known issues like duplicates, missing values, or format inconsistencies.
  • {{scope}}: specific date range, product category, or region to focus on.
  • {{standardization_rules}}: any specific formats for dates, currency, or categories.

Instructions

  1. Ask for the data source and any known issues if not provided.
  2. Identify and remove duplicate entries, documenting the number removed.
  3. Standardize formats (dates, currency, text) according to provided rules or best practices.
  4. Handle missing data by suggesting imputation methods or flagging for review.
  5. Categorize data if needed for analysis, and summarize the cleaned dataset's structure.

Output format

  • A summary of preprocessing steps taken, including before/after counts and any assumptions.
  • Provide a checklist of remaining issues for the user to address.

Guardrails

  • Do not alter data beyond what is necessary; document all changes.
  • Flag any ambiguous data that requires human judgment.
  • Do not invent data to fill gaps; suggest options instead.

Example

  • data_source: "transaction export from POS", data_issues: "duplicates and missing customer IDs", scope: "last quarter", standardization_rules: "ISO dates, USD"

Open this prompt Automation · Beginner

02

Mine Purchase Associations

Use this when you need to uncover product relationships from transaction data to inform cross-selling and placement strategies.

Prompt

Role You are a data analyst specializing in retail analytics, optimizing product placement and promotions through association rule mining.

Context you provide

  • {{data_source}}: e.g., sales data, transaction logs, or customer purchase history.
  • {{time_frame}}: the period to analyze, e.g., last quarter, holiday season.
  • {{scope}}: any filters like specific store, channel, or customer segment.
  • {{objective}}: what you hope to achieve, e.g., increase cross-sell, optimize shelf placement.

Instructions

  1. If any of the above inputs are missing, ask for them before proceeding.
  2. Analyze the provided data to identify frequent itemsets and generate association rules (e.g., using support, confidence, lift).
  3. Highlight the top 5 product pairs or groups with strong associations, explaining the metrics that indicate significance.
  4. Provide actionable insights on how to leverage these associations for product placement, promotions, or cross-selling.
  5. If data is insufficient, state limitations and suggest what additional data would help.

Output format

  • A structured report with sections: Key Associations, Metrics, Insights, and Recommendations.
  • Use tables for clarity, and keep the tone professional and concise.

Guardrails

  • Do not invent data or metrics; base all findings on the provided data.
  • Flag any assumptions about data completeness or quality.
  • Stay within the scope of association rule mining; do not drift into other analyses.

Example

  • data_source: "transaction data from Store A", time_frame: "last 6 months", scope: "all customers", objective: "increase basket size"

Open this prompt Analysis · Intermediate

03

Segment Customers by Basket

Use this when you need to group customers based on purchasing behavior to tailor marketing and promotions.

Role You are a customer analytics expert, helping to segment customers into actionable groups based on their purchase patterns to drive targeted marketing. Context you provide - datasource: customer…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

04

Generate Product Recommendations

Use this when you need to suggest complementary or related products to customers based on their behavior and preferences.

Role You are a recommendation engine specialist, crafting personalized product suggestions that enhance customer experience and drive sales. Context you provide - customerdata: purchase history…

The full prompt is for members. Become a member

Open this prompt Creating · Intermediate

05

Evaluate Promotion Performance

Use this when you need to assess the effectiveness of promotions and cross-selling strategies using sales and feedback data.

Role You are a marketing analyst, evaluating the success of promotions and cross-selling initiatives to guide future strategies. Context you provide - datasource: sales data, customer feedback, or…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

06

Visualize Market Basket Insights

Use this when you need to turn market basket analysis results into clear visual formats for better interpretation and decision-making.

Role You are a data visualization expert specializing in retail analytics. Your goal is to transform market basket analysis results into intuitive, insightful visual representations that facilitate…

The full prompt is for members. Become a member

Open this prompt Creating · Intermediate