# nodes

node_type: nodes-base.notionTrigger
package_name: n8n-nodes-base
display_name: Notion Trigger
description: Starts the workflow when Notion events occur
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "notionApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:35
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Notion Trigger node documentation
  description: Learn how to use the Notion Trigger node in n8n. Follow technical documentation to integrate Notion Trigger node into your workflows.
  contentType: [integration, reference]
  priority: high
  ---

  # Notion Trigger node

  [Notion](https://notion.so){:target=_blank .external-link} is an all-in-one workspace for your notes, tasks, wikis, and databases.

  /// note | Credentials
  You can find authentication information for this node [here](/integrations/builtin/credentials/notion.md).
  ///

  ///  note  | Examples and templates
  For usage examples and templates to help you get started, refer to n8n's [Notion Trigger integrations](https://n8n.io/integrations/notion-trigger-beta/){:target=_blank .external-link} page.
  ///

  ## Events

  * Page added to database
  * Page updated in database

  ## Related resources

  n8n provides an app node for Notion. You can find the node docs [here](/integrations/builtin/app-nodes/n8n-nodes-base.notion/index.md).

  View [example workflows and related content](https://n8n.io/integrations/notion-trigger/){:target=_blank .external-link} on n8n's website.

  Refer to [Notion's documentation](https://developers.notion.com/){:target=_blank .external-link} for details about their API.

properties_schema:
  [
    {
      "displayName": "Event",
      "name": "event",
      "type": "options",
      "default": "pageAddedToDatabase",
      "options": [
        {
          "name": "Page Added to Database",
          "value": "pageAddedToDatabase"
        },
        {
          "name": "Page Updated in Database",
          "value": "pagedUpdatedInDatabase"
        }
      ],
      "required": true
    },
    {
      "displayName": "In Notion, make sure to <a href=\"https://www.notion.so/help/add-and-manage-connections-with-the-api\" target=\"_blank\">add your connection</a> to the pages you want to access.",
      "name": "notionNotice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Database",
      "name": "databaseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Notion Database to operate on",
      "required": true,
      "displayOptions": {
        "show": {
          "event": [
            "pageAddedToDatabase",
            "pagedUpdatedInDatabase"
          ]
        }
      },
      "modes": [
        {
          "displayName": "Database",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Database...",
          "typeOptions": {
            "searchListMethod": "getDatabases",
            "searchable": true
          }
        },
        {
          "displayName": "Link",
          "name": "url",
          "type": "string",
          "placeholder": "https://www.notion.so/0fe2f7de558b471eab07e9d871cdf4a9?v=f2d424ba0c404733a3f500c78c881610",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "(?:https|http)://www\\.notion\\.so/(?:[a-z0-9-]{2,}/)?([0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}).*",
                "errorMessage": "Not a valid Notion Database URL"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "(?:https|http)://www\\.notion\\.so/(?:[a-z0-9-]{2,}/)?([0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12})"
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "ab1545b247fb49fa92d6f4b49f4d8116",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}).*",
                "errorMessage": "Not a valid Notion Database ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12})"
          },
          "url": "=https://www.notion.so/{{$value.replace(/-/g, \"\")}}"
        }
      ]
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "event": [
            "pageAddedToDatabase",
            "pagedUpdatedInDatabase"
          ]
        }
      }
    }
  ]


node_type: nodes-base.npmTool
package_name: n8n-nodes-base
display_name: Npm Tool
description: Consume NPM registry API (AI Tool variant for use with AI Agents)
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "npmApi",
  "required": false
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-02-19 14:40:35
tool_variant_of: nodes-base.npm
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: npm node documentation
  description: Learn how to use the npm node in n8n. Follow technical documentation to integrate npm node into your workflows.
  contentType: [integration, reference]
  ---

  # npm node

  Use the npm node to automate work in npm, and integrate npm with other applications.

  On this page, you'll find a list of operations the npm node supports and links to more resources.

  /// note | Credentials
  Refer to [npm credentials](/integrations/builtin/credentials/npm.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Package
  	* Get Package Metadata
  	* Get Package Versions
  	* Search for Packages
  * Distribution Tag
  	* Get All Tags
  	* Update a Tag

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'npm') ]]

  ## Related resources

  Refer to [npm's documentation](https://docs.npmjs.com/){:target=_blank .external-link} for more information about the service.

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Npm"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "package",
      "options": [
        {
          "name": "Package",
          "value": "package"
        },
        {
          "name": "Distribution Tag",
          "value": "distTag"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getMetadata",
      "options": [
        {
          "name": "Get Metadata",
          "value": "getMetadata",
          "action": "Returns all the metadata for a package at a specific version",
          "description": "Returns all the metadata for a package at a specific version",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/{{ encodeURIComponent($parameter.packageName) }}/{{ $parameter.packageVersion }}"
            }
          }
        },
        {
          "name": "Get Versions",
          "value": "getVersions",
          "action": "Returns all the versions for a package",
          "description": "Returns all the versions for a package",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/{{ encodeURIComponent($parameter.packageName) }}"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search for packages",
          "description": "Search for packages",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/-/v1/search",
              "qs": {
                "text": "={{$parameter.query}}",
                "size": "={{$parameter.limit}}",
                "from": "={{$parameter.offset}}",
                "popularity": 0.99
              }
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Package Name",
      "name": "packageName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "getMetadata",
            "getVersions"
          ]
        }
      }
    },
    {
      "displayName": "Package Version",
      "name": "packageVersion",
      "type": "string",
      "default": "latest",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "getMetadata"
          ]
        }
      }
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The query text used to search for packages",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 10,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Offset",
      "name": "offset",
      "type": "number",
      "default": 0,
      "description": "Offset to return results from",
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getMany",
      "options": [
        {
          "name": "Get All",
          "value": "getMany",
          "action": "Returns all the dist-tags for a package",
          "description": "Returns all the dist-tags for a package",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/-/package/{{ encodeURIComponent($parameter.packageName) }}/dist-tags"
            }
          }
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a the dist-tags for a package",
          "description": "Update a the dist-tags for a package",
          "routing": {
            "request": {
              "method": "PUT",
              "url": "=/-/package/{{ encodeURIComponent($parameter.packageName) }}/dist-tags/{{ encodeURIComponent($parameter.distTagName) }}"
            },
            "send": {
              "preSend": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "distTag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Package Name",
      "name": "packageName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "distTag"
          ],
          "operation": [
            "getMany",
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Package Version",
      "name": "packageVersion",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "distTag"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Distribution Tag Name",
      "name": "distTagName",
      "type": "string",
      "default": "latest",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "distTag"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "getMetadata",
      "name": "Get Metadata",
      "description": "Returns all the metadata for a package at a specific version"
    },
    {
      "operation": "getVersions",
      "name": "Get Versions",
      "description": "Returns all the versions for a package"
    },
    {
      "operation": "search",
      "name": "Search",
      "description": "Search for packages"
    }
  ]


node_type: nodes-base.npm
package_name: n8n-nodes-base
display_name: Npm
description: Consume NPM registry API
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "npmApi",
  "required": false
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:35
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: npm node documentation
  description: Learn how to use the npm node in n8n. Follow technical documentation to integrate npm node into your workflows.
  contentType: [integration, reference]
  ---

  # npm node

  Use the npm node to automate work in npm, and integrate npm with other applications.

  On this page, you'll find a list of operations the npm node supports and links to more resources.

  /// note | Credentials
  Refer to [npm credentials](/integrations/builtin/credentials/npm.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Package
  	* Get Package Metadata
  	* Get Package Versions
  	* Search for Packages
  * Distribution Tag
  	* Get All Tags
  	* Update a Tag

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'npm') ]]

  ## Related resources

  Refer to [npm's documentation](https://docs.npmjs.com/){:target=_blank .external-link} for more information about the service.

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "package",
      "options": [
        {
          "name": "Package",
          "value": "package"
        },
        {
          "name": "Distribution Tag",
          "value": "distTag"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getMetadata",
      "options": [
        {
          "name": "Get Metadata",
          "value": "getMetadata",
          "action": "Returns all the metadata for a package at a specific version",
          "description": "Returns all the metadata for a package at a specific version",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/{{ encodeURIComponent($parameter.packageName) }}/{{ $parameter.packageVersion }}"
            }
          }
        },
        {
          "name": "Get Versions",
          "value": "getVersions",
          "action": "Returns all the versions for a package",
          "description": "Returns all the versions for a package",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/{{ encodeURIComponent($parameter.packageName) }}"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search for packages",
          "description": "Search for packages",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/-/v1/search",
              "qs": {
                "text": "={{$parameter.query}}",
                "size": "={{$parameter.limit}}",
                "from": "={{$parameter.offset}}",
                "popularity": 0.99
              }
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Package Name",
      "name": "packageName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "getMetadata",
            "getVersions"
          ]
        }
      }
    },
    {
      "displayName": "Package Version",
      "name": "packageVersion",
      "type": "string",
      "default": "latest",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "getMetadata"
          ]
        }
      }
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The query text used to search for packages",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 10,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Offset",
      "name": "offset",
      "type": "number",
      "default": 0,
      "description": "Offset to return results from",
      "displayOptions": {
        "show": {
          "resource": [
            "package"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getMany",
      "options": [
        {
          "name": "Get All",
          "value": "getMany",
          "action": "Returns all the dist-tags for a package",
          "description": "Returns all the dist-tags for a package",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/-/package/{{ encodeURIComponent($parameter.packageName) }}/dist-tags"
            }
          }
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a the dist-tags for a package",
          "description": "Update a the dist-tags for a package",
          "routing": {
            "request": {
              "method": "PUT",
              "url": "=/-/package/{{ encodeURIComponent($parameter.packageName) }}/dist-tags/{{ encodeURIComponent($parameter.distTagName) }}"
            },
            "send": {
              "preSend": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "distTag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Package Name",
      "name": "packageName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "distTag"
          ],
          "operation": [
            "getMany",
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Package Version",
      "name": "packageVersion",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "distTag"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Distribution Tag Name",
      "name": "distTagName",
      "type": "string",
      "default": "latest",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "distTag"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "getMetadata",
      "name": "Get Metadata",
      "description": "Returns all the metadata for a package at a specific version"
    },
    {
      "operation": "getVersions",
      "name": "Get Versions",
      "description": "Returns all the versions for a package"
    },
    {
      "operation": "search",
      "name": "Search",
      "description": "Search for packages"
    }
  ]


node_type: nodes-base.odooTool
package_name: n8n-nodes-base
display_name: Odoo Tool
description: Consume Odoo API (AI Tool variant for use with AI Agents)
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "odooApi",
  "required": true,
  "testedBy": "odooApiTest"
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-02-19 14:40:35
tool_variant_of: nodes-base.odoo
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Odoo node documentation
  description: Learn how to use the Odoo node in n8n. Follow technical documentation to integrate Odoo node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Odoo node

  Use the Odoo node to automate work in Odoo, and integrate Odoo with other applications. n8n has built-in support for a wide range of Odoo features, including creating, updating, deleting, and getting contracts, resources, and opportunities. 

  On this page, you'll find a list of operations the Odoo node supports and links to more resources.

  /// note | Credentials
  Refer to [Odoo credentials](/integrations/builtin/credentials/odoo.md) for guidance on setting up authentication. 
  ///

  --8<-- "_snippets/integrations/builtin/app-nodes/ai-tools.md"

  ## Operations

  * Contact
      * Create a new contact
      * Delete a contact
      * Get a contact
      * Get all contacts
      * Update a contact
  * Custom Resource
      * Create a new item
      * Delete an item
      * Get an item
      * Get all items
      * Update an item
  * Note
      * Create a new note
      * Delete a note
      * Get a note
      * Get all notes
      * Update a note
  * Opportunity
      * Create a new opportunity
      * Delete an opportunity
      * Get an opportunity
      * Get all opportunities
      * Update an opportunity

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'odoo') ]]

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Odoo"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "contact",
      "options": [
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "Custom Resource",
          "value": "custom"
        },
        {
          "name": "Note",
          "value": "note"
        },
        {
          "name": "Opportunity",
          "value": "opportunity"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Custom Resource Name or ID",
      "name": "customResource",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "custom"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getModels"
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new item",
          "action": "Create an item"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an item",
          "action": "Delete an item"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an item",
          "action": "Get an item"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many items",
          "action": "Get many items"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an item",
          "action": "Update an item"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "custom"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Fields",
      "name": "fieldsToCreateOrUpdate",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field Record:",
          "name": "fields",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "fieldName",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "getModelFields"
              }
            },
            {
              "displayName": "New Value",
              "name": "fieldValue",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "custom"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Field"
      }
    },
    {
      "displayName": "Custom Resource ID",
      "name": "customResourceId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get",
            "delete"
          ],
          "resource": [
            "custom"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "custom"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "custom"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields to Include",
          "name": "fieldsList",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getModelFields",
            "loadOptionsDependsOn": [
              "customResource"
            ]
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "get"
          ],
          "resource": [
            "custom"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filterRequest",
      "type": "fixedCollection",
      "default": {},
      "description": "Filter request by applying filters",
      "options": [
        {
          "name": "filter",
          "displayName": "Filter",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "fieldName",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "default": "",
              "typeOptions": {
                "loadOptionsDependsOn": [
                  "customResource"
                ],
                "loadOptionsMethod": "getModelFields"
              }
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "default": "equal",
              "description": "Specify an operator",
              "options": [
                {
                  "name": "!=",
                  "value": "notEqual"
                },
                {
                  "name": "<",
                  "value": "lesserThen"
                },
                {
                  "name": "<=",
                  "value": "lesserOrEqual"
                },
                {
                  "name": "=",
                  "value": "equal"
                },
                {
                  "name": ">",
                  "value": "greaterThen"
                },
                {
                  "name": ">=",
                  "value": "greaterOrEqual"
                },
                {
                  "name": "Child Of",
                  "value": "childOf"
                },
                {
                  "name": "In",
                  "value": "in"
                },
                {
                  "name": "Like",
                  "value": "like"
                },
                {
                  "name": "Not In",
                  "value": "notIn"
                }
              ]
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "description": "Specify value for comparison"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "custom"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Filter"
      }
    },
    {
      "displayName": "Custom Resource ID",
      "name": "customResourceId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "custom"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "fieldsToCreateOrUpdate",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field Record:",
          "name": "fields",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "fieldName",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "getModelFields"
              }
            },
            {
              "displayName": "New Value",
              "name": "fieldValue",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "custom"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Field"
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new opportunity",
          "action": "Create an opportunity"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an opportunity",
          "action": "Delete an opportunity"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an opportunity",
          "action": "Get an opportunity"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many opportunities",
          "action": "Get many opportunities"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an opportunity",
          "action": "Update an opportunity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "opportunity"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "opportunityName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email_from",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Expected Revenue",
          "name": "expected_revenue",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Internal Notes",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": "1",
          "options": [
            {
              "name": "1",
              "value": "1"
            },
            {
              "name": "2",
              "value": "2"
            },
            {
              "name": "3",
              "value": "3"
            }
          ]
        },
        {
          "displayName": "Probability",
          "name": "probability",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "maxValue": 100,
            "minValue": 0
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Opportunity ID",
      "name": "opportunityId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get",
            "delete"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "opportunity"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "opportunity"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields to Include",
          "name": "fieldsList",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getModelFields"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "get"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Opportunity ID",
      "name": "opportunityId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email_from",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Expected Revenue",
          "name": "expected_revenue",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Internal Notes",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": "1",
          "options": [
            {
              "name": "1",
              "value": "1"
            },
            {
              "name": "2",
              "value": "2"
            },
            {
              "name": "3",
              "value": "3"
            }
          ]
        },
        {
          "displayName": "Probability",
          "name": "probability",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "maxValue": 100,
            "minValue": 0
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new contact",
          "action": "Create a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "contactName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Address",
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "name": "value",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Name or ID",
                  "name": "country_id",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getCountries"
                  }
                },
                {
                  "displayName": "State Name or ID",
                  "name": "state_id",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getStates"
                  }
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street 2",
                  "name": "street2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "Internal Notes",
          "name": "comment",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Position",
          "name": "function",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Tax ID",
          "name": "vat",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get",
            "delete"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields to Include",
          "name": "fieldsList",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getModelFields"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "get"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Address",
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "name": "value",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Name or ID",
                  "name": "country_id",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getCountries"
                  }
                },
                {
                  "displayName": "State Name or ID",
                  "name": "state_id",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getStates"
                  }
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street 2",
                  "name": "street2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "Internal Notes",
          "name": "comment",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Position",
          "name": "function",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Tax ID",
          "name": "vat",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new note",
          "action": "Create a note"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a note",
          "action": "Delete a note"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a note",
          "action": "Get a note"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many notes",
          "action": "Get many notes"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a note",
          "action": "Update a note"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "note"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Memo",
      "name": "memo",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Note ID",
      "name": "noteId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get",
            "delete"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "note"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "note"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields to Include",
          "name": "fieldsList",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getModelFields"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "get"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Note ID",
      "name": "noteId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Memo",
      "name": "memo",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "note"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new item"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an item"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an item"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many items"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an item"
    }
  ]


