Add the ability to set arguments, variables, and config from a Script Action. Behaves just like the JSON Utility:
https://www.alfredapp.com/help/workflows/utilities/json/
$workflow->setFromRunScript()
->arg('{query}')
->variables([
'color' => 'blue',
'size' => 'xl',
])
->config([
'url' => '{query}',
'utf8' => true,
])
->output();