Action objects

An action object defines work to be performed by an action, after the task is fully finished rendering. Action objects are most easily generated using the action tag.

An action object is a plain JSON object, having the following structure:

{
"action": {
"type": ACTION_TYPE,
"options": ACTION_OPTIONS
}
}

The action type is always a string, having a value that corresponds to a supported action (e.g. "shopify", or "http").

Action options vary by action type. Depending on the action type, its options may be another complete object, or an array, or a scalar value.

Use the action tag to skip the boilerplate while writing actions.