Skip to content

Powershell ​

Executes a PowerShell script inline within the workflow.

Purpose ​

Use this task to run custom PowerShell logic directly from the workflow designer. The script is written in the built-in code editor and has access to all current workflow variables via the PSData variable. Any value assigned to the outputData variable within the script is captured and stored as the task output. This allows complex data transformations, file operations, or system calls to be performed without leaving the workflow.

Inputs ​

FieldTypeRequiredDescription
Code EditorCode Editor (PowerShell)NoThe PowerShell script to execute. All current workflow variables are accessible within the script via PSData. Assign a value to outputData to return a result from the script.

Outputs ​

NameDescription
OutputDataThe value assigned to the outputData variable at the end of the script execution.

Tentech