create_flow_action
Create a custom ServiceNow Flow Designer action by defining its name, inputs, script, and outputs to automate workflows.
Instructions
Create a custom Flow Designer action. [Scripting]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_flow_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Action name | |
| inputs | No | Input definitions [{name, type, mandatory}] | |
| script | No | Action script body | |
| outputs | No | Output definitions [{name, type}] | |
| description | No | Action description |