The action component has two component variables (cv.
): the input payload (cv.Payload
) and the output payload (cv.Payload
).
You can use it as the input payload (cv.Payload
) when used in Pre-Mapping and as the output payload (cv.Payload
) when used in Post-Mapping.
Input Payload
The “Input Payload” is the same as the previous component’s “output payload” (cv.Payload
).
The first component placed in the action has a (color-blue) trigger variable (tv.Data
) passed from the trigger that is the input payload (cv.Payload).
Output Payload
The “Output Payload” is the input payload of the next component.
The output payload is defined in each component as it is created by the operation of each component.
For a description of what the “output payload” looks like, see the individual action component descriptions, see Action Components .
Payload
The Payload of the actions are always a JSON document format and can contain one or more JSON arrays or JSON objects. The next component will be executed for each JSON object individually in cv.Payload
.
Some components like Filter and Join typically have more cv.Payload
inputs than outputs. And others such as ReadCSV are likely to have more outputs than inputs (if any).
Need more help with this?
Join our slack community for help