Consumer Goods Cloud Setup logo

Consumer Goods Cloud Setup

Community
PranavNagrecha
consumer-goods-cloud-setup

Consumer Goods Cloud setup: visit execution, retail execution, route planning, in-store task management, compliance checks, off-shelf detection, image recognition. NOT for territory planning and route optimization for sales reps - use integration/salesforce-maps-setup. NOT for B2B Commerce storefronts - use admin/b2b-commerce-store-setup.

Overview

PublisherPranavNagrecha
RepositoryAwesomeSalesforceSkills
Skill nameconsumer-goods-cloud-setup
Stars
26
Forks
5
Bundled files
6
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by PranavNagrecha on GitHub. Read the source before you install it.

Installation

Install the Consumer Goods Cloud Setup AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/consumer-goods-cloud-setup
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/consumer-goods-cloud-setup .claude/skills/consumer-goods-cloud-setup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Consumer Goods Cloud Setup in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Consumer Goods Cloud Setup on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Consumer Goods Cloud Setup is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Consumer Goods Cloud Setup

Activate when configuring Salesforce Consumer Goods (CG) Cloud for a consumer-packaged-goods company: retail execution, visit planning, in-store task capture, order-taking on the field, promotion compliance, and image-recognition-driven off-shelf detection. CG Cloud is distinct from Field Service — it is merchandising-first, not dispatch-first.

Before Starting

  • Confirm the CG Cloud license and mobile offline package. The CG mobile app is its own download; reps cannot use the standard Salesforce mobile app for visit execution.
  • Map the retail hierarchy. Retailer → Banner → Store → Shelf is the typical hierarchy. Modeling this as Account hierarchies drives visit targeting, route planning, and reporting.
  • Know the visit cadence. Weekly, biweekly, monthly, or exception-triggered visits each imply a different Route Plan and Visit auto-generation strategy.

Core Concepts

Retail Store + Visit + Task model

RetailStore is its own standard object — "Create records for physical retail stores associated to business accounts" — not an Account record type. Visit (API 47.0 and later) tracks "information related to a field rep's visit to a retail store where they perform retail activities." The work inside a visit is AssessmentTask: "Perform activities such as planogram check, inventory check, promotion check, in-store survey, or custom task in stores." Visitor represents "the sales reps performing visits" and VisitedParty "the contact person at the account that's being visited."

Two models in one product

CG Cloud is half standard objects and half a cgcloud__ managed package, and the split is not intuitive. Retail Execution ships standard: RetailStore, Visit, AssessmentTask, RetailStoreKpi, RetailVisitKpi, InStoreLocation, Assortment, Promotion, RetailLocationGroup. Route planning, order taking, and inventory are managed-package custom objects — cgcloud__Trip_List__c ("Use Trip List to plan visits based on a predefined sequence of customers"), cgcloud__Visit_Template__c ("Template that describes the basic call behavior"), cgcloud__Order__c, cgcloud__Inventory__c, cgcloud__POS__c, cgcloud__Org_Unit__c. There is no object named RoutePlan.

Visit templates and KPI targets

cgcloud__Visit_Template__c is the "Template that describes the basic call behavior" — the task list a rep executes. Targets and results are separate standard objects: AssessmentIndicatorDefinition "Define parameters that act as markers of compliance for retail tasks to compare target and actual values," RetailStoreKpi maps "store groups to assessment indicator definition, products, and in-store location categories and define targets," and RetailVisitKpi captures "the actual information during a visit against the defined assessment indicator definition and target values." Store segmentation for targeting comes from RetailLocationGroup plus RetailStoreGroupAssignment.

Image Recognition / Computer Vision

CG Cloud integrates with Salesforce Image Recognition for on-shelf photo analysis. It scores SKU facing counts, out-of-stock flags, and planogram compliance. Requires IR license and the shipped ML models.

Common Patterns

Pattern: Weekly route with in-store survey

A cgcloud__Trip_List__c sequences a Tier-1 territory weekly; each Visit carries AssessmentTask records from a cgcloud__Visit_Template__c — a merchandising check, an AssessmentTaskOrder step ("Define an order activity that the sales rep can perform during a visit to stores"), and a compliance photo step. RetailVisitKpi records the captured values against the store's RetailStoreKpi targets.

