Skip to main content

Use GenAI to create SQL queries for timeline event rollups

Updated over 3 weeks ago

Use natural language to generate SQL queries for timeline event rollups. This GenAI-powered feature in BlueConic reduces the need to write AlaSQL manually, making it easier and faster to explore and summarize profile timeline data. This reduces the technical complexity of working with timeline data and speeds up setup for marketers and analysts.

By simplifying rollup setup for non-technical users, reducing errors from manual SQL writing, and accelerating time to insight, this feature expands access to valuable timeline insights across teams.

In the Timeline Event Rollups SQL Mode, the AI chat can assist you in creating SQL queries:

  • Generate SQL queries based on your description.

  • Explain and modify existing queries.

  • Validate queries and suggest corrections.

  • Help with timeline event types and data structure.

Note: This feature is available directly in the Timeline Event Rollups configuration window for any rollup in SQL Mode.


Before you begin


Create a GenAI-powered timeline event rollup

  1. Via the BlueConic navigation bar, select More> Timeline events > Timeline Event Rollups.

  2. Choose an existing rollup or select Add timeline event rollup to create one.

  3. In the configuration window, switch to SQL Mode.

  4. Click the AI chat button on the left to open the GenAI assistant.

  5. Enter a plain-language prompt or question.

  6. Review the AI-generated SQL query.

  7. Click Insert or Replace to insert it into the SQL Mode editor.

  8. Test or preview the output.

  9. Click Save to apply the configuration.

Tip: You can continue the conversation to refine your query or ask follow-up questions.


Next steps

  • Use rollup outputs to create metrics for segmentation, personalization, or reporting.

Did this answer your question?