# nodes

node_type: nodes-base.sendyTool
package_name: n8n-nodes-base
display_name: Sendy Tool
description: Consume Sendy API (AI Tool variant for use with AI Agents)
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "sendyApi",
  "required": true
  }
  ]

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

output_names:
  [
  "Tool"
  ]

updated_at: 2026-04-16 09:43:09
tool_variant_of: nodes-base.sendy
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Sendy node documentation
  description: Learn how to use the Sendy node in n8n. Follow technical documentation to integrate Sendy node into your workflows.
  contentType: [integration, reference]
  ---

  # Sendy node

  Use the Sendy node to automate work in Sendy, and integrate Sendy with other applications. n8n has built-in support for a wide range of Sendy features, including creating campaigns, and adding, counting, deleting, and getting subscribers.

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

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

  ## Operations

  * Campaign
      * Create a campaign
  * Subscriber
      * Add a subscriber to a list
      * Count subscribers
      * Delete a subscriber from a list
      * Unsubscribe user from a list
      * Get the status of subscriber

  ## Templates and examples

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

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 Sendy"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "subscriber",
      "options": [
        {
          "name": "Campaign",
          "value": "campaign"
        },
        {
          "name": "Subscriber",
          "value": "subscriber"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a campaign",
          "action": "Create a campaign"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "From Name",
      "name": "fromName",
      "type": "string",
      "default": "",
      "description": "The 'From name' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "From Email",
      "name": "fromEmail",
      "type": "string",
      "default": "",
      "description": "The 'From email' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Reply To",
      "name": "replyTo",
      "type": "string",
      "default": "",
      "description": "The 'Reply to' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "The 'Title' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "The 'Subject' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "HTML Text",
      "name": "htmlText",
      "type": "string",
      "default": "",
      "description": "The 'HTML version' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Send Campaign",
      "name": "sendCampaign",
      "type": "boolean",
      "default": false,
      "description": "Whether to send the campaign as well and not just create a draft. Default is false.",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Brand ID",
      "name": "brandId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "campaign"
          ],
          "sendCampaign": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude List IDs",
          "name": "excludeListIds",
          "type": "string",
          "default": "",
          "description": "Lists to exclude from your campaign. List IDs should be single or comma-separated."
        },
        {
          "displayName": "Exclude Segment IDs",
          "name": "excludeSegmentIds",
          "type": "string",
          "default": "",
          "description": "Segments to exclude from your campaign. Segment IDs should be single or comma-separated."
        },
        {
          "displayName": "List IDs",
          "name": "listIds",
          "type": "string",
          "default": "",
          "description": "List IDs should be single or comma-separated"
        },
        {
          "displayName": "Plain Text",
          "name": "plainText",
          "type": "string",
          "default": "",
          "description": "The 'Plain text version' of your campaign"
        },
        {
          "displayName": "Querystring",
          "name": "queryString",
          "type": "string",
          "default": "",
          "description": "Google Analytics tags"
        },
        {
          "displayName": "Segment IDs",
          "name": "segmentIds",
          "type": "string",
          "default": "",
          "description": "Segment IDs should be single or comma-separated"
        },
        {
          "displayName": "Track Clicks",
          "name": "trackClicks",
          "type": "boolean",
          "default": true,
          "description": "Whether to disable clicks tracking. Default is true."
        },
        {
          "displayName": "Track Opens",
          "name": "trackOpens",
          "type": "boolean",
          "default": true,
          "description": "Whether to disable opens tracking. Default is true."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add a subscriber to a list",
          "action": "Add a subscriber"
        },
        {
          "name": "Count",
          "value": "count",
          "description": "Count subscribers",
          "action": "Count a subscriber"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a subscriber from a list",
          "action": "Delete a subscriber"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Unsubscribe user from a list",
          "action": "Remove a subscriber"
        },
        {
          "name": "Status",
          "value": "status",
          "description": "Get the status of subscriber",
          "action": "Get subscriber's status"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the subscriber",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Country",
          "name": "country",
          "type": "string",
          "default": "",
          "description": "User's 2 letter country code"
        },
        {
          "displayName": "GDPR",
          "name": "gdpr",
          "type": "boolean",
          "default": false,
          "description": "Whether you're signing up EU users in a GDPR compliant manner"
        },
        {
          "displayName": "Honeypot",
          "name": "hp",
          "type": "boolean",
          "default": false,
          "description": "Include this 'honeypot' field to prevent spambots from signing up via this API call. When spambots fills in this field, this API call will exit, preventing them from signing up fake addresses to your form. This parameter is only supported in Sendy 3.0 onwards."
        },
        {
          "displayName": "IP Address",
          "name": "ipaddress",
          "type": "string",
          "default": "",
          "description": "User's IP address"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "User's name"
        },
        {
          "displayName": "Referrer",
          "name": "referrer",
          "type": "string",
          "default": "",
          "description": "The URL where the user signed up from"
        },
        {
          "displayName": "Silent",
          "name": "silent",
          "type": "boolean",
          "default": false,
          "description": "Set to \"true\" if your list is 'Double opt-in' but you want to bypass that and signup the user to the list as 'Single Opt-in instead' (optional)"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "count"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the subscriber",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the subscriber",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the subscriber",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "status"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "status"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a campaign",
      "resource": "campaign"
    },
    {
      "operation": "add",
      "name": "Add",
      "description": "Add a subscriber to a list",
      "resource": "subscriber"
    },
    {
      "operation": "count",
      "name": "Count",
      "description": "Count subscribers",
      "resource": "subscriber"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a subscriber from a list",
      "resource": "subscriber"
    },
    {
      "operation": "remove",
      "name": "Remove",
      "description": "Unsubscribe user from a list",
      "resource": "subscriber"
    },
    {
      "operation": "status",
      "name": "Status",
      "description": "Get the status of subscriber",
      "resource": "subscriber"
    }
  ]