node_type: nodes-base.odoo
package_name: n8n-nodes-base
display_name: Odoo
description: Consume Odoo API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "odooApi",
  "required": true,
  "testedBy": "odooApiTest"
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:35
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Odoo node documentation
  description: Learn how to use the Odoo node in n8n. Follow technical documentation to integrate Odoo node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Odoo node

  Use the Odoo node to automate work in Odoo, and integrate Odoo with other applications. n8n has built-in support for a wide range of Odoo features, including creating, updating, deleting, and getting contracts, resources, and opportunities. 

  On this page, you'll find a list of operations the Odoo node supports and links to more resources.

  /// note | Credentials
  Refer to [Odoo credentials](/integrations/builtin/credentials/odoo.md) for guidance on setting up authentication. 
  ///

  --8<-- "_snippets/integrations/builtin/app-nodes/ai-tools.md"

  ## Operations

  * Contact
      * Create a new contact
      * Delete a contact
      * Get a contact
      * Get all contacts
      * Update a contact
  * Custom Resource
      * Create a new item
      * Delete an item
      * Get an item
      * Get all items
      * Update an item
  * Note
      * Create a new note
      * Delete a note
      * Get a note
      * Get all notes
      * Update a note
  * Opportunity
      * Create a new opportunity
      * Delete an opportunity
      * Get an opportunity
      * Get all opportunities
      * Update an opportunity

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'odoo') ]]

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "contact",
      "options": [
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "Custom Resource",
          "value": "custom"
        },
        {
          "name": "Note",
          "value": "note"
        },
        {
          "name": "Opportunity",
          "value": "opportunity"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Custom Resource Name or ID",
      "name": "customResource",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "custom"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getModels"
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new item",
          "action": "Create an item"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an item",
          "action": "Delete an item"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an item",
          "action": "Get an item"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many items",
          "action": "Get many items"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an item",
          "action": "Update an item"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "custom"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Fields",
      "name": "fieldsToCreateOrUpdate",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field Record:",
          "name": "fields",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "fieldName",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "getModelFields"
              }
            },
            {
              "displayName": "New Value",
              "name": "fieldValue",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "custom"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Field"
      }
    },
    {
      "displayName": "Custom Resource ID",
      "name": "customResourceId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get",
            "delete"
          ],
          "resource": [
            "custom"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "custom"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "custom"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields to Include",
          "name": "fieldsList",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getModelFields",
            "loadOptionsDependsOn": [
              "customResource"
            ]
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "get"
          ],
          "resource": [
            "custom"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filterRequest",
      "type": "fixedCollection",
      "default": {},
      "description": "Filter request by applying filters",
      "options": [
        {
          "name": "filter",
          "displayName": "Filter",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "fieldName",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "default": "",
              "typeOptions": {
                "loadOptionsDependsOn": [
                  "customResource"
                ],
                "loadOptionsMethod": "getModelFields"
              }
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "default": "equal",
              "description": "Specify an operator",
              "options": [
                {
                  "name": "!=",
                  "value": "notEqual"
                },
                {
                  "name": "<",
                  "value": "lesserThen"
                },
                {
                  "name": "<=",
                  "value": "lesserOrEqual"
                },
                {
                  "name": "=",
                  "value": "equal"
                },
                {
                  "name": ">",
                  "value": "greaterThen"
                },
                {
                  "name": ">=",
                  "value": "greaterOrEqual"
                },
                {
                  "name": "Child Of",
                  "value": "childOf"
                },
                {
                  "name": "In",
                  "value": "in"
                },
                {
                  "name": "Like",
                  "value": "like"
                },
                {
                  "name": "Not In",
                  "value": "notIn"
                }
              ]
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "description": "Specify value for comparison"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "custom"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Filter"
      }
    },
    {
      "displayName": "Custom Resource ID",
      "name": "customResourceId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "custom"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "fieldsToCreateOrUpdate",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field Record:",
          "name": "fields",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "fieldName",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "getModelFields"
              }
            },
            {
              "displayName": "New Value",
              "name": "fieldValue",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "custom"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Field"
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new opportunity",
          "action": "Create an opportunity"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an opportunity",
          "action": "Delete an opportunity"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an opportunity",
          "action": "Get an opportunity"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many opportunities",
          "action": "Get many opportunities"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an opportunity",
          "action": "Update an opportunity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "opportunity"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "opportunityName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email_from",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Expected Revenue",
          "name": "expected_revenue",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Internal Notes",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": "1",
          "options": [
            {
              "name": "1",
              "value": "1"
            },
            {
              "name": "2",
              "value": "2"
            },
            {
              "name": "3",
              "value": "3"
            }
          ]
        },
        {
          "displayName": "Probability",
          "name": "probability",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "maxValue": 100,
            "minValue": 0
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Opportunity ID",
      "name": "opportunityId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get",
            "delete"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "opportunity"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "opportunity"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields to Include",
          "name": "fieldsList",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getModelFields"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "get"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Opportunity ID",
      "name": "opportunityId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email_from",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Expected Revenue",
          "name": "expected_revenue",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Internal Notes",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": "1",
          "options": [
            {
              "name": "1",
              "value": "1"
            },
            {
              "name": "2",
              "value": "2"
            },
            {
              "name": "3",
              "value": "3"
            }
          ]
        },
        {
          "displayName": "Probability",
          "name": "probability",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "maxValue": 100,
            "minValue": 0
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "opportunity"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new contact",
          "action": "Create a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "contactName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Address",
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "name": "value",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Name or ID",
                  "name": "country_id",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getCountries"
                  }
                },
                {
                  "displayName": "State Name or ID",
                  "name": "state_id",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getStates"
                  }
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street 2",
                  "name": "street2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "Internal Notes",
          "name": "comment",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Position",
          "name": "function",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Tax ID",
          "name": "vat",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get",
            "delete"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields to Include",
          "name": "fieldsList",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getModelFields"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "get"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Address",
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "name": "value",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Name or ID",
                  "name": "country_id",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getCountries"
                  }
                },
                {
                  "displayName": "State Name or ID",
                  "name": "state_id",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getStates"
                  }
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street 2",
                  "name": "street2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "Internal Notes",
          "name": "comment",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Position",
          "name": "function",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Tax ID",
          "name": "vat",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new note",
          "action": "Create a note"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a note",
          "action": "Delete a note"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a note",
          "action": "Get a note"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many notes",
          "action": "Get many notes"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a note",
          "action": "Update a note"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "note"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Memo",
      "name": "memo",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Note ID",
      "name": "noteId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get",
            "delete"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "note"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "note"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields to Include",
          "name": "fieldsList",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getModelFields"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "get"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Note ID",
      "name": "noteId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Memo",
      "name": "memo",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "note"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new item"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an item"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an item"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many items"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an item"
    }
  ]


node_type: nodes-base.oktaTool
package_name: n8n-nodes-base
display_name: Okta Tool
description: Use the Okta API (AI Tool variant for use with AI Agents)
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "oktaApi",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-02-19 14:40:35
tool_variant_of: nodes-base.okta
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Okta node documentation
  description: Learn how to use the Okta node in n8n. Follow technical documentation to integrate Okta node into your workflows.
  contentType: [integration, reference]
  ---

  # Okta node

  Use the Okta node to automate work in Okta and integrate Okta with other applications. n8n has built-in support for a wide range of Okta features, which includes creating, updating, and deleting users.

  On this page, you'll find a list of operations the Okta node supports, and links to more resources.

  ///  note  | Credentials
  You can find authentication information for this node [here](/integrations/builtin/credentials/okta.md).
  ///

  ## Operations

  - User
      - Create a new user
      - Delete an existing user
      - Get details of a user
      - Get many users
      - Update an existing user

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, okta) ]]

  ## Related resources

  <!-- add a link to the service's documentation. This should usually go direct to the API docs -->
  Refer to [Okta's documentation](https://developer.okta.com/docs/guides/){:target=_blank .external-link} for more information about the service.

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Okta"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "user",
      "options": [
        {
          "name": "User",
          "value": "user"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new user",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/api/v1/users/",
              "qs": {
                "activate": "={{$parameter[\"activate\"]}}"
              },
              "returnFullResponse": true
            }
          },
          "action": "Create a new user"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an existing user",
          "routing": {
            "request": {
              "method": "DELETE",
              "url": "={{\"/api/v1/users/\" + $parameter[\"userId\"]}}",
              "returnFullResponse": true
            },
            "output": {
              "postReceive": [
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"success\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Delete a user"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get details of a user",
          "routing": {
            "request": {
              "method": "GET",
              "url": "={{\"/api/v1/users/\" + $parameter[\"userId\"]}}",
              "returnFullResponse": true,
              "qs": {}
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Get a user"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many users",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/api/v1/users/",
              "qs": {
                "search": "={{$parameter[\"searchQuery\"]}}"
              },
              "returnFullResponse": true
            },
            "output": {
              "postReceive": [
                null
              ]
            },
            "send": {
              "paginate": true
            },
            "operations": {}
          },
          "action": "Get many users"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an existing user",
          "routing": {
            "request": {
              "method": "POST",
              "url": "={{\"/api/v1/users/\" + $parameter[\"userId\"]}}",
              "returnFullResponse": true
            }
          },
          "action": "Update a user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "User",
      "name": "userId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The user you want to operate on. Choose from the list, or specify an ID.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get",
            "update",
            "delete"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a user...",
          "typeOptions": {
            "searchListMethod": "getUsers",
            "searchable": true
          }
        },
        {
          "displayName": "By username",
          "name": "login",
          "type": "string",
          "placeholder": ""
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 00u1abcd2345EfGHIjk6"
        }
      ]
    },
    {
      "displayName": "First Name",
      "name": "firstName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "lastName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Username",
      "name": "login",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Activate",
      "name": "activate",
      "type": "boolean",
      "default": true,
      "description": "Whether to activate the user and allow access to all assigned applications",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "getCreateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "City",
          "name": "city",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.city",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Cost Center",
          "name": "costCenter",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.costCenter",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Country Code",
          "name": "countryCode",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.countryCode",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.department",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Display Name",
          "name": "displayName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.displayName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Division",
          "name": "division",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.division",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Employee Number",
          "name": "employeeNumber",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.employeeNumber",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Honorific Prefix",
          "name": "honorificPrefix",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.honorificPrefix",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Honorific Suffix",
          "name": "honorificSuffix",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.honorificSuffix",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Locale",
          "name": "locale",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.locale",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.manager",
              "type": "body"
            }
          }
        },
        {
          "displayName": "ManagerId",
          "name": "managerId",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.managerId",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Middle Name",
          "name": "middleName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.middleName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.mobilePhone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Nick Name",
          "name": "nickName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.nickName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.password.value",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Organization",
          "name": "organization",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.organization",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Postal Address",
          "name": "postalAddress",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.postalAddress",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Preferred Language",
          "name": "preferredLanguage",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.preferredLanguage",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Primary Phone",
          "name": "primaryPhone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.primaryPhone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Profile Url",
          "name": "profileUrl",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.profileUrl",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Recovery Question Answer",
          "name": "recoveryQuestionAnswer",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.recovery_question.answer",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Recovery Question Question",
          "name": "recoveryQuestionQuestion",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.recovery_question.question",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Second Email",
          "name": "secondEmail",
          "type": "string",
          "typeOptions": {
            "email": true
          },
          "default": "",
          "routing": {
            "send": {
              "property": "profile.secondEmail",
              "type": "body"
            }
          }
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.state",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Street Address",
          "name": "streetAddress",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.streetAddress",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Timezone",
          "name": "timezone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.timezone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.title",
              "type": "body"
            }
          }
        },
        {
          "displayName": "User Type",
          "name": "userType",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.userType",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Zip Code",
          "name": "zipCode",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.zipCode",
              "type": "body"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "getUpdateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "City",
          "name": "city",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.city",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Cost Center",
          "name": "costCenter",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.costCenter",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Country Code",
          "name": "countryCode",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.countryCode",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.department",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Display Name",
          "name": "displayName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.displayName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Division",
          "name": "division",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.division",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "e.g. nathan@example.com",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.email",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Employee Number",
          "name": "employeeNumber",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.employeeNumber",
              "type": "body"
            }
          }
        },
        {
          "displayName": "First Name",
          "name": "firstName",
          "type": "string",
          "placeholder": "e.g. Nathan",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.firstName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Honorific Prefix",
          "name": "honorificPrefix",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.honorificPrefix",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Honorific Suffix",
          "name": "honorificSuffix",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.honorificSuffix",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Last Name",
          "name": "lastName",
          "type": "string",
          "placeholder": "e.g. Smith",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.lastName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Locale",
          "name": "locale",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.locale",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.manager",
              "type": "body"
            }
          }
        },
        {
          "displayName": "ManagerId",
          "name": "managerId",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.managerId",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Middle Name",
          "name": "middleName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.middleName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.mobilePhone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Nick Name",
          "name": "nickName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.nickName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Organization",
          "name": "organization",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.organization",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.password.value",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Postal Address",
          "name": "postalAddress",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.postalAddress",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Preferred Language",
          "name": "preferredLanguage",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.preferredLanguage",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Primary Phone",
          "name": "primaryPhone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.primaryPhone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Profile Url",
          "name": "profileUrl",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.profileUrl",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Recovery Question Answer",
          "name": "recoveryQuestionAnswer",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.recovery_question.answer",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Recovery Question Question",
          "name": "recoveryQuestionQuestion",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.recovery_question.question",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Second Email",
          "name": "secondEmail",
          "type": "string",
          "typeOptions": {
            "email": true
          },
          "default": "",
          "routing": {
            "send": {
              "property": "profile.secondEmail",
              "type": "body"
            }
          }
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.state",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Street Address",
          "name": "streetAddress",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.streetAddress",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Timezone",
          "name": "timezone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.timezone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.title",
              "type": "body"
            }
          }
        },
        {
          "displayName": "User Type",
          "name": "userType",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.userType",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Username",
          "name": "login",
          "type": "string",
          "placeholder": "e.g. nathan@example.com",
          "hint": "Unique identifier for the user, must be an email",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.login",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Zip Code",
          "name": "zipCode",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.zipCode",
              "type": "body"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Search Query",
      "name": "searchQuery",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 20,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 200
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplify",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Send Email",
      "name": "sendEmail",
      "type": "boolean",
      "default": false,
      "description": "Whether to send a deactivation email to the administrator",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new user"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an existing user"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get details of a user"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many users"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an existing user"
    }
  ]


