Data 360 Inspector

Features · Start here

Getting started

Sign in with the Salesforce session you already have, then a tour: Home, search, the connection menu and data spaces.

Video coming soon.

From the article One tab for the Data Cloud questions you ask every day (part 1 of the series).

Most of the questions I answer in Salesforce Data Cloud during a working day are small. Where does this Data Model Object (DMO) get its data? Why is this person not in the segment? Which identity resolution ruleset merged these two records, and on what value? Each one has an answer, but the answer is spread over different Setup pages: Data Streams, Data Model, Identity Resolutions, Segments, and the Query Editor in Data Cloud (which Salesforce now also calls Data 360). By the time I have opened four tabs, copied an ID from one into another and waited for each to load, I have lost the thread.

Data 360 Inspector (it started as Data Cloud Inspector; I renamed it when Salesforce renamed the product) is the Chrome extension I built to answer those questions from one tab. Since then it has also grown a small panel that opens on any Salesforce page, so the answer can sit next to the record you are looking at (Days 34 and 35).

Where it came from

If you read my [Marketing Cloud Toolkit series](TOOLKIT_SERIES_LINK), this will look familiar. The Toolkit does the same job for Salesforce Marketing Cloud (SFMC), and many of its users work in Data Cloud too. They asked for one place to look a person up, read the data model and run SQL without clicking through Setup. Data 360 Inspector is that companion, with the same layout: a sidebar of pages, Ctrl+K search and a connection menu at the top right.

How it signs in

The Inspector works with the Salesforce login you already have in Chrome. It never asks for your password, and it needs no Connected App, client ID or integration user.

When you log in to an org, Salesforce sets a session cookie called sid on the org's my.salesforce.com domain. The extension's service worker (its background part) reads that cookie fresh on every call and sends it as a Bearer token to the org's REST API. The session never reaches the page you see: the page asks the service worker for data, and the service worker answers with the result.

Each session ID starts with the 15-character org ID, so the Inspector can tell orgs apart when you are logged in to several at once, for example a sandbox and production. Some orgs block API calls from a browser session (API Access Control); for those, Settings has Log in with OAuth, which I cover on Day 33.

Read only, by design

The Inspector never changes data or setup, and the rule lives in the code. Every call goes through one small guard in the service worker, which allows GET requests to the Salesforce REST API and a POST to the Data Cloud query endpoints, because a Data Cloud SQL query only reads. Anything else (PATCH, PUT, DELETE, any other POST) is refused before it leaves the browser. The one exception, Personalization > Try a decision, is off until you turn it on in Settings > Decision tests, and Day 31 covers it.

Here is where your data goes:

  • Calls go from the extension straight to your own org, and the extension's security policy only allows network calls to Salesforce domains (plus the feedback service, when you choose to send feedback).
  • Settings, saved queries, query history and the metadata cache stay in your browser.
  • People's data, such as Bulk lookup and Compare results, is kept only until the browser closes.
  • There are no usage analytics.

Every call also carries the header Sforce-Call-Options: client=DataCloudInspector, so an admin can tell the extension's calls apart.

A quick tour

Click the toolbar icon on any Salesforce tab, and the Inspector opens as a full browser tab next to it, already connected to that tab's org. Home starts with a search box for a person, an object, a field or a segment.

Home in my developer org: "Find anything in acme-demo.my.salesforce.com", the search box "Search profiles, objects, fields, segments…", and six cards under "Most used" (Segments with "5 visits", People, SQL, Objects, Health, Data models), with the connection pill at the top right showing a green dot, the org, the data space "default" and v68.0.

Under it are six cards. On a fresh install they sit under "Good places to start" (People, SQL, Objects, Segments, Health and Data models); once you have been around for a while the heading becomes "Most used" and the cards follow your visits. Below them are Your orgs, where you can name each org you have connected to, and Recent queries. The Session & setup menu holds the connection details, the privacy summary, the OAuth login and Everything in the tool, a list of every page.

The sidebar groups the pages the way I think about the work:

  • Objects, SQL and Query builder, for exploring the data.
  • People, for one person in depth.
  • Data streams, Data models, Identity, Data graphs, Segments, Activations, Data targets and Insights, for the setup that moves data from source to activation.
  • Personalization, Marketing flows, Campaigns and Marketing Cloud Next, hidden until you turn them on in Settings > Pages.
  • REST explorer, Credit prediction, Compare, Impact, Health and Connection check, for checks and troubleshooting.

The fastest way around is Ctrl+K (Cmd+K on a Mac). It searches pages, objects, fields, segments and saved queries in one box, and the last result is always "Find person" for whatever you typed, which opens People with that search.

The Ctrl+K search box with "email" typed: fields such as Email__c and ssot__EmailAddress__c with the object each belongs to, the Contact Point Email DMO and its unified versions, and two segments, DCI Demo - Emailable Account Execs and DCI Demo - Emailable, not Account Execs.

In my org, "email" finds more than 40 objects, fields and segments, and the list scrolls down to "Find person: email" at the end.

The connection pill in the top bar shows the org in use with a status dot, the API version and, when there is more than one, the data space. Open it to switch org or data space, see what has been loaded, or run the connection check. With several orgs logged in, each one is listed under "Logged-in orgs in this browser" with its org ID.

The connection menu open: Signed in as with the user's name and username, the logged-in org with its org ID (ticked), the Data space list with default ticked and a second data space, "Loaded 7 of 7" with Load everything and Refresh (112 objects, 22 streams, 37 mappings, 94 record links, 3 insights, 6 segments, 2 activations, 2 data graphs, Health check: 16 problems found), then Find orgs again and Run the connection check.

Objects, segments and calculated insights belong to a data space, so every page reads the one you picked.

As soon as an org connects, the Inspector reads its metadata in the background (objects, streams, mappings, insights, segments, activations, data graphs), then runs the Health check at most once a day. That is why most pages open without a wait; Settings > Tools > Preload when connected turns it off.

Pages with features people tend to miss show a tip card the first time you open them, and Help at the bottom of the sidebar lists every tip and page by topic.

What the next 32 days cover

Each article takes one feature, shows it working in a developer org, and explains the Data Cloud question it answers. Here is the plan:

  • Days 2 to 5: exploring the data, covering Objects, the SQL page, the SQL check as you type, and the Query builder.
  • Days 6 to 9: people, covering one person in depth, match rules and possible missed matches, how a unified profile was merged, and looking up a list of people at once.
  • Days 10 to 16: the data model and identity, covering data streams, ingestion trends, data models and the entity diagram, mapping coverage, identity rulesets, merge health and data graphs.
  • Days 17 to 22: segments and activation, covering segment criteria and counts, why a person is in a segment or not, overlap and cost, activations, data targets and calculated insights.
  • Days 23 to 29: checks, covering Health, freshness and consent coverage, Impact, clean-up candidates, comparing two orgs, comparing an org over time, and credit prediction.
  • Days 30 to 32: Personalization, decisions and Marketing Cloud Next, the pages you turn on in Settings > Pages.
  • Day 33: the toolbox and staying safe, covering the REST explorer, Connection check, OAuth, administrator policies and downloads.

Try it

Data 360 Inspector is free and open source (MIT licence), published by Ateko. Install it from the Chrome Web Store, log in to your org with Data Cloud in Chrome, then click the toolbar icon. The source is on GitHub. Please try it on a developer org or a sandbox first, never on an org whose data you are not allowed to look at.

If something does not work the way you expect, the Feedback button in the top bar reaches me directly: Send delivers it to my feedback service, and Open email puts the same text in your mail app instead. Most releases start from those messages.