Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP
  • Data browser
    • Code Assistant
  • Glossary
  1. Sitecore CDP
  1. Sitecore CDP

AI in CDP

Sitecore Customer Data Platform (CDP) includes AI features that enhance your work with the data available in your instance of CDP. AI features are powered by Sitecore Stream.

AI-powered insights and recommendations

Generative insights, or Gensights, is an AI-powered dashboard that analyzes trends, user behavior, and performance metrics from other Sitecore CDP dashboards. Gensights transforms complex data into clear, natural-language summaries. It also recommends actionable strategies to improve customer engagement and digital performance.

AI-assisted code generation via Sitecore Stream

You can write code in CDP with the help of the Code Assistant, an AI-powered tool that generates JavaScript tailored to the specific CDP feature you are working with. You prompt the Code Assistant in natural language, and it responds with complete JavaScript code, ready for use within that feature.

Code Assistant is available in the following areas of CDP:

  • Audience export - generate JavaScript code to enrich the audience data that you export from CDP.

  • Conditions - create custom conditions so you can define exactly which part of the audience to include in an export.

  • Session traits - create a session trait to aggregate events from a customer's web session, perform calculations at the end of the session, and store the results as a session trait attribute in the guest profile. You can use session traits to filter segments for audience exports for more targeted marketing efforts.

For more information about the assistant and how to best prompt it, see Code Assistant.

If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use