node_type: nodes-base.okta
package_name: n8n-nodes-base
display_name: Okta
description: Use the Okta API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "oktaApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:35
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Okta node documentation
  description: Learn how to use the Okta node in n8n. Follow technical documentation to integrate Okta node into your workflows.
  contentType: [integration, reference]
  ---

  # Okta node

  Use the Okta node to automate work in Okta and integrate Okta with other applications. n8n has built-in support for a wide range of Okta features, which includes creating, updating, and deleting users.

  On this page, you'll find a list of operations the Okta node supports, and links to more resources.

  ///  note  | Credentials
  You can find authentication information for this node [here](/integrations/builtin/credentials/okta.md).
  ///

  ## Operations

  - User
      - Create a new user
      - Delete an existing user
      - Get details of a user
      - Get many users
      - Update an existing user

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, okta) ]]

  ## Related resources

  <!-- add a link to the service's documentation. This should usually go direct to the API docs -->
  Refer to [Okta's documentation](https://developer.okta.com/docs/guides/){:target=_blank .external-link} for more information about the service.

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "user",
      "options": [
        {
          "name": "User",
          "value": "user"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new user",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/api/v1/users/",
              "qs": {
                "activate": "={{$parameter[\"activate\"]}}"
              },
              "returnFullResponse": true
            }
          },
          "action": "Create a new user"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an existing user",
          "routing": {
            "request": {
              "method": "DELETE",
              "url": "={{\"/api/v1/users/\" + $parameter[\"userId\"]}}",
              "returnFullResponse": true
            },
            "output": {
              "postReceive": [
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"success\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Delete a user"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get details of a user",
          "routing": {
            "request": {
              "method": "GET",
              "url": "={{\"/api/v1/users/\" + $parameter[\"userId\"]}}",
              "returnFullResponse": true,
              "qs": {}
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Get a user"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many users",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/api/v1/users/",
              "qs": {
                "search": "={{$parameter[\"searchQuery\"]}}"
              },
              "returnFullResponse": true
            },
            "output": {
              "postReceive": [
                null
              ]
            },
            "send": {
              "paginate": true
            },
            "operations": {}
          },
          "action": "Get many users"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an existing user",
          "routing": {
            "request": {
              "method": "POST",
              "url": "={{\"/api/v1/users/\" + $parameter[\"userId\"]}}",
              "returnFullResponse": true
            }
          },
          "action": "Update a user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "User",
      "name": "userId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The user you want to operate on. Choose from the list, or specify an ID.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get",
            "update",
            "delete"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a user...",
          "typeOptions": {
            "searchListMethod": "getUsers",
            "searchable": true
          }
        },
        {
          "displayName": "By username",
          "name": "login",
          "type": "string",
          "placeholder": ""
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 00u1abcd2345EfGHIjk6"
        }
      ]
    },
    {
      "displayName": "First Name",
      "name": "firstName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "lastName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Username",
      "name": "login",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Activate",
      "name": "activate",
      "type": "boolean",
      "default": true,
      "description": "Whether to activate the user and allow access to all assigned applications",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "getCreateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "City",
          "name": "city",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.city",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Cost Center",
          "name": "costCenter",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.costCenter",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Country Code",
          "name": "countryCode",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.countryCode",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.department",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Display Name",
          "name": "displayName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.displayName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Division",
          "name": "division",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.division",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Employee Number",
          "name": "employeeNumber",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.employeeNumber",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Honorific Prefix",
          "name": "honorificPrefix",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.honorificPrefix",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Honorific Suffix",
          "name": "honorificSuffix",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.honorificSuffix",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Locale",
          "name": "locale",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.locale",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.manager",
              "type": "body"
            }
          }
        },
        {
          "displayName": "ManagerId",
          "name": "managerId",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.managerId",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Middle Name",
          "name": "middleName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.middleName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.mobilePhone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Nick Name",
          "name": "nickName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.nickName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.password.value",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Organization",
          "name": "organization",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.organization",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Postal Address",
          "name": "postalAddress",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.postalAddress",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Preferred Language",
          "name": "preferredLanguage",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.preferredLanguage",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Primary Phone",
          "name": "primaryPhone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.primaryPhone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Profile Url",
          "name": "profileUrl",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.profileUrl",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Recovery Question Answer",
          "name": "recoveryQuestionAnswer",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.recovery_question.answer",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Recovery Question Question",
          "name": "recoveryQuestionQuestion",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.recovery_question.question",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Second Email",
          "name": "secondEmail",
          "type": "string",
          "typeOptions": {
            "email": true
          },
          "default": "",
          "routing": {
            "send": {
              "property": "profile.secondEmail",
              "type": "body"
            }
          }
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.state",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Street Address",
          "name": "streetAddress",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.streetAddress",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Timezone",
          "name": "timezone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.timezone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.title",
              "type": "body"
            }
          }
        },
        {
          "displayName": "User Type",
          "name": "userType",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.userType",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Zip Code",
          "name": "zipCode",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.zipCode",
              "type": "body"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "getUpdateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "City",
          "name": "city",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.city",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Cost Center",
          "name": "costCenter",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.costCenter",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Country Code",
          "name": "countryCode",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.countryCode",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.department",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Display Name",
          "name": "displayName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.displayName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Division",
          "name": "division",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.division",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "e.g. nathan@example.com",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.email",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Employee Number",
          "name": "employeeNumber",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.employeeNumber",
              "type": "body"
            }
          }
        },
        {
          "displayName": "First Name",
          "name": "firstName",
          "type": "string",
          "placeholder": "e.g. Nathan",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.firstName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Honorific Prefix",
          "name": "honorificPrefix",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.honorificPrefix",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Honorific Suffix",
          "name": "honorificSuffix",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.honorificSuffix",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Last Name",
          "name": "lastName",
          "type": "string",
          "placeholder": "e.g. Smith",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.lastName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Locale",
          "name": "locale",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.locale",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.manager",
              "type": "body"
            }
          }
        },
        {
          "displayName": "ManagerId",
          "name": "managerId",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.managerId",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Middle Name",
          "name": "middleName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.middleName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.mobilePhone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Nick Name",
          "name": "nickName",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.nickName",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Organization",
          "name": "organization",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.organization",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.password.value",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Postal Address",
          "name": "postalAddress",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.postalAddress",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Preferred Language",
          "name": "preferredLanguage",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.preferredLanguage",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Primary Phone",
          "name": "primaryPhone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.primaryPhone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Profile Url",
          "name": "profileUrl",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.profileUrl",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Recovery Question Answer",
          "name": "recoveryQuestionAnswer",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.recovery_question.answer",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Recovery Question Question",
          "name": "recoveryQuestionQuestion",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "credentials.recovery_question.question",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Second Email",
          "name": "secondEmail",
          "type": "string",
          "typeOptions": {
            "email": true
          },
          "default": "",
          "routing": {
            "send": {
              "property": "profile.secondEmail",
              "type": "body"
            }
          }
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.state",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Street Address",
          "name": "streetAddress",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.streetAddress",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Timezone",
          "name": "timezone",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.timezone",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.title",
              "type": "body"
            }
          }
        },
        {
          "displayName": "User Type",
          "name": "userType",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.userType",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Username",
          "name": "login",
          "type": "string",
          "placeholder": "e.g. nathan@example.com",
          "hint": "Unique identifier for the user, must be an email",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.login",
              "type": "body"
            }
          }
        },
        {
          "displayName": "Zip Code",
          "name": "zipCode",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "profile.zipCode",
              "type": "body"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Search Query",
      "name": "searchQuery",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 20,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 200
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplify",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Send Email",
      "name": "sendEmail",
      "type": "boolean",
      "default": false,
      "description": "Whether to send a deactivation email to the administrator",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new user"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an existing user"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get details of a user"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many users"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an existing user"
    }
  ]


