Consumer Goods Cloud Setupのロゴ

Consumer Goods Cloud Setup

コミュニティ
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.

概要

公開者PranavNagrecha
リポジトリAwesomeSalesforceSkills
スキル名consumer-goods-cloud-setup
スター
26
フォーク
5
同梱ファイル
6
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 6個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    PranavNagrechaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Consumer Goods Cloud Setup」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/consumer-goods-cloud-setup
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでConsumer Goods Cloud Setupを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にConsumer Goods Cloud Setupを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Consumer Goods Cloud Setupは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでConsumer Goods Cloud Setupを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Consumer Goods Cloud Setupはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにConsumer Goods Cloud Setupをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/consumer-goods-cloud-setupを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Consumer Goods Cloud Setupを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Consumer Goods Cloud Setupで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもConsumer Goods Cloud Setupを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Consumer Goods Cloud Setup」は無料ですか?

PranavNagrechaがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