node_type: nodes-base.sendy
package_name: n8n-nodes-base
display_name: Sendy
description: Consume Sendy API
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "sendyApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-04-16 09:43:09
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Sendy node documentation
  description: Learn how to use the Sendy node in n8n. Follow technical documentation to integrate Sendy node into your workflows.
  contentType: [integration, reference]
  ---

  # Sendy node

  Use the Sendy node to automate work in Sendy, and integrate Sendy with other applications. n8n has built-in support for a wide range of Sendy features, including creating campaigns, and adding, counting, deleting, and getting subscribers.

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

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

  ## Operations

  * Campaign
      * Create a campaign
  * Subscriber
      * Add a subscriber to a list
      * Count subscribers
      * Delete a subscriber from a list
      * Unsubscribe user from a list
      * Get the status of subscriber

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "subscriber",
      "options": [
        {
          "name": "Campaign",
          "value": "campaign"
        },
        {
          "name": "Subscriber",
          "value": "subscriber"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a campaign",
          "action": "Create a campaign"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "From Name",
      "name": "fromName",
      "type": "string",
      "default": "",
      "description": "The 'From name' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "From Email",
      "name": "fromEmail",
      "type": "string",
      "default": "",
      "description": "The 'From email' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Reply To",
      "name": "replyTo",
      "type": "string",
      "default": "",
      "description": "The 'Reply to' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "The 'Title' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "The 'Subject' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "HTML Text",
      "name": "htmlText",
      "type": "string",
      "default": "",
      "description": "The 'HTML version' of your campaign",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Send Campaign",
      "name": "sendCampaign",
      "type": "boolean",
      "default": false,
      "description": "Whether to send the campaign as well and not just create a draft. Default is false.",
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Brand ID",
      "name": "brandId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "campaign"
          ],
          "sendCampaign": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude List IDs",
          "name": "excludeListIds",
          "type": "string",
          "default": "",
          "description": "Lists to exclude from your campaign. List IDs should be single or comma-separated."
        },
        {
          "displayName": "Exclude Segment IDs",
          "name": "excludeSegmentIds",
          "type": "string",
          "default": "",
          "description": "Segments to exclude from your campaign. Segment IDs should be single or comma-separated."
        },
        {
          "displayName": "List IDs",
          "name": "listIds",
          "type": "string",
          "default": "",
          "description": "List IDs should be single or comma-separated"
        },
        {
          "displayName": "Plain Text",
          "name": "plainText",
          "type": "string",
          "default": "",
          "description": "The 'Plain text version' of your campaign"
        },
        {
          "displayName": "Querystring",
          "name": "queryString",
          "type": "string",
          "default": "",
          "description": "Google Analytics tags"
        },
        {
          "displayName": "Segment IDs",
          "name": "segmentIds",
          "type": "string",
          "default": "",
          "description": "Segment IDs should be single or comma-separated"
        },
        {
          "displayName": "Track Clicks",
          "name": "trackClicks",
          "type": "boolean",
          "default": true,
          "description": "Whether to disable clicks tracking. Default is true."
        },
        {
          "displayName": "Track Opens",
          "name": "trackOpens",
          "type": "boolean",
          "default": true,
          "description": "Whether to disable opens tracking. Default is true."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "campaign"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add a subscriber to a list",
          "action": "Add a subscriber"
        },
        {
          "name": "Count",
          "value": "count",
          "description": "Count subscribers",
          "action": "Count a subscriber"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a subscriber from a list",
          "action": "Delete a subscriber"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Unsubscribe user from a list",
          "action": "Remove a subscriber"
        },
        {
          "name": "Status",
          "value": "status",
          "description": "Get the status of subscriber",
          "action": "Get subscriber's status"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the subscriber",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Country",
          "name": "country",
          "type": "string",
          "default": "",
          "description": "User's 2 letter country code"
        },
        {
          "displayName": "GDPR",
          "name": "gdpr",
          "type": "boolean",
          "default": false,
          "description": "Whether you're signing up EU users in a GDPR compliant manner"
        },
        {
          "displayName": "Honeypot",
          "name": "hp",
          "type": "boolean",
          "default": false,
          "description": "Include this 'honeypot' field to prevent spambots from signing up via this API call. When spambots fills in this field, this API call will exit, preventing them from signing up fake addresses to your form. This parameter is only supported in Sendy 3.0 onwards."
        },
        {
          "displayName": "IP Address",
          "name": "ipaddress",
          "type": "string",
          "default": "",
          "description": "User's IP address"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "User's name"
        },
        {
          "displayName": "Referrer",
          "name": "referrer",
          "type": "string",
          "default": "",
          "description": "The URL where the user signed up from"
        },
        {
          "displayName": "Silent",
          "name": "silent",
          "type": "boolean",
          "default": false,
          "description": "Set to \"true\" if your list is 'Double opt-in' but you want to bypass that and signup the user to the list as 'Single Opt-in instead' (optional)"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "count"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the subscriber",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the subscriber",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the subscriber",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "status"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.",
      "displayOptions": {
        "show": {
          "resource": [
            "subscriber"
          ],
          "operation": [
            "status"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a campaign",
      "resource": "campaign"
    },
    {
      "operation": "add",
      "name": "Add",
      "description": "Add a subscriber to a list",
      "resource": "subscriber"
    },
    {
      "operation": "count",
      "name": "Count",
      "description": "Count subscribers",
      "resource": "subscriber"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a subscriber from a list",
      "resource": "subscriber"
    },
    {
      "operation": "remove",
      "name": "Remove",
      "description": "Unsubscribe user from a list",
      "resource": "subscriber"
    },
    {
      "operation": "status",
      "name": "Status",
      "description": "Get the status of subscriber",
      "resource": "subscriber"
    }
  ]


node_type: nodes-base.sentryIoTool
package_name: n8n-nodes-base
display_name: Sentry.io Tool
description: Consume Sentry.io API (AI Tool variant for use with AI Agents)
category: output
development_style: programmatic
version: 1
outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-04-16 09:43:09
tool_variant_of: nodes-base.sentryIo
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Sentry.io node documentation
  description: Learn how to use the Sentry.io node in n8n. Follow technical documentation to integrate Sentry.io node into your workflows.
  contentType: [integration, reference]
  ---

  # Sentry.io node

  Use the Sentry.io node to automate work in Sentry.io, and integrate Sentry.io with other applications. n8n has built-in support for a wide range of Sentry.io features, including creating, updating, deleting, and getting, issues, projects, and releases, as well as getting all events.

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

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

  ## Operations

  * Event
      * Get event by ID
      * Get all events
  * Issue
      * Delete an issue
      * Get issue by ID
      * Get all issues
      * Update an issue
  * Project
      * Create a new project
      * Delete a project
      * Get project by ID
      * Get all projects
      * Update a project
  * Release
      * Create a release
      * Delete a release
      * Get release by version identifier
      * Get all releases
      * Update a release
  * Organization
      * Create an organization
      * Get organization by slug
      * Get all organizations
      * Update an organization
  * Team
      * Create a new team
      * Delete a team
      * Get team by slug
      * Get all teams
      * Update a team

  ## Templates and examples

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

  ## Related resources

  Refer to [Sentry.io's documentation](https://docs.sentry.io/api/){: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 Sentry.io"
    },
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "accessToken",
      "options": [
        {
          "name": "Access Token (Cloud)",
          "value": "accessToken"
        },
        {
          "name": "OAuth2 (Cloud)",
          "value": "oAuth2"
        },
        {
          "name": "Access Token (Self Hosted)",
          "value": "accessTokenServer"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "event",
      "options": [
        {
          "name": "Event",
          "value": "event"
        },
        {
          "name": "Issue",
          "value": "issue"
        },
        {
          "name": "Organization",
          "value": "organization"
        },
        {
          "name": "Project",
          "value": "project"
        },
        {
          "name": "Release",
          "value": "release"
        },
        {
          "name": "Team",
          "value": "team"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get event by ID",
          "action": "Get an event"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many events",
          "action": "Get many events"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Full",
      "name": "full",
      "type": "boolean",
      "default": true,
      "description": "Whether the event payload will include the full event body, including the stack trace",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "event"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "event"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects"
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "The ID of the event to retrieve (either the numeric primary-key or the hexadecimal ID as reported by the raven client)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an issue",
          "action": "Delete an issue"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get issue by ID",
          "action": "Get an issue"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many issues",
          "action": "Get many issues"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an issue",
          "action": "Update an issue"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Issue ID",
      "name": "issueId",
      "type": "string",
      "default": "",
      "description": "ID of issue to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "get",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the issues belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project the issues belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "issue"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "issue"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "description": "An optional Sentry structured search query. If not provided, an implied \"is:unresolved\" is assumed. Info <a href=\"https://docs.sentry.io/product/sentry-basics/search/\">here</a>."
        },
        {
          "displayName": "Stats Period",
          "name": "statsPeriod",
          "type": "options",
          "default": "",
          "description": "Time period of stats",
          "options": [
            {
              "name": "14 Days",
              "value": "14d"
            },
            {
              "name": "24 Hours",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Short ID Lookup",
          "name": "shortIdLookUp",
          "type": "boolean",
          "default": true,
          "description": "Whether short IDs are looked up by this function as well. This can cause the return value of the function to return an event issue of a different project which is why this is an opt-in."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Issue ID",
      "name": "issueId",
      "type": "string",
      "default": "",
      "description": "ID of issue to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assigned To",
          "name": "assignedTo",
          "type": "string",
          "default": "",
          "description": "The actor ID (or username) of the user or team that should be assigned to this issue"
        },
        {
          "displayName": "Has Seen",
          "name": "hasSeen",
          "type": "boolean",
          "default": true,
          "description": "Whether this API call is invoked with a user context this allows changing of the flag that indicates if the user has seen the event"
        },
        {
          "displayName": "Is Bookmarked",
          "name": "isBookmarked",
          "type": "boolean",
          "default": true,
          "description": "Whether this API call is invoked with a user context this allows changing of the bookmark flag"
        },
        {
          "displayName": "Is Public",
          "name": "isPublic",
          "type": "boolean",
          "default": true,
          "description": "Whether to set the issue to public or private"
        },
        {
          "displayName": "Is Subscribed",
          "name": "isSubscribed",
          "type": "boolean",
          "default": true
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "",
          "description": "The new status for the issue",
          "options": [
            {
              "name": "Ignored",
              "value": "ignored"
            },
            {
              "name": "Resolved",
              "value": "resolved"
            },
            {
              "name": "Resolved Next Release",
              "value": "resolvedInNextRelease"
            },
            {
              "name": "Unresolved",
              "value": "unresolved"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an organization",
          "action": "Create an organization"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get organization by slug",
          "action": "Get an organization"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many organizations",
          "action": "Get many organizations"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an organization",
          "action": "Update an organization"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "organization"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Member",
          "name": "member",
          "type": "boolean",
          "default": true,
          "description": "Whether to restrict results to organizations which you have membership"
        },
        {
          "displayName": "Owner",
          "name": "owner",
          "type": "boolean",
          "default": true,
          "description": "Whether to restrict results to organizations which you are the owner"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team should be created for. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The slug of the organization the team should be created for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Agree to Terms",
      "name": "agreeTerms",
      "type": "boolean",
      "default": false,
      "description": "Whether you agree to the applicable terms of service and privacy policy of Sentry.io",
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The unique URL slug for this organization. If this is not provided a slug is automatically generated based on the name."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Slug Name or ID",
      "name": "organization_slug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The new name of the organization"
        },
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The new URL slug for this organization"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new project",
          "action": "Create a project"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a project",
          "action": "Delete a project"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get project by ID",
          "action": "Get a project"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many projects",
          "action": "Get many projects"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a project",
          "action": "Update a project"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "create",
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project to retrieve. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Team Slug Name or ID",
      "name": "teamSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the team to create a new project for. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTeams",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name for the new project",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "Optionally a slug for the new project. If it’s not provided a slug is generated from the name."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "project"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "project"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the project belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Bookmarked",
          "name": "isBookmarked",
          "type": "boolean",
          "default": false,
          "description": "The new platform for the updated project"
        },
        {
          "displayName": "Digests Maximum Delay",
          "name": "digestsMaxDelay",
          "type": "number",
          "default": 1800,
          "description": "Maximum interval to digest alerts"
        },
        {
          "displayName": "Digests Minimun Delay",
          "name": "digestsMinDelay",
          "type": "number",
          "default": 60,
          "description": "Minium interval to digest alerts"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The new name for the updated project"
        },
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The new slug for the updated project"
        },
        {
          "displayName": "Team",
          "name": "team",
          "type": "string",
          "default": "",
          "description": "The new team name"
        },
        {
          "displayName": "Platform",
          "name": "platform",
          "type": "string",
          "default": "",
          "description": "The new platform for the updated project"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the project belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project to delete. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a release",
          "action": "Create a release"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a release",
          "action": "Delete a release"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get release by version identifier",
          "action": "Get a release by version ID"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many releases",
          "action": "Get many releases"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a release",
          "action": "Update a release"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the releases belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "release"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "release"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "description": "This parameter can be used to create a “starts with” filter for the version"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the release belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "get",
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Version",
      "name": "version",
      "type": "string",
      "default": "",
      "description": "The version identifier of the release",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "get",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the release belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Version",
      "name": "version",
      "type": "string",
      "default": "",
      "description": "A version identifier for this release. Can be a version number, a commit hash etc.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "A URL that points to the release. This can be the path to an online interface to the sourcecode for instance.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Project Names or IDs",
      "name": "projects",
      "type": "multiOptions",
      "default": [],
      "description": "A list of project slugs that are involved in this release. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Date Released",
          "name": "dateReleased",
          "type": "dateTime",
          "default": "",
          "description": "An optional date that indicates when the release went live. If not provided the current time is assumed."
        },
        {
          "displayName": "Commits",
          "name": "commits",
          "description": "An optional list of commit data to be associated with the release",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "commitProperties",
              "displayName": "Commit Properties",
              "values": [
                {
                  "displayName": "ID",
                  "name": "id",
                  "type": "string",
                  "default": "",
                  "description": "The sha of the commit",
                  "required": true
                },
                {
                  "displayName": "Author Email",
                  "name": "authorEmail",
                  "type": "string",
                  "default": "",
                  "description": "Authors email"
                },
                {
                  "displayName": "Author Name",
                  "name": "authorName",
                  "type": "string",
                  "default": "",
                  "description": "Name of author"
                },
                {
                  "displayName": "Message",
                  "name": "message",
                  "type": "string",
                  "default": "",
                  "description": "Message of commit"
                },
                {
                  "displayName": "Patch Set",
                  "name": "patchSet",
                  "description": "A list of the files that have been changed in the commit. Specifying the patch_set is necessary to power suspect commits and suggested assignees.",
                  "type": "fixedCollection",
                  "typeOptions": {
                    "multipleValues": true
                  },
                  "default": {},
                  "options": [
                    {
                      "name": "patchSetProperties",
                      "displayName": "Patch Set Properties",
                      "values": [
                        {
                          "displayName": "Path",
                          "name": "path",
                          "type": "string",
                          "default": "",
                          "description": "The path to the file. Both forward and backward slashes are supported.",
                          "required": true
                        },
                        {
                          "displayName": "Type",
                          "name": "type",
                          "type": "options",
                          "default": "",
                          "description": "The types of changes that happened in that commit",
                          "options": [
                            {
                              "name": "Add",
                              "value": "add"
                            },
                            {
                              "name": "Modify",
                              "value": "modify"
                            },
                            {
                              "name": "Delete",
                              "value": "delete"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "displayName": "Repository",
                  "name": "repository",
                  "type": "string",
                  "default": "",
                  "description": "Repository name"
                },
                {
                  "displayName": "Timestamp",
                  "name": "timestamp",
                  "type": "dateTime",
                  "default": "",
                  "description": "Timestamp of commit"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Refs",
          "name": "refs",
          "description": "An optional way to indicate the start and end commits for each repository included in a release",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "refProperties",
              "displayName": "Ref Properties",
              "values": [
                {
                  "displayName": "Commit",
                  "name": "commit",
                  "type": "string",
                  "default": "",
                  "description": "The head sha of the commit",
                  "required": true
                },
                {
                  "displayName": "Repository",
                  "name": "repository",
                  "type": "string",
                  "default": "",
                  "description": "Repository name",
                  "required": true
                },
                {
                  "displayName": "Previous Commit",
                  "name": "previousCommit",
                  "type": "string",
                  "default": "",
                  "description": "The sha of the HEAD of the previous release"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the release belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Version",
      "name": "version",
      "type": "string",
      "default": "",
      "description": "A version identifier for this release. Can be a version number, a commit hash etc.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Commits",
          "name": "commits",
          "description": "An optional list of commit data to be associated with the release",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "commitProperties",
              "displayName": "Commit Properties",
              "values": [
                {
                  "displayName": "ID",
                  "name": "id",
                  "type": "string",
                  "default": "",
                  "description": "The sha of the commit",
                  "required": true
                },
                {
                  "displayName": "Author Email",
                  "name": "authorEmail",
                  "type": "string",
                  "default": "",
                  "description": "Authors email"
                },
                {
                  "displayName": "Author Name",
                  "name": "authorName",
                  "type": "string",
                  "default": "",
                  "description": "Name of author"
                },
                {
                  "displayName": "Message",
                  "name": "message",
                  "type": "string",
                  "default": "",
                  "description": "Message of commit"
                },
                {
                  "displayName": "Patch Set",
                  "name": "patchSet",
                  "description": "A list of the files that have been changed in the commit. Specifying the patch_set is necessary to power suspect commits and suggested assignees.",
                  "type": "fixedCollection",
                  "typeOptions": {
                    "multipleValues": true
                  },
                  "default": {},
                  "options": [
                    {
                      "name": "patchSetProperties",
                      "displayName": "Patch Set Properties",
                      "values": [
                        {
                          "displayName": "Path",
                          "name": "path",
                          "type": "string",
                          "default": "",
                          "description": "The path to the file. Both forward and backward slashes are supported.",
                          "required": true
                        },
                        {
                          "displayName": "Type",
                          "name": "type",
                          "type": "options",
                          "default": "",
                          "description": "The types of changes that happened in that commit",
                          "options": [
                            {
                              "name": "Add",
                              "value": "add"
                            },
                            {
                              "name": "Modify",
                              "value": "modify"
                            },
                            {
                              "name": "Delete",
                              "value": "delete"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "displayName": "Repository",
                  "name": "repository",
                  "type": "string",
                  "default": "",
                  "description": "Repository name"
                },
                {
                  "displayName": "Timestamp",
                  "name": "timestamp",
                  "type": "dateTime",
                  "default": "",
                  "description": "Timestamp of commit"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Date Released",
          "name": "dateReleased",
          "type": "dateTime",
          "default": "",
          "description": "An optional date that indicates when the release went live. If not provided the current time is assumed."
        },
        {
          "displayName": "Ref",
          "name": "ref",
          "type": "string",
          "default": "",
          "description": "A URL that points to the release. This can be the path to an online interface to the sourcecode for instance."
        },
        {
          "displayName": "Refs",
          "name": "refs",
          "description": "An optional way to indicate the start and end commits for each repository included in a release",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "refProperties",
              "displayName": "Ref Properties",
              "values": [
                {
                  "displayName": "Commit",
                  "name": "commit",
                  "type": "string",
                  "default": "",
                  "description": "The head sha of the commit",
                  "required": true
                },
                {
                  "displayName": "Repository",
                  "name": "repository",
                  "type": "string",
                  "default": "",
                  "description": "Repository name",
                  "required": true
                },
                {
                  "displayName": "Previous Commit",
                  "name": "previousCommit",
                  "type": "string",
                  "default": "",
                  "description": "The sha of the HEAD of the previous release"
                }
              ]
            }
          ]
        },
        {
          "displayName": "URL",
          "name": "url",
          "type": "string",
          "default": "",
          "description": "A URL that points to the release. This can be the path to an online interface to the sourcecode for instance."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new team",
          "action": "Create a team"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a team",
          "action": "Delete a team"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get team by slug",
          "action": "Get a team"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many teams",
          "action": "Get many teams"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a team",
          "action": "Update a team"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization for which the teams should be listed. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "team"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "team"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Team Slug Name or ID",
      "name": "teamSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the team to get. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTeams",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the team",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The optional slug for this team. If not provided it will be auto generated from the name."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Team Slug Name or ID",
      "name": "teamSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the team to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTeams",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The new name of the team"
        },
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The new slug of the team. Must be unique and available."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Team Slug Name or ID",
      "name": "teamSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the team to delete. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTeams",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    }
  ]

operations:
  [
    {
      "operation": "get",
      "name": "Get",
      "description": "Get event by ID",
      "resource": "event"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many events",
      "resource": "event"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an issue",
      "resource": "issue"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get issue by ID",
      "resource": "issue"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many issues",
      "resource": "issue"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an issue",
      "resource": "issue"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an organization",
      "resource": "organization"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get organization by slug",
      "resource": "organization"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many organizations",
      "resource": "organization"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an organization",
      "resource": "organization"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new project",
      "resource": "project"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a project",
      "resource": "project"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get project by ID",
      "resource": "project"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many projects",
      "resource": "project"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a project",
      "resource": "project"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a release",
      "resource": "release"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a release",
      "resource": "release"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get release by version identifier",
      "resource": "release"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many releases",
      "resource": "release"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a release",
      "resource": "release"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new team",
      "resource": "team"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a team",
      "resource": "team"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get team by slug",
      "resource": "team"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many teams",
      "resource": "team"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a team",
      "resource": "team"
    }
  ]

credentials_required:
  [
    {
      "name": "sentryIoOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    },
    {
      "name": "sentryIoApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "accessToken"
          ]
        }
      }
    },
    {
      "name": "sentryIoServerApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "accessTokenServer"
          ]
        }
      }
    }
  ]


node_type: nodes-base.sentryIo
package_name: n8n-nodes-base
display_name: Sentry.io
description: Consume Sentry.io API
category: output
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2026-04-16 09:43:09
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Sentry.io node documentation
  description: Learn how to use the Sentry.io node in n8n. Follow technical documentation to integrate Sentry.io node into your workflows.
  contentType: [integration, reference]
  ---

  # Sentry.io node

  Use the Sentry.io node to automate work in Sentry.io, and integrate Sentry.io with other applications. n8n has built-in support for a wide range of Sentry.io features, including creating, updating, deleting, and getting, issues, projects, and releases, as well as getting all events.

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

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

  ## Operations

  * Event
      * Get event by ID
      * Get all events
  * Issue
      * Delete an issue
      * Get issue by ID
      * Get all issues
      * Update an issue
  * Project
      * Create a new project
      * Delete a project
      * Get project by ID
      * Get all projects
      * Update a project
  * Release
      * Create a release
      * Delete a release
      * Get release by version identifier
      * Get all releases
      * Update a release
  * Organization
      * Create an organization
      * Get organization by slug
      * Get all organizations
      * Update an organization
  * Team
      * Create a new team
      * Delete a team
      * Get team by slug
      * Get all teams
      * Update a team

  ## Templates and examples

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

  ## Related resources

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "accessToken",
      "options": [
        {
          "name": "Access Token (Cloud)",
          "value": "accessToken"
        },
        {
          "name": "OAuth2 (Cloud)",
          "value": "oAuth2"
        },
        {
          "name": "Access Token (Self Hosted)",
          "value": "accessTokenServer"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "event",
      "options": [
        {
          "name": "Event",
          "value": "event"
        },
        {
          "name": "Issue",
          "value": "issue"
        },
        {
          "name": "Organization",
          "value": "organization"
        },
        {
          "name": "Project",
          "value": "project"
        },
        {
          "name": "Release",
          "value": "release"
        },
        {
          "name": "Team",
          "value": "team"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get event by ID",
          "action": "Get an event"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many events",
          "action": "Get many events"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Full",
      "name": "full",
      "type": "boolean",
      "default": true,
      "description": "Whether the event payload will include the full event body, including the stack trace",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "event"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "event"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects"
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "The ID of the event to retrieve (either the numeric primary-key or the hexadecimal ID as reported by the raven client)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an issue",
          "action": "Delete an issue"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get issue by ID",
          "action": "Get an issue"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many issues",
          "action": "Get many issues"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an issue",
          "action": "Update an issue"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Issue ID",
      "name": "issueId",
      "type": "string",
      "default": "",
      "description": "ID of issue to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "get",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the issues belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project the issues belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "issue"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "issue"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "description": "An optional Sentry structured search query. If not provided, an implied \"is:unresolved\" is assumed. Info <a href=\"https://docs.sentry.io/product/sentry-basics/search/\">here</a>."
        },
        {
          "displayName": "Stats Period",
          "name": "statsPeriod",
          "type": "options",
          "default": "",
          "description": "Time period of stats",
          "options": [
            {
              "name": "14 Days",
              "value": "14d"
            },
            {
              "name": "24 Hours",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Short ID Lookup",
          "name": "shortIdLookUp",
          "type": "boolean",
          "default": true,
          "description": "Whether short IDs are looked up by this function as well. This can cause the return value of the function to return an event issue of a different project which is why this is an opt-in."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Issue ID",
      "name": "issueId",
      "type": "string",
      "default": "",
      "description": "ID of issue to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assigned To",
          "name": "assignedTo",
          "type": "string",
          "default": "",
          "description": "The actor ID (or username) of the user or team that should be assigned to this issue"
        },
        {
          "displayName": "Has Seen",
          "name": "hasSeen",
          "type": "boolean",
          "default": true,
          "description": "Whether this API call is invoked with a user context this allows changing of the flag that indicates if the user has seen the event"
        },
        {
          "displayName": "Is Bookmarked",
          "name": "isBookmarked",
          "type": "boolean",
          "default": true,
          "description": "Whether this API call is invoked with a user context this allows changing of the bookmark flag"
        },
        {
          "displayName": "Is Public",
          "name": "isPublic",
          "type": "boolean",
          "default": true,
          "description": "Whether to set the issue to public or private"
        },
        {
          "displayName": "Is Subscribed",
          "name": "isSubscribed",
          "type": "boolean",
          "default": true
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "",
          "description": "The new status for the issue",
          "options": [
            {
              "name": "Ignored",
              "value": "ignored"
            },
            {
              "name": "Resolved",
              "value": "resolved"
            },
            {
              "name": "Resolved Next Release",
              "value": "resolvedInNextRelease"
            },
            {
              "name": "Unresolved",
              "value": "unresolved"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "issue"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an organization",
          "action": "Create an organization"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get organization by slug",
          "action": "Get an organization"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many organizations",
          "action": "Get many organizations"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an organization",
          "action": "Update an organization"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "organization"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Member",
          "name": "member",
          "type": "boolean",
          "default": true,
          "description": "Whether to restrict results to organizations which you have membership"
        },
        {
          "displayName": "Owner",
          "name": "owner",
          "type": "boolean",
          "default": true,
          "description": "Whether to restrict results to organizations which you are the owner"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team should be created for. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The slug of the organization the team should be created for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Agree to Terms",
      "name": "agreeTerms",
      "type": "boolean",
      "default": false,
      "description": "Whether you agree to the applicable terms of service and privacy policy of Sentry.io",
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The unique URL slug for this organization. If this is not provided a slug is automatically generated based on the name."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Slug Name or ID",
      "name": "organization_slug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The new name of the organization"
        },
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The new URL slug for this organization"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new project",
          "action": "Create a project"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a project",
          "action": "Delete a project"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get project by ID",
          "action": "Get a project"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many projects",
          "action": "Get many projects"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a project",
          "action": "Update a project"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the events belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "create",
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project to retrieve. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Team Slug Name or ID",
      "name": "teamSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the team to create a new project for. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTeams",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name for the new project",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "Optionally a slug for the new project. If it’s not provided a slug is generated from the name."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "project"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "project"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the project belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Bookmarked",
          "name": "isBookmarked",
          "type": "boolean",
          "default": false,
          "description": "The new platform for the updated project"
        },
        {
          "displayName": "Digests Maximum Delay",
          "name": "digestsMaxDelay",
          "type": "number",
          "default": 1800,
          "description": "Maximum interval to digest alerts"
        },
        {
          "displayName": "Digests Minimun Delay",
          "name": "digestsMinDelay",
          "type": "number",
          "default": 60,
          "description": "Minium interval to digest alerts"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The new name for the updated project"
        },
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The new slug for the updated project"
        },
        {
          "displayName": "Team",
          "name": "team",
          "type": "string",
          "default": "",
          "description": "The new team name"
        },
        {
          "displayName": "Platform",
          "name": "platform",
          "type": "string",
          "default": "",
          "description": "The new platform for the updated project"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the project belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Project Slug Name or ID",
      "name": "projectSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the project to delete. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "project"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a release",
          "action": "Create a release"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a release",
          "action": "Delete a release"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get release by version identifier",
          "action": "Get a release by version ID"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many releases",
          "action": "Get many releases"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a release",
          "action": "Update a release"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the releases belong to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "release"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "release"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "description": "This parameter can be used to create a “starts with” filter for the version"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the release belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "get",
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Version",
      "name": "version",
      "type": "string",
      "default": "",
      "description": "The version identifier of the release",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "get",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the release belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Version",
      "name": "version",
      "type": "string",
      "default": "",
      "description": "A version identifier for this release. Can be a version number, a commit hash etc.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "A URL that points to the release. This can be the path to an online interface to the sourcecode for instance.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Project Names or IDs",
      "name": "projects",
      "type": "multiOptions",
      "default": [],
      "description": "A list of project slugs that are involved in this release. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProjects"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Date Released",
          "name": "dateReleased",
          "type": "dateTime",
          "default": "",
          "description": "An optional date that indicates when the release went live. If not provided the current time is assumed."
        },
        {
          "displayName": "Commits",
          "name": "commits",
          "description": "An optional list of commit data to be associated with the release",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "commitProperties",
              "displayName": "Commit Properties",
              "values": [
                {
                  "displayName": "ID",
                  "name": "id",
                  "type": "string",
                  "default": "",
                  "description": "The sha of the commit",
                  "required": true
                },
                {
                  "displayName": "Author Email",
                  "name": "authorEmail",
                  "type": "string",
                  "default": "",
                  "description": "Authors email"
                },
                {
                  "displayName": "Author Name",
                  "name": "authorName",
                  "type": "string",
                  "default": "",
                  "description": "Name of author"
                },
                {
                  "displayName": "Message",
                  "name": "message",
                  "type": "string",
                  "default": "",
                  "description": "Message of commit"
                },
                {
                  "displayName": "Patch Set",
                  "name": "patchSet",
                  "description": "A list of the files that have been changed in the commit. Specifying the patch_set is necessary to power suspect commits and suggested assignees.",
                  "type": "fixedCollection",
                  "typeOptions": {
                    "multipleValues": true
                  },
                  "default": {},
                  "options": [
                    {
                      "name": "patchSetProperties",
                      "displayName": "Patch Set Properties",
                      "values": [
                        {
                          "displayName": "Path",
                          "name": "path",
                          "type": "string",
                          "default": "",
                          "description": "The path to the file. Both forward and backward slashes are supported.",
                          "required": true
                        },
                        {
                          "displayName": "Type",
                          "name": "type",
                          "type": "options",
                          "default": "",
                          "description": "The types of changes that happened in that commit",
                          "options": [
                            {
                              "name": "Add",
                              "value": "add"
                            },
                            {
                              "name": "Modify",
                              "value": "modify"
                            },
                            {
                              "name": "Delete",
                              "value": "delete"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "displayName": "Repository",
                  "name": "repository",
                  "type": "string",
                  "default": "",
                  "description": "Repository name"
                },
                {
                  "displayName": "Timestamp",
                  "name": "timestamp",
                  "type": "dateTime",
                  "default": "",
                  "description": "Timestamp of commit"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Refs",
          "name": "refs",
          "description": "An optional way to indicate the start and end commits for each repository included in a release",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "refProperties",
              "displayName": "Ref Properties",
              "values": [
                {
                  "displayName": "Commit",
                  "name": "commit",
                  "type": "string",
                  "default": "",
                  "description": "The head sha of the commit",
                  "required": true
                },
                {
                  "displayName": "Repository",
                  "name": "repository",
                  "type": "string",
                  "default": "",
                  "description": "Repository name",
                  "required": true
                },
                {
                  "displayName": "Previous Commit",
                  "name": "previousCommit",
                  "type": "string",
                  "default": "",
                  "description": "The sha of the HEAD of the previous release"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the release belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Version",
      "name": "version",
      "type": "string",
      "default": "",
      "description": "A version identifier for this release. Can be a version number, a commit hash etc.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Commits",
          "name": "commits",
          "description": "An optional list of commit data to be associated with the release",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "commitProperties",
              "displayName": "Commit Properties",
              "values": [
                {
                  "displayName": "ID",
                  "name": "id",
                  "type": "string",
                  "default": "",
                  "description": "The sha of the commit",
                  "required": true
                },
                {
                  "displayName": "Author Email",
                  "name": "authorEmail",
                  "type": "string",
                  "default": "",
                  "description": "Authors email"
                },
                {
                  "displayName": "Author Name",
                  "name": "authorName",
                  "type": "string",
                  "default": "",
                  "description": "Name of author"
                },
                {
                  "displayName": "Message",
                  "name": "message",
                  "type": "string",
                  "default": "",
                  "description": "Message of commit"
                },
                {
                  "displayName": "Patch Set",
                  "name": "patchSet",
                  "description": "A list of the files that have been changed in the commit. Specifying the patch_set is necessary to power suspect commits and suggested assignees.",
                  "type": "fixedCollection",
                  "typeOptions": {
                    "multipleValues": true
                  },
                  "default": {},
                  "options": [
                    {
                      "name": "patchSetProperties",
                      "displayName": "Patch Set Properties",
                      "values": [
                        {
                          "displayName": "Path",
                          "name": "path",
                          "type": "string",
                          "default": "",
                          "description": "The path to the file. Both forward and backward slashes are supported.",
                          "required": true
                        },
                        {
                          "displayName": "Type",
                          "name": "type",
                          "type": "options",
                          "default": "",
                          "description": "The types of changes that happened in that commit",
                          "options": [
                            {
                              "name": "Add",
                              "value": "add"
                            },
                            {
                              "name": "Modify",
                              "value": "modify"
                            },
                            {
                              "name": "Delete",
                              "value": "delete"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "displayName": "Repository",
                  "name": "repository",
                  "type": "string",
                  "default": "",
                  "description": "Repository name"
                },
                {
                  "displayName": "Timestamp",
                  "name": "timestamp",
                  "type": "dateTime",
                  "default": "",
                  "description": "Timestamp of commit"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Date Released",
          "name": "dateReleased",
          "type": "dateTime",
          "default": "",
          "description": "An optional date that indicates when the release went live. If not provided the current time is assumed."
        },
        {
          "displayName": "Ref",
          "name": "ref",
          "type": "string",
          "default": "",
          "description": "A URL that points to the release. This can be the path to an online interface to the sourcecode for instance."
        },
        {
          "displayName": "Refs",
          "name": "refs",
          "description": "An optional way to indicate the start and end commits for each repository included in a release",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "refProperties",
              "displayName": "Ref Properties",
              "values": [
                {
                  "displayName": "Commit",
                  "name": "commit",
                  "type": "string",
                  "default": "",
                  "description": "The head sha of the commit",
                  "required": true
                },
                {
                  "displayName": "Repository",
                  "name": "repository",
                  "type": "string",
                  "default": "",
                  "description": "Repository name",
                  "required": true
                },
                {
                  "displayName": "Previous Commit",
                  "name": "previousCommit",
                  "type": "string",
                  "default": "",
                  "description": "The sha of the HEAD of the previous release"
                }
              ]
            }
          ]
        },
        {
          "displayName": "URL",
          "name": "url",
          "type": "string",
          "default": "",
          "description": "A URL that points to the release. This can be the path to an online interface to the sourcecode for instance."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new team",
          "action": "Create a team"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a team",
          "action": "Delete a team"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get team by slug",
          "action": "Get a team"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many teams",
          "action": "Get many teams"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a team",
          "action": "Update a team"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization for which the teams should be listed. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "team"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "team"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Team Slug Name or ID",
      "name": "teamSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the team to get. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTeams",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the team",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The optional slug for this team. If not provided it will be auto generated from the name."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Team Slug Name or ID",
      "name": "teamSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the team to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTeams",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The new name of the team"
        },
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "The new slug of the team. Must be unique and available."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Organization Slug Name or ID",
      "name": "organizationSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the organization the team belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrganizations"
      }
    },
    {
      "displayName": "Team Slug Name or ID",
      "name": "teamSlug",
      "type": "options",
      "default": "",
      "description": "The slug of the team to delete. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "team"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTeams",
        "loadOptionsDependsOn": [
          "organizationSlug"
        ]
      }
    }
  ]

operations:
  [
    {
      "operation": "get",
      "name": "Get",
      "description": "Get event by ID",
      "resource": "event"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many events",
      "resource": "event"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an issue",
      "resource": "issue"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get issue by ID",
      "resource": "issue"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many issues",
      "resource": "issue"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an issue",
      "resource": "issue"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an organization",
      "resource": "organization"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get organization by slug",
      "resource": "organization"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many organizations",
      "resource": "organization"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an organization",
      "resource": "organization"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new project",
      "resource": "project"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a project",
      "resource": "project"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get project by ID",
      "resource": "project"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many projects",
      "resource": "project"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a project",
      "resource": "project"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a release",
      "resource": "release"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a release",
      "resource": "release"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get release by version identifier",
      "resource": "release"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many releases",
      "resource": "release"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a release",
      "resource": "release"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new team",
      "resource": "team"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a team",
      "resource": "team"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get team by slug",
      "resource": "team"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many teams",
      "resource": "team"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a team",
      "resource": "team"
    }
  ]

credentials_required:
  [
    {
      "name": "sentryIoOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    },
    {
      "name": "sentryIoApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "accessToken"
          ]
        }
      }
    },
    {
      "name": "sentryIoServerApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "accessTokenServer"
          ]
        }
      }
    }
  ]


node_type: nodes-base.serviceNowTool
package_name: n8n-nodes-base
display_name: ServiceNow Tool
description: Consume ServiceNow API (AI Tool variant for use with AI Agents)
category: output
development_style: programmatic
version: 1
outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-04-16 09:43:09
tool_variant_of: nodes-base.serviceNow
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: ServiceNow node documentation
  description: Learn how to use the ServiceNow node in n8n. Follow technical documentation to integrate ServiceNow node into your workflows.
  contentType: [integration, reference]
  ---

  # ServiceNow node

  Use the ServiceNow node to automate work in ServiceNow, and integrate ServiceNow with other applications. n8n has built-in support for a wide range of ServiceNow features, including getting business services, departments, configuration items, and dictionary as well as creating, updating, and deleting incidents, users, and table records. 

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

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

  ## Operations

  * Business Service
      * Get All
  * Configuration Items
      * Get All
  * Department
      * Get All
  * Dictionary
      * Get All
  * Incident
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * Table Record
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * User
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * User Group
      * Get All
  * User Role
      * Get All

  ## Templates and examples

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

  --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 ServiceNow"
    },
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "oAuth2",
      "description": "Authentication method to use",
      "options": [
        {
          "name": "Basic Auth",
          "value": "basicAuth"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "user",
      "options": [
        {
          "name": "Attachment",
          "value": "attachment"
        },
        {
          "name": "Business Service",
          "value": "businessService"
        },
        {
          "name": "Configuration Item",
          "value": "configurationItems"
        },
        {
          "name": "Department",
          "value": "department"
        },
        {
          "name": "Dictionary",
          "value": "dictionary"
        },
        {
          "name": "Incident",
          "value": "incident"
        },
        {
          "name": "Table Record",
          "value": "tableRecord"
        },
        {
          "name": "User",
          "value": "user"
        },
        {
          "name": "User Group",
          "value": "userGroup"
        },
        {
          "name": "User Role",
          "value": "userRole"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "upload",
      "options": [
        {
          "name": "Upload",
          "value": "upload",
          "description": "Upload an attachment to a specific table record",
          "action": "Upload an attachment"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an attachment",
          "action": "Delete an attachment"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an attachment",
          "action": "Get an attachment"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many attachments on a table",
          "action": "Get many attachments"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "upload",
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Table Record ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Sys_id of the record in the table specified in Table Name that you want to attach the file to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Input Data Field Name",
      "name": "inputDataFieldName",
      "type": "string",
      "default": "data",
      "description": "Name of the binary property that contains the data to upload",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "File Name for the Attachment",
          "name": "file_name",
          "type": "string",
          "default": "",
          "description": "Name to give the attachment"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Attachment ID",
      "name": "attachmentId",
      "type": "string",
      "default": "",
      "description": "Sys_id value of the attachment to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Attachment ID",
      "name": "attachmentId",
      "type": "string",
      "default": "",
      "description": "Sys_id value of the attachment to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "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": [
            "attachment"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Download Attachments",
      "name": "download",
      "type": "boolean",
      "default": false,
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "get",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Output Field",
      "name": "outputField",
      "type": "string",
      "default": "data",
      "description": "Field name where downloaded data will be placed",
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "get",
            "getAll"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter",
          "name": "queryFilter",
          "type": "string",
          "placeholder": "<col_name><operator><value>",
          "default": "",
          "description": "An encoded query string used to filter the results",
          "hint": "All parameters are case-sensitive. Queries can contain more than one entry. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More information</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "get",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many business services"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "businessService"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "businessService"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "businessService"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "businessService"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many configuration items"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "configurationItems"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "configurationItems"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "configurationItems"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "configurationItems"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many departments"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "department"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "department"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many dictionaries"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "dictionary"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "dictionary"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "dictionary"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "dictionary"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an incident"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an incident"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an incident"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many incidents"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an incident"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Short Description",
      "name": "short_description",
      "type": "string",
      "default": "",
      "description": "Short description of the incident",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assignee Name or ID",
          "name": "assigned_to",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUsers",
            "loadOptionsDependsOn": [
              "additionalFields.assignment_group"
            ]
          },
          "default": "",
          "description": "Which user is the incident assigned to. Requires the selection of an assignment group. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Assignment Group Name or ID",
          "name": "assignment_group",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getAssignmentGroups"
          },
          "default": "",
          "description": "The assignment group of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Business Service Name or ID",
          "name": "business_service",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getBusinessServices"
          },
          "default": ""
        },
        {
          "displayName": "Caller ID",
          "name": "caller_id",
          "type": "string",
          "default": "",
          "description": "The unique identifier of the caller of the incident"
        },
        {
          "displayName": "Category Name or ID",
          "name": "category",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentCategories"
          },
          "default": "",
          "description": "The category of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Close Notes",
          "name": "close_notes",
          "type": "string",
          "default": "",
          "description": "The close notes for the incident"
        },
        {
          "displayName": "Configuration Item Names or IDs",
          "name": "cmdb_ci",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getConfigurationItems"
          },
          "default": [],
          "description": "Configuration Items, 'cmdb_ci' in metadata. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Contact Type",
          "name": "contact_type",
          "type": "options",
          "options": [
            {
              "name": "Email",
              "value": "email"
            },
            {
              "name": "Phone",
              "value": "phone"
            },
            {
              "name": "Self Service",
              "value": "self-service"
            },
            {
              "name": "Walk In",
              "value": "walk-in"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the incident"
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 1
            }
          ],
          "default": 1,
          "description": "The impact of the incident"
        },
        {
          "displayName": "Resolution Code Name or ID",
          "name": "close_code",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentResolutionCodes"
          },
          "default": "",
          "description": "The resolution code of the incident, 'close_code' in metadata. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "State Name or ID",
          "name": "state",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentStates"
          },
          "default": "",
          "description": "The state of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Subcategory Name or ID",
          "name": "subcategory",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentSubcategories",
            "loadOptionsDependsOn": [
              "additionalFields.category"
            ]
          },
          "default": "",
          "description": "The subcategory of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Urgency",
          "name": "urgency",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 1
            }
          ],
          "default": 1,
          "description": "The urgency of the incident"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "incident"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "incident"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Incident ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the incident",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "delete",
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Incident ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the incident",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assigned To Name or ID",
          "name": "assigned_to",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUsers",
            "loadOptionsDependsOn": [
              "additionalFields.assignment_group"
            ]
          },
          "default": "",
          "description": "Which user is the incident assigned to. Requires the selection of an assignment group. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Assignment Group Name or ID",
          "name": "assignment_group",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getAssignmentGroups"
          },
          "default": "",
          "description": "The assignment group of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Business Service Name or ID",
          "name": "business_service",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getBusinessServices"
          },
          "default": ""
        },
        {
          "displayName": "Caller ID",
          "name": "caller_id",
          "type": "string",
          "default": "",
          "description": "The unique identifier of the caller of the incident"
        },
        {
          "displayName": "Category Name or ID",
          "name": "category",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentCategories"
          },
          "default": "",
          "description": "The category of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Close Notes",
          "name": "close_notes",
          "type": "string",
          "default": "",
          "description": "The close notes for the incident"
        },
        {
          "displayName": "Configuration Item Names or IDs",
          "name": "cmdb_ci",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getConfigurationItems"
          },
          "default": [],
          "description": "Configuration Items, 'cmdb_ci' in metadata. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Contact Type",
          "name": "contact_type",
          "type": "options",
          "options": [
            {
              "name": "Email",
              "value": "email"
            },
            {
              "name": "Phone",
              "value": "phone"
            },
            {
              "name": "Self Service",
              "value": "self-service"
            },
            {
              "name": "Walk In",
              "value": "walk-in"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the incident"
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 1
            }
          ],
          "default": 1,
          "description": "The impact of the incident"
        },
        {
          "displayName": "Resolution Code Name or ID",
          "name": "close_code",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentResolutionCodes"
          },
          "default": "",
          "description": "The resolution code of the incident. 'close_code' in metadata. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "On Hold Reason Name or ID",
          "name": "hold_reason",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentHoldReasons"
          },
          "default": "",
          "description": "The on hold reason for the incident. It applies if the state is <code>On Hold</code>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "State Name or ID",
          "name": "state",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentStates"
          },
          "default": "",
          "description": "The state of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Subcategory Name or ID",
          "name": "subcategory",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentSubcategories",
            "loadOptionsDependsOn": [
              "additionalFields.category"
            ]
          },
          "default": "",
          "description": "The subcategory of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Urgency",
          "name": "urgency",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 1
            }
          ],
          "default": 1,
          "description": "The urgency of the incident"
        },
        {
          "displayName": "Work Notes",
          "name": "work_notes",
          "type": "string",
          "default": "",
          "description": "Work notes for the incident"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a table record"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a table record"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a table record"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many table records"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a table record"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Data to Send",
      "name": "dataToSend",
      "type": "options",
      "default": "columns",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "mapInput",
          "description": "Use when node input names match destination field names"
        },
        {
          "name": "Define Below for Each Column",
          "value": "columns",
          "description": "Set the value for each destination column"
        },
        {
          "name": "Nothing",
          "value": "nothing",
          "description": "Don't send any column data"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Inputs to Ignore",
      "name": "inputsToIgnore",
      "type": "string",
      "default": "",
      "description": "List of input properties to avoid sending, separated by commas. Leave empty to send all inputs.",
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "create"
          ],
          "dataToSend": [
            "mapInput"
          ]
        }
      }
    },
    {
      "displayName": "Fields to Send",
      "name": "fieldsToSend",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field",
          "name": "field",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "tableName"
                ]
              },
              "default": ""
            },
            {
              "displayName": "Field Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "create"
          ],
          "dataToSend": [
            "columns"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "tableRecord"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "tableRecord"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns",
            "loadOptionsDependsOn": [
              "tableName"
            ]
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Name of the table in which the record exists. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "delete",
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Table Record ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the record",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "delete",
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns",
            "loadOptionsDependsOn": [
              "tableName"
            ]
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Table Record ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the record",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Data to Send",
      "name": "dataToSend",
      "type": "options",
      "default": "columns",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "mapInput",
          "description": "Use when node input names match destination field names"
        },
        {
          "name": "Define Below for Each Column",
          "value": "columns",
          "description": "Set the value for each destination column"
        },
        {
          "name": "Nothing",
          "value": "nothing",
          "description": "Don't send any column data"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Inputs to Ignore",
      "name": "inputsToIgnore",
      "type": "string",
      "default": "",
      "description": "List of input properties to avoid sending, separated by commas. Leave empty to send all inputs.",
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ],
          "dataToSend": [
            "mapInput"
          ]
        }
      }
    },
    {
      "displayName": "Fields to Send",
      "name": "fieldsToSend",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field",
          "name": "field",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "tableName"
                ]
              },
              "default": ""
            },
            {
              "displayName": "Field Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ],
          "dataToSend": [
            "columns"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a user"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a user"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a user"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many users"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Short Description",
      "name": "short_description",
      "type": "string",
      "default": "",
      "description": "Short description of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Active",
          "name": "active",
          "type": "boolean",
          "default": false,
          "description": "Whether to activate the user"
        },
        {
          "displayName": "Building",
          "name": "building",
          "type": "string",
          "default": "",
          "description": "The Building address"
        },
        {
          "displayName": "City",
          "name": "city",
          "type": "string",
          "default": "",
          "description": "City of the user"
        },
        {
          "displayName": "Company",
          "name": "company",
          "type": "string",
          "default": "",
          "description": "The name of the company for the user"
        },
        {
          "displayName": "Country",
          "name": "country",
          "type": "string",
          "default": "",
          "description": "Country of the user"
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": "",
          "description": "Department of the user"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "The email address associated with the user"
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": "",
          "description": "The first name of the user"
        },
        {
          "displayName": "Gender",
          "name": "gender",
          "type": "string",
          "default": "",
          "description": "The gender of the user"
        },
        {
          "displayName": "Home Phone",
          "name": "home_phone",
          "type": "string",
          "default": "",
          "description": "Home phone of the user"
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": "",
          "description": "The last name of the user"
        },
        {
          "displayName": "Location",
          "name": "location",
          "type": "string",
          "default": "",
          "description": "Location of the user"
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "description": "Manager of the user"
        },
        {
          "displayName": "Middle Name",
          "name": "middle_name",
          "type": "string",
          "default": "",
          "description": "The middle name of the user"
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone",
          "type": "string",
          "default": "",
          "description": "Mobile phone number of the user"
        },
        {
          "displayName": "Password",
          "name": "user_password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "description": "The user's password"
        },
        {
          "displayName": "Password Needs Reset",
          "name": "password_needs_reset",
          "type": "boolean",
          "default": false,
          "description": "Whether to require a password reset when the user logs in"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "The main phone number of the user"
        },
        {
          "displayName": "Role Names or IDs",
          "name": "roles",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getUserRoles"
          },
          "default": [],
          "description": "Roles of the user. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Source",
          "name": "source",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "string",
          "default": "",
          "description": "State for the user"
        },
        {
          "displayName": "Street",
          "name": "street",
          "type": "string",
          "default": "",
          "description": "Street information for the user separated by comma"
        },
        {
          "displayName": "Username",
          "name": "user_name",
          "type": "string",
          "default": "",
          "description": "A username associated with the user (e.g. user_name.123)"
        },
        {
          "displayName": "Zip Code",
          "name": "zip",
          "type": "string",
          "default": "",
          "description": "Zip code for the user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "user"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "user"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns",
            "loadOptionsDependsOn": [
              "operation"
            ]
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Retrieve Identifier",
      "name": "getOption",
      "type": "options",
      "default": "id",
      "description": "Unique identifier of the user",
      "options": [
        {
          "name": "ID",
          "value": "id"
        },
        {
          "name": "Username",
          "value": "user_name"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Username",
      "name": "user_name",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ],
          "getOption": [
            "user_name"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ],
          "getOption": [
            "id"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns",
            "loadOptionsDependsOn": [
              "operation"
            ]
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Active",
          "name": "active",
          "type": "boolean",
          "default": false,
          "description": "Whether to activate the user"
        },
        {
          "displayName": "Building",
          "name": "building",
          "type": "string",
          "default": "",
          "description": "The Building address"
        },
        {
          "displayName": "City",
          "name": "city",
          "type": "string",
          "default": "",
          "description": "City of the user"
        },
        {
          "displayName": "Company",
          "name": "company",
          "type": "string",
          "default": "",
          "description": "The name of the company for the user"
        },
        {
          "displayName": "Country",
          "name": "country",
          "type": "string",
          "default": "",
          "description": "Country of the user"
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": "",
          "description": "Department of the user"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "The email address associated with the user"
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": "",
          "description": "The first name of the user"
        },
        {
          "displayName": "Gender",
          "name": "gender",
          "type": "string",
          "default": "",
          "description": "The gender of the user"
        },
        {
          "displayName": "Home Phone",
          "name": "home_phone",
          "type": "string",
          "default": "",
          "description": "Home phone of the user"
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": "",
          "description": "The last name of the user"
        },
        {
          "displayName": "Location",
          "name": "location",
          "type": "string",
          "default": "",
          "description": "Location of the user"
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "description": "Manager of the user"
        },
        {
          "displayName": "Middle Name",
          "name": "middle_name",
          "type": "string",
          "default": "",
          "description": "The middle name of the user"
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone",
          "type": "string",
          "default": "",
          "description": "Mobile phone number of the user"
        },
        {
          "displayName": "Password",
          "name": "user_password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "description": "The user's password"
        },
        {
          "displayName": "Password Needs Reset",
          "name": "password_needs_reset",
          "type": "boolean",
          "default": false,
          "description": "Whether to require a password reset when the user logs in"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "The main phone number of the user"
        },
        {
          "displayName": "Role Names or IDs",
          "name": "roles",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getUserRoles"
          },
          "default": [],
          "description": "Roles of the user. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Source",
          "name": "source",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "string",
          "default": "",
          "description": "State for the user"
        },
        {
          "displayName": "Street",
          "name": "street",
          "type": "string",
          "default": "",
          "description": "Street information for the user separated by comma"
        },
        {
          "displayName": "Username",
          "name": "user_name",
          "type": "string",
          "default": "",
          "description": "A username associated with the user (e.g. user_name.123)"
        },
        {
          "displayName": "Zip Code",
          "name": "zip",
          "type": "string",
          "default": "",
          "description": "Zip code for the user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many user groups"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "userGroup"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "userGroup"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many user roles"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userRole"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "userRole"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "userRole"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userRole"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "upload",
      "name": "Upload",
      "description": "Upload an attachment to a specific table record",
      "resource": "attachment"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an attachment",
      "resource": "attachment"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an attachment",
      "resource": "attachment"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many attachments on a table",
      "resource": "attachment"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "businessService"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "configurationItems"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "department"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "dictionary"
    },
    {
      "operation": "create",
      "name": "Create",
      "resource": "incident"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "resource": "incident"
    },
    {
      "operation": "get",
      "name": "Get",
      "resource": "incident"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "incident"
    },
    {
      "operation": "update",
      "name": "Update",
      "resource": "incident"
    },
    {
      "operation": "create",
      "name": "Create",
      "resource": "tableRecord"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "resource": "tableRecord"
    },
    {
      "operation": "get",
      "name": "Get",
      "resource": "tableRecord"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "tableRecord"
    },
    {
      "operation": "update",
      "name": "Update",
      "resource": "tableRecord"
    },
    {
      "operation": "create",
      "name": "Create",
      "resource": "user"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "resource": "user"
    },
    {
      "operation": "get",
      "name": "Get",
      "resource": "user"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "user"
    },
    {
      "operation": "update",
      "name": "Update",
      "resource": "user"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "userGroup"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "userRole"
    }
  ]

credentials_required:
  [
    {
      "name": "serviceNowOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    },
    {
      "name": "serviceNowBasicApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "basicAuth"
          ]
        }
      }
    }
  ]


node_type: nodes-base.serviceNow
package_name: n8n-nodes-base
display_name: ServiceNow
description: Consume ServiceNow API
category: output
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2026-04-16 09:43:09
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: ServiceNow node documentation
  description: Learn how to use the ServiceNow node in n8n. Follow technical documentation to integrate ServiceNow node into your workflows.
  contentType: [integration, reference]
  ---

  # ServiceNow node

  Use the ServiceNow node to automate work in ServiceNow, and integrate ServiceNow with other applications. n8n has built-in support for a wide range of ServiceNow features, including getting business services, departments, configuration items, and dictionary as well as creating, updating, and deleting incidents, users, and table records. 

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

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

  ## Operations

  * Business Service
      * Get All
  * Configuration Items
      * Get All
  * Department
      * Get All
  * Dictionary
      * Get All
  * Incident
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * Table Record
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * User
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * User Group
      * Get All
  * User Role
      * Get All

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "oAuth2",
      "description": "Authentication method to use",
      "options": [
        {
          "name": "Basic Auth",
          "value": "basicAuth"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "user",
      "options": [
        {
          "name": "Attachment",
          "value": "attachment"
        },
        {
          "name": "Business Service",
          "value": "businessService"
        },
        {
          "name": "Configuration Item",
          "value": "configurationItems"
        },
        {
          "name": "Department",
          "value": "department"
        },
        {
          "name": "Dictionary",
          "value": "dictionary"
        },
        {
          "name": "Incident",
          "value": "incident"
        },
        {
          "name": "Table Record",
          "value": "tableRecord"
        },
        {
          "name": "User",
          "value": "user"
        },
        {
          "name": "User Group",
          "value": "userGroup"
        },
        {
          "name": "User Role",
          "value": "userRole"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "upload",
      "options": [
        {
          "name": "Upload",
          "value": "upload",
          "description": "Upload an attachment to a specific table record",
          "action": "Upload an attachment"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an attachment",
          "action": "Delete an attachment"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an attachment",
          "action": "Get an attachment"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many attachments on a table",
          "action": "Get many attachments"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "upload",
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Table Record ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Sys_id of the record in the table specified in Table Name that you want to attach the file to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Input Data Field Name",
      "name": "inputDataFieldName",
      "type": "string",
      "default": "data",
      "description": "Name of the binary property that contains the data to upload",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "File Name for the Attachment",
          "name": "file_name",
          "type": "string",
          "default": "",
          "description": "Name to give the attachment"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Attachment ID",
      "name": "attachmentId",
      "type": "string",
      "default": "",
      "description": "Sys_id value of the attachment to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Attachment ID",
      "name": "attachmentId",
      "type": "string",
      "default": "",
      "description": "Sys_id value of the attachment to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "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": [
            "attachment"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Download Attachments",
      "name": "download",
      "type": "boolean",
      "default": false,
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "get",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Output Field",
      "name": "outputField",
      "type": "string",
      "default": "data",
      "description": "Field name where downloaded data will be placed",
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "get",
            "getAll"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter",
          "name": "queryFilter",
          "type": "string",
          "placeholder": "<col_name><operator><value>",
          "default": "",
          "description": "An encoded query string used to filter the results",
          "hint": "All parameters are case-sensitive. Queries can contain more than one entry. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More information</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attachment"
          ],
          "operation": [
            "get",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many business services"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "businessService"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "businessService"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "businessService"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "businessService"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many configuration items"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "configurationItems"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "configurationItems"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "configurationItems"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "configurationItems"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many departments"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "department"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "department"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many dictionaries"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "dictionary"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "dictionary"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "dictionary"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "dictionary"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an incident"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an incident"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an incident"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many incidents"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an incident"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Short Description",
      "name": "short_description",
      "type": "string",
      "default": "",
      "description": "Short description of the incident",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assignee Name or ID",
          "name": "assigned_to",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUsers",
            "loadOptionsDependsOn": [
              "additionalFields.assignment_group"
            ]
          },
          "default": "",
          "description": "Which user is the incident assigned to. Requires the selection of an assignment group. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Assignment Group Name or ID",
          "name": "assignment_group",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getAssignmentGroups"
          },
          "default": "",
          "description": "The assignment group of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Business Service Name or ID",
          "name": "business_service",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getBusinessServices"
          },
          "default": ""
        },
        {
          "displayName": "Caller ID",
          "name": "caller_id",
          "type": "string",
          "default": "",
          "description": "The unique identifier of the caller of the incident"
        },
        {
          "displayName": "Category Name or ID",
          "name": "category",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentCategories"
          },
          "default": "",
          "description": "The category of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Close Notes",
          "name": "close_notes",
          "type": "string",
          "default": "",
          "description": "The close notes for the incident"
        },
        {
          "displayName": "Configuration Item Names or IDs",
          "name": "cmdb_ci",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getConfigurationItems"
          },
          "default": [],
          "description": "Configuration Items, 'cmdb_ci' in metadata. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Contact Type",
          "name": "contact_type",
          "type": "options",
          "options": [
            {
              "name": "Email",
              "value": "email"
            },
            {
              "name": "Phone",
              "value": "phone"
            },
            {
              "name": "Self Service",
              "value": "self-service"
            },
            {
              "name": "Walk In",
              "value": "walk-in"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the incident"
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 1
            }
          ],
          "default": 1,
          "description": "The impact of the incident"
        },
        {
          "displayName": "Resolution Code Name or ID",
          "name": "close_code",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentResolutionCodes"
          },
          "default": "",
          "description": "The resolution code of the incident, 'close_code' in metadata. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "State Name or ID",
          "name": "state",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentStates"
          },
          "default": "",
          "description": "The state of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Subcategory Name or ID",
          "name": "subcategory",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentSubcategories",
            "loadOptionsDependsOn": [
              "additionalFields.category"
            ]
          },
          "default": "",
          "description": "The subcategory of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Urgency",
          "name": "urgency",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 1
            }
          ],
          "default": 1,
          "description": "The urgency of the incident"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "incident"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "incident"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Incident ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the incident",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "delete",
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Incident ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the incident",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assigned To Name or ID",
          "name": "assigned_to",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUsers",
            "loadOptionsDependsOn": [
              "additionalFields.assignment_group"
            ]
          },
          "default": "",
          "description": "Which user is the incident assigned to. Requires the selection of an assignment group. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Assignment Group Name or ID",
          "name": "assignment_group",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getAssignmentGroups"
          },
          "default": "",
          "description": "The assignment group of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Business Service Name or ID",
          "name": "business_service",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getBusinessServices"
          },
          "default": ""
        },
        {
          "displayName": "Caller ID",
          "name": "caller_id",
          "type": "string",
          "default": "",
          "description": "The unique identifier of the caller of the incident"
        },
        {
          "displayName": "Category Name or ID",
          "name": "category",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentCategories"
          },
          "default": "",
          "description": "The category of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Close Notes",
          "name": "close_notes",
          "type": "string",
          "default": "",
          "description": "The close notes for the incident"
        },
        {
          "displayName": "Configuration Item Names or IDs",
          "name": "cmdb_ci",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getConfigurationItems"
          },
          "default": [],
          "description": "Configuration Items, 'cmdb_ci' in metadata. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Contact Type",
          "name": "contact_type",
          "type": "options",
          "options": [
            {
              "name": "Email",
              "value": "email"
            },
            {
              "name": "Phone",
              "value": "phone"
            },
            {
              "name": "Self Service",
              "value": "self-service"
            },
            {
              "name": "Walk In",
              "value": "walk-in"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the incident"
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 1
            }
          ],
          "default": 1,
          "description": "The impact of the incident"
        },
        {
          "displayName": "Resolution Code Name or ID",
          "name": "close_code",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentResolutionCodes"
          },
          "default": "",
          "description": "The resolution code of the incident. 'close_code' in metadata. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "On Hold Reason Name or ID",
          "name": "hold_reason",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentHoldReasons"
          },
          "default": "",
          "description": "The on hold reason for the incident. It applies if the state is <code>On Hold</code>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "State Name or ID",
          "name": "state",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentStates"
          },
          "default": "",
          "description": "The state of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Subcategory Name or ID",
          "name": "subcategory",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIncidentSubcategories",
            "loadOptionsDependsOn": [
              "additionalFields.category"
            ]
          },
          "default": "",
          "description": "The subcategory of the incident. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Urgency",
          "name": "urgency",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 1
            }
          ],
          "default": 1,
          "description": "The urgency of the incident"
        },
        {
          "displayName": "Work Notes",
          "name": "work_notes",
          "type": "string",
          "default": "",
          "description": "Work notes for the incident"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "incident"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a table record"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a table record"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a table record"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many table records"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a table record"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Data to Send",
      "name": "dataToSend",
      "type": "options",
      "default": "columns",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "mapInput",
          "description": "Use when node input names match destination field names"
        },
        {
          "name": "Define Below for Each Column",
          "value": "columns",
          "description": "Set the value for each destination column"
        },
        {
          "name": "Nothing",
          "value": "nothing",
          "description": "Don't send any column data"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Inputs to Ignore",
      "name": "inputsToIgnore",
      "type": "string",
      "default": "",
      "description": "List of input properties to avoid sending, separated by commas. Leave empty to send all inputs.",
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "create"
          ],
          "dataToSend": [
            "mapInput"
          ]
        }
      }
    },
    {
      "displayName": "Fields to Send",
      "name": "fieldsToSend",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field",
          "name": "field",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "tableName"
                ]
              },
              "default": ""
            },
            {
              "displayName": "Field Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "create"
          ],
          "dataToSend": [
            "columns"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "tableRecord"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "tableRecord"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns",
            "loadOptionsDependsOn": [
              "tableName"
            ]
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Name of the table in which the record exists. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "delete",
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Table Record ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the record",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "delete",
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns",
            "loadOptionsDependsOn": [
              "tableName"
            ]
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Table Name or ID",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTables"
      }
    },
    {
      "displayName": "Table Record ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the record",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Data to Send",
      "name": "dataToSend",
      "type": "options",
      "default": "columns",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "mapInput",
          "description": "Use when node input names match destination field names"
        },
        {
          "name": "Define Below for Each Column",
          "value": "columns",
          "description": "Set the value for each destination column"
        },
        {
          "name": "Nothing",
          "value": "nothing",
          "description": "Don't send any column data"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Inputs to Ignore",
      "name": "inputsToIgnore",
      "type": "string",
      "default": "",
      "description": "List of input properties to avoid sending, separated by commas. Leave empty to send all inputs.",
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ],
          "dataToSend": [
            "mapInput"
          ]
        }
      }
    },
    {
      "displayName": "Fields to Send",
      "name": "fieldsToSend",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field",
          "name": "field",
          "values": [
            {
              "displayName": "Field Name or ID",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "tableName"
                ]
              },
              "default": ""
            },
            {
              "displayName": "Field Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tableRecord"
          ],
          "operation": [
            "update"
          ],
          "dataToSend": [
            "columns"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a user"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a user"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a user"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many users"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Short Description",
      "name": "short_description",
      "type": "string",
      "default": "",
      "description": "Short description of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Active",
          "name": "active",
          "type": "boolean",
          "default": false,
          "description": "Whether to activate the user"
        },
        {
          "displayName": "Building",
          "name": "building",
          "type": "string",
          "default": "",
          "description": "The Building address"
        },
        {
          "displayName": "City",
          "name": "city",
          "type": "string",
          "default": "",
          "description": "City of the user"
        },
        {
          "displayName": "Company",
          "name": "company",
          "type": "string",
          "default": "",
          "description": "The name of the company for the user"
        },
        {
          "displayName": "Country",
          "name": "country",
          "type": "string",
          "default": "",
          "description": "Country of the user"
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": "",
          "description": "Department of the user"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "The email address associated with the user"
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": "",
          "description": "The first name of the user"
        },
        {
          "displayName": "Gender",
          "name": "gender",
          "type": "string",
          "default": "",
          "description": "The gender of the user"
        },
        {
          "displayName": "Home Phone",
          "name": "home_phone",
          "type": "string",
          "default": "",
          "description": "Home phone of the user"
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": "",
          "description": "The last name of the user"
        },
        {
          "displayName": "Location",
          "name": "location",
          "type": "string",
          "default": "",
          "description": "Location of the user"
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "description": "Manager of the user"
        },
        {
          "displayName": "Middle Name",
          "name": "middle_name",
          "type": "string",
          "default": "",
          "description": "The middle name of the user"
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone",
          "type": "string",
          "default": "",
          "description": "Mobile phone number of the user"
        },
        {
          "displayName": "Password",
          "name": "user_password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "description": "The user's password"
        },
        {
          "displayName": "Password Needs Reset",
          "name": "password_needs_reset",
          "type": "boolean",
          "default": false,
          "description": "Whether to require a password reset when the user logs in"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "The main phone number of the user"
        },
        {
          "displayName": "Role Names or IDs",
          "name": "roles",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getUserRoles"
          },
          "default": [],
          "description": "Roles of the user. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Source",
          "name": "source",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "string",
          "default": "",
          "description": "State for the user"
        },
        {
          "displayName": "Street",
          "name": "street",
          "type": "string",
          "default": "",
          "description": "Street information for the user separated by comma"
        },
        {
          "displayName": "Username",
          "name": "user_name",
          "type": "string",
          "default": "",
          "description": "A username associated with the user (e.g. user_name.123)"
        },
        {
          "displayName": "Zip Code",
          "name": "zip",
          "type": "string",
          "default": "",
          "description": "Zip code for the user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "user"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "user"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns",
            "loadOptionsDependsOn": [
              "operation"
            ]
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Retrieve Identifier",
      "name": "getOption",
      "type": "options",
      "default": "id",
      "description": "Unique identifier of the user",
      "options": [
        {
          "name": "ID",
          "value": "id"
        },
        {
          "name": "Username",
          "value": "user_name"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Username",
      "name": "user_name",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ],
          "getOption": [
            "user_name"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ],
          "getOption": [
            "id"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns",
            "loadOptionsDependsOn": [
              "operation"
            ]
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Active",
          "name": "active",
          "type": "boolean",
          "default": false,
          "description": "Whether to activate the user"
        },
        {
          "displayName": "Building",
          "name": "building",
          "type": "string",
          "default": "",
          "description": "The Building address"
        },
        {
          "displayName": "City",
          "name": "city",
          "type": "string",
          "default": "",
          "description": "City of the user"
        },
        {
          "displayName": "Company",
          "name": "company",
          "type": "string",
          "default": "",
          "description": "The name of the company for the user"
        },
        {
          "displayName": "Country",
          "name": "country",
          "type": "string",
          "default": "",
          "description": "Country of the user"
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": "",
          "description": "Department of the user"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "The email address associated with the user"
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": "",
          "description": "The first name of the user"
        },
        {
          "displayName": "Gender",
          "name": "gender",
          "type": "string",
          "default": "",
          "description": "The gender of the user"
        },
        {
          "displayName": "Home Phone",
          "name": "home_phone",
          "type": "string",
          "default": "",
          "description": "Home phone of the user"
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": "",
          "description": "The last name of the user"
        },
        {
          "displayName": "Location",
          "name": "location",
          "type": "string",
          "default": "",
          "description": "Location of the user"
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "description": "Manager of the user"
        },
        {
          "displayName": "Middle Name",
          "name": "middle_name",
          "type": "string",
          "default": "",
          "description": "The middle name of the user"
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone",
          "type": "string",
          "default": "",
          "description": "Mobile phone number of the user"
        },
        {
          "displayName": "Password",
          "name": "user_password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "description": "The user's password"
        },
        {
          "displayName": "Password Needs Reset",
          "name": "password_needs_reset",
          "type": "boolean",
          "default": false,
          "description": "Whether to require a password reset when the user logs in"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "The main phone number of the user"
        },
        {
          "displayName": "Role Names or IDs",
          "name": "roles",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getUserRoles"
          },
          "default": [],
          "description": "Roles of the user. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Source",
          "name": "source",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "string",
          "default": "",
          "description": "State for the user"
        },
        {
          "displayName": "Street",
          "name": "street",
          "type": "string",
          "default": "",
          "description": "Street information for the user separated by comma"
        },
        {
          "displayName": "Username",
          "name": "user_name",
          "type": "string",
          "default": "",
          "description": "A username associated with the user (e.g. user_name.123)"
        },
        {
          "displayName": "Zip Code",
          "name": "zip",
          "type": "string",
          "default": "",
          "description": "Zip code for the user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many user groups"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "userGroup"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "userGroup"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many user roles"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userRole"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "userRole"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "userRole"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Reference Link",
          "name": "sysparm_exclude_reference_link",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude Table API links for reference fields"
        },
        {
          "displayName": "Field Names or IDs",
          "name": "sysparm_fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns"
          },
          "default": [],
          "description": "A list of fields to return. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "hint": "String of comma separated values or an array of strings can be set in an expression"
        },
        {
          "displayName": "Filter",
          "name": "sysparm_query",
          "type": "string",
          "default": "",
          "description": "An encoded query string used to filter the results. <a href=\"https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters\">More info</a>."
        },
        {
          "displayName": "Return Values",
          "name": "sysparm_display_value",
          "type": "options",
          "options": [
            {
              "name": "Actual Values",
              "value": "false"
            },
            {
              "name": "Both",
              "value": "all"
            },
            {
              "name": "Display Values",
              "value": "true"
            }
          ],
          "default": "false",
          "description": "Choose which values to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userRole"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "upload",
      "name": "Upload",
      "description": "Upload an attachment to a specific table record",
      "resource": "attachment"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an attachment",
      "resource": "attachment"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an attachment",
      "resource": "attachment"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many attachments on a table",
      "resource": "attachment"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "businessService"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "configurationItems"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "department"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "dictionary"
    },
    {
      "operation": "create",
      "name": "Create",
      "resource": "incident"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "resource": "incident"
    },
    {
      "operation": "get",
      "name": "Get",
      "resource": "incident"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "incident"
    },
    {
      "operation": "update",
      "name": "Update",
      "resource": "incident"
    },
    {
      "operation": "create",
      "name": "Create",
      "resource": "tableRecord"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "resource": "tableRecord"
    },
    {
      "operation": "get",
      "name": "Get",
      "resource": "tableRecord"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "tableRecord"
    },
    {
      "operation": "update",
      "name": "Update",
      "resource": "tableRecord"
    },
    {
      "operation": "create",
      "name": "Create",
      "resource": "user"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "resource": "user"
    },
    {
      "operation": "get",
      "name": "Get",
      "resource": "user"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "user"
    },
    {
      "operation": "update",
      "name": "Update",
      "resource": "user"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "userGroup"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "resource": "userRole"
    }
  ]

