Logo: Crm Analytics App Creation

Crm Analytics App Creation

Communautéit
PranavNagrecha
crm-analytics-app-creation

Use when creating or configuring a CRM Analytics (Einstein Analytics) app — including app containers, lenses, datasets, data source connections, app sharing, and the row-level security that gates whether users see any data. NOT for choosing Reports vs CRM Analytics vs Tableau — use admin/einstein-analytics-basics. NOT for security predicate syntax, sharing inheritance or Analytics license assignment — use admin/analytics-permission-and-sharing.

Iwwersiicht

EditeurPranavNagrecha
RepositoryAwesomeSalesforceSkills
Skill-Nummcrm-analytics-app-creation
Stären
26
Forks
5
Matgeliwwert Dateien
6
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    PranavNagrecha huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Crm Analytics App Creation an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/crm-analytics-app-creation
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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/crm-analytics-app-creation .claude/skills/crm-analytics-app-creation
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Crm Analytics App Creation an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Crm Analytics App Creation automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Crm Analytics App Creation net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

CRM Analytics App Creation

This skill activates when a practitioner needs to create a CRM Analytics (formerly Einstein Analytics) application — setting up the app container, connecting data sources, creating lenses and dashboards, and configuring app sharing and row-level security. It covers the foundational creation workflow and the critical security gap between permission set assignment and actual data access.


Before Starting

Gather this context before working on anything in this domain:

  • License is required: CRM Analytics features require a CRM Analytics Growth, Plus, or Einstein Analytics license assigned to the user. Confirm the license is provisioned before attempting to access Analytics Studio.
  • Most common wrong assumption: Assigning a CRM Analytics permission set is not sufficient to give users access to data. Users also need explicit Viewer, Editor, or Manager access on the specific app AND row-level security must be configured independently of Salesforce object-level sharing (OWD, role hierarchy, sharing rules). All three layers must be configured.
  • Data is not queried live: CRM Analytics datasets are materialized copies of Salesforce data. Data must be refreshed via a scheduled dataflow or recipe run. Practitioners expecting real-time data will see stale results until the next scheduled run.

Questions to Ask Before Configuring

Each question traces to a gotcha in references/gotchas.md.

QuestionWhy it mattersWhat a good answer addsWhat proper configuration adds over just doing it
"Which groups need to open the app, and which need to edit or manage it?"A permission set opens Analytics Studio; app sharing opens the app (Gotcha 1)A sharing table: group, access level (View, EditAllContents, Manage)Users see the dashboards on day one, and only a few can change them
"Which rows may each audience see, and does Salesforce sharing already express it?"No row-level security shows every row; inheritance is slower and needs a backup predicate (Gotchas 5, 8)A predicate or inheritance-plus-backup per datasetThe app never shows more than Salesforce would
"How fresh must each dataset be, and how many other recipes already run?"Runs share a 60-per-day budget and low concurrency (Gotcha 2)A refresh cadence per dataset inside the org's run budgetSchedules never block each other or lock out data sync
"Must widgets on different datasets filter each other?"Faceting crosses datasets only through connected data sources or bindings (Gotcha 3)The shared fields to link, or a binding designClick-to-filter works across the whole dashboard
"Will this start from a template, and how far will it be extended?"Sales and Service Analytics templates cap custom objects at 10 by contract (Gotcha 7)A template or blank-app decision with the extension planThe app does not hit a contractual wall mid-project
"How will the app move between orgs?"Hand-edited .wdash files fail, datasets deploy without rows, and recipe wildcards miss dataflows (Gotcha 6)A retrieve-and-deploy manifest and a post-deploy run listPromotion is repeatable and the target app has data before users arrive

What proper configuration adds over "just creating an app": access at three layers (permission set, app share, row-level security) that match the audience, refresh schedules that fit the org's budget, and a deployment path that carries the app intact.

Core Concepts

App Structure: Apps, Lenses, and Dashboards

