Skip to main content
Skip table of contents

Add Fields in Trigger Output Data

LAST UPDATED: AUG 13, 2024

This command adds new fields to the event data in an event playbook. It updates the "row" and "col" fields in "UserMappedFields" and "Fields" within the Trigger Output Data.

READER NOTE

This command is only applicable within an event Playbook within the "On Event Ingestion" trigger. The trigger output data feature is exclusive to the Event Playbook. Data is stored every time the Event Playbook is ran using the event raw data.

Implementation

System

Command Category

System Utility

Tags

TRIGGER OUTPUT DATA

Inputs

Parameter Name

Required/Optional

Description

Sample Data

Source Type

Required

The data source from which data is being extracted.

Trigger Output Data

JSON Object

Required

Key and Values to be added into Trigger Output Data.

{
"sample Key":"sampleValue",
"Event Type": "testType"
}

Output

Return Data

The returned result of this command. If some required parameters are not defined, this returned data could be empty. The returned result can be passed down directly to a subsequent command in playbooks.

SAMPLE DATA

JSON
{
    "Fields": [
        {
            "FieldValue": "sampleValue",
            "FieldName": "sample_Key",
            "FieldDisplayName": "sample Key",
            "FieldDistinctValue": null
        },
        {
            "FieldValue": "testType",
            "FieldName": "EventType",
            "FieldDisplayName": "Event Type",
            "FieldDistinctValue": "testType"
        }
    ],
    "UserMappedFields": {
        "row": [
            {
                "fieldName": "sample_Key",
                "value": "sampleValue",
                "displayName": "sample Key"
            },
            {
                "fieldName": "EventType",
                "value": "testType",
                "displayName": "Event Type"
            }
        ],
        "col": {
            "sample_Key": "sampleValue",
            "EventType": "testType"
        }
    }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.