Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Customer Insight API

(0) ShareShare
ReportReport
Posted on by

Hi,

My Customer Insight get data from the company's system.

I have the following requirement:

Whenever the data is updated in the company's system I should be able to schedule to refresh the CI Data Source.

I found some information, but it's not clear how to use them.

As example, https://docs.microsoft.com/en-us/dynamics365/customer-insights/audience-insights/real-time-data-ingestion

Is it possible to refresh my Data Source by using this real time data ingestion? How?

Regarding to API, it seems that this one would fit me https://developer.ci.ai.dynamics.com/api-details#api=CustomerInsights&operation=Create-workflow-refresh-schedule 

but when I try it (on the API page), I receive the error: "Object reference not set to an instance of an object."

I haven't found any more information about API' parameters .

Hope to count on your help,

Thanks,

Roina

  • Suggested answer
    RE: Customer Insight API

    Hi - to refresh an existing setup data source, you don't need to create a new workflow refresh schedule. 

    Can you try finding the api call from the network trace when you initiate a manual refresh, and initiating that api call? you could find the parameters there. 

    In the manual data source refresh, it would use your credentials to initiate the call. for automated, you would need to have the necessary spn setup.  

    That api could be wired thru power automate or logic apps too. 

    Hope this helps. Please let us know if that works or if there is any issue, you could open a support ticket (http://aka.ms/cisupport)

    Thanks

    mukesh 

     

  • RE: Customer Insight API

    Hi Roina,

    Sounds like you're looking for what we call 'real time updates'.  This is the ability to continuously feed data changes into CI, and have it reflected in a short period of time (seconds). We don't support real time today, but it is an ask that is on our radar.

    If you're looking for the ability to very occasionally update CI based on infrequent chances to your data sources, then scheduled updates are a good solution, as we can do differential updates.

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Customer Insight API

    Hi Roina,

    Please refer to the following troubleshooting.

    Object reference not set to an instance - Dynamics 365 Sales | Microsoft Docs

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans