Actions

Overview

Actions define what transformation(s) will be applied to a Tile based upon the defined conditions specified in the Trigger being met.

Operations

Stackla Automation Rules support two operations when defining an Action. These operations define whether the transformation value is appended to an existing array or if they overwrite the particular field.

These operations can be utilised when defining Rules via the Rules API

Operator Description
$addToSet Add element to the Array.
$set Overwrite the select field with Value.

Fields

Automation Rules currently only support transforming a limited number of fields. Note: Not all fields can support all available operations, please consider this when building your Automation Rules via the Rules API.

Field Operations Description
tags $set, $addToSet Add a Tag or overwrite all Tags
location $set Add a Location Name, Latitude and Longitude value
stackla_sentiment_score $set Set the Sentiment Score on a Tile
status $set Set the Status of the Tile

Back to Top