Skip to main content
Version: 4.52.0

Exec

The Exec component allows you to execute third party command line applications. This way you can run advanced transformations on your content using tools like:

  • powerpdf
  • imageMagick
  • pdftk
  • 7zip

Configuration

Inputs | Outputs


Exec
Input
Output
Error
00 0 (ily5345)
A message containing the arguments key to pass to the command. The example below illustrates how this can be achieved. The command 7z a -t7z files.7z *.txt can be executed with the following input:

Example:
{
"arguments":[
"a",
"-t7z",
"files.7z",
"*.txt"
]
}
note
Both argument keys and argument values need to be separated.

Example: With magick

Incorrect
{
"arguments": [
"Path\To\Image.png",
"-resize 50%",
"Path\To\outputImage.png",
]
}
Correct
{
"arguments": [
"Path\To\Image.png",
"-resize",
"50%",
"Path\To\outputImage.png",
]
}