edit_node
Modify node details within a workflow, including type, name, position, parameters, or webhook ID, to streamline automation processes in n8n workflows.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
node_id | Yes | The ID of the node to edit | |
node_name | No | The new name for the node | |
node_type | No | The new type for the node (e.g., 'gmail', 'slack', 'openAi'). You can specify with or without the 'n8n-nodes-base.' prefix. The system will handle proper casing (e.g., 'openai' will be converted to 'openAi' if that's the correct casing). | |
parameters | No | The new parameters | |
position | No | The new position {x,y} - will be converted to [x,y] | |
typeVersion | No | The new type version for the node | |
webhookId | No | Optional new webhook ID for the node. | |
workflow_name | Yes | The Name of the workflow containing the node | |
workflow_path | No | Optional workflow path to the workflow file |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"node_id": {
"description": "The ID of the node to edit",
"type": "string"
},
"node_name": {
"description": "The new name for the node",
"type": "string"
},
"node_type": {
"description": "The new type for the node (e.g., 'gmail', 'slack', 'openAi'). You can specify with or without the 'n8n-nodes-base.' prefix. The system will handle proper casing (e.g., 'openai' will be converted to 'openAi' if that's the correct casing).",
"type": "string"
},
"parameters": {
"additionalProperties": {},
"description": "The new parameters",
"type": "object"
},
"position": {
"additionalProperties": false,
"description": "The new position {x,y} - will be converted to [x,y]",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
},
"typeVersion": {
"description": "The new type version for the node",
"type": "number"
},
"webhookId": {
"description": "Optional new webhook ID for the node.",
"type": "string"
},
"workflow_name": {
"description": "The Name of the workflow containing the node",
"type": "string"
},
"workflow_path": {
"description": "Optional workflow path to the workflow file",
"type": "string"
}
},
"required": [
"workflow_name",
"node_id"
],
"type": "object"
}