node_type: nodes-base.oneSimpleApiTool
package_name: n8n-nodes-base
display_name: One Simple API Tool
description: A toolbox of no-code utilities (AI Tool variant for use with AI Agents)
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "oneSimpleApi",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-02-19 14:40:35
tool_variant_of: nodes-base.oneSimpleApi
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: One Simple API node documentation
  description: Learn how to use the One Simple API node in n8n. Follow technical documentation to integrate One Simple API node into your workflows.
  contentType: [integration, reference]
  ---
  <!-- vale off -->
  <!-- linting off because 'simple' isn't something I want to add to accept.txt -->
  # One Simple API node

  Use the One Simple API node to automate work in One Simple API, and integrate One Simple API with other applications. n8n has built-in support for a wide range of One Simple API features, including getting profiles, retrieving information, and generating utilities. 

  On this page, you'll find a list of operations the One Simple API node supports and links to more resources.

  /// note | Credentials
  Refer to [One Simple API credentials](/integrations/builtin/credentials/onesimpleapi.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Information
      * Convert a value between currencies
      * Retrieve image metadata from a URL
  * Social Profile
      * Get details about an Instagram profile
      * Get details about a Spotify Artist
  * Utility
      * Expand a shortened url
      * Generate a QR Code
      * Validate an email address
  * Website
      * Generate a PDF from a webpage
      * Get SEO information from website
      * Create a screenshot from a webpage

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'one-simple-api') ]]

  ## Related resources

  Refer to [One Simple API's documentation](https://onesimpleapi.com/docs){:target=_blank .external-link} for more information about the service.

  <!-- vale on -->

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to make API requests and fetch data"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "website",
      "options": [
        {
          "name": "Information",
          "value": "information"
        },
        {
          "name": "Social Profile",
          "value": "socialProfile"
        },
        {
          "name": "Utility",
          "value": "utility"
        },
        {
          "name": "Website",
          "value": "website"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "pdf",
      "options": [
        {
          "name": "Generate PDF",
          "value": "pdf",
          "description": "Generate a PDF from a webpage",
          "action": "Generate PDF"
        },
        {
          "name": "Get SEO Data",
          "value": "seo",
          "description": "Get SEO information from website",
          "action": "Get SEO Data"
        },
        {
          "name": "Take Screenshot",
          "value": "screenshot",
          "description": "Create a screenshot from a webpage",
          "action": "Screenshot"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "website"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "instagramProfile",
      "options": [
        {
          "name": "Instagram",
          "value": "instagramProfile",
          "description": "Get details about an Instagram profile",
          "action": "Get details about an Instagram profile"
        },
        {
          "name": "Spotify",
          "value": "spotifyArtistProfile",
          "description": "Get details about a Spotify Artist",
          "action": "Get details about a Spotify artist"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "socialProfile"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "exchangeRate",
      "options": [
        {
          "name": "Exchange Rate",
          "value": "exchangeRate",
          "description": "Convert a value between currencies",
          "action": "Convert a value between currencies"
        },
        {
          "name": "Image Metadata",
          "value": "imageMetadata",
          "description": "Retrieve image metadata from a URL",
          "action": "Get image metadata from a URL"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "information"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "validateEmail",
      "options": [
        {
          "name": "Expand URL",
          "value": "expandURL",
          "description": "Expand a shortened URL",
          "action": "Expand a shortened URL"
        },
        {
          "name": "Generate QR Code",
          "value": "qrCode",
          "description": "Generate a QR Code",
          "action": "Generate a QR code utility"
        },
        {
          "name": "Validate Email",
          "value": "validateEmail",
          "description": "Validate an email address",
          "action": "Validate an email address"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "utility"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Webpage URL",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "Link to webpage to convert",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "pdf"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Download PDF?",
      "name": "download",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the PDF or return a link to it",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "pdf"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Put Output In Field",
      "name": "output",
      "type": "string",
      "default": "data",
      "description": "The name of the output field to put the binary file data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "pdf"
          ],
          "resource": [
            "website"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Page Size",
          "name": "page",
          "type": "options",
          "options": [
            {
              "name": "A0",
              "value": "A0"
            },
            {
              "name": "A1",
              "value": "A1"
            },
            {
              "name": "A2",
              "value": "A2"
            },
            {
              "name": "A3",
              "value": "A3"
            },
            {
              "name": "A4",
              "value": "A4"
            },
            {
              "name": "A5",
              "value": "A5"
            },
            {
              "name": "A6",
              "value": "A6"
            },
            {
              "name": "Ledger",
              "value": "Ledger"
            },
            {
              "name": "Legal",
              "value": "Legal"
            },
            {
              "name": "Letter",
              "value": "Letter"
            },
            {
              "name": "Tabloid",
              "value": "Tabloid"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Force Refresh",
          "name": "force",
          "type": "boolean",
          "default": false,
          "description": "Normally the API will reuse a previously taken screenshot of the URL to give a faster response. This option allows you to retake the screenshot at that exact time, for those times when it's necessary."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "website"
          ],
          "operation": [
            "pdf"
          ]
        }
      }
    },
    {
      "displayName": "QR Content",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "The text that should be turned into a QR code - like a website URL",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "qrCode"
          ],
          "resource": [
            "utility"
          ]
        }
      }
    },
    {
      "displayName": "Download Image?",
      "name": "download",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the QR code or return a link to it",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "qrCode"
          ],
          "resource": [
            "utility"
          ]
        }
      }
    },
    {
      "displayName": "Put Output In Field",
      "name": "output",
      "type": "string",
      "default": "data",
      "description": "The name of the output field to put the binary file data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "qrCode"
          ],
          "resource": [
            "utility"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Size",
          "name": "size",
          "type": "options",
          "options": [
            {
              "name": "Small",
              "value": "Small"
            },
            {
              "name": "Medium",
              "value": "Medium"
            },
            {
              "name": "Large",
              "value": "Large"
            }
          ],
          "default": "Small",
          "description": "The QR Code size"
        },
        {
          "displayName": "Format",
          "name": "format",
          "type": "options",
          "options": [
            {
              "name": "PNG",
              "value": "PNG"
            },
            {
              "name": "SVG",
              "value": "SVG"
            }
          ],
          "default": "PNG",
          "description": "The QR Code format"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "utility"
          ],
          "operation": [
            "qrCode"
          ]
        }
      }
    },
    {
      "displayName": "Webpage URL",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "Link to webpage to convert",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "screenshot"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Download Screenshot?",
      "name": "download",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the screenshot or return a link to it",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "screenshot"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Put Output In Field",
      "name": "output",
      "type": "string",
      "default": "data",
      "description": "The name of the output field to put the binary file data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "screenshot"
          ],
          "resource": [
            "website"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Screen Size",
          "name": "screen",
          "type": "options",
          "options": [
            {
              "name": "Phone",
              "value": "phone"
            },
            {
              "name": "Phone Landscape",
              "value": "phone-landscape"
            },
            {
              "name": "Retina",
              "value": "retina"
            },
            {
              "name": "Tablet",
              "value": "tablet"
            },
            {
              "name": "Tablet Landscape",
              "value": "tablet-landscape"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Force Refresh",
          "name": "force",
          "type": "boolean",
          "default": false,
          "description": "Normally the API will reuse a previously taken screenshot of the URL to give a faster response. This option allows you to retake the screenshot at that exact time, for those times when it's necessary."
        },
        {
          "displayName": "Full Page",
          "name": "fullpage",
          "type": "boolean",
          "default": false,
          "description": "The API takes a screenshot of the viewable area for the desired screen size. If you need a screenshot of the whole length of the page, use this option."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "website"
          ],
          "operation": [
            "screenshot"
          ]
        }
      }
    },
    {
      "displayName": "Profile Name",
      "name": "profileName",
      "type": "string",
      "default": "",
      "description": "Profile name to get details of",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "instagramProfile"
          ],
          "resource": [
            "socialProfile"
          ]
        }
      }
    },
    {
      "displayName": "Artist Name",
      "name": "artistName",
      "type": "string",
      "default": "",
      "description": "Artist name to get details for",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "spotifyArtistProfile"
          ],
          "resource": [
            "socialProfile"
          ]
        }
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "description": "Value to convert",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "exchangeRate"
          ],
          "resource": [
            "information"
          ]
        }
      }
    },
    {
      "displayName": "From Currency",
      "name": "fromCurrency",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "exchangeRate"
          ],
          "resource": [
            "information"
          ]
        }
      }
    },
    {
      "displayName": "To Currency",
      "name": "toCurrency",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "exchangeRate"
          ],
          "resource": [
            "information"
          ]
        }
      }
    },
    {
      "displayName": "Link To Image",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "Image to get metadata from",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "imageMetadata"
          ],
          "resource": [
            "information"
          ]
        }
      }
    },
    {
      "displayName": "Webpage URL",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "Webpage to get SEO information for",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "seo"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Headers?",
          "name": "headers",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "website"
          ],
          "operation": [
            "seo"
          ]
        }
      }
    },
    {
      "displayName": "Email Address",
      "name": "emailAddress",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "validateEmail"
          ],
          "resource": [
            "utility"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "URL to unshorten",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "expandURL"
          ],
          "resource": [
            "utility"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "pdf",
      "name": "Generate PDF",
      "description": "Generate a PDF from a webpage"
    },
    {
      "operation": "seo",
      "name": "Get SEO Data",
      "description": "Get SEO information from website"
    },
    {
      "operation": "screenshot",
      "name": "Take Screenshot",
      "description": "Create a screenshot from a webpage"
    }
  ]


node_type: nodes-base.oneSimpleApi
package_name: n8n-nodes-base
display_name: One Simple API
description: A toolbox of no-code utilities
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "oneSimpleApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:35
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: One Simple API node documentation
  description: Learn how to use the One Simple API node in n8n. Follow technical documentation to integrate One Simple API node into your workflows.
  contentType: [integration, reference]
  ---
  <!-- vale off -->
  <!-- linting off because 'simple' isn't something I want to add to accept.txt -->
  # One Simple API node

  Use the One Simple API node to automate work in One Simple API, and integrate One Simple API with other applications. n8n has built-in support for a wide range of One Simple API features, including getting profiles, retrieving information, and generating utilities. 

  On this page, you'll find a list of operations the One Simple API node supports and links to more resources.

  /// note | Credentials
  Refer to [One Simple API credentials](/integrations/builtin/credentials/onesimpleapi.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Information
      * Convert a value between currencies
      * Retrieve image metadata from a URL
  * Social Profile
      * Get details about an Instagram profile
      * Get details about a Spotify Artist
  * Utility
      * Expand a shortened url
      * Generate a QR Code
      * Validate an email address
  * Website
      * Generate a PDF from a webpage
      * Get SEO information from website
      * Create a screenshot from a webpage

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'one-simple-api') ]]

  ## Related resources

  Refer to [One Simple API's documentation](https://onesimpleapi.com/docs){:target=_blank .external-link} for more information about the service.

  <!-- vale on -->

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "website",
      "options": [
        {
          "name": "Information",
          "value": "information"
        },
        {
          "name": "Social Profile",
          "value": "socialProfile"
        },
        {
          "name": "Utility",
          "value": "utility"
        },
        {
          "name": "Website",
          "value": "website"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "pdf",
      "options": [
        {
          "name": "Generate PDF",
          "value": "pdf",
          "description": "Generate a PDF from a webpage",
          "action": "Generate PDF"
        },
        {
          "name": "Get SEO Data",
          "value": "seo",
          "description": "Get SEO information from website",
          "action": "Get SEO Data"
        },
        {
          "name": "Take Screenshot",
          "value": "screenshot",
          "description": "Create a screenshot from a webpage",
          "action": "Screenshot"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "website"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "instagramProfile",
      "options": [
        {
          "name": "Instagram",
          "value": "instagramProfile",
          "description": "Get details about an Instagram profile",
          "action": "Get details about an Instagram profile"
        },
        {
          "name": "Spotify",
          "value": "spotifyArtistProfile",
          "description": "Get details about a Spotify Artist",
          "action": "Get details about a Spotify artist"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "socialProfile"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "exchangeRate",
      "options": [
        {
          "name": "Exchange Rate",
          "value": "exchangeRate",
          "description": "Convert a value between currencies",
          "action": "Convert a value between currencies"
        },
        {
          "name": "Image Metadata",
          "value": "imageMetadata",
          "description": "Retrieve image metadata from a URL",
          "action": "Get image metadata from a URL"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "information"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "validateEmail",
      "options": [
        {
          "name": "Expand URL",
          "value": "expandURL",
          "description": "Expand a shortened URL",
          "action": "Expand a shortened URL"
        },
        {
          "name": "Generate QR Code",
          "value": "qrCode",
          "description": "Generate a QR Code",
          "action": "Generate a QR code utility"
        },
        {
          "name": "Validate Email",
          "value": "validateEmail",
          "description": "Validate an email address",
          "action": "Validate an email address"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "utility"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Webpage URL",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "Link to webpage to convert",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "pdf"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Download PDF?",
      "name": "download",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the PDF or return a link to it",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "pdf"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Put Output In Field",
      "name": "output",
      "type": "string",
      "default": "data",
      "description": "The name of the output field to put the binary file data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "pdf"
          ],
          "resource": [
            "website"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Page Size",
          "name": "page",
          "type": "options",
          "options": [
            {
              "name": "A0",
              "value": "A0"
            },
            {
              "name": "A1",
              "value": "A1"
            },
            {
              "name": "A2",
              "value": "A2"
            },
            {
              "name": "A3",
              "value": "A3"
            },
            {
              "name": "A4",
              "value": "A4"
            },
            {
              "name": "A5",
              "value": "A5"
            },
            {
              "name": "A6",
              "value": "A6"
            },
            {
              "name": "Ledger",
              "value": "Ledger"
            },
            {
              "name": "Legal",
              "value": "Legal"
            },
            {
              "name": "Letter",
              "value": "Letter"
            },
            {
              "name": "Tabloid",
              "value": "Tabloid"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Force Refresh",
          "name": "force",
          "type": "boolean",
          "default": false,
          "description": "Normally the API will reuse a previously taken screenshot of the URL to give a faster response. This option allows you to retake the screenshot at that exact time, for those times when it's necessary."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "website"
          ],
          "operation": [
            "pdf"
          ]
        }
      }
    },
    {
      "displayName": "QR Content",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "The text that should be turned into a QR code - like a website URL",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "qrCode"
          ],
          "resource": [
            "utility"
          ]
        }
      }
    },
    {
      "displayName": "Download Image?",
      "name": "download",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the QR code or return a link to it",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "qrCode"
          ],
          "resource": [
            "utility"
          ]
        }
      }
    },
    {
      "displayName": "Put Output In Field",
      "name": "output",
      "type": "string",
      "default": "data",
      "description": "The name of the output field to put the binary file data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "qrCode"
          ],
          "resource": [
            "utility"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Size",
          "name": "size",
          "type": "options",
          "options": [
            {
              "name": "Small",
              "value": "Small"
            },
            {
              "name": "Medium",
              "value": "Medium"
            },
            {
              "name": "Large",
              "value": "Large"
            }
          ],
          "default": "Small",
          "description": "The QR Code size"
        },
        {
          "displayName": "Format",
          "name": "format",
          "type": "options",
          "options": [
            {
              "name": "PNG",
              "value": "PNG"
            },
            {
              "name": "SVG",
              "value": "SVG"
            }
          ],
          "default": "PNG",
          "description": "The QR Code format"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "utility"
          ],
          "operation": [
            "qrCode"
          ]
        }
      }
    },
    {
      "displayName": "Webpage URL",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "Link to webpage to convert",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "screenshot"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Download Screenshot?",
      "name": "download",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the screenshot or return a link to it",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "screenshot"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Put Output In Field",
      "name": "output",
      "type": "string",
      "default": "data",
      "description": "The name of the output field to put the binary file data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "screenshot"
          ],
          "resource": [
            "website"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Screen Size",
          "name": "screen",
          "type": "options",
          "options": [
            {
              "name": "Phone",
              "value": "phone"
            },
            {
              "name": "Phone Landscape",
              "value": "phone-landscape"
            },
            {
              "name": "Retina",
              "value": "retina"
            },
            {
              "name": "Tablet",
              "value": "tablet"
            },
            {
              "name": "Tablet Landscape",
              "value": "tablet-landscape"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Force Refresh",
          "name": "force",
          "type": "boolean",
          "default": false,
          "description": "Normally the API will reuse a previously taken screenshot of the URL to give a faster response. This option allows you to retake the screenshot at that exact time, for those times when it's necessary."
        },
        {
          "displayName": "Full Page",
          "name": "fullpage",
          "type": "boolean",
          "default": false,
          "description": "The API takes a screenshot of the viewable area for the desired screen size. If you need a screenshot of the whole length of the page, use this option."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "website"
          ],
          "operation": [
            "screenshot"
          ]
        }
      }
    },
    {
      "displayName": "Profile Name",
      "name": "profileName",
      "type": "string",
      "default": "",
      "description": "Profile name to get details of",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "instagramProfile"
          ],
          "resource": [
            "socialProfile"
          ]
        }
      }
    },
    {
      "displayName": "Artist Name",
      "name": "artistName",
      "type": "string",
      "default": "",
      "description": "Artist name to get details for",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "spotifyArtistProfile"
          ],
          "resource": [
            "socialProfile"
          ]
        }
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "description": "Value to convert",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "exchangeRate"
          ],
          "resource": [
            "information"
          ]
        }
      }
    },
    {
      "displayName": "From Currency",
      "name": "fromCurrency",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "exchangeRate"
          ],
          "resource": [
            "information"
          ]
        }
      }
    },
    {
      "displayName": "To Currency",
      "name": "toCurrency",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "exchangeRate"
          ],
          "resource": [
            "information"
          ]
        }
      }
    },
    {
      "displayName": "Link To Image",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "Image to get metadata from",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "imageMetadata"
          ],
          "resource": [
            "information"
          ]
        }
      }
    },
    {
      "displayName": "Webpage URL",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "Webpage to get SEO information for",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "seo"
          ],
          "resource": [
            "website"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Headers?",
          "name": "headers",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "website"
          ],
          "operation": [
            "seo"
          ]
        }
      }
    },
    {
      "displayName": "Email Address",
      "name": "emailAddress",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "validateEmail"
          ],
          "resource": [
            "utility"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "link",
      "type": "string",
      "default": "",
      "description": "URL to unshorten",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "expandURL"
          ],
          "resource": [
            "utility"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "pdf",
      "name": "Generate PDF",
      "description": "Generate a PDF from a webpage"
    },
    {
      "operation": "seo",
      "name": "Get SEO Data",
      "description": "Get SEO information from website"
    },
    {
      "operation": "screenshot",
      "name": "Take Screenshot",
      "description": "Create a screenshot from a webpage"
    }
  ]


