4 min readUpdated Mar 2, 2026

AppNodeEditor Documentation

Purpose

The AppNodeEditor component is designed for editing per-app workflow nodes in the Vantage analytics and data platform. It facilitates the configuration of specific settings associated with different node types while automatically inferring the app type from the node category. Its primary goal is to present relevant fields based on the node type, allowing users to specify parameters necessary for interacting with app records and queries.

How It Works

When the AppNodeEditor is rendered, it evaluates the selectedNode props to derive its node type, which dictates what configuration fields should be displayed. Depending on the identified node action—such as fetching, updating, or deleting records—the relevant input fields are shown, allowing the user to provide necessary information. This dynamic behavior ensures a streamlined user experience by only presenting fields that are applicable to the given node context.

Data Expectations

The AppNodeEditor expects the following data structures through its props:

Settings

The following are the settings available in the AppNodeEditor, alongside detailed explanations of each:

1. Record ID

2. ID Column

3. Search Query

4. Max Results

Use Cases & Examples

Use Cases

  1. Data Retrieval: An analytics team needs to fetch specific records based on filters set through user-generated input, like fetching user records based on unique identifiers.
  2. Data Update: A user wants to update specific records based on new input data, ensuring that the ID column correctly identifies which records to modify.
  3. Data Deletion: A system administrator needs to delete records based on their IDs, which can vary depending on prior data operations and flow.

Example Configuration

Use Case: Updating User Records

Let's consider a scenario where a company collects feedback and needs to update the status of users based on their feedback. The records will be identified using unique user IDs, and we will specify the ID column as "userId".

Configuration Data:

javascript
const selectedNode = {
    data: {
        node_type: 'contacts/updateRecord'
    }
};

const config = {
    recordId: '', // Leave empty to use upstream data
    idColumn: 'userId', // Identify column in input data
    query: '', // Not needed for this operation
    limit: 100 // Limit can be adjusted if needed
};

// Function to update fields (example stub)
const updateField = (fieldName, value) => {
    // Logic to update the node's configuration
};

// Use in AppNodeEditor
<AppNodeEditor selectedNode={selectedNode} config={config} updateField={updateField} />

This setup allows the user to dynamically update user records while correlating with upstream data from previous nodes—simplifying management and operational strategies within the Vantage platform.