Edit

Real-time data ingestion (preview)

[This article is prerelease documentation and is subject to change.]

The near real-time functionality lets you see, within seconds, the latest interactions that your customers have made with your products or services.

Scheduled refreshes include large numbers of records and several complex operations. First, the process pulls data from the data source. Next, it unifies the data, and then enriches it with additional information. Every run of this process can take minutes to hours.

The real-time functionality provides data immediately for consumption, until the subsequent scheduled refresh pulls this data from the data source.

Real-time updates have an expiration time after which they no longer override the value from the data source:

  • Profile updates expire after four hours
  • Activities expire after 30 days

These values are API call parameters that you can change. They aim to ensure that your source data remains your source of truth. If you want real-time updates to last longer, add them to a data source so the next scheduled refresh pulls them.

Tip

Any ingested or modified data by using these APIs reflects directly in the corresponding Dataverse tables. With this approach, you can leverage the rest of the Dataverse ecosystem and functionalities to achieve end-to-end business scenarios.

Important

  • This is a preview feature.
  • Preview features aren't meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.

Real-time update of the unified customer profile fields

Updated profiles show in the customer card view, or any other visualization, within a few seconds.

Because real-time operations take place after the data unification process, they only apply to the unified customer profiles. Consequently, real-time profile changes don't update measures, segment membership, or enrichments.

Limitations

  • You can update customer profiles but can't create or delete them.
  • You can't export real-time updates to external systems, like Power BI.
  • Business unit data separation has no effect on data ingested or updated through the real-time API.

Real-time creation of activities

The real-time API enables you to publish a new activity from your source system (an individual source record) to a unified customer profile. The new activity appears as a unified activity in that unified customer profile's timeline within seconds. You can see the timeline in the customer card view or any other timeline integration you configured.

Note

  • Activities don't change once created.
  • Segments and measures don't update based on the new activity.
  • Activities added only through the real-time API aren't part of exports and don't show up in Power BI.

You can connect to the real-time API in two ways:

Both methods share the following prerequisites:

  • A Customer Insights - Data environment
  • Unified customer profiles
  • Activities configured and run
  • Contributor or Administrator permissions to authenticate your account

Dynamics 365 Customer Insights - Data connection

The real-time API can ingest data from a dedicated Power Platform connector, the Dynamics 365 Customer Insights connector, without the need to write and deploy any code. The connector can perform the same real-time actions as the API. You need a valid license for premium connectors. For more information, see Power Apps and Power Automate licensing FAQs.

For details about creating flows, see the Power Automate documentation.

Direct connection to the real-time API

You can use the real-time capabilities by building your own pipeline and connecting directly to the real-time API. You can post an activity in the format of your source system or in the UnifiedActivity format. Get the format by making an API call to /api/instances/{instanceId}/manage/tables/UnifiedActivity.

Details of this API, including parameters and responses, can be found in the TableData section on the API reference. For more information, see Work with APIs.