node_type: nodes-base.openAiTool
package_name: n8n-nodes-base
display_name: OpenAI Tool
description: Consume Open AI (AI Tool variant for use with AI Agents)
category: transform
development_style: programmatic
version: 1.1
credentials_required:
  [
  {
  "name": "openAiApi",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-02-19 14:40:35
tool_variant_of: nodes-base.openAi
properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with OpenAI"
    },
    {
      "displayName": "<strong>New node version available:</strong> get the latest version with added features from the nodes panel.",
      "name": "oldVersionNotice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "text",
      "options": [
        {
          "name": "Chat",
          "value": "chat"
        },
        {
          "name": "Image",
          "value": "image"
        },
        {
          "name": "Text",
          "value": "text"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "complete",
      "options": [
        {
          "name": "Complete",
          "value": "complete",
          "action": "Create a Completion",
          "description": "Create one or more completions for a given text",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/chat/completions"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chat"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "gpt-3.5-turbo",
      "description": "The model which will generate the completion. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "chat"
          ],
          "@version": [
            1
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ $responseItem.id.startsWith('gpt-') && !$responseItem.id.startsWith('gpt-4-vision') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Model",
      "name": "chatModel",
      "type": "options",
      "default": "gpt-3.5-turbo",
      "description": "The model which will generate the completion. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "chat"
          ]
        },
        "hide": {
          "@version": [
            1
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ $responseItem.id.startsWith('gpt-') && !$responseItem.id.startsWith('gpt-4-vision') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Prompt",
      "name": "prompt",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Messages",
          "name": "messages",
          "values": [
            {
              "displayName": "Role",
              "name": "role",
              "type": "options",
              "options": [
                {
                  "name": "Assistant",
                  "value": "assistant"
                },
                {
                  "name": "System",
                  "value": "system"
                },
                {
                  "name": "User",
                  "value": "user"
                }
              ],
              "default": "user"
            },
            {
              "displayName": "Content",
              "name": "content",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chat"
          ],
          "operation": [
            "complete"
          ]
        }
      },
      "typeOptions": {
        "sortable": true,
        "multipleValues": true
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplifyOutput",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "chat"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Additional options to add",
      "options": [
        {
          "displayName": "Echo Prompt",
          "name": "echo",
          "type": "boolean",
          "description": "Whether the prompt should be echo back in addition to the completion",
          "default": false,
          "displayOptions": {
            "show": {
              "/operation": [
                "complete"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "echo"
            }
          }
        },
        {
          "displayName": "Frequency Penalty",
          "name": "frequency_penalty",
          "default": 0,
          "typeOptions": {
            "maxValue": 2,
            "minValue": -2,
            "numberPrecision": 1
          },
          "description": "Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "frequency_penalty"
            }
          }
        },
        {
          "displayName": "Maximum Number of Tokens",
          "name": "maxTokens",
          "default": 16,
          "description": "The maximum number of tokens to generate in the completion. Most models have a context length of 2048 tokens (except for the newest models, which support 32,768).",
          "type": "number",
          "displayOptions": {
            "show": {
              "/operation": [
                "complete"
              ]
            }
          },
          "typeOptions": {
            "maxValue": 32768
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "max_tokens"
            }
          }
        },
        {
          "displayName": "Number of Completions",
          "name": "n",
          "default": 1,
          "description": "How many completions to generate for each prompt. Note: Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for max_tokens and stop.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "n"
            }
          }
        },
        {
          "displayName": "Presence Penalty",
          "name": "presence_penalty",
          "default": 0,
          "typeOptions": {
            "maxValue": 2,
            "minValue": -2,
            "numberPrecision": 1
          },
          "description": "Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "presence_penalty"
            }
          }
        },
        {
          "displayName": "Sampling Temperature",
          "name": "temperature",
          "default": 1,
          "typeOptions": {
            "maxValue": 1,
            "minValue": 0,
            "numberPrecision": 1
          },
          "description": "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "temperature"
            }
          }
        },
        {
          "displayName": "Top P",
          "name": "topP",
          "default": 1,
          "typeOptions": {
            "maxValue": 1,
            "minValue": 0,
            "numberPrecision": 1
          },
          "description": "Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered. We generally recommend altering this or temperature but not both.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "top_p"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "chat"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an Image",
          "description": "Create an image for a given text",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/images/generations"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Prompt",
      "name": "prompt",
      "type": "string",
      "default": "",
      "description": "A text description of the desired image(s). The maximum length is 1000 characters.",
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "dall-e-2",
      "description": "The model to use for image generation",
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ],
          "@version": [
            1
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ $responseItem.id.startsWith('dall-') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Model",
      "name": "imageModel",
      "type": "options",
      "default": "dall-e-2",
      "description": "The model to use for image generation",
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ]
        },
        "hide": {
          "@version": [
            1
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ $responseItem.id.startsWith('dall-') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Response Format",
      "name": "responseFormat",
      "type": "options",
      "default": "binaryData",
      "description": "The format in which to return the image(s)",
      "options": [
        {
          "name": "Binary File",
          "value": "binaryData"
        },
        {
          "name": "Image Url",
          "value": "imageUrl"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Additional options to add",
      "options": [
        {
          "displayName": "Number of Images",
          "name": "n",
          "default": 1,
          "description": "Number of images to generate",
          "type": "number",
          "typeOptions": {
            "minValue": 1,
            "maxValue": 10
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "n"
            }
          }
        },
        {
          "displayName": "Quality",
          "name": "quality",
          "type": "options",
          "options": [
            {
              "name": "HD",
              "value": "hd"
            },
            {
              "name": "Standard",
              "value": "standard"
            }
          ],
          "displayOptions": {
            "show": {
              "/model": [
                "dall-e-3"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "quality"
            }
          },
          "default": "standard"
        },
        {
          "displayName": "Resolution",
          "name": "size",
          "type": "options",
          "options": [
            {
              "name": "256x256",
              "value": "256x256"
            },
            {
              "name": "512x512",
              "value": "512x512"
            },
            {
              "name": "1024x1024",
              "value": "1024x1024"
            }
          ],
          "displayOptions": {
            "show": {
              "/model": [
                "dall-e-2"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "size"
            }
          },
          "default": "1024x1024"
        },
        {
          "displayName": "Resolution",
          "name": "size",
          "type": "options",
          "options": [
            {
              "name": "1024x1024",
              "value": "1024x1024"
            },
            {
              "name": "1792x1024",
              "value": "1792x1024"
            },
            {
              "name": "1024x1792",
              "value": "1024x1792"
            }
          ],
          "displayOptions": {
            "show": {
              "/model": [
                "dall-e-3"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "size"
            }
          },
          "default": "1024x1024"
        },
        {
          "displayName": "Style",
          "name": "style",
          "type": "options",
          "options": [
            {
              "name": "Natural",
              "value": "natural"
            },
            {
              "name": "Vivid",
              "value": "vivid"
            }
          ],
          "displayOptions": {
            "show": {
              "/model": [
                "dall-e-3"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "style"
            }
          },
          "default": "vivid"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "complete",
      "options": [
        {
          "name": "Complete",
          "value": "complete",
          "action": "Create a Completion",
          "description": "Create one or more completions for a given text",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/completions"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        },
        {
          "name": "Edit",
          "value": "edit",
          "action": "Create an Edit",
          "description": "Create an edited version for a given text",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/edits"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        },
        {
          "name": "Moderate",
          "value": "moderate",
          "action": "Create a Moderation",
          "description": "Classify if a text violates OpenAI's content policy",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/moderations"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "gpt-3.5-turbo-instruct",
      "description": "The model which will generate the completion. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "text"
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ !$responseItem.id.startsWith('audio-') && ($responseItem.id === 'gpt-3.5-turbo-instruct' || !$responseItem.id.startsWith('gpt-') ) && !$responseItem.id.startsWith('dall-') && !$responseItem.id.startsWith('tts-') && !$responseItem.id.startsWith('whisper-') && !['cushman:2020-05-03', 'davinci-if:3.0.0', 'davinci-instruct-beta:2.0.0', 'if'].includes($responseItem.id) && !$responseItem.id.includes('-edit-') && !$responseItem.id.endsWith(':001') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Prompt",
      "name": "prompt",
      "type": "string",
      "default": "",
      "description": "The prompt to generate completion(s) for",
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "complete"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "text-davinci-edit-001",
      "description": "The model which will generate the edited version. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "options": [
        {
          "name": "code-davinci-edit-001",
          "value": "code-davinci-edit-001"
        },
        {
          "name": "text-davinci-edit-001",
          "value": "text-davinci-edit-001"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "edit"
          ],
          "resource": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Input",
      "name": "input",
      "type": "string",
      "default": "",
      "description": "The input text to be edited",
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "edit"
          ]
        }
      }
    },
    {
      "displayName": "Instruction",
      "name": "instruction",
      "type": "string",
      "default": "",
      "description": "The instruction that tells the model how to edit the input text",
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "edit"
          ]
        }
      }
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "text-moderation-latest",
      "description": "The model which will classify the text. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "options": [
        {
          "name": "text-moderation-stable",
          "value": "text-moderation-stable"
        },
        {
          "name": "text-moderation-latest",
          "value": "text-moderation-latest"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "moderate"
          ]
        }
      }
    },
    {
      "displayName": "Input",
      "name": "input",
      "type": "string",
      "default": "",
      "description": "The input text to classify",
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "moderate"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplifyOutput",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "operation": [
            "moderate"
          ],
          "resource": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplifyOutput",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "operation": [
            "complete",
            "edit"
          ],
          "resource": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Additional options to add",
      "options": [
        {
          "displayName": "Echo Prompt",
          "name": "echo",
          "type": "boolean",
          "description": "Whether the prompt should be echo back in addition to the completion",
          "default": false,
          "displayOptions": {
            "show": {
              "/operation": [
                "complete"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "echo"
            }
          }
        },
        {
          "displayName": "Frequency Penalty",
          "name": "frequency_penalty",
          "default": 0,
          "typeOptions": {
            "maxValue": 2,
            "minValue": -2,
            "numberPrecision": 1
          },
          "description": "Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "frequency_penalty"
            }
          }
        },
        {
          "displayName": "Maximum Number of Tokens",
          "name": "maxTokens",
          "default": 16,
          "description": "The maximum number of tokens to generate in the completion. Most models have a context length of 2048 tokens (except for the newest models, which support 32,768).",
          "type": "number",
          "displayOptions": {
            "show": {
              "/operation": [
                "complete"
              ]
            }
          },
          "typeOptions": {
            "maxValue": 32768
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "max_tokens"
            }
          }
        },
        {
          "displayName": "Number of Completions",
          "name": "n",
          "default": 1,
          "description": "How many completions to generate for each prompt. Note: Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for max_tokens and stop.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "n"
            }
          }
        },
        {
          "displayName": "Presence Penalty",
          "name": "presence_penalty",
          "default": 0,
          "typeOptions": {
            "maxValue": 2,
            "minValue": -2,
            "numberPrecision": 1
          },
          "description": "Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "presence_penalty"
            }
          }
        },
        {
          "displayName": "Sampling Temperature",
          "name": "temperature",
          "default": 1,
          "typeOptions": {
            "maxValue": 1,
            "minValue": 0,
            "numberPrecision": 1
          },
          "description": "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "temperature"
            }
          }
        },
        {
          "displayName": "Top P",
          "name": "topP",
          "default": 1,
          "typeOptions": {
            "maxValue": 1,
            "minValue": 0,
            "numberPrecision": 1
          },
          "description": "Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered. We generally recommend altering this or temperature but not both.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "top_p"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "complete",
            "edit"
          ],
          "resource": [
            "text"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "complete",
      "name": "Complete",
      "description": "Create one or more completions for a given text"
    }
  ]