A CRM Analytics app is a named container created in Analytics Studio. It holds:

  • Datasets: Materialized tabular data structures loaded from Salesforce objects, CSV files, or external connectors. Datasets are versioned — lenses and dashboards query a specific dataset version.
  • Lenses: A saved single-dataset exploration. A lens is a query with groupings, measures, and chart type selected. Lenses are used as the building blocks of dashboard steps.
  • Dashboards: Multi-lens views that assemble multiple lenses/steps with filters, faceting, and cross-widget interactions. Dashboards support user-controlled filtering and are the primary end-user interface.

Lenses query exactly one dataset. Dashboards can reference steps from multiple datasets. Faceting filters steps on the same dataset by default; across datasets it needs connected data sources (dataSourceLinks) or bindings. (Corrected: the earlier text said faceting only works within one dataset.)

Data Ingestion: Dataflows and Recipes

Data flows into CRM Analytics datasets through:

  • Dataflows: JSON-defined ETL pipelines. More powerful but more complex. The primary mechanism for joining multiple Salesforce objects into a single dataset.
  • Recipes (Data Prep): Visual node-based transformation canvas. Easier for admins; supports join, filter, bucket, and aggregate operations. The recommended starting point for most admin-authored datasets.

Both require Data Sync (connected objects) to replicate Salesforce object data into the CRM Analytics staging layer first. Connected objects "can't be visualized directly, but are used like a cache" (REST Guide), so they must feed a dataflow or recipe first. UNVERIFIED (2026-10-03): the earlier statement that connected objects do not count against dataset row limits was not confirmed.

Three-Layer Security Architecture

CRM Analytics security is independent of Salesforce object-level security and has three distinct layers:

  1. Permission Set / License: The user must have a CRM Analytics permission set assigned (e.g., CRM Analytics Plus User).
  2. App Access: The user must have Viewer, Editor, or Manager access on the specific app. Assigned in Analytics Studio > App > Share.
  3. Row-Level Security: If the dataset contains data the user should not see all of, a security predicate (SAQL filter string) or sharing inheritance must be configured on the dataset.

None of these layers inherit from Salesforce OWD or role hierarchy automatically. All three must be explicitly configured.


Common Patterns

Creating a Sales Pipeline Dashboard

When to use: Building a pipeline visibility dashboard for sales managers using Opportunity, Account, and User data from Salesforce.

How it works:

  1. In Analytics Studio, select Create > App > Blank App. Name the app and save.
  2. Enable Data Sync for Opportunity, Account, and User objects (Data Manager > Connected Objects).
  3. Create a recipe (Data Prep) that loads the Opportunity connected object, joins Account on AccountId, and outputs to a registered dataset named "SalesPipeline."
  4. Schedule the recipe to run daily after data sync.
  5. Create a lens: open the SalesPipeline dataset, group by StageName, measure SUM(Amount), select bar chart, save as a lens.
  6. Create a dashboard: add a step linked to the lens, add a date filter widget, configure faceting for the StageName chart, save.
  7. Configure sharing: App > Share, add the sales manager group as Viewer.

Why not standard reports: Standard Salesforce reports cannot perform multi-source joins or the kind of cross-object aggregations CRM Analytics datasets support at millions of records.

Template App Creation

When to use: Creating a standardized app for a common use case (Sales Cloud, Service Cloud) rather than building from scratch.

How it works:

  1. In Analytics Studio, select Create > App > Use a Template.
  2. Choose the appropriate template (e.g., Sales Analytics, Service Analytics).
  3. Walk through the configuration wizard: select Salesforce objects, configure field mapping, set refresh schedule.
  4. Template apps auto-create connected objects, recipes/dataflows, datasets, and pre-built dashboards.
  5. After creation, customize dashboards and configure app sharing.

Template apps reduce initial setup time significantly but may include unused assets. Prune unused datasets and dashboards to reduce dataflow runtime and storage consumption.


Decision Guidance

SituationRecommended ApproachReason
First CRM Analytics app for a teamTemplate App (if available for use case)Pre-built dataflows, datasets, and dashboards reduce setup time
Custom multi-object datasetData Prep Recipe (admin) or Dataflow (developer)Recipe is admin-friendly; Dataflow handles complex joins
Users see app but no dataCheck app sharing + row-level securityPermission set alone does not grant row access
Real-time data requirementNot natively supported — use Direct Data for specific casesDatasets refresh on schedule, not on query
Data restricted by userAdd security predicate to datasetWithout predicate, Viewers see all dataset rows regardless of Salesforce sharing
Cross-dataset dashboard filteringConnected data sources for faceting on a shared field; bindings otherwiseDefault faceting stays within one dataset (Gotcha 3)

