ServicesSalesforce consultingArchitectureImplementationOrg health checkDevelopmentIntegrations and APIsData migrationTesting and QAManaged supportSpecialist supportMarketing Cloud auditDeliverability
SolutionsMarketing Cloud EngagementMarketing Cloud NextSalesforce + BrazeAccount EngagementData Cloud (Data 360)Identity resolutionInsights and segmentsAgentforce and AIMCP integrationsSales and Service CloudReal-time personalisationIntegration solutionsEnterprise AI integrationBy industry
ArchitectureSalesforce CRMData 360Salesforce + BrazeAgentforceCustomer 360API-led integrationEvent-drivenMCP host, client and serverIdentity and consentMCP securityData governanceCI/CD and releasesOur public MCP server
ResourcesEngineering journalDecision guidesSolution blueprintsSalesforce productsProjects and achievementsSales ROI calculatorWhere we workChecklists and templatesPlanning toolsReadiness assessmentGlossaryAbout GeekMidstOur approachOur expertiseContact
CompanyAbout GeekMidstOur approachDelivery methodologyTrust and evidenceProjectsAchievementsBook a consultationContactWhere we workSecurity and data
Book a Consultation

Real-Time Segmentation in Data 360

Which Data 360 segments can update in near real time, what that needs, what it costs to run, and how to test it before customers see it.

Type
Solution
Topic
Data 360
Reading time
5 min
Updated
Author
GeekMidst Team
Reviewed by
Site owner
Engineer moves column blocks across two monitors while an architect traces the same lines on a printed sheet

"Real-time segmentation" is easy to ask for and easy to misunderstand. Some Data 360 paths are fast enough to react within a session. Others run every 15 minutes, every hour or on a publish schedule. Knowing which is which decides whether a use case works.

This page explains streaming and batch segments in Data 360, what Salesforce documents as near real time, the use cases that justify it, the cost considerations, and how we test it. For building segments in general, see our segmentation and calculated insights service.

The business problem

A customer abandons a basket, buys the product you are about to promote, or raises a complaint, and your marketing still treats them as they were yesterday. Batch segments are fine for a weekly newsletter. They are not fine for in-session offers, post-purchase suppression or service-aware messaging.

What is near real time, per Salesforce

Segment paths and timing

PathWhat Salesforce statesSuits
Batch segmentPublished on a schedule or with "Publish Now"Newsletters, lifecycle cohorts, reporting
Standard stream inputsWeb and mobile engagement every 15 minutes, profile data hourlySame-day reactions
Ingestion API inputsUp to an hour to show dataBack-office and batch feeds
Real-time layer95% of events in about 500 ms under the Sub-Second Real-Time Profile; performance "can vary"In-session decisions
Real-time segmentsDescribed as working "in milliseconds"; require real-time data graphsPersonalisation and suppression in the moment

The real-time layer accepts the Web SDK, Mobile SDK and server-to-server ingestion. Real-time data graphs "are required to use other real-time capabilities", which include real-time identity resolution, calculated insights, segments and data actions. Salesforce's real-time ingestion page gives no beta or GA label, so we confirm the current state for your org before design.

Proposed architecture

There is no single diagram for this page; real-time segmentation sits inside the Data 360 reference architecture and the real-time personalisation architecture. This is a reference design, validated per implementation.

Component responsibilities

ComponentResponsibility
Salesforce Interactions SDKCaptures web and app events, only after consent
Real-time data graphHolds the profile data that real-time features read
Real-time identity resolutionLinks events to a known profile quickly
Streaming transformContinuous, SQL-based reshaping of incoming data
Real-time segment or data actionUpdates membership or triggers a downstream signal
ConsumerSalesforce Personalization, a journey or a webhook that acts on the change

Use cases that justify real time

  • In-session personalisation: change content or offers while the visitor is still on the site. See Salesforce real-time personalisation.
  • Post-purchase suppression: stop promoting a product the customer has just bought.
  • Abandonment triggers: react to a basket or form left incomplete.
  • Service-aware messaging: hold promotional messages when a case is open.

If a use case only needs same-day accuracy, a batch segment on the standard path is simpler, cheaper and easier to debug.

Data flows and integration patterns

Events flow from the SDK into the real-time layer, are matched to a profile through the real-time data graph, and update segment membership or trigger a data action. Batch data still matters: real-time segments can combine a live event with attributes that arrive on the standard path. Know which attributes are fresh and which are hours old. For transforms, see batch vs streaming transforms; for identity, see real-time identity resolution and data graphs.

Security boundaries

The Interactions SDK sends events only if a customer has consented to tracking and stops when consent is revoked. Keep that behaviour intact in your tag management, and keep real-time consumers inside the same permission model as batch ones.

Failure handling

Real-time paths fail differently from batch ones. Watch for SDK tags removed by a site release, consent banners that block events unexpectedly, data graphs missing an attribute the segment depends on, and consumers that cannot keep up. Every real-time use case needs a defined fallback, such as default content or a batch segment.

Cost and capacity considerations

Real-time features process data continuously, so their consumption can differ from, and may exceed, a nightly batch. Salesforce does not publish these costs on the pages we checked, and we do not quote prices. Practical guidance: model consumption with your Salesforce account team, limit real-time data graphs to the attributes a decision needs, and keep identity resolution scheduling deliberate. Salesforce notes that turning off "Run jobs automatically" can reduce identity resolution cost.

Deployment model

We configure in a sandbox or test Data 360 environment, working remotely from India. Site tags go through your web release process, not ours.

Implementation stages

  1. 01

    Qualify the use case

    Confirm it needs seconds, not hours, and define the fallback.

  2. 02

    Check prerequisites

    Confirm real-time data graph and SDK availability for your org.

  3. 03

    Design the graph

    Include only attributes the decision needs.

  4. 04

    Build and connect

    Configure events, segment or data action, and the consumer.

  5. 05

    Test and measure

    Measure end-to-end latency under realistic load.

  6. 06

    Operate

    Monitor events, latency and fallback rates.

