4 min readUpdated Mar 2, 2026

dashboardOutput

Overview

dashboardOutput is a pivotal Logic component within the Vantage analytics and data platform, designed to transform and prepare workflow data for consumption within dashboard tiles. This component is instrumental in unwrapping nested data structures, ensuring a flat data array that is essential for accurate pagination and seamless integration into user interfaces. It can handle various input formats, making it versatile and adaptable to different data sources.

Purpose

The primary goal of dashboardOutput is to provide a standardized output format, ensuring that the data consumed by dashboard tiles is structured correctly. By unwrapping complex nested data objects into a flat array, it allows for efficient rendering and interactive elements in dashboards.

Settings

The dashboardOutput Logic does not have traditional configurable settings since it primarily processes incoming data. However, there are specific input parameters and data formats that it expects. Below are the details about the expected input and its handling:

Input Parameters

  1. Input Name: inputs.data (or as fallback inputs.input1)
    • Input Type: Object
    • Description: This is the primary data input which can be passed as an array or a complex object containing nested patterns. The dashboardOutput will intelligently unwrap this information to derive a flat array.
    • Default Value: An undefined value will default to inputs if other specific fields are absent.

Data Patterns

The dashboardOutput can interpret various nested data object patterns, including but not limited to:

How It Works

  1. The function begins by collecting the primary input data from either inputs.data, inputs.input1, or a fallback to inputs if neither of the first two are available.
  2. It then checks whether this data is an array. If not, it inspects various common nested formats to extract the required data array.
  3. Once the appropriate data array is obtained, it outputs an object containing the flat data array (data) and any associated metadata (metadata), which can then be used in dashboard visualizations.

Data Expectations

The following structures are expected to be passed to dashboardOutput:

AI Integrations

Currently, dashboardOutput does not directly integrate AI functionality. Its primary role is data extraction and structuring. However, it can be used in conjunction with other components that may leverage AI insights, allowing for a more enriched user experience within Vantage.

Billing Impacts

The dashboardOutput component itself does not have a direct billing implication. However, efficient data handling and decreased complexity in data structures can lead to improved performance in data queries and dashboard loading times, which indirectly may affect resource usage and associated costs when deploying larger datasets.

Use Cases & Examples

Use Case 1: Business Analytics Dashboard

A company requires a dashboard to visualize sales data from multiple regions, each represented by different datasets. Using dashboardOutput, they can combine regional data into a flat structure that supports uniform aggregation and visualization.

Use Case 2: Multi-Source Data Integrations

An analytics team is processing data from multiple external sources, including Google Sheets and databases like SQLite. They can utilize dashboardOutput to seamlessly integrate these different data structures into their dashboard for a comprehensive view.

Example Configuration

Scenario: A dashboard needs to visualize sales data extracted from a complex multi-sheet Google Sheets document.

Input Configuration:

json
{
    "data": {
        "sheets": [
            {"sheetName": "North Sales", "data": [ ... ]},
            {"sheetName": "South Sales", "data": [ ... ]}
        ]
    },
    "metadata": {
        "totalRecords": 100,
        "lastUpdated": "2023-10-01"
    }
}