Recommended Workflow

Step-by-step instructions for an AI agent or practitioner working on this task:

  1. Verify license and permission — Confirm the admin user has CRM Analytics Plus User or equivalent permission set. Navigate to Analytics Studio to confirm access. If inaccessible, the license may not be provisioned.
  2. Create the app container — In Analytics Studio, select Create > App. Choose Blank App for custom builds or Use a Template for standard use cases. Assign an app name and save.
  3. Enable Data Sync for required objects — In Analytics Studio > Data Manager > Connected Objects, enable sync for each Salesforce object needed. Schedule sync to run before the dataflow/recipe.
  4. Build the dataset via recipe or dataflow — Create a Data Prep Recipe or Dataflow that loads connected objects, applies joins and transformations, and outputs to a registered dataset. Schedule to run after each data sync.
  5. Create a lens — Open the dataset, select groupings and measures, apply a chart type, and save as a lens within the app.
  6. Build the dashboard: Create a new dashboard in the app. Add steps referencing lenses or write inline SAQL. Add filter widgets and configure faceting for same-dataset interactions. Use connected data sources or bindings for cross-dataset filtering.
  7. Configure app sharing and row-level security, then make it deployable: In App Settings > Share, assign Viewer/Editor/Manager to target users or groups. Separately, configure a security predicate on the dataset if users should see only a restricted subset of rows. Retrieve the app's metadata with the manifest in references/examples.md, Example 3.

Review Checklist

Run through these before marking work in this area complete:

  • CRM Analytics license confirmed for all target users
  • Permission set (CRM Analytics Plus User or equivalent) assigned to target users
  • App sharing configured: target users have Viewer or higher access on the app
  • Dataset created and scheduled to refresh on appropriate cadence
  • Row-level security predicate or sharing inheritance configured if users should see restricted data
  • Dashboard filters and faceting tested with a non-admin test user
  • Connected objects not referenced directly in dashboards (only registered datasets)

Salesforce-Specific Gotchas

The full list with sources is in references/gotchas.md. The ones that most often leave a new app empty:

GotchaConsequence
Permission set is not app access (Gotcha 1)Users open Analytics Studio but see no data until the app is shared
Connected objects are a cache (Gotcha 4)They feed recipes; lenses and dashboards need a registered dataset
Cross-dataset faceting needs connected data sources or bindings (Gotcha 3)Click-to-filter silently stops at the dataset boundary

Output Artifacts

ArtifactDescription
CRM Analytics appNamed container with Viewer/Editor/Manager sharing configuration
DatasetMaterialized data from Salesforce objects, scheduled for refresh
LensSingle-dataset exploration saved as a reusable component
DashboardMulti-lens view with filters, faceting, and user interactions
Row-level security predicateSAQL filter string limiting which rows each user sees

Related Skills

  • analytics-dashboard-design — Deep guidance on dashboard bindings, faceting, and chart configuration
  • analytics-permission-and-sharing — In-depth row-level security predicate design and sharing inheritance

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Crm Analytics App Creation?

Use when creating or configuring a CRM Analytics (Einstein Analytics) app — including app containers, lenses, datasets, data source connections, app sharing, and the row-level security that gates whether users see any data. NOT for choosing Reports vs CRM Analytics vs Tableau — use admin/einstein-analytics-basics. NOT for security predicate syntax, sharing inheritance or Analytics license assignment — use admin/analytics-permission-and-sharing.

Firwat Crm Analytics App Creation op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Crm Analytics App Creation besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Crm Analytics App Creation an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/crm-analytics-app-creation an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Crm Analytics App Creation benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Crm Analytics App Creation benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Crm Analytics App Creation domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Crm Analytics App Creation gratis?

PranavNagrecha huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