node_type: nodes-base.openAi
package_name: n8n-nodes-base
display_name: OpenAI
description: Consume Open AI
category: transform
development_style: programmatic
version: 1.1
credentials_required:
  [
  {
  "name": "openAiApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:35
properties_schema:
  [
    {
      "displayName": "<strong>New node version available:</strong> get the latest version with added features from the nodes panel.",
      "name": "oldVersionNotice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "text",
      "options": [
        {
          "name": "Chat",
          "value": "chat"
        },
        {
          "name": "Image",
          "value": "image"
        },
        {
          "name": "Text",
          "value": "text"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "complete",
      "options": [
        {
          "name": "Complete",
          "value": "complete",
          "action": "Create a Completion",
          "description": "Create one or more completions for a given text",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/chat/completions"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chat"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "gpt-3.5-turbo",
      "description": "The model which will generate the completion. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "chat"
          ],
          "@version": [
            1
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ $responseItem.id.startsWith('gpt-') && !$responseItem.id.startsWith('gpt-4-vision') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Model",
      "name": "chatModel",
      "type": "options",
      "default": "gpt-3.5-turbo",
      "description": "The model which will generate the completion. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "chat"
          ]
        },
        "hide": {
          "@version": [
            1
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ $responseItem.id.startsWith('gpt-') && !$responseItem.id.startsWith('gpt-4-vision') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Prompt",
      "name": "prompt",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Messages",
          "name": "messages",
          "values": [
            {
              "displayName": "Role",
              "name": "role",
              "type": "options",
              "options": [
                {
                  "name": "Assistant",
                  "value": "assistant"
                },
                {
                  "name": "System",
                  "value": "system"
                },
                {
                  "name": "User",
                  "value": "user"
                }
              ],
              "default": "user"
            },
            {
              "displayName": "Content",
              "name": "content",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chat"
          ],
          "operation": [
            "complete"
          ]
        }
      },
      "typeOptions": {
        "sortable": true,
        "multipleValues": true
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplifyOutput",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "chat"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Additional options to add",
      "options": [
        {
          "displayName": "Echo Prompt",
          "name": "echo",
          "type": "boolean",
          "description": "Whether the prompt should be echo back in addition to the completion",
          "default": false,
          "displayOptions": {
            "show": {
              "/operation": [
                "complete"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "echo"
            }
          }
        },
        {
          "displayName": "Frequency Penalty",
          "name": "frequency_penalty",
          "default": 0,
          "typeOptions": {
            "maxValue": 2,
            "minValue": -2,
            "numberPrecision": 1
          },
          "description": "Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "frequency_penalty"
            }
          }
        },
        {
          "displayName": "Maximum Number of Tokens",
          "name": "maxTokens",
          "default": 16,
          "description": "The maximum number of tokens to generate in the completion. Most models have a context length of 2048 tokens (except for the newest models, which support 32,768).",
          "type": "number",
          "displayOptions": {
            "show": {
              "/operation": [
                "complete"
              ]
            }
          },
          "typeOptions": {
            "maxValue": 32768
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "max_tokens"
            }
          }
        },
        {
          "displayName": "Number of Completions",
          "name": "n",
          "default": 1,
          "description": "How many completions to generate for each prompt. Note: Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for max_tokens and stop.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "n"
            }
          }
        },
        {
          "displayName": "Presence Penalty",
          "name": "presence_penalty",
          "default": 0,
          "typeOptions": {
            "maxValue": 2,
            "minValue": -2,
            "numberPrecision": 1
          },
          "description": "Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "presence_penalty"
            }
          }
        },
        {
          "displayName": "Sampling Temperature",
          "name": "temperature",
          "default": 1,
          "typeOptions": {
            "maxValue": 1,
            "minValue": 0,
            "numberPrecision": 1
          },
          "description": "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "temperature"
            }
          }
        },
        {
          "displayName": "Top P",
          "name": "topP",
          "default": 1,
          "typeOptions": {
            "maxValue": 1,
            "minValue": 0,
            "numberPrecision": 1
          },
          "description": "Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered. We generally recommend altering this or temperature but not both.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "top_p"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "chat"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an Image",
          "description": "Create an image for a given text",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/images/generations"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Prompt",
      "name": "prompt",
      "type": "string",
      "default": "",
      "description": "A text description of the desired image(s). The maximum length is 1000 characters.",
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "dall-e-2",
      "description": "The model to use for image generation",
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ],
          "@version": [
            1
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ $responseItem.id.startsWith('dall-') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Model",
      "name": "imageModel",
      "type": "options",
      "default": "dall-e-2",
      "description": "The model to use for image generation",
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ]
        },
        "hide": {
          "@version": [
            1
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ $responseItem.id.startsWith('dall-') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Response Format",
      "name": "responseFormat",
      "type": "options",
      "default": "binaryData",
      "description": "The format in which to return the image(s)",
      "options": [
        {
          "name": "Binary File",
          "value": "binaryData"
        },
        {
          "name": "Image Url",
          "value": "imageUrl"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Additional options to add",
      "options": [
        {
          "displayName": "Number of Images",
          "name": "n",
          "default": 1,
          "description": "Number of images to generate",
          "type": "number",
          "typeOptions": {
            "minValue": 1,
            "maxValue": 10
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "n"
            }
          }
        },
        {
          "displayName": "Quality",
          "name": "quality",
          "type": "options",
          "options": [
            {
              "name": "HD",
              "value": "hd"
            },
            {
              "name": "Standard",
              "value": "standard"
            }
          ],
          "displayOptions": {
            "show": {
              "/model": [
                "dall-e-3"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "quality"
            }
          },
          "default": "standard"
        },
        {
          "displayName": "Resolution",
          "name": "size",
          "type": "options",
          "options": [
            {
              "name": "256x256",
              "value": "256x256"
            },
            {
              "name": "512x512",
              "value": "512x512"
            },
            {
              "name": "1024x1024",
              "value": "1024x1024"
            }
          ],
          "displayOptions": {
            "show": {
              "/model": [
                "dall-e-2"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "size"
            }
          },
          "default": "1024x1024"
        },
        {
          "displayName": "Resolution",
          "name": "size",
          "type": "options",
          "options": [
            {
              "name": "1024x1024",
              "value": "1024x1024"
            },
            {
              "name": "1792x1024",
              "value": "1792x1024"
            },
            {
              "name": "1024x1792",
              "value": "1024x1792"
            }
          ],
          "displayOptions": {
            "show": {
              "/model": [
                "dall-e-3"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "size"
            }
          },
          "default": "1024x1024"
        },
        {
          "displayName": "Style",
          "name": "style",
          "type": "options",
          "options": [
            {
              "name": "Natural",
              "value": "natural"
            },
            {
              "name": "Vivid",
              "value": "vivid"
            }
          ],
          "displayOptions": {
            "show": {
              "/model": [
                "dall-e-3"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "style"
            }
          },
          "default": "vivid"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "image"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "complete",
      "options": [
        {
          "name": "Complete",
          "value": "complete",
          "action": "Create a Completion",
          "description": "Create one or more completions for a given text",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/completions"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        },
        {
          "name": "Edit",
          "value": "edit",
          "action": "Create an Edit",
          "description": "Create an edited version for a given text",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/edits"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        },
        {
          "name": "Moderate",
          "value": "moderate",
          "action": "Create a Moderation",
          "description": "Classify if a text violates OpenAI's content policy",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/v1/moderations"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "gpt-3.5-turbo-instruct",
      "description": "The model which will generate the completion. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "displayOptions": {
        "show": {
          "operation": [
            "complete"
          ],
          "resource": [
            "text"
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "method": "GET",
              "url": "/v1/models"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "filter",
                  "properties": {
                    "pass": "={{ !$responseItem.id.startsWith('audio-') && ($responseItem.id === 'gpt-3.5-turbo-instruct' || !$responseItem.id.startsWith('gpt-') ) && !$responseItem.id.startsWith('dall-') && !$responseItem.id.startsWith('tts-') && !$responseItem.id.startsWith('whisper-') && !['cushman:2020-05-03', 'davinci-if:3.0.0', 'davinci-instruct-beta:2.0.0', 'if'].includes($responseItem.id) && !$responseItem.id.includes('-edit-') && !$responseItem.id.endsWith(':001') }}"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.id}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Prompt",
      "name": "prompt",
      "type": "string",
      "default": "",
      "description": "The prompt to generate completion(s) for",
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "complete"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "text-davinci-edit-001",
      "description": "The model which will generate the edited version. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "options": [
        {
          "name": "code-davinci-edit-001",
          "value": "code-davinci-edit-001"
        },
        {
          "name": "text-davinci-edit-001",
          "value": "text-davinci-edit-001"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "edit"
          ],
          "resource": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Input",
      "name": "input",
      "type": "string",
      "default": "",
      "description": "The input text to be edited",
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "edit"
          ]
        }
      }
    },
    {
      "displayName": "Instruction",
      "name": "instruction",
      "type": "string",
      "default": "",
      "description": "The instruction that tells the model how to edit the input text",
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "edit"
          ]
        }
      }
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "text-moderation-latest",
      "description": "The model which will classify the text. <a href=\"https://beta.openai.com/docs/models/overview\">Learn more</a>.",
      "options": [
        {
          "name": "text-moderation-stable",
          "value": "text-moderation-stable"
        },
        {
          "name": "text-moderation-latest",
          "value": "text-moderation-latest"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "moderate"
          ]
        }
      }
    },
    {
      "displayName": "Input",
      "name": "input",
      "type": "string",
      "default": "",
      "description": "The input text to classify",
      "displayOptions": {
        "show": {
          "resource": [
            "text"
          ],
          "operation": [
            "moderate"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplifyOutput",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "operation": [
            "moderate"
          ],
          "resource": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplifyOutput",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "operation": [
            "complete",
            "edit"
          ],
          "resource": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Additional options to add",
      "options": [
        {
          "displayName": "Echo Prompt",
          "name": "echo",
          "type": "boolean",
          "description": "Whether the prompt should be echo back in addition to the completion",
          "default": false,
          "displayOptions": {
            "show": {
              "/operation": [
                "complete"
              ]
            }
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "echo"
            }
          }
        },
        {
          "displayName": "Frequency Penalty",
          "name": "frequency_penalty",
          "default": 0,
          "typeOptions": {
            "maxValue": 2,
            "minValue": -2,
            "numberPrecision": 1
          },
          "description": "Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "frequency_penalty"
            }
          }
        },
        {
          "displayName": "Maximum Number of Tokens",
          "name": "maxTokens",
          "default": 16,
          "description": "The maximum number of tokens to generate in the completion. Most models have a context length of 2048 tokens (except for the newest models, which support 32,768).",
          "type": "number",
          "displayOptions": {
            "show": {
              "/operation": [
                "complete"
              ]
            }
          },
          "typeOptions": {
            "maxValue": 32768
          },
          "routing": {
            "send": {
              "type": "body",
              "property": "max_tokens"
            }
          }
        },
        {
          "displayName": "Number of Completions",
          "name": "n",
          "default": 1,
          "description": "How many completions to generate for each prompt. Note: Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for max_tokens and stop.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "n"
            }
          }
        },
        {
          "displayName": "Presence Penalty",
          "name": "presence_penalty",
          "default": 0,
          "typeOptions": {
            "maxValue": 2,
            "minValue": -2,
            "numberPrecision": 1
          },
          "description": "Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "presence_penalty"
            }
          }
        },
        {
          "displayName": "Sampling Temperature",
          "name": "temperature",
          "default": 1,
          "typeOptions": {
            "maxValue": 1,
            "minValue": 0,
            "numberPrecision": 1
          },
          "description": "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "temperature"
            }
          }
        },
        {
          "displayName": "Top P",
          "name": "topP",
          "default": 1,
          "typeOptions": {
            "maxValue": 1,
            "minValue": 0,
            "numberPrecision": 1
          },
          "description": "Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered. We generally recommend altering this or temperature but not both.",
          "type": "number",
          "routing": {
            "send": {
              "type": "body",
              "property": "top_p"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "complete",
            "edit"
          ],
          "resource": [
            "text"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "complete",
      "name": "Complete",
      "description": "Create one or more completions for a given text"
    }
  ]


node_type: nodes-base.openThesaurusTool
package_name: n8n-nodes-base
display_name: OpenThesaurus Tool
description: Get synonmns for German words using the OpenThesaurus API (AI Tool variant for use with AI Agents)
category: output
development_style: programmatic
version: 1
credentials_required: []
outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-02-19 14:40:35
tool_variant_of: nodes-base.openThesaurus
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: OpenThesaurus node documentation
  description: Learn how to use the OpenThesaurus node in n8n. Follow technical documentation to integrate OpenThesaurus node into your workflows.
  contentType: [integration, reference]
  ---

  # OpenThesaurus node

  Use the OpenThesaurus node to automate work in OpenThesaurus, and integrate OpenThesaurus with other applications. n8n supports synonym look-up for German words. 

  On this page, you'll find a list of operations the OpenThesaurus node supports and links to more resources.

  /// note | Credentials
  OpenThesaurus node doesn't require authentication. 
  ///

  ## Operations

  * Get synonyms for a German word in German

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'openthesaurus') ]]

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with OpenThesaurus"
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getSynonyms",
      "options": [
        {
          "name": "Get Synonyms",
          "value": "getSynonyms",
          "description": "Get synonyms for a German word in German",
          "action": "Get synonyms"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Text",
      "name": "text",
      "type": "string",
      "default": "",
      "description": "The word to get synonyms for",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "getSynonyms"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Baseform",
          "name": "baseform",
          "type": "boolean",
          "default": false,
          "description": "Specifies the basic form for the search term if it is not already a basic form"
        },
        {
          "displayName": "Similar",
          "name": "similar",
          "type": "boolean",
          "default": false,
          "description": "This also returns up to five similarly written words for each answer. This is useful to be able to make a suggestion to the user in the event of a possible typing error."
        },
        {
          "displayName": "Starts With",
          "name": "startswith",
          "type": "boolean",
          "default": false,
          "description": "Like substring = true, but only finds words that begin with the specified search term"
        },
        {
          "displayName": "Substring",
          "name": "substring",
          "type": "boolean",
          "default": false,
          "description": "Whether up to ten words are returned for each answer that only contain the search term as a partial word"
        },
        {
          "displayName": "Substring From Results",
          "name": "substringFromResults",
          "type": "number",
          "default": 0,
          "description": "Specifies from which entry the partial word hits are to be returned. Only works together with substring = true."
        },
        {
          "displayName": "Substring Max Results",
          "name": "substringMaxResults",
          "type": "number",
          "typeOptions": {
            "maxValue": 250
          },
          "default": 10,
          "description": "Specifies how many partial word hits should be returned in total. Only works together with substring = true."
        },
        {
          "displayName": "Subsynsets",
          "name": "subsynsets",
          "type": "boolean",
          "default": false,
          "description": "Whether each synonym group has its (optional) sub-terms supplied"
        },
        {
          "displayName": "Supersynsets",
          "name": "supersynsets",
          "type": "boolean",
          "default": false,
          "description": "Whether each synonym group is supplied with its (optional) generic terms"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getSynonyms"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "getSynonyms",
      "name": "Get Synonyms",
      "description": "Get synonyms for a German word in German"
    }
  ]


node_type: nodes-base.openThesaurus
package_name: n8n-nodes-base
display_name: OpenThesaurus
description: Get synonmns for German words using the OpenThesaurus API
category: output
development_style: programmatic
version: 1
credentials_required: []
outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:35
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: OpenThesaurus node documentation
  description: Learn how to use the OpenThesaurus node in n8n. Follow technical documentation to integrate OpenThesaurus node into your workflows.
  contentType: [integration, reference]
  ---

  # OpenThesaurus node

  Use the OpenThesaurus node to automate work in OpenThesaurus, and integrate OpenThesaurus with other applications. n8n supports synonym look-up for German words. 

  On this page, you'll find a list of operations the OpenThesaurus node supports and links to more resources.

  /// note | Credentials
  OpenThesaurus node doesn't require authentication. 
  ///

  ## Operations

  * Get synonyms for a German word in German

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'openthesaurus') ]]

