Agentforce · Salesforce Data Cloud · Real-Time DataGraph

Ask your distributor data anything. Get answers instantly.

The KPI Forecasting Assistant is an Agentforce Employee Agent that answers natural-language questions about distributor revenue, inventory risk, financial forecasts, and promotion ROI — all sourced live from Salesforce Data Cloud.

5
AI Topics
11
Actions
1
Data Cloud
0
Manual Reports
Why It Matters

Your distributor KPIs are buried in dashboards nobody checks

Channel leaders need immediate operational clarity. Instead of waiting days for custom BI reports, ask questions directly against real-time Data Cloud feeds.

Sales teams manage dozens of distributors across regions. The data exists — in Data Cloud, in Salesforce, in Flows — but extracting a meaningful answer requires knowing which report to pull, which field to filter, and which chart to read.

The KPI Forecasting Assistant removes that barrier entirely. Ask in plain English: “Which distributors are at stockout risk?” or “What's the demand forecast for D025?” and the agent queries Data Cloud's Real-Time DataGraph, runs the appropriate Flow or Apex action, and returns a structured, readable answer — with follow-up questions to keep the analysis going.

Built as an Agentforce Employee Agent on Salesforce using the ReAct planner pattern, it works inside Salesforce Messaging without any external integration.

Real-time Data Cloud queries
Every answer comes from Salesforce Data Cloud's Real-Time DataGraph — live distributor KPIs, not cached reports. Stock levels, revenue, and risk scores are current at the moment of asking.
Five specialised topics
Sales Performance, Financial Forecasting, Inventory & Supply Chain, Promotions & ROI, and General FAQ — each with its own action set, scope, and instructions tuned to that domain.
Guided follow-up questions
Every response ends with three suggested follow-up questions — keeping the analysis conversation going without the user needing to know what to ask next.
Native Salesforce, no middleware
Runs entirely within Salesforce as an Agentforce Employee Agent using Flows, Apex, and standard invocable actions — no external APIs, no integration platforms.
Agent Topics

Five specialised domains, eleven actions

Each topic has its own scope, instructions, and action set. The ReAct planner routes every question to the right topic automatically.

Sales Performance
Which distributors are hitting or missing targets? Revenue trends, underperformance analysis, regional breakdowns, gross margin by region, and quarterly comparisons — all from live Data Cloud KPI data.
Get Distributor RevenueApex
Get Trend AnalysisFlow
CDP DataGraph StatusStandard
Financial Forecasting
Projected revenue, gross margin trends, demand forecasts, composite risk scores, and what-if financial scenario analysis — helping commercial teams plan ahead with data-backed confidence.
Get Demand ForecastFlow
Get Gross MarginFlow
Get Risk ScoreFlow
CDP DataGraph StatusStandard
Inventory & Supply Chain
Current inventory levels, days of stock remaining, stockout risk by distributor and SKU, warehouse availability, and restock urgency — so supply chain teams act before a stockout hits.
Get Inventory RiskFlow
Get Stockout RiskFlow
CDP DataGraph StatusStandard
Promotions & ROI
Which promotions delivered the highest return? Campaign performance, promotion spend by distributor, SKU-level marketing ROI, total revenue generated vs. spend — so every marketing dollar is accountable.
Get Promotion ROIFlow
CDP DataGraph StatusStandard
General FAQ
Company policies, product procedures, business rules — answered from Salesforce Knowledge Articles. Also tracks OKR progress against targets, so strategic business goals are always a question away.
Answer Questions with KnowledgeStandard
Get OKR ProgressFlow
How It Works

Question to answer in three steps

The ReAct planner routes each question, fetches live Data Cloud data, and returns a structured response — all inside Salesforce Messaging.

01
Agent receives the question
The Agentforce ReAct planner classifies the user's question into one of the five topics — Sales Performance, Financial Forecasting, Inventory, Promotions, or FAQ — based on intent and context variables from the Salesforce session.
02
Action queries Data Cloud
The matched action — a Salesforce Flow or Apex class — calls the Data Cloud Real-Time DataGraph using cdpRtdgStatus and cdpRtGetIdMap standard actions to resolve the entity, then fetches the live KPI data.
03
Structured answer + follow-ups
The agent formats the result, includes relevant metrics (risk scores, revenue figures, inventory days), and always ends with three suggested follow-up questions to guide the next analytical step.
Sample Questions

What you can ask

Real utterances from the agent's training — ask these in Salesforce Messaging and get a data-backed answer from Data Cloud in seconds.

“
Which distributors are underperforming this quarter?
Sales Performance
“
Show me revenue trends for the last 3 months
Sales Performance
“
What is the gross margin by region?
Sales Performance
“
What is the demand forecast for distributor D025?
Financial Forecasting
“
What is the overall risk score for D025?
Financial Forecasting
“
Which distributors need immediate attention?
Financial Forecasting
“
Which distributors are at critical stockout risk?
Inventory & Supply Chain
“
What is the inventory level for distributor D025?
Inventory & Supply Chain
“
Which SKUs need urgent restocking?
Inventory & Supply Chain
“
Which promotions gave the best return?
Promotions & ROI
“
What is the promotion ROI for D025?
Promotions & ROI
“
Show me the OKR progress summary
General FAQ

Bring us the problem you cannot hand off.

We start every engagement with an architectural deep dive, not a generic pilot. Tell us where your enterprise systems stand, and we will map clear, high-ROI AI deployment paths.