Skip to main content
Version: 4.63

decompress

Decompresses data with the given compression. The result is available under 'data'.

Field Configurations​

KeyTypeDescriptionDefault Value
"params" (required)Objectundefinednull

Parameters​

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"compression" (required)StringThe used compression.null
"input" (required)StringThe compressed and encoded data.null
"inputEncoding"StringThe encoding of the input.null
"onError"StringEvent that will be fired if the decryption was successfull.null
"onErrorType"OnErrorTypeType of event that will be fired on error.null
"onSuccess"StringEvent that will be fired if the decryption was successfull.null
"onSuccessType"OnSuccessTypeType of event that will be fired on success.null
"outputEncoding"StringThe encoding of the output.null

Inherited​

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples​

Example 1: Decompresses data​

Show ExampleHide Example

Goal: The decompressed data is available in the parameters.

Decompresses data and makes it available in the parameters.

{
"type": "decompress",
"params": {
"compression": "gzip",
"input": "{{compressedData}}",
"inputEncoding": "base64",
"outputEncoding": "base64",
"onSuccessType": "return",
"onSuccess": "decompressedData"
}
}