properties_schema:
  [
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getSynonyms",
      "options": [
        {
          "name": "Get Synonyms",
          "value": "getSynonyms",
          "description": "Get synonyms for a German word in German",
          "action": "Get synonyms"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Text",
      "name": "text",
      "type": "string",
      "default": "",
      "description": "The word to get synonyms for",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "getSynonyms"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Baseform",
          "name": "baseform",
          "type": "boolean",
          "default": false,
          "description": "Specifies the basic form for the search term if it is not already a basic form"
        },
        {
          "displayName": "Similar",
          "name": "similar",
          "type": "boolean",
          "default": false,
          "description": "This also returns up to five similarly written words for each answer. This is useful to be able to make a suggestion to the user in the event of a possible typing error."
        },
        {
          "displayName": "Starts With",
          "name": "startswith",
          "type": "boolean",
          "default": false,
          "description": "Like substring = true, but only finds words that begin with the specified search term"
        },
        {
          "displayName": "Substring",
          "name": "substring",
          "type": "boolean",
          "default": false,
          "description": "Whether up to ten words are returned for each answer that only contain the search term as a partial word"
        },
        {
          "displayName": "Substring From Results",
          "name": "substringFromResults",
          "type": "number",
          "default": 0,
          "description": "Specifies from which entry the partial word hits are to be returned. Only works together with substring = true."
        },
        {
          "displayName": "Substring Max Results",
          "name": "substringMaxResults",
          "type": "number",
          "typeOptions": {
            "maxValue": 250
          },
          "default": 10,
          "description": "Specifies how many partial word hits should be returned in total. Only works together with substring = true."
        },
        {
          "displayName": "Subsynsets",
          "name": "subsynsets",
          "type": "boolean",
          "default": false,
          "description": "Whether each synonym group has its (optional) sub-terms supplied"
        },
        {
          "displayName": "Supersynsets",
          "name": "supersynsets",
          "type": "boolean",
          "default": false,
          "description": "Whether each synonym group is supplied with its (optional) generic terms"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getSynonyms"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "getSynonyms",
      "name": "Get Synonyms",
      "description": "Get synonyms for a German word in German"
    }
  ]


node_type: nodes-base.openWeatherMapTool
package_name: n8n-nodes-base
display_name: OpenWeatherMap Tool
description: Gets current and future weather information (AI Tool variant for use with AI Agents)
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "openWeatherMapApi",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-02-19 14:40:35
tool_variant_of: nodes-base.openWeatherMap
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: OpenWeatherMap node documentation
  description: Learn how to use the OpenWeatherMap node in n8n. Follow technical documentation to integrate OpenWeatherMap node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # OpenWeatherMap node

  Use the OpenWeatherMap node to automate work in OpenWeatherMap, and integrate OpenWeatherMap with other applications. n8n supports retrieving current and upcoming weather data with OpenWeatherMap.

  On this page, you'll find a list of operations the OpenWeatherMap node supports and links to more resources.

  /// note | Credentials
  Refer to [OpenWeatherMap credentials](/integrations/builtin/credentials/openweathermap.md) for guidance on setting up authentication. 
  ///

  --8<-- "_snippets/integrations/builtin/app-nodes/ai-tools.md"

  ## Operations

  * Returns the current weather data
  * Returns the weather data for the next 5 days

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'openweathermap') ]]

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with OpenWeatherMap"
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "currentWeather",
      "options": [
        {
          "name": "Current Weather",
          "value": "currentWeather",
          "description": "Returns the current weather data",
          "action": "Return current weather data"
        },
        {
          "name": "5 Day Forecast",
          "value": "5DayForecast",
          "description": "Returns the weather data for the next 5 days",
          "action": "Return weather data for the next 5 days"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Format",
      "name": "format",
      "type": "options",
      "default": "metric",
      "description": "The format in which format the data should be returned",
      "options": [
        {
          "name": "Imperial",
          "value": "imperial",
          "description": "Fahrenheit | miles/hour"
        },
        {
          "name": "Metric",
          "value": "metric",
          "description": "Celsius | meter/sec"
        },
        {
          "name": "Scientific",
          "value": "standard",
          "description": "Kelvin | meter/sec"
        }
      ]
    },
    {
      "displayName": "Location Selection",
      "name": "locationSelection",
      "type": "options",
      "default": "cityName",
      "description": "How to define the location for which to return the weather",
      "options": [
        {
          "name": "City Name",
          "value": "cityName"
        },
        {
          "name": "City ID",
          "value": "cityId"
        },
        {
          "name": "Coordinates",
          "value": "coordinates"
        },
        {
          "name": "Zip Code",
          "value": "zipCode"
        }
      ]
    },
    {
      "displayName": "City",
      "name": "cityName",
      "type": "string",
      "default": "",
      "description": "The name of the city to return the weather of",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "cityName"
          ]
        }
      }
    },
    {
      "displayName": "City ID",
      "name": "cityId",
      "type": "number",
      "default": 160001123,
      "description": "The ID of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/.",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "cityId"
          ]
        }
      }
    },
    {
      "displayName": "Latitude",
      "name": "latitude",
      "type": "string",
      "default": "",
      "description": "The latitude of the location to return the weather of",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "coordinates"
          ]
        }
      }
    },
    {
      "displayName": "Longitude",
      "name": "longitude",
      "type": "string",
      "default": "",
      "description": "The longitude of the location to return the weather of",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "coordinates"
          ]
        }
      }
    },
    {
      "displayName": "Zip Code",
      "name": "zipCode",
      "type": "string",
      "default": "",
      "description": "The ID of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/.",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "zipCode"
          ]
        }
      }
    },
    {
      "displayName": "Language",
      "name": "language",
      "type": "string",
      "default": "",
      "description": "The two letter language code to get your output in (eg. en, de, ...)."
    }
  ]

operations:
  [
    {
      "operation": "currentWeather",
      "name": "Current Weather",
      "description": "Returns the current weather data"
    },
    {
      "operation": "5DayForecast",
      "name": "5 Day Forecast",
      "description": "Returns the weather data for the next 5 days"
    }
  ]


node_type: nodes-base.openWeatherMap
package_name: n8n-nodes-base
display_name: OpenWeatherMap
description: Gets current and future weather information
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "openWeatherMapApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:35
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: OpenWeatherMap node documentation
  description: Learn how to use the OpenWeatherMap node in n8n. Follow technical documentation to integrate OpenWeatherMap node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # OpenWeatherMap node

  Use the OpenWeatherMap node to automate work in OpenWeatherMap, and integrate OpenWeatherMap with other applications. n8n supports retrieving current and upcoming weather data with OpenWeatherMap.

  On this page, you'll find a list of operations the OpenWeatherMap node supports and links to more resources.

  /// note | Credentials
  Refer to [OpenWeatherMap credentials](/integrations/builtin/credentials/openweathermap.md) for guidance on setting up authentication. 
  ///

  --8<-- "_snippets/integrations/builtin/app-nodes/ai-tools.md"

  ## Operations

  * Returns the current weather data
  * Returns the weather data for the next 5 days

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'openweathermap') ]]

properties_schema:
  [
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "currentWeather",
      "options": [
        {
          "name": "Current Weather",
          "value": "currentWeather",
          "description": "Returns the current weather data",
          "action": "Return current weather data"
        },
        {
          "name": "5 Day Forecast",
          "value": "5DayForecast",
          "description": "Returns the weather data for the next 5 days",
          "action": "Return weather data for the next 5 days"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Format",
      "name": "format",
      "type": "options",
      "default": "metric",
      "description": "The format in which format the data should be returned",
      "options": [
        {
          "name": "Imperial",
          "value": "imperial",
          "description": "Fahrenheit | miles/hour"
        },
        {
          "name": "Metric",
          "value": "metric",
          "description": "Celsius | meter/sec"
        },
        {
          "name": "Scientific",
          "value": "standard",
          "description": "Kelvin | meter/sec"
        }
      ]
    },
    {
      "displayName": "Location Selection",
      "name": "locationSelection",
      "type": "options",
      "default": "cityName",
      "description": "How to define the location for which to return the weather",
      "options": [
        {
          "name": "City Name",
          "value": "cityName"
        },
        {
          "name": "City ID",
          "value": "cityId"
        },
        {
          "name": "Coordinates",
          "value": "coordinates"
        },
        {
          "name": "Zip Code",
          "value": "zipCode"
        }
      ]
    },
    {
      "displayName": "City",
      "name": "cityName",
      "type": "string",
      "default": "",
      "description": "The name of the city to return the weather of",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "cityName"
          ]
        }
      }
    },
    {
      "displayName": "City ID",
      "name": "cityId",
      "type": "number",
      "default": 160001123,
      "description": "The ID of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/.",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "cityId"
          ]
        }
      }
    },
    {
      "displayName": "Latitude",
      "name": "latitude",
      "type": "string",
      "default": "",
      "description": "The latitude of the location to return the weather of",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "coordinates"
          ]
        }
      }
    },
    {
      "displayName": "Longitude",
      "name": "longitude",
      "type": "string",
      "default": "",
      "description": "The longitude of the location to return the weather of",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "coordinates"
          ]
        }
      }
    },
    {
      "displayName": "Zip Code",
      "name": "zipCode",
      "type": "string",
      "default": "",
      "description": "The ID of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/.",
      "required": true,
      "displayOptions": {
        "show": {
          "locationSelection": [
            "zipCode"
          ]
        }
      }
    },
    {
      "displayName": "Language",
      "name": "language",
      "type": "string",
      "default": "",
      "description": "The two letter language code to get your output in (eg. en, de, ...)."
    }
  ]

operations:
  [
    {
      "operation": "currentWeather",
      "name": "Current Weather",
      "description": "Returns the current weather data"
    },
    {
      "operation": "5DayForecast",
      "name": "5 Day Forecast",
      "description": "Returns the weather data for the next 5 days"
    }
  ]