credentials_required:
  [
    {
      "name": "serviceNowOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    },
    {
      "name": "serviceNowBasicApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "basicAuth"
          ]
        }
      }
    }
  ]


node_type: nodes-base.set
package_name: n8n-nodes-base
display_name: Set
description: Add or edit fields on an input item and optionally remove other fields
category: input
development_style: programmatic
version: 3.4
operations: []
credentials_required: []
outputs:
  [
  "main"
  ]

updated_at: 2026-04-16 09:43:09
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Edit Fields (Set)
  description: Documentation for the Edit Fields node in n8n, a workflow automation platform. Includes guidance on usage, and links to examples.
  contentType: [integration, reference]
  priority: critical
  ---

  # Edit Fields (Set)

  Use the Edit Fields node to set workflow data. This node can set new data as well as overwrite data that already exists. This node is crucial in workflows which expect incoming data from previous nodes, such as when inserting values to Google Sheets or databases.

  ## Node parameters

  These are the settings and options available in the Edit Fields node.

  ### Mode

  You can either use **Manual Mapping** to edit fields using the GUI or **JSON Output** to write JSON that n8n adds to the input data.

  ### Fields to Set

  If you select **Mode** > **Manual Mapping**, you can configure the fields by dragging and dropping values from **INPUT**.

  The default behavior when you drag a value is:

  * n8n sets the value's name as the field name.
  * The field value contains an expression which accesses the value.

  If you don't want to use expressions:

  1. Hover over a field. n8n displays the **Fixed | Expressions** toggle. 
  1. Select **Fixed**.

  You can do this for both the name and value of the field.

  ![A gif showing the drag and drop action, as well as changing a field to fixed](/_images/integrations/builtin/core-nodes/set/drag-drop-fixed-toggle.gif)

  ### Keep Only Set Fields

  Enable this to discard any input data that you don't use in **Fields to Set**.

  ### Include in Output

  Choose which input data to include in the node's output data.

  ## Node options

  Use these options to customize the behavior of the node.

  ### Include Binary Data

  If the input data includes binary data, choose whether to include it in the Edit Fields node's output data.

  ### Ignore Type Conversion Errors

  Manual Mapping only.

  Enabling this allows n8n to ignore some data type errors when mapping fields.

  ### Support Dot Notation

  By default, n8n supports dot notation.

  For example, when using manual mapping, the node follows the dot notation for the **Name** field. That means if you set the name in the **Name** field as `number.one` and the value in the **Value** field as `20`, the resulting JSON is:

  ```json
  { "number": { "one": 20} }
  ```

  You can prevent this behavior by selecting **Add Option** > **Support Dot Notation**, and setting the **Dot Notion** field to off. Now the resulting JSON is:

  ```json
  { "number.one": 20 }
  ```
  ## Templates and examples

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

  ## Arrays and expressions in JSON Output mode

  You can use arrays and expressions when creating your JSON Output.

  For example, given this input data generated by the Customer Datastore node:

  ```json
  [
    {
      "id": "23423532",
      "name": "Jay Gatsby",
      "email": "gatsby@west-egg.com",
      "notes": "Keeps asking about a green light??",
      "country": "US",
      "created": "1925-04-10"
    },
    {
      "id": "23423533",
      "name": "José Arcadio Buendía",
      "email": "jab@macondo.co",
      "notes": "Lots of people named after him. Very confusing",
      "country": "CO",
      "created": "1967-05-05"
    },
    {
      "id": "23423534",
      "name": "Max Sendak",
      "email": "info@in-and-out-of-weeks.org",
      "notes": "Keeps rolling his terrible eyes",
      "country": "US",
      "created": "1963-04-09"
    },
    {
      "id": "23423535",
      "name": "Zaphod Beeblebrox",
      "email": "captain@heartofgold.com",
      "notes": "Felt like I was talking to more than one person",
      "country": null,
      "created": "1979-10-12"
    },
    {
      "id": "23423536",
      "name": "Edmund Pevensie",
      "email": "edmund@narnia.gov",
      "notes": "Passionate sailor",
      "country": "UK",
      "created": "1950-10-16"
    }
  ]
  ```

  Add the following JSON in the **JSON Output** field, with **Include in Output** set to **All Input Fields**:

  ```json
  {
    "newKey": "new value",
    "array": [{{ $json.id }},"{{ $json.name }}"],
    "object": {
      "innerKey1": "new value",
      "innerKey2": "{{ $json.id }}",
      "innerKey3": "{{ $json.name }}",
   }
  }
  ```

  You get this output:

  ```json
  [
    {
      "id": "23423532",
      "name": "Jay Gatsby",
      "email": "gatsby@west-egg.com",
      "notes": "Keeps asking about a green light??",
      "country": "US",
      "created": "1925-04-10",
      "newKey": "new value",
      "array": [
        23423532,
        "Jay Gatsby"
      ],
      "object": {
        "innerKey1": "new value",
        "innerKey2": "23423532",
        "innerKey3": "Jay Gatsby"
      }
    },
    {
      "id": "23423533",
      "name": "José Arcadio Buendía",
      "email": "jab@macondo.co",
      "notes": "Lots of people named after him. Very confusing",
      "country": "CO",
      "created": "1967-05-05",
      "newKey": "new value",
      "array": [
        23423533,
        "José Arcadio Buendía"
      ],
      "object": {
        "innerKey1": "new value",
        "innerKey2": "23423533",
        "innerKey3": "José Arcadio Buendía"
      }
    },
    {
      "id": "23423534",
      "name": "Max Sendak",
      "email": "info@in-and-out-of-weeks.org",
      "notes": "Keeps rolling his terrible eyes",
      "country": "US",
      "created": "1963-04-09",
      "newKey": "new value",
      "array": [
        23423534,
        "Max Sendak"
      ],
      "object": {
        "innerKey1": "new value",
        "innerKey2": "23423534",
        "innerKey3": "Max Sendak"
      }
    },
    {
      "id": "23423535",
      "name": "Zaphod Beeblebrox",
      "email": "captain@heartofgold.com",
      "notes": "Felt like I was talking to more than one person",
      "country": null,
      "created": "1979-10-12",
      "newKey": "new value",
      "array": [
        23423535,
        "Zaphod Beeblebrox"
      ],
      "object": {
        "innerKey1": "new value",
        "innerKey2": "23423535",
        "innerKey3": "Zaphod Beeblebrox"
      }
    },
    {
      "id": "23423536",
      "name": "Edmund Pevensie",
      "email": "edmund@narnia.gov",
      "notes": "Passionate sailor",
      "country": "UK",
      "created": "1950-10-16",
      "newKey": "new value",
      "array": [
        23423536,
        "Edmund Pevensie"
      ],
      "object": {
        "innerKey1": "new value",
        "innerKey2": "23423536",
        "innerKey3": "Edmund Pevensie"
      }
    }
  ]
  ```

