5 min readUpdated Mar 2, 2026

InsightBoxElement Documentation

Overview

The InsightBoxElement is a feature designed for the "Vantage" analytics & data platform. It serves as a versatile display box capable of showcasing various types of insights, warnings, recommendations, and AI-generated content. This component is crucial for presenting analytical results in a visually appealing and organized manner that enhances user understanding and engagement.

Purpose

The primary purpose of the InsightBoxElement is to provide a container for displaying categorized information related to data analytics. Depending on the configuration, it can render summaries, warnings, recommendations, or AI-powered insights, which can assist users in making informed decisions based on the underlying data.

Settings

The InsightBoxElement offers several configurable settings. Below is a detailed explanation of each setting:

1. theme

2. content

3. workflowId

4. label

5. style

How It Works

The InsightBoxElement component dynamically renders based on the input props passed to it. Initially, it retrieves the configuration settings from the element prop. It then selects the appropriate styling based on the theme. The component proceeds to determine the content by checking if a workflowId is provided; if so, it displays associated workflow output, else it shows the provided content. Finally, it renders an icon that corresponds with the selected theme, ensuring a visually cohesive presentation.

Expected Data

The InsightBoxElement expects an element object containing at least the following properties:

AI Integrations

The InsightBoxElement can display AI-generated insights by selecting the ai theme and inputting relevant content that has been processed by an AI engine. Utilizing the workflowId, it can directly present analyzed results from AI workflows, significantly enhancing decision-making capabilities for users.

Billing Impact

The InsightBoxElement generally does not have direct billing implications on its own. However, usage of workflows or AI integration may invoke additional costs depending on the pricing model of data operations or API calls made to retrieve AI-driven data. Businesses should evaluate their expected usage to understand potential billing impacts when utilizing these features.

Use Cases & Examples

Use Case 1: Performance Monitoring

The InsightBoxElement can be used in a dashboard to monitor key performance indicators (KPIs). For example, if the metrics indicate a positive trend, the InsightBoxElement could show a summary theme with encouraging content.

Use Case 2: Risk Alerts

Enterprises can use the warning theme to proactively notify users about significant risks, such as potential data breaches or compliance issues, ensuring timely intervention.

Use Case 3: AI-Driven Recommendations

Firms leveraging predictive analytics can use the InsightBoxElement to display recommendations generated from an AI model, thus improving business intelligence efforts.

Detailed Example Configuration

For the use case of Risk Alerts, consider the following configuration:

json
{
    "element": {
        "config": {
            "theme": "warning",
            "content": "Immediate action required: Data breach detected in user accounts!",
            "workflowId": null,
            "label": "Security Alert",
            "style": { "border": "2px solid red", "padding": "15px" }
        }
    }
}

In this example, a security alert is displayed prominently using the warning theme, identifiable by its red accent colors. The content directly calls users to action, critical in scenarios requiring urgent responses.