Testing strategy

Measure latency from the browser event to the consumer's action, not just inside Data 360. Test with consent granted, refused and revoked. Run a load test at expected peak, and test the fallback by disabling the real-time path.

Operational monitoring

Track event volumes by source, the share of events matched to profiles, segment membership changes and consumer errors. A sudden drop in events usually means a site change, not a change in customer behaviour.

Prerequisites and limitations

Data 360 must be provisioned, with real-time data graphs for real-time features. Winter '27 adds Agentic Segmentation and Activation, a conversational way to build audiences; Salesforce has not stated its status, so we do not rely on it for production design yet.

Workflow diagram

Explore how the pieces fit together. Select a step to read what happens there.

Workflow

Segmentation in Data 360

Open full size
Segmentation in Data 360A marketer starts from an audience goal, chooses what the segment is built on, adds inclusion rules and exclusions, and checks the population count. If the size is wrong the rules are refined; if it is right the segment is published and its membership refreshes on schedule.Segmentation in Data 360MarketerSegment builderData 360YesNo, refineAudience goal: Who, and why. Write the goal in one sentence, including what will happen to the audience. It keeps the rules focused and makes the expected size easier to judge.Audience goalWho, and whyChoose segment on: Usually Unified Individual. The "segment on" object defines what one member is. Segmenting on a source object instead of the unified individual can count the same person more than once.Choose segmentonUsually Unified…Inclusion rules: Profile, related, insights. Combine profile attributes, related engagement and calculated insights. Related-object rules need the relationships in the data model to be set up correctly.Inclusion rulesProfile, related,insightsAdd exclusions: Suppressions and recent buyers. Exclusions remove people who should not be in the audience, such as recent purchasers or existing suppressions. Keep shared exclusions in one place so they stay consistent.Add exclusionsSuppressions andrecent buyersCount population: Before publishing. Data 360 estimates how many members match. Compare it with what you expected from the goal and from source reports.Count populationBefore publishingSize as expected?. A count far from the estimate usually points to a rule using the wrong field, a missing relationship or stale data, not a real change in the audience.Size as expected?Segment is live: Refresh scheduled. Choose a publish schedule that matches how the audience is used. Faster refresh options cost more processing, so use them only when the use case needs it.Segment is liveRefresh scheduledStartProcess stepSystem or platformDecisionEnd or outcomeOriginal GeekMidst explanatory diagram, not an official Salesforce reference.

Select any step in the diagram, or use Step through, to see what happens at that point and why.

Text version: every step in order
  1. Audience goal MarketerWho, and why

    Write the goal in one sentence, including what will happen to the audience. It keeps the rules focused and makes the expected size easier to judge.

    Next: Choose segment on

  2. Choose segment on Segment builderUsually Unified Individual

    The "segment on" object defines what one member is. Segmenting on a source object instead of the unified individual can count the same person more than once.

    Next: Inclusion rules

  3. Inclusion rules Segment builderProfile, related, insights

    Combine profile attributes, related engagement and calculated insights. Related-object rules need the relationships in the data model to be set up correctly.

    Next: Add exclusions

  4. Add exclusions Segment builderSuppressions and recent buyers

    Exclusions remove people who should not be in the audience, such as recent purchasers or existing suppressions. Keep shared exclusions in one place so they stay consistent.

    Next: Count population

  5. Count population Data 360Before publishing

    Data 360 estimates how many members match. Compare it with what you expected from the goal and from source reports.

    Next: Size as expected?

  6. Size as expected? Data 360

    A count far from the estimate usually points to a rule using the wrong field, a missing relationship or stale data, not a real change in the audience.

    Next: Yes: Segment is live; No, refine: Inclusion rules

  7. Segment is live Data 360Refresh scheduled

    Choose a publish schedule that matches how the audience is used. Faster refresh options cost more processing, so use them only when the use case needs it.

    End of the flow.

A marketer starts from an audience goal, chooses what the segment is built on, adds inclusion rules and exclusions, and checks the population count. If the size is wrong the rules are refined; if it is right the segment is published and its membership refreshes on schedule. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

Questions we hear

Are all Data 360 segments real time?
No. Batch segments publish on a schedule or on demand. Real-time segments need real-time data graphs and the real-time ingestion path.
How fast is the real-time layer?
Salesforce states 95% of events complete within about 500 ms under the Sub-Second Real-Time Profile, and says performance can vary.
Does real time cost more?
It can, because it processes data continuously, but Salesforce does not publish the figures on the pages we checked. Model it with your account team; we do not quote prices.
Can we mix real-time and batch attributes?
Yes. Document which attributes are fresh and which are hours old.

Sources

  • https://developer.salesforce.com/docs/data/data-cloud-ref/guide/c360a-real-time-ingestion-api.htm
  • https://trailhead.salesforce.com/es/content/learn/modules/real-time-use-cases-in-data-cloud/explore-real-time-features-in-data-cloud
  • https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-mobile-web-datastream.html
  • https://developer.salesforce.com/docs/data/salesforce-interactions-sdk/guide/c360a-api-salesforce-interactions-web-sdk.html
  • https://trailhead.salesforce.com/content/learn/projects/explore-data-cloud-core-functionality/unify-your-data

Test a real-time use case

Bring one use case and we will tell you which path it needs and what it takes to run.

Book a consultation →

Tell us what you are trying to fix.

Share your Salesforce setup, goals and constraints. A practitioner reads every message and replies with questions, first thoughts or an honest view of whether you need outside help at all.

Talk to a Salesforce Expert
Book a Consultation