Real-time action: data actions, data-triggered flows and CRM enrichment
Reacting to changes in Data 360: data actions to platform events, webhooks and Marketing Cloud, Data 360-triggered flows, streaming insight thresholds, and writing selected values back to CRM.
Simple explanation
| Mechanism | Fires when | Targets |
|---|---|---|
| Data action | A DMO or insight changes and meets conditions | Platform event, webhook, Marketing Cloud |
| Data 360-triggered flow | A Data 360 record changes | Flow logic in the org: create cases, tasks, update records, call agents |
| Streaming insight + data action | A time-window threshold is crossed | Alerts and real-time journeys |
| CRM enrichment | Copy fields and related lists | Values shown on or copied to CRM records |
Patterns
- Next-best action: cart abandonment β data action β journey or agent outreach.
- Service alert: three failed payments β triggered flow β case with context.
- Sales signal: high intent score β task for the account owner.
Design rules
- Make downstream handlers idempotent (events can repeat).
- Throttle actions so customers aren't spammed.
- Keep heavy work out of the trigger: hand off to queues or async processing.
Real-world analogy
Data actions are motion-sensor lights: something happens in the data, a light (event, webhook, flow) switches on somewhere else, without anyone checking manually.
Worked example
When a customer's streaming insight shows three failed card payments in 24 hours, a data action publishes a platform event; a flow creates a proactive case, and the service agent offers to update the card at the next contact.
Diagram
Key points
- Data actions push to platform events, webhooks, Marketing Cloud.
- Triggered flows act inside the org.
- Streaming insights provide real-time thresholds.
- Handlers must be idempotent and throttled.
- Use enrichment for CRM visibility.
Limits and gotchas
- Near real time isn't instant; set expectations.
- Flood risk: one bulk load can trigger thousands of actions; add conditions and guards.
- Webhook targets need signing and retry handling.
- Writing too much back to CRM duplicates data and costs storage.
π€ How to say this in an interview
Show an end-to-end real-time path and the safeguards: idempotency, throttling, bulk-load protection.
Common follow-ups
A nightly backfill triggers 200,000 data actions. How do you prevent it?
Filter actions on event time or a flag, pause or scope actions during backfills, and design handlers to ignore historical changes.
Webhook or platform event?
Platform events for consumers in Salesforce or connected via Pub/Sub; webhooks for external systems that accept HTTP calls, with signing and retries.