Pattern: Off-shelf alert routing

Image Recognition flags a SKU out-of-stock against the InStoreLocation ("locations within a retail store's layout such as aisles, shelves, or backrooms") and the expected StoreProduct. A Case routes to the retailer's category manager, with resolution SLA tracked via Entitlement.

Pattern: Promotion compliance audit

A Promotion runs Aug 1–14, scoped by PromotionChannel ("Associate a promotion with a store, store group, or an account") and PromotionProduct. The visit template for that window includes a compliance AssessmentTask: "Is the endcap display up?" Photos attach through AssessmentTaskContentDocument; IR scores planogram match; RetailVisitKpi rows aggregate to a promotion compliance dashboard.

Decision Guidance

SituationRecommended ApproachReason
Scheduled weekly rep visitscgcloud__Trip_List__c + cgcloud__Visit_Template__cShipped flow; offline-capable
Exception-driven visitEvent-triggered Visit via FlowNo trip-list disruption
Planogram complianceImage Recognition + IR modelsDeterministic, auditable scoring
Field order captureAssessmentTaskOrder / cgcloud__Order__cNative to CG Cloud
Dispatch-based field workUse Field Service, not CGDifferent shipped features

Recommended Workflow

  1. Confirm CG Cloud license, IR license (if using), and mobile offline package are provisioned.
  2. Enable CG Cloud features in Setup and create the RetailStore account record type.
  3. Import the retail hierarchy (Account → RetailStore → InStoreLocation) and RetailLocationGroup segmentation before any visit or trip-list data.
  4. Define cgcloud__Visit_Template__c records per store tier; attach AssessmentTask definitions and RetailStoreKpi targets.
  5. Build cgcloud__Trip_List__c sequences per territory; assign Visitor records; smoke-test Visit generation.
  6. Configure Image Recognition models (shipped or custom-trained) and attach to photo task steps.
  7. Run a full round-trip in a sandbox: sync offline → execute a Visit → upload → verify KPIs populate.

Review Checklist

  • CG mobile offline app installed on a rep test device
  • RetailStore and RetailLocationGroup loaded before any Visit or trip-list records
  • Visit Templates assigned to every active store segment
  • Trip-list visit generation validated for next week's window
  • IR models trained / validated on agency SKU set
  • Offline conflict resolution policy documented
  • KPI dashboards render expected rollups per rep/territory

Salesforce-Specific Gotchas

  1. CG Cloud uses shipped platform events for visit sync. Disabling the events breaks offline reconciliation silently; always check the Platform Events usage monitor after enabling.
  2. Image Recognition requires pre-trained models per product line. Out-of-the-box models do not know your SKUs; budget model-training time before go-live.
  3. Trip-list regeneration is expensive. Rebuilding sequences on large territories can take hours — schedule off-hours.

Output Artifacts

ArtifactDescription
CG activation runbookLicense checks, feature toggles, data load order
Visit template catalogTemplates by store tier and program
Trip-list matrixTerritory × rep × cadence view
IR model inventoryModels in use, accuracy metrics, retrain cadence

Related Skills

  • architect/sales-cloud-architecture — account and data-model foundation
  • integration/platform-events-integration — CG visit-sync backbone

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Consumer Goods Cloud Setup AI skill do?

Consumer Goods Cloud setup: visit execution, retail execution, route planning, in-store task management, compliance checks, off-shelf detection, image recognition. NOT for territory planning and route optimization for sales reps - use integration/salesforce-maps-setup. NOT for B2B Commerce storefronts - use admin/b2b-commerce-store-setup.

Why use Consumer Goods Cloud Setup on TypingMind?

Because you install it once and use it with any model. Consumer Goods Cloud Setup is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Consumer Goods Cloud Setup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/consumer-goods-cloud-setup. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Consumer Goods Cloud Setup?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Consumer Goods Cloud Setup?

As many as you like. As long as a model supports skills, you can use Consumer Goods Cloud Setup with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Consumer Goods Cloud Setup AI skill free?

It is published on GitHub by PranavNagrecha. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