properties_schema:
  [
    {
      "displayName": "Mode",
      "name": "mode",
      "type": "options",
      "default": "manual",
      "options": [
        {
          "name": "Manual Mapping",
          "value": "manual",
          "description": "Edit item fields one by one",
          "action": "Edit item fields one by one"
        },
        {
          "name": "JSON",
          "value": "raw",
          "description": "Customize item output with JSON",
          "action": "Customize item output with JSON"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Duplicate Item",
      "name": "duplicateItem",
      "type": "boolean",
      "default": false,
      "description": "Whether this item should be duplicated a set number of times"
    },
    {
      "displayName": "Duplicate Item Count",
      "name": "duplicateCount",
      "type": "number",
      "default": 0,
      "description": "How many times the item should be duplicated, mainly used for testing and debugging",
      "displayOptions": {
        "show": {
          "duplicateItem": [
            true
          ]
        }
      },
      "typeOptions": {
        "minValue": 0
      }
    },
    {
      "displayName": "Item duplication is set in the node settings. This option will be ignored when the workflow runs automatically.",
      "name": "duplicateWarning",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "duplicateItem": [
            true
          ]
        }
      }
    },
    {
      "displayName": "JSON",
      "name": "jsonOutput",
      "type": "json",
      "default": "{\n  \"my_field_1\": \"value\",\n  \"my_field_2\": 1\n}\n",
      "displayOptions": {
        "show": {
          "mode": [
            "raw"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Fields to Set",
      "name": "fields",
      "type": "fixedCollection",
      "default": {},
      "description": "Edit existing fields or add new ones to modify the output data",
      "options": [
        {
          "name": "values",
          "displayName": "Values",
          "values": [
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "placeholder": "e.g. fieldName",
              "description": "Name of the field to set the value of. Supports dot-notation. Example: data.person[0].name.",
              "requiresDataPath": "single"
            },
            {
              "displayName": "Type",
              "name": "type",
              "type": "options",
              "description": "The field value type",
              "options": [
                {
                  "name": "String",
                  "value": "stringValue"
                },
                {
                  "name": "Number",
                  "value": "numberValue"
                },
                {
                  "name": "Boolean",
                  "value": "booleanValue"
                },
                {
                  "name": "Array",
                  "value": "arrayValue"
                },
                {
                  "name": "Object",
                  "value": "objectValue"
                }
              ],
              "default": "stringValue"
            },
            {
              "displayName": "Value",
              "name": "stringValue",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "type": [
                    "stringValue"
                  ]
                }
              },
              "validateType": "string",
              "ignoreValidationDuringExecution": true
            },
            {
              "displayName": "Value",
              "name": "numberValue",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "type": [
                    "numberValue"
                  ]
                }
              },
              "validateType": "number",
              "ignoreValidationDuringExecution": true
            },
            {
              "displayName": "Value",
              "name": "booleanValue",
              "type": "options",
              "default": "true",
              "options": [
                {
                  "name": "True",
                  "value": "true"
                },
                {
                  "name": "False",
                  "value": "false"
                }
              ],
              "displayOptions": {
                "show": {
                  "type": [
                    "booleanValue"
                  ]
                }
              },
              "validateType": "boolean",
              "ignoreValidationDuringExecution": true
            },
            {
              "displayName": "Value",
              "name": "arrayValue",
              "type": "string",
              "default": "",
              "placeholder": "e.g. [ arrayItem1, arrayItem2, arrayItem3 ]",
              "displayOptions": {
                "show": {
                  "type": [
                    "arrayValue"
                  ]
                }
              },
              "validateType": "array",
              "ignoreValidationDuringExecution": true
            },
            {
              "displayName": "Value",
              "name": "objectValue",
              "type": "json",
              "default": "={}",
              "typeOptions": {
                "rows": 2
              },
              "displayOptions": {
                "show": {
                  "type": [
                    "objectValue"
                  ]
                }
              },
              "validateType": "object",
              "ignoreValidationDuringExecution": true
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            3,
            3.1,
            3.2
          ],
          "mode": [
            "manual"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true
      }
    },
    {
      "displayName": "Fields to Set",
      "name": "assignments",
      "type": "assignmentCollection",
      "default": {},
      "displayOptions": {
        "hide": {
          "@version": [
            3,
            3.1,
            3.2
          ]
        },
        "show": {
          "mode": [
            "manual"
          ]
        }
      }
    },
    {
      "displayName": "Include in Output",
      "name": "include",
      "type": "options",
      "default": "all",
      "description": "How to select the fields you want to include in your output items",
      "options": [
        {
          "name": "All Input Fields",
          "value": "all",
          "description": "Also include all unchanged fields from the input"
        },
        {
          "name": "No Input Fields",
          "value": "none",
          "description": "Include only the fields specified above"
        },
        {
          "name": "Selected Input Fields",
          "value": "selected",
          "description": "Also include the fields listed in the parameter “Fields to Include”"
        },
        {
          "name": "All Input Fields Except",
          "value": "except",
          "description": "Exclude the fields listed in the parameter “Fields to Exclude”"
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            3,
            3.1,
            3.2
          ]
        }
      }
    },
    {
      "displayName": "Include Other Input Fields",
      "name": "includeOtherFields",
      "type": "boolean",
      "default": false,
      "description": "Whether to pass to the output all the input fields (along with the fields set in 'Fields to Set')",
      "displayOptions": {
        "hide": {
          "@version": [
            3,
            3.1,
            3.2
          ]
        }
      }
    },
    {
      "displayName": "Input Fields to Include",
      "name": "include",
      "type": "options",
      "default": "all",
      "description": "How to select the fields you want to include in your output items",
      "options": [
        {
          "name": "All",
          "value": "all",
          "description": "Also include all unchanged fields from the input"
        },
        {
          "name": "Selected",
          "value": "selected",
          "description": "Also include the fields listed in the parameter “Fields to Include”"
        },
        {
          "name": "All Except",
          "value": "except",
          "description": "Exclude the fields listed in the parameter “Fields to Exclude”"
        }
      ],
      "displayOptions": {
        "hide": {
          "@version": [
            3,
            3.1,
            3.2
          ],
          "/includeOtherFields": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Fields to Include",
      "name": "includeFields",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the field names you want to include in the output. You can drag the selected fields from the input panel.",
      "displayOptions": {
        "show": {
          "include": [
            "selected"
          ],
          "@version": [
            3,
            3.1,
            3.2
          ]
        }
      }
    },
    {
      "displayName": "Fields to Exclude",
      "name": "excludeFields",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the field names you want to exclude from the output. You can drag the selected fields from the input panel.",
      "displayOptions": {
        "show": {
          "include": [
            "except"
          ],
          "@version": [
            3,
            3.1,
            3.2
          ]
        }
      }
    },
    {
      "displayName": "Fields to Include",
      "name": "includeFields",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the field names you want to include in the output. You can drag the selected fields from the input panel.",
      "displayOptions": {
        "show": {
          "include": [
            "selected"
          ],
          "/includeOtherFields": [
            true
          ]
        },
        "hide": {
          "@version": [
            3,
            3.1,
            3.2
          ]
        }
      }
    },
    {
      "displayName": "Fields to Exclude",
      "name": "excludeFields",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the field names you want to exclude from the output. You can drag the selected fields from the input panel.",
      "displayOptions": {
        "show": {
          "include": [
            "except"
          ],
          "/includeOtherFields": [
            true
          ]
        },
        "hide": {
          "@version": [
            3,
            3.1,
            3.2
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Binary File",
          "name": "includeBinary",
          "type": "boolean",
          "default": true,
          "displayOptions": {
            "hide": {
              "@version": [
                {
                  "_cnd": {
                    "gte": 3.4
                  }
                }
              ]
            }
          },
          "description": "Whether binary data should be included if present in the input item"
        },
        {
          "displayName": "Strip Binary Data",
          "name": "stripBinary",
          "type": "boolean",
          "default": true,
          "description": "Whether binary data should be stripped from the input item. Only applies when \"Include Other Input Fields\" is enabled.",
          "displayOptions": {
            "show": {
              "@version": [
                {
                  "_cnd": {
                    "gte": 3.4
                  }
                }
              ],
              "/includeOtherFields": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Ignore Type Conversion Errors",
          "name": "ignoreConversionErrors",
          "type": "boolean",
          "default": false,
          "description": "Whether to ignore field type errors and apply a less strict type conversion",
          "displayOptions": {
            "show": {
              "/mode": [
                "manual"
              ]
            }
          }
        },
        {
          "displayName": "Support Dot Notation",
          "name": "dotNotation",
          "type": "boolean",
          "default": true,
          "description": "By default, dot-notation is used in property names. This means that \"a.b\" will set the property \"b\" underneath \"a\" so { \"a\": { \"b\": value} }. If that is not intended this can be deactivated, it will then set { \"a.b\": value } instead."
        }
      ]
    }
  ]


node_type: nodes-base.shopifyTool
package_name: n8n-nodes-base
display_name: Shopify Tool
description: Consume Shopify API (AI Tool variant for use with AI Agents)
category: output
development_style: programmatic
version: 1
outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-04-16 09:43:09
tool_variant_of: nodes-base.shopify
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Shopify node documentation
  description: Learn how to use the Shopify node in n8n. Follow technical documentation to integrate Shopify node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Shopify node

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

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

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

  ## Operations

  * Order
      * Create an order
      * Delete an order
      * Get an order
      * Get all orders
      * Update an order
  * Product
      * Create a product
      * Delete a product
      * Get a product
      * Get all products
      * Update a product

  ## Templates and examples

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

  --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 Shopify"
    },
    {
      "displayName": "Shopify API Version: 2024-07",
      "name": "apiVersion",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "apiKey",
      "options": [
        {
          "name": "Access Token",
          "value": "accessToken"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        },
        {
          "name": "API Key",
          "value": "apiKey"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "order",
      "options": [
        {
          "name": "Order",
          "value": "order"
        },
        {
          "name": "Product",
          "value": "product"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an order",
          "action": "Create an order"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an order",
          "action": "Delete an order"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an order",
          "action": "Get an order"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many orders",
          "action": "Get many orders"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an order",
          "action": "Update an order"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Billing Address",
          "name": "billingAddressUi",
          "placeholder": "Add Billing Address",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "name": "billingAddressValues",
              "displayName": "Billing Address",
              "values": [
                {
                  "displayName": "First Name",
                  "name": "firstName",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Last Name",
                  "name": "lastName",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Company",
                  "name": "company",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 1",
                  "name": "address1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 2",
                  "name": "address2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Province",
                  "name": "province",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zip",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Phone",
                  "name": "phone",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Discount Codes",
          "name": "discountCodesUi",
          "placeholder": "Add Discount Code",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "name": "discountCodesValues",
              "displayName": "Discount Code",
              "values": [
                {
                  "displayName": "Amount",
                  "name": "amount",
                  "type": "string",
                  "default": "",
                  "description": "The amount that's deducted from the order total"
                },
                {
                  "displayName": "Code",
                  "name": "code",
                  "type": "string",
                  "default": "",
                  "description": "When the associated discount application is of type code"
                },
                {
                  "displayName": "Type",
                  "name": "type",
                  "type": "options",
                  "options": [
                    {
                      "name": "Fixed Amount",
                      "value": "fixedAmount",
                      "description": "Applies amount as a unit of the store's currency"
                    },
                    {
                      "name": "Percentage",
                      "value": "percentage",
                      "description": "Applies a discount of amount as a percentage of the order total"
                    },
                    {
                      "name": "Shipping",
                      "value": "shipping",
                      "description": "Applies a free shipping discount on orders that have a shipping rate less than or equal to amount"
                    }
                  ],
                  "default": "fixedAmount",
                  "description": "When the associated discount application is of type code"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "The customer's email address"
        },
        {
          "displayName": "Fulfillment Status",
          "name": "fulfillmentStatus",
          "type": "options",
          "options": [
            {
              "name": "Fulfilled",
              "value": "fulfilled",
              "description": "Every line item in the order has been fulfilled"
            },
            {
              "name": "Null",
              "value": "null",
              "description": "None of the line items in the order have been fulfilled"
            },
            {
              "name": "Partial",
              "value": "partial",
              "description": "At least one line item in the order has been fulfilled"
            },
            {
              "name": "Restocked",
              "value": "restocked",
              "description": "Every line item in the order has been restocked and the order canceled"
            }
          ],
          "default": "",
          "description": "The order's status in terms of fulfilled line items"
        },
        {
          "displayName": "Inventory Behaviour",
          "name": "inventoryBehaviour",
          "type": "options",
          "options": [
            {
              "name": "Bypass",
              "value": "bypass",
              "description": "Do not claim inventory"
            },
            {
              "name": "Decrement Ignoring Policy",
              "value": "decrementIgnoringPolicy",
              "description": "Ignore the product's inventory policy and claim inventory"
            },
            {
              "name": "Decrement Obeying Policy",
              "value": "decrementObeyingPolicy",
              "description": "Follow the product's inventory policy and claim inventory, if possible"
            }
          ],
          "default": "bypass",
          "description": "The behaviour to use when updating inventory"
        },
        {
          "displayName": "Location Name or ID",
          "name": "locationId",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          },
          "default": "",
          "description": "The ID of the physical location where the order was processed. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Note",
          "name": "note",
          "type": "string",
          "default": "",
          "description": "An optional note that a shop owner can attach to the order"
        },
        {
          "displayName": "Send Fulfillment Receipt",
          "name": "sendFulfillmentReceipt",
          "type": "boolean",
          "default": false,
          "description": "Whether to send a shipping confirmation to the customer"
        },
        {
          "displayName": "Send Receipt",
          "name": "sendReceipt",
          "type": "boolean",
          "default": false,
          "description": "Whether to send an order confirmation to the customer"
        },
        {
          "displayName": "Shipping Address",
          "name": "shippingAddressUi",
          "placeholder": "Add Shipping",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "name": "shippingAddressValues",
              "displayName": "Shipping Address",
              "values": [
                {
                  "displayName": "First Name",
                  "name": "firstName",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Last Name",
                  "name": "lastName",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Company",
                  "name": "company",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 1",
                  "name": "address1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 2",
                  "name": "address2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Province",
                  "name": "province",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zip",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Phone",
                  "name": "phone",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Source Name",
          "name": "sourceName",
          "type": "string",
          "default": "",
          "description": "Where the order originated. Can be set only during order creation, and is not writeable afterwards."
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "description": "Tags attached to the order, formatted as a string of comma-separated values"
        },
        {
          "displayName": "Test",
          "name": "test",
          "type": "boolean",
          "default": false,
          "description": "Whether this is a test order"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "order"
          ]
        }
      }
    },
    {
      "displayName": "Line Items",
      "name": "limeItemsUi",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Line Item",
          "name": "lineItemValues",
          "values": [
            {
              "displayName": "Product Name or ID",
              "name": "productId",
              "type": "options",
              "typeOptions": {
                "loadOptionsMethod": "getProducts"
              },
              "default": "",
              "description": "The ID of the product that the line item belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
            },
            {
              "displayName": "Variant ID",
              "name": "variantId",
              "type": "string",
              "default": "",
              "description": "The ID of the product variant"
            },
            {
              "displayName": "Title",
              "name": "title",
              "type": "string",
              "default": "",
              "description": "The title of the product"
            },
            {
              "displayName": "Grams",
              "name": "grams",
              "type": "string",
              "default": "",
              "description": "The weight of the item in grams"
            },
            {
              "displayName": "Quantity",
              "name": "quantity",
              "type": "number",
              "typeOptions": {
                "minValue": 1
              },
              "default": 1,
              "description": "The number of items that were purchased"
            },
            {
              "displayName": "Price",
              "name": "price",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "Fields the order will return, formatted as a string of comma-separated values. By default all the fields are returned."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "order"
          ]
        }
      }
    },
    {
      "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": [
            "order"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 250
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attribution App ID",
          "name": "attributionAppId",
          "type": "string",
          "default": "",
          "description": "Show orders attributed to a certain app, specified by the app ID. Set as current to show orders for the app currently consuming the API."
        },
        {
          "displayName": "Created At Min",
          "name": "createdAtMin",
          "type": "dateTime",
          "default": "",
          "description": "Show orders created at or after date"
        },
        {
          "displayName": "Created At Max",
          "name": "createdAtMax",
          "type": "dateTime",
          "default": "",
          "description": "Show orders created at or before date"
        },
        {
          "displayName": "Financial Status",
          "name": "financialStatus",
          "type": "options",
          "options": [
            {
              "name": "Any",
              "value": "any",
              "description": "Show orders of any financial status"
            },
            {
              "name": "Authorized",
              "value": "authorized",
              "description": "Show only authorized orders"
            },
            {
              "name": "Paid",
              "value": "paid",
              "description": "Show only paid orders"
            },
            {
              "name": "Partially Paid",
              "value": "partiallyPaid",
              "description": "Show only partially paid orders"
            },
            {
              "name": "Partially Refunded",
              "value": "partiallyRefunded",
              "description": "Show only partially refunded orders"
            },
            {
              "name": "Pending",
              "value": "pending",
              "description": "Show only pending orders"
            },
            {
              "name": "Refunded",
              "value": "refunded",
              "description": "Show only refunded orders"
            },
            {
              "name": "Unpaid",
              "value": "unpaid",
              "description": "Show authorized and partially paid orders"
            },
            {
              "name": "Voided",
              "value": "voided",
              "description": "Show only voided orders"
            }
          ],
          "default": "any",
          "description": "Filter orders by their financial status"
        },
        {
          "displayName": "Fulfillment Status",
          "name": "fulfillmentStatus",
          "type": "options",
          "options": [
            {
              "name": "Any",
              "value": "any",
              "description": "Show orders of any fulfillment status"
            },
            {
              "name": "Partial",
              "value": "partial",
              "description": "Show partially shipped orders"
            },
            {
              "name": "Shipped",
              "value": "shipped",
              "description": "Show orders that have been shipped. Returns orders with fulfillment_status of fulfilled."
            },
            {
              "name": "Unfulfilled",
              "value": "unfulfilled",
              "description": "Returns orders with fulfillment_status of null or partial"
            },
            {
              "name": "Unshipped",
              "value": "unshipped",
              "description": "Show orders that have not yet been shipped. Returns orders with fulfillment_status of null."
            }
          ],
          "default": "any",
          "description": "Filter orders by their fulfillment status"
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "Fields the orders will return, formatted as a string of comma-separated values. By default all the fields are returned."
        },
        {
          "displayName": "IDs",
          "name": "ids",
          "type": "string",
          "default": "",
          "description": "Retrieve only orders specified by a comma-separated list of order IDs"
        },
        {
          "displayName": "Processed At Max",
          "name": "processedAtMax",
          "type": "dateTime",
          "default": "",
          "description": "Show orders imported at or before date"
        },
        {
          "displayName": "Processed At Min",
          "name": "processedAtMin",
          "type": "dateTime",
          "default": "",
          "description": "Show orders imported at or after date"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Any",
              "value": "any",
              "description": "Show orders of any status, including archived orders"
            },
            {
              "name": "Cancelled",
              "value": "Cancelled",
              "description": "Show only canceled orders"
            },
            {
              "name": "Closed",
              "value": "closed",
              "description": "Show only closed orders"
            },
            {
              "name": "Open",
              "value": "open",
              "description": "Show only open orders"
            }
          ],
          "default": "open",
          "description": "Filter orders by their status"
        },
        {
          "displayName": "Since ID",
          "name": "sinceId",
          "type": "string",
          "default": "",
          "description": "Show orders after the specified ID"
        },
        {
          "displayName": "Updated At Max",
          "name": "updatedAtMax",
          "type": "dateTime",
          "default": "",
          "description": "Show orders last updated at or after date"
        },
        {
          "displayName": "Updated At Min",
          "name": "updatedAtMin",
          "type": "dateTime",
          "default": "",
          "description": "Show orders last updated at or before date"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "order"
          ]
        }
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "The customer's email address"
        },
        {
          "displayName": "Location Name or ID",
          "name": "locationId",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          },
          "default": "",
          "description": "The ID of the physical location where the order was processed. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Note",
          "name": "note",
          "type": "string",
          "default": "",
          "description": "An optional note that a shop owner can attach to the order"
        },
        {
          "displayName": "Shipping Address",
          "name": "shippingAddressUi",
          "placeholder": "Add Shipping",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "name": "shippingAddressValues",
              "displayName": "Shipping Address",
              "values": [
                {
                  "displayName": "First Name",
                  "name": "firstName",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Last Name",
                  "name": "lastName",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Company",
                  "name": "company",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 1",
                  "name": "address1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 2",
                  "name": "address2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Province",
                  "name": "province",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zip",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Phone",
                  "name": "phone",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Source Name",
          "name": "sourceName",
          "type": "string",
          "default": "",
          "description": "Where the order originated. Can be set only during order creation, and is not writeable afterwards."
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "description": "Tags attached to the order, formatted as a string of comma-separated values"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "order"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a product",
          "action": "Create a product"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a product",
          "action": "Delete a product"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a product",
          "action": "Get a product"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many products",
          "action": "Get many products"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a product",
          "action": "Update a product"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "The name of the product",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "product"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Body HTML",
          "name": "body_html",
          "type": "string",
          "default": "",
          "description": "A description of the product. Supports HTML formatting."
        },
        {
          "displayName": "Handle",
          "name": "handle",
          "type": "string",
          "default": "",
          "description": "A unique human-friendly string for the product. Automatically generated from the product's title. Used by the Liquid templating language to refer to objects."
        },
        {
          "displayName": "Images",
          "name": "images",
          "type": "collection",
          "placeholder": "Add Image Field",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "description": "A list of product image objects, each one representing an image associated with the product",
          "options": [
            {
              "displayName": "Created At",
              "name": "created_at",
              "type": "dateTime",
              "default": "",
              "description": "The date and time when the product image was created"
            },
            {
              "displayName": "ID",
              "name": "id",
              "type": "number",
              "default": "",
              "description": "A unique numeric identifier for the product image"
            },
            {
              "displayName": "Position",
              "name": "position",
              "type": "number",
              "default": "",
              "description": "The order of the product image in the list. The first product image is at position 1 and is the \"main\" image for the product."
            },
            {
              "displayName": "Product ID",
              "name": "product_id",
              "type": "number",
              "default": "",
              "description": "The ID of the product associated with the image"
            },
            {
              "displayName": "Variant IDs",
              "name": "variant_ids",
              "type": "number",
              "typeOptions": {
                "multipleValues": true
              },
              "default": "",
              "description": "An array of variant IDs associated with the image"
            },
            {
              "displayName": "Source",
              "name": "src",
              "type": "string",
              "default": "",
              "description": "<p>Specifies the location of the product image. This parameter supports URL filters that you can use to retrieve modified copies of the image.</p><p>For example, add _small, to the filename to retrieve a scaled copy of the image at 100 x 100 px (for example, ipod-nano_small.png), or add _2048x2048 to retrieve a copy of the image constrained at 2048 x 2048 px resolution (for example, ipod-nano_2048x2048.png).</p>."
            },
            {
              "displayName": "Width",
              "name": "width",
              "type": "number",
              "default": "",
              "description": "Width dimension of the image which is determined on upload"
            },
            {
              "displayName": "Height",
              "name": "height",
              "type": "number",
              "default": "",
              "description": "Height dimension of the image which is determined on upload"
            },
            {
              "displayName": "Updated At",
              "name": "updated_at",
              "type": "dateTime",
              "default": "",
              "description": "The date and time when the product image was last modified"
            }
          ]
        },
        {
          "displayName": "Options",
          "name": "productOptions",
          "type": "fixedCollection",
          "placeholder": "Add option",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "description": "The custom product property names like Size, Color, and Material. You can add up to 3 options of up to 255 characters each.",
          "options": [
            {
              "displayName": "Option",
              "name": "option",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Option's name"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Option's values"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Product Type",
          "name": "product_type",
          "type": "string",
          "default": "",
          "description": "A categorization for the product used for filtering and searching products"
        },
        {
          "displayName": "Published At",
          "name": "published_at",
          "type": "dateTime",
          "default": "",
          "description": "The date and time (ISO 8601 format) when the product was published. Can be set to null to unpublish the product from the Online Store channel."
        },
        {
          "displayName": "Published Scope",
          "name": "published_scope",
          "type": "options",
          "default": "",
          "options": [
            {
              "name": "Global",
              "value": "global",
              "description": "The product is published to both the Online Store channel and the Point of Sale channel"
            },
            {
              "name": "Web",
              "value": "web",
              "description": "The product is published to the Online Store channel but not published to the Point of Sale channel"
            }
          ]
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "description": "A string of comma-separated tags that are used for filtering and search. A product can have up to 250 tags. Each tag can have up to 255 characters."
        },
        {
          "displayName": "Template Suffix",
          "name": "template_suffix",
          "type": "string",
          "default": "",
          "description": "The suffix of the Liquid template used for the product page. If this property is specified, then the product page uses a template called \"product.suffix.liquid\", where \"suffix\" is the value of this property. If this property is \"\" or null, then the product page uses the default template \"product.liquid\". (default: null)"
        },
        {
          "displayName": "Vendor",
          "name": "vendor",
          "type": "string",
          "default": "",
          "description": "The name of the product's vendor"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "product"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Body HTML",
          "name": "body_html",
          "type": "string",
          "default": "",
          "description": "A description of the product. Supports HTML formatting."
        },
        {
          "displayName": "Handle",
          "name": "handle",
          "type": "string",
          "default": "",
          "description": "A unique human-friendly string for the product. Automatically generated from the product's title. Used by the Liquid templating language to refer to objects."
        },
        {
          "displayName": "Images",
          "name": "images",
          "type": "collection",
          "placeholder": "Add Image Field",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "description": "A list of product image objects, each one representing an image associated with the product",
          "options": [
            {
              "displayName": "Created At",
              "name": "created_at",
              "type": "dateTime",
              "default": "",
              "description": "The date and time when the product image was created"
            },
            {
              "displayName": "ID",
              "name": "id",
              "type": "number",
              "default": "",
              "description": "A unique numeric identifier for the product image"
            },
            {
              "displayName": "Position",
              "name": "position",
              "type": "number",
              "default": "",
              "description": "The order of the product image in the list. The first product image is at position 1 and is the \"main\" image for the product."
            },
            {
              "displayName": "Product ID",
              "name": "product_id",
              "type": "number",
              "default": "",
              "description": "The ID of the product associated with the image"
            },
            {
              "displayName": "Variant IDs",
              "name": "variant_ids",
              "type": "number",
              "typeOptions": {
                "multipleValues": true
              },
              "default": "",
              "description": "An array of variant IDs associated with the image"
            },
            {
              "displayName": "Source",
              "name": "src",
              "type": "string",
              "default": "",
              "description": "<p>Specifies the location of the product image. This parameter supports URL filters that you can use to retrieve modified copies of the image.</p><p>For example, add _small, to the filename to retrieve a scaled copy of the image at 100 x 100 px (for example, ipod-nano_small.png), or add _2048x2048 to retrieve a copy of the image constrained at 2048 x 2048 px resolution (for example, ipod-nano_2048x2048.png).</p>."
            },
            {
              "displayName": "Width",
              "name": "width",
              "type": "number",
              "default": "",
              "description": "Width dimension of the image which is determined on upload"
            },
            {
              "displayName": "Height",
              "name": "height",
              "type": "number",
              "default": "",
              "description": "Height dimension of the image which is determined on upload"
            },
            {
              "displayName": "Updated At",
              "name": "updated_at",
              "type": "dateTime",
              "default": "",
              "description": "The date and time when the product image was last modified"
            }
          ]
        },
        {
          "displayName": "Options",
          "name": "productOptions",
          "type": "fixedCollection",
          "placeholder": "Add option",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "description": "The custom product property names like Size, Color, and Material. You can add up to 3 options of up to 255 characters each.",
          "options": [
            {
              "displayName": "Option",
              "name": "option",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Option's name"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Option's values"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Product Type",
          "name": "product_type",
          "type": "string",
          "default": "",
          "description": "A categorization for the product used for filtering and searching products"
        },
        {
          "displayName": "Published At",
          "name": "published_at",
          "type": "dateTime",
          "default": "",
          "description": "The date and time (ISO 8601 format) when the product was published. Can be set to null to unpublish the product from the Online Store channel."
        },
        {
          "displayName": "Published Scope",
          "name": "published_scope",
          "type": "options",
          "default": "",
          "options": [
            {
              "name": "Global",
              "value": "global",
              "description": "The product is published to both the Online Store channel and the Point of Sale channel"
            },
            {
              "name": "Web",
              "value": "web",
              "description": "The product is published to the Online Store channel but not published to the Point of Sale channel"
            }
          ]
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "description": "A string of comma-separated tags that are used for filtering and search. A product can have up to 250 tags. Each tag can have up to 255 characters."
        },
        {
          "displayName": "Template Suffix",
          "name": "template_suffix",
          "type": "string",
          "default": "",
          "description": "The suffix of the Liquid template used for the product page. If this property is specified, then the product page uses a template called \"product.suffix.liquid\", where \"suffix\" is the value of this property. If this property is \"\" or null, then the product page uses the default template \"product.liquid\". (default: null)"
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "The name of the product"
        },
        {
          "displayName": "Vendor",
          "name": "vendor",
          "type": "string",
          "default": "",
          "description": "The name of the product's vendor"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "product"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "Fields the product will return, formatted as a string of comma-separated values. By default all the fields are returned."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "product"
          ]
        }
      }
    },
    {
      "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": [
            "product"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 250
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Collection ID",
          "name": "collection_id",
          "type": "string",
          "default": "",
          "description": "Filter results by product collection ID"
        },
        {
          "displayName": "Created At Max",
          "name": "created_at_max",
          "type": "dateTime",
          "default": "",
          "description": "Show products created before date"
        },
        {
          "displayName": "Created At Min",
          "name": "created_at_min",
          "type": "dateTime",
          "default": "",
          "description": "Show products created after date"
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "Show only certain fields, specified by a comma-separated list of field names"
        },
        {
          "displayName": "Handle",
          "name": "handle",
          "type": "string",
          "default": "",
          "description": "Filter results by product handle"
        },
        {
          "displayName": "IDs",
          "name": "ids",
          "type": "string",
          "default": "",
          "description": "Return only products specified by a comma-separated list of product IDs"
        },
        {
          "displayName": "Presentment Currencies",
          "name": "presentment_currencies",
          "type": "string",
          "default": "",
          "description": "Return presentment prices in only certain currencies, specified by a comma-separated list of ISO 4217 currency codes"
        },
        {
          "displayName": "Product Type",
          "name": "product_type",
          "type": "string",
          "default": "",
          "description": "Filter results by product type"
        },
        {
          "displayName": "Published At Max",
          "name": "published_at_max",
          "type": "dateTime",
          "default": "",
          "description": "Show products published before date"
        },
        {
          "displayName": "Published At Min",
          "name": "published_at_min",
          "type": "dateTime",
          "default": "",
          "description": "Show products published after date"
        },
        {
          "displayName": "Published Status",
          "name": "published_status",
          "type": "options",
          "options": [
            {
              "name": "Any",
              "value": "any",
              "description": "Show all products"
            },
            {
              "name": "Published",
              "value": "published",
              "description": "Show only published products"
            },
            {
              "name": "Unpublished",
              "value": "unpublished",
              "description": "Show only unpublished products"
            }
          ],
          "default": "any",
          "description": "Return products by their published status"
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Filter results by product title"
        },
        {
          "displayName": "Updated At Max",
          "name": "updated_at_max",
          "type": "dateTime",
          "default": "",
          "description": "Show products last updated before date"
        },
        {
          "displayName": "Updated At Min",
          "name": "updated_at_min",
          "type": "dateTime",
          "default": "",
          "description": "Show products last updated after date"
        },
        {
          "displayName": "Vendor",
          "name": "vendor",
          "type": "string",
          "default": "",
          "description": "Filter results by product vendor"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "product"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an order",
      "resource": "order"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an order",
      "resource": "order"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an order",
      "resource": "order"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many orders",
      "resource": "order"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an order",
      "resource": "order"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a product",
      "resource": "product"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a product",
      "resource": "product"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a product",
      "resource": "product"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many products",
      "resource": "product"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a product",
      "resource": "product"
    }
  ]

credentials_required:
  [
    {
      "name": "shopifyApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "apiKey"
          ]
        }
      }
    },
    {
      "name": "shopifyAccessTokenApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "accessToken"
          ]
        }
      }
    },
    {
      "name": "shopifyOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    }
  ]