node_type: nodes-base.oracleDatabaseTool
package_name: n8n-nodes-base
display_name: Oracle Database Tool
description: Get, add and update data in Oracle database (AI Tool variant for use with AI Agents)
category: input
development_style: programmatic
version: 1
outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-02-19 14:40:35
tool_variant_of: nodes-base.oracleDatabase
properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to query and manage data in the database"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "hidden",
      "default": "database",
      "options": [
        {
          "name": "Database",
          "value": "database"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "insert",
      "options": [
        {
          "name": "Delete",
          "value": "deleteTable",
          "description": "Delete an entire table or rows in a table",
          "action": "Delete table or rows"
        },
        {
          "name": "Execute SQL",
          "value": "execute",
          "description": "Execute an SQL",
          "action": "Execute SQL"
        },
        {
          "name": "Insert",
          "value": "insert",
          "description": "Insert rows in a table",
          "action": "Insert rows in a table"
        },
        {
          "name": "Insert or Update",
          "value": "upsert",
          "description": "Insert or update rows in a table",
          "action": "Insert or update rows in a table"
        },
        {
          "name": "Select",
          "value": "select",
          "description": "Select rows from a table",
          "action": "Select rows from a table"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update rows in a table",
          "action": "Update rows in a table"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Schema",
      "name": "schema",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The schema that contains the table you want to work on",
      "required": true,
      "displayOptions": {
        "hide": {
          "operation": [
            "execute"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "schemaSearch"
          }
        },
        {
          "displayName": "By Name",
          "name": "name",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The table you want to work on",
      "required": true,
      "displayOptions": {
        "hide": {
          "operation": [
            "execute"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "tableSearch"
          }
        },
        {
          "displayName": "By Name",
          "name": "name",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Command",
      "name": "deleteCommand",
      "type": "options",
      "default": "truncate",
      "options": [
        {
          "name": "Truncate",
          "value": "truncate",
          "description": "Only removes the table's data and preserves the table's structure"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."
        },
        {
          "name": "Drop",
          "value": "drop",
          "description": "Deletes the table's data and also the table's structure permanently"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Select Rows",
      "name": "where",
      "type": "fixedCollection",
      "default": {},
      "description": "If not set, all rows will be selected",
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "default": "",
              "placeholder": "e.g. ID",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              }
            },
            {
              "displayName": "Operator",
              "name": "condition",
              "type": "options",
              "description": "The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.",
              "options": [
                {
                  "name": "Equal",
                  "value": "equal"
                },
                {
                  "name": "Not Equal",
                  "value": "!="
                },
                {
                  "name": "Like",
                  "value": "LIKE"
                },
                {
                  "name": "Greater Than",
                  "value": ">"
                },
                {
                  "name": "Less Than",
                  "value": "<"
                },
                {
                  "name": "Greater Than Or Equal",
                  "value": ">="
                },
                {
                  "name": "Less Than Or Equal",
                  "value": "<="
                },
                {
                  "name": "Is Null",
                  "value": "IS NULL"
                },
                {
                  "name": "Is Not Null",
                  "value": "IS NOT NULL"
                }
              ],
              "default": "equal"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "json",
              "description": "Parameters to pass to the tool as JSON or string",
              "displayOptions": {
                "hide": {
                  "condition": [
                    "IS NULL",
                    "IS NOT NULL"
                  ]
                }
              },
              "default": "{\"key\": \"val\"}",
              "placeholder": "{ \"key\": \"value\" }"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "deleteCommand": [
            "delete"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Combine Conditions",
      "name": "combineConditions",
      "type": "options",
      "default": "AND",
      "description": "How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true",
      "options": [
        {
          "name": "AND",
          "value": "AND",
          "description": "Only rows that meet all the conditions are selected"
        },
        {
          "name": "OR",
          "value": "OR",
          "description": "Rows that meet at least one condition are selected"
        }
      ],
      "displayOptions": {
        "show": {
          "deleteCommand": [
            "delete"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Statement",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The SQL statement to execute. You can use n8n expressions and positional parameters like :1, :2, :3, or named parameters like :name, :ID, etc to refer to the 'Bind Variable Placeholder Values' set in options below.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "execute"
          ]
        }
      },
      "typeOptions": {
        "editor": "sqlEditor",
        "sqlDialect": "OracleDB"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "execute"
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "execute"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "operation"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "add",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ],
          "returnAll": [
            false
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Select Rows",
      "name": "where",
      "type": "fixedCollection",
      "default": {},
      "description": "If not set, all rows will be selected",
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "default": "",
              "placeholder": "e.g. ID",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              }
            },
            {
              "displayName": "Operator",
              "name": "condition",
              "type": "options",
              "description": "The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.",
              "options": [
                {
                  "name": "Equal",
                  "value": "equal"
                },
                {
                  "name": "Not Equal",
                  "value": "!="
                },
                {
                  "name": "Like",
                  "value": "LIKE"
                },
                {
                  "name": "Greater Than",
                  "value": ">"
                },
                {
                  "name": "Less Than",
                  "value": "<"
                },
                {
                  "name": "Greater Than Or Equal",
                  "value": ">="
                },
                {
                  "name": "Less Than Or Equal",
                  "value": "<="
                },
                {
                  "name": "Is Null",
                  "value": "IS NULL"
                },
                {
                  "name": "Is Not Null",
                  "value": "IS NOT NULL"
                }
              ],
              "default": "equal"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "json",
              "description": "Parameters to pass to the tool as JSON or string",
              "displayOptions": {
                "hide": {
                  "condition": [
                    "IS NULL",
                    "IS NOT NULL"
                  ]
                }
              },
              "default": "{\"key\": \"val\"}",
              "placeholder": "{ \"key\": \"value\" }"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Combine Conditions",
      "name": "combineConditions",
      "type": "options",
      "default": "AND",
      "description": "How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true",
      "options": [
        {
          "name": "AND",
          "value": "AND",
          "description": "Only rows that meet all the conditions are selected"
        },
        {
          "name": "OR",
          "value": "OR",
          "description": "Rows that meet at least one condition are selected"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "ASC",
                  "value": "ASC"
                },
                {
                  "name": "DESC",
                  "value": "DESC"
                }
              ],
              "default": "ASC"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "operation"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "update",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "operation"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "upsert",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "deleteTable",
      "name": "Delete",
      "description": "Delete an entire table or rows in a table"
    },
    {
      "operation": "execute",
      "name": "Execute SQL",
      "description": "Execute an SQL"
    },
    {
      "operation": "insert",
      "name": "Insert",
      "description": "Insert rows in a table"
    },
    {
      "operation": "upsert",
      "name": "Insert or Update",
      "description": "Insert or update rows in a table"
    },
    {
      "operation": "select",
      "name": "Select",
      "description": "Select rows from a table"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update rows in a table"
    }
  ]

credentials_required:
  [
    {
      "name": "oracleDBApi",
      "required": true,
      "testedBy": "oracleDBConnectionTest"
    }
  ]


node_type: nodes-base.oracleDatabase
package_name: n8n-nodes-base
display_name: Oracle Database
description: Get, add and update data in Oracle database
category: input
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:35
properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "hidden",
      "default": "database",
      "options": [
        {
          "name": "Database",
          "value": "database"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "insert",
      "options": [
        {
          "name": "Delete",
          "value": "deleteTable",
          "description": "Delete an entire table or rows in a table",
          "action": "Delete table or rows"
        },
        {
          "name": "Execute SQL",
          "value": "execute",
          "description": "Execute an SQL",
          "action": "Execute SQL"
        },
        {
          "name": "Insert",
          "value": "insert",
          "description": "Insert rows in a table",
          "action": "Insert rows in a table"
        },
        {
          "name": "Insert or Update",
          "value": "upsert",
          "description": "Insert or update rows in a table",
          "action": "Insert or update rows in a table"
        },
        {
          "name": "Select",
          "value": "select",
          "description": "Select rows from a table",
          "action": "Select rows from a table"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update rows in a table",
          "action": "Update rows in a table"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Schema",
      "name": "schema",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The schema that contains the table you want to work on",
      "required": true,
      "displayOptions": {
        "hide": {
          "operation": [
            "execute"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "schemaSearch"
          }
        },
        {
          "displayName": "By Name",
          "name": "name",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The table you want to work on",
      "required": true,
      "displayOptions": {
        "hide": {
          "operation": [
            "execute"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "tableSearch"
          }
        },
        {
          "displayName": "By Name",
          "name": "name",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Command",
      "name": "deleteCommand",
      "type": "options",
      "default": "truncate",
      "options": [
        {
          "name": "Truncate",
          "value": "truncate",
          "description": "Only removes the table's data and preserves the table's structure"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."
        },
        {
          "name": "Drop",
          "value": "drop",
          "description": "Deletes the table's data and also the table's structure permanently"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Select Rows",
      "name": "where",
      "type": "fixedCollection",
      "default": {},
      "description": "If not set, all rows will be selected",
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "default": "",
              "placeholder": "e.g. ID",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              }
            },
            {
              "displayName": "Operator",
              "name": "condition",
              "type": "options",
              "description": "The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.",
              "options": [
                {
                  "name": "Equal",
                  "value": "equal"
                },
                {
                  "name": "Not Equal",
                  "value": "!="
                },
                {
                  "name": "Like",
                  "value": "LIKE"
                },
                {
                  "name": "Greater Than",
                  "value": ">"
                },
                {
                  "name": "Less Than",
                  "value": "<"
                },
                {
                  "name": "Greater Than Or Equal",
                  "value": ">="
                },
                {
                  "name": "Less Than Or Equal",
                  "value": "<="
                },
                {
                  "name": "Is Null",
                  "value": "IS NULL"
                },
                {
                  "name": "Is Not Null",
                  "value": "IS NOT NULL"
                }
              ],
              "default": "equal"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "json",
              "description": "Parameters to pass to the tool as JSON or string",
              "displayOptions": {
                "hide": {
                  "condition": [
                    "IS NULL",
                    "IS NOT NULL"
                  ]
                }
              },
              "default": "{\"key\": \"val\"}",
              "placeholder": "{ \"key\": \"value\" }"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "deleteCommand": [
            "delete"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Combine Conditions",
      "name": "combineConditions",
      "type": "options",
      "default": "AND",
      "description": "How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true",
      "options": [
        {
          "name": "AND",
          "value": "AND",
          "description": "Only rows that meet all the conditions are selected"
        },
        {
          "name": "OR",
          "value": "OR",
          "description": "Rows that meet at least one condition are selected"
        }
      ],
      "displayOptions": {
        "show": {
          "deleteCommand": [
            "delete"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Statement",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The SQL statement to execute. You can use n8n expressions and positional parameters like :1, :2, :3, or named parameters like :name, :ID, etc to refer to the 'Bind Variable Placeholder Values' set in options below.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "execute"
          ]
        }
      },
      "typeOptions": {
        "editor": "sqlEditor",
        "sqlDialect": "OracleDB"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "execute"
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "execute"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "operation"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "add",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ],
          "returnAll": [
            false
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Select Rows",
      "name": "where",
      "type": "fixedCollection",
      "default": {},
      "description": "If not set, all rows will be selected",
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "default": "",
              "placeholder": "e.g. ID",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              }
            },
            {
              "displayName": "Operator",
              "name": "condition",
              "type": "options",
              "description": "The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.",
              "options": [
                {
                  "name": "Equal",
                  "value": "equal"
                },
                {
                  "name": "Not Equal",
                  "value": "!="
                },
                {
                  "name": "Like",
                  "value": "LIKE"
                },
                {
                  "name": "Greater Than",
                  "value": ">"
                },
                {
                  "name": "Less Than",
                  "value": "<"
                },
                {
                  "name": "Greater Than Or Equal",
                  "value": ">="
                },
                {
                  "name": "Less Than Or Equal",
                  "value": "<="
                },
                {
                  "name": "Is Null",
                  "value": "IS NULL"
                },
                {
                  "name": "Is Not Null",
                  "value": "IS NOT NULL"
                }
              ],
              "default": "equal"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "json",
              "description": "Parameters to pass to the tool as JSON or string",
              "displayOptions": {
                "hide": {
                  "condition": [
                    "IS NULL",
                    "IS NOT NULL"
                  ]
                }
              },
              "default": "{\"key\": \"val\"}",
              "placeholder": "{ \"key\": \"value\" }"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Combine Conditions",
      "name": "combineConditions",
      "type": "options",
      "default": "AND",
      "description": "How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true",
      "options": [
        {
          "name": "AND",
          "value": "AND",
          "description": "Only rows that meet all the conditions are selected"
        },
        {
          "name": "OR",
          "value": "OR",
          "description": "Rows that meet at least one condition are selected"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "ASC",
                  "value": "ASC"
                },
                {
                  "name": "DESC",
                  "value": "DESC"
                }
              ],
              "default": "ASC"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "operation"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "update",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "operation"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "upsert",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Commit",
          "name": "autoCommit",
          "type": "boolean",
          "default": true,
          "description": "Whether this property is true, then the transaction in the current connection is automatically committed at the end of statement execution"
        },
        {
          "displayName": "Bind Variable Placeholder Values",
          "name": "params",
          "placeholder": "Add Parameter",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValueButtonText": "Add another Parameter",
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute"
              ]
            }
          },
          "default": {},
          "description": "Enter the values for the bind parameters used in the statement",
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Bind Name or Number",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "A bind variable placeholder identifier or numeral",
                  "placeholder": "e.g. ``dept_id`` and ``dept_name`` are the two bind variables placeholders in this SQL statement",
                  "required": true
                },
                {
                  "displayName": "Bind Direction",
                  "name": "bindDirection",
                  "type": "options",
                  "default": "in",
                  "required": true,
                  "description": "Specify whether data values bound to SQL or PL/SQL bind parameters are passed into, or out from, the database",
                  "options": [
                    {
                      "name": "IN",
                      "value": "in"
                    },
                    {
                      "name": "OUT",
                      "value": "out"
                    },
                    {
                      "name": "IN-OUT",
                      "value": "inout"
                    }
                  ]
                },
                {
                  "displayName": "Data Type",
                  "name": "datatype",
                  "type": "options",
                  "required": true,
                  "default": "string",
                  "options": [
                    {
                      "name": "BLOB",
                      "value": "blob"
                    },
                    {
                      "name": "Boolean",
                      "value": "boolean"
                    },
                    {
                      "name": "Date",
                      "value": "date"
                    },
                    {
                      "name": "JSON",
                      "value": "json"
                    },
                    {
                      "name": "Number",
                      "value": "number"
                    },
                    {
                      "name": "SparseVector",
                      "value": "sparse"
                    },
                    {
                      "name": "String",
                      "value": "string"
                    },
                    {
                      "name": "Vector",
                      "value": "vector"
                    }
                  ]
                },
                {
                  "displayName": "Value (String)",
                  "name": "valueString",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "string"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Number)",
                  "name": "valueNumber",
                  "type": "number",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "number"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Date)",
                  "name": "valueDate",
                  "type": "dateTime",
                  "default": 0,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "date"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (Boolean)",
                  "name": "valueBoolean",
                  "type": "boolean",
                  "default": false,
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "boolean"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (JSON)",
                  "name": "valueJson",
                  "type": "json",
                  "default": "{}",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "json"
                      ]
                    }
                  }
                },
                {
                  "displayName": "Value (VECTOR)",
                  "name": "valueVector",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "vector"
                      ]
                    }
                  },
                  "placeholder": "[1.2, 3.4, 5.6]",
                  "description": "A JSON array of dimension values"
                },
                {
                  "displayName": "Value (BLOB)",
                  "name": "valueBlob",
                  "type": "json",
                  "default": "[]",
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "blob"
                      ]
                    }
                  },
                  "placeholder": "{ \"type\": \"Buffer\", \"data\": [98,10] }",
                  "description": "A Binary data"
                },
                {
                  "displayName": "Value (Sparse Vector)",
                  "name": "valueSparse",
                  "type": "collection",
                  "default": {},
                  "displayOptions": {
                    "show": {
                      "datatype": [
                        "sparse"
                      ]
                    }
                  },
                  "options": [
                    {
                      "displayName": "Dimensions",
                      "name": "dimensions",
                      "type": "number",
                      "default": 0,
                      "description": "Total number of dimensions"
                    },
                    {
                      "displayName": "Indices",
                      "name": "indices",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[0, 2, 5]",
                      "description": "A JSON array of indices, e.g., [0, 2, 5]"
                    },
                    {
                      "displayName": "Values",
                      "name": "values",
                      "type": "json",
                      "default": "[]",
                      "placeholder": "[1.2, 3.4, 5.6]",
                      "description": "A JSON array of values matching indices"
                    }
                  ]
                },
                {
                  "displayName": "Parse for IN Statement",
                  "name": "parseInStatement",
                  "type": "options",
                  "required": true,
                  "default": false,
                  "hint": "If \"Yes\" the \"Value\" field should be a string of comma-separated values. i.e: 1,2,3 or str1,str2,str3",
                  "options": [
                    {
                      "name": "No",
                      "value": false
                    },
                    {
                      "name": "Yes",
                      "value": true
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fetch Array Size",
          "name": "fetchArraySize",
          "type": "number",
          "default": 100,
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "description": "This property is a number that sets the size of an internal buffer used for fetching query rows from Oracle Database. Changing it may affect query performance but does not affect how many rows are returned to the application."
        },
        {
          "displayName": "Number of Rows to Prefetch",
          "name": "prefetchRows",
          "type": "number",
          "default": 2,
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "typeOptions": {
            "minValue": 0
          },
          "description": "This property is a query tuning option to set the number of additional rows the underlying Oracle driver fetches during the internal initial statement execution phase of a query"
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "select",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Numbers As String",
          "name": "largeNumbersOutputAsString",
          "type": "boolean",
          "default": false,
          "description": "Whether the numbers should be retrieved as string",
          "displayOptions": {
            "show": {
              "/operation": [
                "execute",
                "select"
              ]
            }
          },
          "hint": "Applies to NUMBER, FLOAT, LONG type columns only"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "insert",
                "upsert"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Statement Batching",
          "name": "stmtBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Statement",
              "value": "single",
              "description": "A single Statement for all incoming items"
            },
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute one Statement per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all Statements in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "independently",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            }
          },
          "description": "The way queries should be sent to the database"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Important: Single Statement mode works only for the first item",
      "name": "stmtBatchingNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "/options.stmtBatching": [
            "single"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "deleteTable",
      "name": "Delete",
      "description": "Delete an entire table or rows in a table"
    },
    {
      "operation": "execute",
      "name": "Execute SQL",
      "description": "Execute an SQL"
    },
    {
      "operation": "insert",
      "name": "Insert",
      "description": "Insert rows in a table"
    },
    {
      "operation": "upsert",
      "name": "Insert or Update",
      "description": "Insert or update rows in a table"
    },
    {
      "operation": "select",
      "name": "Select",
      "description": "Select rows from a table"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update rows in a table"
    }
  ]

credentials_required:
  [
    {
      "name": "oracleDBApi",
      "required": true,
      "testedBy": "oracleDBConnectionTest"
    }
  ]


