5 min readUpdated Mar 2, 2026

BiInsightDetailsModal Documentation

Purpose

The BiInsightDetailsModal component is designed to present detailed information about a business intelligence insight. This component displays various elements including the AI reasoning behind the insight, implementation details, projected impacts on KPIs, and an action plan. Additionally, it includes interactive buttons that facilitate user actions based on the insight provided.

Settings

The BiInsightDetailsModal component accepts the following settings:

1. insight

2. config

Sub-settings for config:

- actionButton
Sub-properties:
  1. label

    • Input Type: String
    • Description: The text displayed on the action button. Changing this will update what the button says.
    • Default Value: 'Take Action'.
  2. actionType

    • Input Type: String
    • Description: Defines the type of action to be performed when the button is clicked. Options include 'openUrl' (to open a specified URL) or 'executeWorkflow' (to run a defined workflow).
    • Default Value: 'none'.
  3. actionConfig

    • Input Type: Object
    • Description: Further configuration settings based on the selected actionType.
Sub-properties of actionConfig:

How It Works

  1. The component checks for the presence of the required insight prop and will not render if it’s missing.

  2. It utilizes a modal layout with a dark overlay to focus the user’s attention on the displayed insight details.

  3. The component contains sections that render information dynamically based on the provided insight data:

    • An AI reasoning section.
    • Implementation details presenting timeline, risk level, and dependencies.
    • Expected KPI impact presenting a list of key performance indicators.
    • Action plan detailing steps related to the insight.
  4. The action button’s visibility is determined through the showActionButton logic based on the configuration provided in the config prop.

  5. When the action button is clicked, it handles the specified action type—either opening a URL or executing a workflow—based on the configuration.

Data It Expects

AI Integrations

The BiInsightDetailsModal leverages AI integrations by providing a dedicated section that explains the AI reasoning behind the insight, enhancing user comprehension of the analytical results generated by the platform.

Billing Impacts

Although the BiInsightDetailsModal itself does not directly influence billing, the actions taken through the action button—such as executing workflows—may lead to cost implications depending on the usage of the workflow service and the underlying data processing. Users should be aware of these potential impacts and may want to track usage separately.

Use Cases & Examples

Use Case 1: KPI Dashboard Insights

A business analyst utilizes the BiInsightDetailsModal to present insights derived from the latest sales figures. The modal can display AI-generated reasoning detailing why sales dipped, potential risks, and actionable plans to recover the loss.

Use Case 2: Project Management Planning

In a project management tool, project managers can employ the modal to communicate details of risk levels concerning project deadlines and implementation timelines, allowing for better decision-making based on insights derived from ongoing project analysis.

Detailed Example Configuration

To demonstrate a specific use case configuration for a project management scenario, consider the following sample setup:

json
{
    "insight": {
        "title": "Project A Risk Assessment",
        "description": "Analysis indicates potential risks leading to delayed deadlines.",
        "priority": "high",
        "reasoning": "AI predicts a 30% chance of a delay based on current resource allocation.",
        "implementationDetails": {
            "timeline": "Expected completion in Q4 2023.",
            "riskLevel": "High",
            "dependencies": ["Resource A", "Budget Approval"]
        },
        "kpiImpact": [
            {
                "icon": "Target",
                "metric": "Projected Completion Rate",
                "projected": "70%"
            }
        ],
        "actionPlan": [
            "Reassess resource allocation",
            "Schedule a team meeting",
            "Discuss budget adjustments"
        ]
    },
    "config": {
        "actionButton": {
            "label": "Execute Action Plan",
            "actionType": "executeWorkflow",
            "actionConfig": {
                "workflowId": "12345"
            }
        }
    }
}

In this configuration, a project manager can utilize the modal to understand the potential risks and click on the action button to trigger a workflow that addresses the outlined action plan.