# nodes

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

outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: SeaTable Trigger node documentation
  description: Learn how to use the SeaTable Trigger node in n8n. Follow technical documentation to integrate SeaTable Trigger node into your workflows.
  contentType: [integration, reference]
  ---

  # SeaTable Trigger node

  [SeaTable](https://seatable.io/en){:target=_blank .external-link} is a collaborative database application with a spreadsheet interface.

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

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

properties_schema:
  [
    {
      "displayName": "Event",
      "name": "event",
      "type": "options",
      "default": "newRow",
      "options": [
        {
          "name": "New Row",
          "value": "newRow",
          "description": "Trigger on newly created rows"
        },
        {
          "name": "New or Updated Row",
          "value": "updatedRow",
          "description": "Trigger has recently created or modified rows"
        },
        {
          "name": "New Signature",
          "value": "newAsset",
          "description": "Trigger on new signatures"
        }
      ]
    },
    {
      "displayName": "Table Name",
      "name": "tableName",
      "type": "options",
      "default": "",
      "description": "The name of SeaTable table to access. Choose from the list, or specify the name using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.",
      "required": true,
      "typeOptions": {
        "loadOptionsMethod": "getTableNames"
      }
    },
    {
      "displayName": "View Name",
      "name": "viewName",
      "type": "options",
      "default": "",
      "description": "The name of SeaTable view to access. Choose from the list, or specify the name using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "event": [
            "newRow",
            "updatedRow"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "tableName"
        ],
        "loadOptionsMethod": "getTableViews"
      }
    },
    {
      "displayName": "Signature Column",
      "name": "assetColumn",
      "type": "options",
      "default": "",
      "description": "Select the digital-signature column that should be tracked. Choose from the list, or specify the name using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "event": [
            "newAsset"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "tableName"
        ],
        "loadOptionsMethod": "getSignatureColumns"
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Simplify",
          "name": "simple",
          "type": "boolean",
          "default": true,
          "description": "Whether to return a simplified version of the response instead of the raw data"
        },
        {
          "displayName": "Return Column Names",
          "name": "convert",
          "type": "boolean",
          "default": true,
          "description": "Whether to return the column keys (false) or the column names (true)",
          "displayOptions": {
            "show": {
              "/event": [
                "newRow",
                "updatedRow"
              ]
            }
          }
        }
      ]
    },
    {
      "displayName": "\"Fetch Test Event\" returns max. three items of the last hour.",
      "name": "notice",
      "type": "notice",
      "default": ""
    }
  ]


node_type: nodes-base.securityScorecard
package_name: n8n-nodes-base
display_name: SecurityScorecard
description: Consume SecurityScorecard API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "securityScorecardApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: SecurityScorecard node documentation
  description: Learn how to use the SecurityScorecard node in n8n. Follow technical documentation to integrate SecurityScorecard node into your workflows.
  contentType: [integration, reference]
  ---

  # SecurityScorecard node

  Use the SecurityScorecard node to automate work in SecurityScorecard, and integrate SecurityScorecard with other applications. n8n has built-in support for a wide range of SecurityScorecard features, including creating, updating, deleting, and getting portfolio, as well as getting a company's data.

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

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

  ## Operations

  * Company
      * Get company factor scores and issue counts
      * Get company's historical factor scores
      * Get company's historical scores
      * Get company information and summary of their scorecard
      * Get company's score improvement plan
  * Industry
      * Get Factor Scores
      * Get Historical Factor Scores
      * Get Score
  * Invite
      * Create an invite for a company/user
  * Portfolio
      * Create a portfolio
      * Delete a portfolio
      * Get all portfolios
      * Update a portfolio
  * Portfolio Company
      * Add a company to portfolio
      * Get all companies in a portfolio
      * Remove a company from portfolio
  * Report
      * Download a generated report
      * Generate a report
      * Get list of recently generated report

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "company",
      "options": [
        {
          "name": "Company",
          "value": "company"
        },
        {
          "name": "Industry",
          "value": "industry"
        },
        {
          "name": "Invite",
          "value": "invite"
        },
        {
          "name": "Portfolio",
          "value": "portfolio"
        },
        {
          "name": "Portfolio Company",
          "value": "portfolioCompany"
        },
        {
          "name": "Report",
          "value": "report"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getFactor",
      "options": [
        {
          "name": "Get Factor Scores",
          "value": "getFactor",
          "description": "Get company factor scores and issue counts",
          "action": "Get a company factor scores and issue counts"
        },
        {
          "name": "Get Historical Factor Scores",
          "value": "getFactorHistorical",
          "description": "Get company's historical factor scores",
          "action": "Get a company's historical factor scores"
        },
        {
          "name": "Get Historical Scores",
          "value": "getHistoricalScore",
          "description": "Get company's historical scores",
          "action": "Get a company's historical scores"
        },
        {
          "name": "Get Information and Scorecard",
          "value": "getScorecard",
          "description": "Get company information and summary of their scorecard",
          "action": "Get company information and a summary of their scorecard"
        },
        {
          "name": "Get Score Plan",
          "value": "getScorePlan",
          "description": "Get company's score improvement plan",
          "action": "Get a company's score improvement plan"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Scorecard Identifier",
      "name": "scorecardIdentifier",
      "type": "string",
      "default": "",
      "description": "Primary identifier of a company or scorecard, i.e. domain.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getScorecard",
            "getFactor",
            "getFactorHistorical",
            "getHistoricalScore",
            "getScorePlan"
          ]
        }
      }
    },
    {
      "displayName": "Score",
      "name": "score",
      "type": "number",
      "default": 0,
      "description": "Score target",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getScorePlan"
          ]
        }
      }
    },
    {
      "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": [
            "company"
          ],
          "operation": [
            "getFactor",
            "getFactorHistorical",
            "getHistoricalScore",
            "getScorePlan"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getFactor",
            "getFactorHistorical",
            "getHistoricalScore",
            "getScorePlan"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getFactorHistorical",
            "getHistoricalScore"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Severity",
          "name": "severity",
          "type": "string",
          "default": "",
          "placeholder": ""
        },
        {
          "displayName": "Severity In",
          "description": "Filter issues by comma-separated severity list",
          "name": "severity_in",
          "type": "string",
          "default": "",
          "placeholder": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getFactor"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Date From",
          "description": "History start date",
          "name": "date_from",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Date To",
          "description": "History end date",
          "name": "date_to",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Timing",
          "description": "Date granularity",
          "name": "timing",
          "type": "options",
          "options": [
            {
              "name": "Daily",
              "value": "daily"
            },
            {
              "name": "Weekly",
              "value": "weekly"
            },
            {
              "name": "Monthly",
              "value": "monthly"
            }
          ],
          "default": "daily"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getFactorHistorical",
            "getHistoricalScore"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getFactor",
      "options": [
        {
          "name": "Get Factor Scores",
          "value": "getFactor",
          "action": "Get factor scores for an industry"
        },
        {
          "name": "Get Historical Factor Scores",
          "value": "getFactorHistorical",
          "action": "Get historical factor scores for an industry"
        },
        {
          "name": "Get Score",
          "value": "getScore",
          "action": "Get the score for an industry"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "industry"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Industry",
      "name": "industry",
      "type": "options",
      "default": "food",
      "options": [
        {
          "name": "Food",
          "value": "food"
        },
        {
          "name": "Healthcare",
          "value": "healthcare"
        },
        {
          "name": "Manofacturing",
          "value": "manofacturing"
        },
        {
          "name": "Retail",
          "value": "retail"
        },
        {
          "name": "Technology",
          "value": "technology"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "industry"
          ],
          "operation": [
            "getScore",
            "getFactor",
            "getFactorHistorical"
          ]
        }
      }
    },
    {
      "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": [
            "industry"
          ],
          "operation": [
            "getFactor",
            "getFactorHistorical"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "industry"
          ],
          "operation": [
            "getFactor",
            "getFactorHistorical"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "industry"
          ],
          "operation": [
            "getFactor",
            "getFactorHistorical"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Date From",
          "description": "History start date",
          "name": "from",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Date To",
          "description": "History end date",
          "name": "to",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "industry"
          ],
          "operation": [
            "getFactorHistorical"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an invite for a company/user",
          "action": "Create an invite"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invite"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invite"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "First Name",
      "name": "firstName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invite"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "lastName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invite"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "Message for the invitee",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invite"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Days to Resolve Issue",
          "description": "Minimum days to resolve a scorecard issue",
          "name": "days_to_resolve_issue",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Domain",
          "description": "Invitee company domain",
          "name": "domain",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Grade to Maintain",
          "description": "Request the invitee's organisation to maintain a minimum grade",
          "name": "grade_to_maintain",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Is Organisation Point of Contact",
          "description": "Is the invitee organisation's point of contact",
          "name": "is_organization_point_of_contact",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Issue Description",
          "name": "issue_desc",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Issue Title",
          "name": "issue_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Issue Type",
          "name": "issue_type",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Send Me a Copy",
          "name": "sendme_copy",
          "description": "Whether to send a copy of the invite to the requesting user",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Target URL",
          "name": "target_url",
          "type": "string",
          "description": "Optional URL to take the invitee to when arriving to the platform",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invite"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a portfolio",
          "action": "Create a portfolio"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a portfolio",
          "action": "Delete a portfolio"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many portfolios",
          "action": "Get many portfolios"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a portfolio",
          "action": "Update a portfolio"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "portfolio"
          ]
        }
      },
      "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": {
          "resource": [
            "portfolio"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "portfolio"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Portfolio ID",
      "name": "portfolioId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "portfolio"
          ],
          "operation": [
            "update",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Portfolio Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the portfolio",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "portfolio"
          ],
          "operation": [
            "create",
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Description",
      "name": "description",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "portfolio"
          ],
          "operation": [
            "create",
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Privacy",
      "name": "privacy",
      "type": "options",
      "default": "shared",
      "options": [
        {
          "name": "Private",
          "value": "private",
          "description": "Only visible to you"
        },
        {
          "name": "Shared",
          "value": "shared",
          "description": "Visible to everyone in your company"
        },
        {
          "name": "Team",
          "value": "team",
          "description": "Visible to the people on your team"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "portfolio"
          ],
          "operation": [
            "create",
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add a company to portfolio",
          "action": "Add a portfolio company"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many companies in a portfolio",
          "action": "Get many portfolio companies"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove a company from portfolio",
          "action": "Remove a portfolio company"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "portfolioCompany"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Portfolio ID",
      "name": "portfolioId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "portfolioCompany"
          ],
          "operation": [
            "getAll",
            "add",
            "remove"
          ]
        }
      }
    },
    {
      "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": [
            "portfolioCompany"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "portfolioCompany"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Grade",
          "name": "grade",
          "type": "string",
          "placeholder": "",
          "default": "",
          "description": "Company score grade filter"
        },
        {
          "displayName": "Industry",
          "name": "industry",
          "type": "string",
          "placeholder": "",
          "default": "",
          "description": "Industry filter"
        },
        {
          "displayName": "Issue Type",
          "name": "issueType",
          "type": "string",
          "placeholder": "",
          "description": "Issue type filter",
          "default": ""
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Active",
              "value": "active"
            },
            {
              "name": "Inactive",
              "value": "inactive"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Vulnerability",
          "name": "vulnerability",
          "type": "string",
          "placeholder": "",
          "description": "CVE vulnerability filter",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "portfolioCompany"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Domain",
      "name": "domain",
      "type": "string",
      "default": "",
      "description": "Company's domain name",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "portfolioCompany"
          ],
          "operation": [
            "add",
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Download",
          "value": "download",
          "description": "Download a generated report",
          "action": "Download a report"
        },
        {
          "name": "Generate",
          "value": "generate",
          "description": "Generate a report",
          "action": "Generate a report"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get list of recently generated report",
          "action": "Get many reports"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ]
        }
      },
      "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": {
          "resource": [
            "report"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Report",
      "name": "report",
      "type": "options",
      "default": "detailed",
      "options": [
        {
          "name": "Company Detailed",
          "value": "detailed"
        },
        {
          "name": "Company Events",
          "value": "events-json"
        },
        {
          "name": "Company Issues",
          "value": "issues"
        },
        {
          "name": "Company Partnership",
          "value": "partnership"
        },
        {
          "name": "Company Summary",
          "value": "summary"
        },
        {
          "name": "Full Scorecard",
          "value": "full-scorecard-json"
        },
        {
          "name": "Portfolio",
          "value": "portfolio"
        },
        {
          "name": "Scorecard Footprint",
          "value": "scorecard-footprint"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "generate"
          ]
        }
      }
    },
    {
      "displayName": "Scorecard Identifier",
      "name": "scorecardIdentifier",
      "type": "string",
      "default": "",
      "description": "Primary identifier of a company or scorecard, i.e. domain.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "generate"
          ],
          "report": [
            "detailed",
            "events-json",
            "full-scorecard-json",
            "issues",
            "partnership",
            "scorecard-footprint",
            "summary"
          ]
        }
      }
    },
    {
      "displayName": "Portfolio ID",
      "name": "portfolioId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "generate"
          ],
          "report": [
            "portfolio"
          ]
        }
      }
    },
    {
      "displayName": "Branding",
      "name": "branding",
      "type": "options",
      "default": "securityscorecard",
      "options": [
        {
          "name": "SecurityScorecard",
          "value": "securityscorecard"
        },
        {
          "name": "Company and SecurityScorecard",
          "value": "company_and_securityscorecard"
        },
        {
          "name": "Company",
          "value": "company"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "generate"
          ],
          "report": [
            "detailed",
            "summary"
          ]
        }
      }
    },
    {
      "displayName": "Date",
      "name": "date",
      "type": "dateTime",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "generate"
          ],
          "report": [
            "events-json"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Format",
          "name": "format",
          "type": "options",
          "default": "pdf",
          "options": [
            {
              "name": "CSV",
              "value": "csv"
            },
            {
              "name": "PDF",
              "value": "pdf"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "generate"
          ],
          "report": [
            "issues",
            "portfolio"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Countries",
          "name": "countries",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "default": []
        },
        {
          "displayName": "Format",
          "name": "format",
          "type": "options",
          "default": "pdf",
          "options": [
            {
              "name": "CSV",
              "value": "csv"
            },
            {
              "name": "PDF",
              "value": "pdf"
            }
          ]
        },
        {
          "displayName": "IPs",
          "name": "ips",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "default": []
        },
        {
          "displayName": "Subdomains",
          "name": "subdomains",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "default": []
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "generate"
          ],
          "report": [
            "scorecard-footprint"
          ]
        }
      }
    },
    {
      "displayName": "Report URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "URL to a generated report",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "download"
          ]
        }
      }
    },
    {
      "displayName": "Put Output File in Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "download"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "getFactor",
      "name": "Get Factor Scores",
      "description": "Get company factor scores and issue counts"
    },
    {
      "operation": "getFactorHistorical",
      "name": "Get Historical Factor Scores",
      "description": "Get company's historical factor scores"
    },
    {
      "operation": "getHistoricalScore",
      "name": "Get Historical Scores",
      "description": "Get company's historical scores"
    },
    {
      "operation": "getScorecard",
      "name": "Get Information and Scorecard",
      "description": "Get company information and summary of their scorecard"
    },
    {
      "operation": "getScorePlan",
      "name": "Get Score Plan",
      "description": "Get company's score improvement plan"
    }
  ]


node_type: nodes-base.segment
package_name: n8n-nodes-base
display_name: Segment
description: Consume Segment API
category: output
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "add",
  "name": "Add",
  "description": "Add a user to a group"
  }
  ]

credentials_required:
  [
  {
  "name": "segmentApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Segment node documentation
  description: Learn how to use the Segment node in n8n. Follow technical documentation to integrate Segment node into your workflows.
  contentType: [integration, reference]
  ---

  # Segment node

  Use the Segment node to automate work in Segment, and integrate Segment with other applications. n8n has built-in support for a wide range of Segment features, including adding users to groups, creating identities, and tracking activities. 

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

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

  ## Operations

  * Group
      * Add a user to a group
  * Identify
      * Create an identity
  * Track
      * Record the actions your users perform. Every action triggers an event, which can also have associated properties.
      * Record page views on your website, along with optional extra information about the page being viewed.

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "identify",
      "options": [
        {
          "name": "Group",
          "value": "group",
          "description": "Group lets you associate an identified user with a group"
        },
        {
          "name": "Identify",
          "value": "identify",
          "description": "Identify lets you tie a user to their actions"
        },
        {
          "name": "Track",
          "value": "track",
          "description": "Track lets you record events"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add a user to a group",
          "action": "Add a user to a group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Group ID",
      "name": "groupId",
      "type": "string",
      "default": "",
      "description": "A Group ID is the unique identifier which you recognize a group by in your own database",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Traits",
      "name": "traits",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "traitsUi",
          "displayName": "Trait",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "add"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Context",
      "name": "context",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "contextUi",
          "displayName": "Context",
          "values": [
            {
              "displayName": "Active",
              "name": "active",
              "type": "boolean",
              "default": false,
              "description": "Whether a user is active"
            },
            {
              "displayName": "IP",
              "name": "ip",
              "type": "string",
              "default": "",
              "description": "Current user’s IP address"
            },
            {
              "displayName": "Locale",
              "name": "locate",
              "type": "string",
              "default": "",
              "description": "Locale string for the current user, for example en-US"
            },
            {
              "displayName": "Page",
              "name": "page",
              "type": "string",
              "default": "",
              "description": "Dictionary of information about the current page in the browser, containing hash, path, referrer, search, title and URL"
            },
            {
              "displayName": "Timezone",
              "name": "timezone",
              "type": "string",
              "default": "",
              "description": "Timezones are sent as tzdata strings to add user timezone information which might be stripped from the timestamp, for example America/New_York"
            },
            {
              "displayName": "App",
              "name": "app",
              "placeholder": "Add App",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "appUi",
                  "displayName": "App",
                  "values": [
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Version",
                      "name": "version",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Build",
                      "name": "build",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Campaign",
              "name": "campaign",
              "placeholder": "Campaign App",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "campaignUi",
                  "displayName": "Campaign",
                  "values": [
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Source",
                      "name": "source",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Medium",
                      "name": "medium",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Term",
                      "name": "term",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Content",
                      "name": "content",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Device",
              "name": "device",
              "placeholder": "Add Device",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "deviceUi",
                  "displayName": "Device",
                  "values": [
                    {
                      "displayName": "ID",
                      "name": "id",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Manufacturer",
                      "name": "manufacturer",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Model",
                      "name": "model",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Version",
                      "name": "version",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "add"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Integration",
      "name": "integrations",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "integrationsUi",
          "displayName": "Integration",
          "values": [
            {
              "displayName": "All",
              "name": "all",
              "type": "boolean",
              "default": true
            },
            {
              "displayName": "Salesforce",
              "name": "salesforce",
              "type": "boolean",
              "default": false
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "add"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an identity",
          "action": "Create an identity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "identify"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "event",
      "options": [
        {
          "name": "Event",
          "value": "event",
          "description": "Record the actions your users perform. Every action triggers an event, which can also have associated properties.",
          "action": "Track an event"
        },
        {
          "name": "Page",
          "value": "page",
          "description": "Record page views on your website, along with optional extra information about the page being viewed",
          "action": "Track a page"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "identify"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Traits",
      "name": "traits",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "traitsUi",
          "displayName": "Trait",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "identify"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Context",
      "name": "context",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "contextUi",
          "displayName": "Context",
          "values": [
            {
              "displayName": "Active",
              "name": "active",
              "type": "boolean",
              "default": false,
              "description": "Whether a user is active"
            },
            {
              "displayName": "IP",
              "name": "ip",
              "type": "string",
              "default": "",
              "description": "Current user’s IP address"
            },
            {
              "displayName": "Locale",
              "name": "locate",
              "type": "string",
              "default": "",
              "description": "Locale string for the current user, for example en-US"
            },
            {
              "displayName": "Page",
              "name": "page",
              "type": "string",
              "default": "",
              "description": "Dictionary of information about the current page in the browser, containing hash, path, referrer, search, title and URL"
            },
            {
              "displayName": "Timezone",
              "name": "timezone",
              "type": "string",
              "default": "",
              "description": "Timezones are sent as tzdata strings to add user timezone information which might be stripped from the timestamp, for example America/New_York"
            },
            {
              "displayName": "App",
              "name": "app",
              "placeholder": "Add App",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "appUi",
                  "displayName": "App",
                  "values": [
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Version",
                      "name": "version",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Build",
                      "name": "build",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Campaign",
              "name": "campaign",
              "placeholder": "Campaign App",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "campaignUi",
                  "displayName": "Campaign",
                  "values": [
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Source",
                      "name": "source",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Medium",
                      "name": "medium",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Term",
                      "name": "term",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Content",
                      "name": "content",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Device",
              "name": "device",
              "placeholder": "Add Device",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "deviceUi",
                  "displayName": "Device",
                  "values": [
                    {
                      "displayName": "ID",
                      "name": "id",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Manufacturer",
                      "name": "manufacturer",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Model",
                      "name": "model",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Version",
                      "name": "version",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "identify"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Integration",
      "name": "integrations",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "integrationsUi",
          "displayName": "Integration",
          "values": [
            {
              "displayName": "All",
              "name": "all",
              "type": "boolean",
              "default": true
            },
            {
              "displayName": "Salesforce",
              "name": "salesforce",
              "type": "boolean",
              "default": false
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "identify"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "event"
          ]
        }
      }
    },
    {
      "displayName": "Event",
      "name": "event",
      "type": "string",
      "default": "",
      "description": "Name of the action that a user has performed",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "event"
          ]
        }
      }
    },
    {
      "displayName": "Context",
      "name": "context",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "contextUi",
          "displayName": "Context",
          "values": [
            {
              "displayName": "Active",
              "name": "active",
              "type": "boolean",
              "default": false,
              "description": "Whether a user is active"
            },
            {
              "displayName": "IP",
              "name": "ip",
              "type": "string",
              "default": "",
              "description": "Current user’s IP address"
            },
            {
              "displayName": "Locale",
              "name": "locate",
              "type": "string",
              "default": "",
              "description": "Locale string for the current user, for example en-US"
            },
            {
              "displayName": "Page",
              "name": "page",
              "type": "string",
              "default": "",
              "description": "Dictionary of information about the current page in the browser, containing hash, path, referrer, search, title and URL"
            },
            {
              "displayName": "Timezone",
              "name": "timezone",
              "type": "string",
              "default": "",
              "description": "Timezones are sent as tzdata strings to add user timezone information which might be stripped from the timestamp, for example America/New_York"
            },
            {
              "displayName": "App",
              "name": "app",
              "placeholder": "Add App",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "appUi",
                  "displayName": "App",
                  "values": [
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Version",
                      "name": "version",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Build",
                      "name": "build",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Campaign",
              "name": "campaign",
              "placeholder": "Campaign App",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "campaignUi",
                  "displayName": "Campaign",
                  "values": [
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Source",
                      "name": "source",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Medium",
                      "name": "medium",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Term",
                      "name": "term",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Content",
                      "name": "content",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Device",
              "name": "device",
              "placeholder": "Add Device",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "deviceUi",
                  "displayName": "Device",
                  "values": [
                    {
                      "displayName": "ID",
                      "name": "id",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Manufacturer",
                      "name": "manufacturer",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Model",
                      "name": "model",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Version",
                      "name": "version",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "event"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Integration",
      "name": "integrations",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "integrationsUi",
          "displayName": "Integration",
          "values": [
            {
              "displayName": "All",
              "name": "all",
              "type": "boolean",
              "default": true
            },
            {
              "displayName": "Salesforce",
              "name": "salesforce",
              "type": "boolean",
              "default": false
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "event"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Properties",
      "name": "properties",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "propertiesUi",
          "displayName": "Property",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "event"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "page"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the page For example, most sites have a “Signup” page that can be useful to tag, so you can see users as they move through your funnel",
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "page"
          ]
        }
      }
    },
    {
      "displayName": "Context",
      "name": "context",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "contextUi",
          "displayName": "Context",
          "values": [
            {
              "displayName": "Active",
              "name": "active",
              "type": "boolean",
              "default": false,
              "description": "Whether a user is active"
            },
            {
              "displayName": "IP",
              "name": "ip",
              "type": "string",
              "default": "",
              "description": "Current user’s IP address"
            },
            {
              "displayName": "Locale",
              "name": "locate",
              "type": "string",
              "default": "",
              "description": "Locale string for the current user, for example en-US"
            },
            {
              "displayName": "Page",
              "name": "page",
              "type": "string",
              "default": "",
              "description": "Dictionary of information about the current page in the browser, containing hash, path, referrer, search, title and URL"
            },
            {
              "displayName": "Timezone",
              "name": "timezone",
              "type": "string",
              "default": "",
              "description": "Timezones are sent as tzdata strings to add user timezone information which might be stripped from the timestamp, for example America/New_York"
            },
            {
              "displayName": "App",
              "name": "app",
              "placeholder": "Add App",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "appUi",
                  "displayName": "App",
                  "values": [
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Version",
                      "name": "version",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Build",
                      "name": "build",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Campaign",
              "name": "campaign",
              "placeholder": "Campaign App",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "campaignUi",
                  "displayName": "Campaign",
                  "values": [
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Source",
                      "name": "source",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Medium",
                      "name": "medium",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Term",
                      "name": "term",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Content",
                      "name": "content",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Device",
              "name": "device",
              "placeholder": "Add Device",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "default": {},
              "options": [
                {
                  "name": "deviceUi",
                  "displayName": "Device",
                  "values": [
                    {
                      "displayName": "ID",
                      "name": "id",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Manufacturer",
                      "name": "manufacturer",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Model",
                      "name": "model",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Name",
                      "name": "name",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "string",
                      "default": ""
                    },
                    {
                      "displayName": "Version",
                      "name": "version",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "page"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Integration",
      "name": "integrations",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "integrationsUi",
          "displayName": "Integration",
          "values": [
            {
              "displayName": "All",
              "name": "all",
              "type": "boolean",
              "default": true
            },
            {
              "displayName": "Salesforce",
              "name": "salesforce",
              "type": "boolean",
              "default": false
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "page"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Properties",
      "name": "properties",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "propertiesUi",
          "displayName": "Property",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "page"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    }
  ]


node_type: nodes-base.sendGrid
package_name: n8n-nodes-base
display_name: SendGrid
description: Consume SendGrid API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "sendGridApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: SendGrid node documentation
  description: Learn how to use the SendGrid node in n8n. Follow technical documentation to integrate SendGrid node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # SendGrid node

  Use the SendGrid node to automate work in SendGrid, and integrate SendGrid with other applications. n8n has built-in support for a wide range of SendGrid features, including creating, updating, deleting, and getting contacts, and lists, as well as sending emails. 

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

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

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

  ## Operations

  * Contact
      * Create/update a contact
      * Delete a contact
      * Get a contact by ID
      * Get all contacts
  * List
      * Create a list
      * Delete a list
      * Get a list
      * Get all lists
      * Update a list
  * Mail
      * Send an email.

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "list",
      "options": [
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "List",
          "value": "list"
        },
        {
          "name": "Mail",
          "value": "mail"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a list",
          "action": "Create a list"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a list",
          "action": "Delete a list"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a list",
          "action": "Get a list"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many lists",
          "action": "Get many lists"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a list",
          "action": "Update a list"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ]
        }
      },
      "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": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the list",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "ID of the list",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Delete Contacts",
      "name": "deleteContacts",
      "type": "boolean",
      "default": false,
      "description": "Whether to delete all contacts on the list",
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "ID of the list",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Contact Sample",
      "name": "contactSample",
      "type": "boolean",
      "default": false,
      "description": "Whether to return the contact sample",
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "ID of the list",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the list",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "upsert",
      "options": [
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new contact, or update the current one if it already exists (upsert)",
          "action": "Create or update a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a contact by ID",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many contacts",
          "action": "Get many contacts"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "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": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "description": "The query field accepts valid <a href=\"https://sendgrid.com/docs/for-developers/sending-email/segmentation-query-language/\">SGQL</a> for searching for a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Primary email for the contact",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "upsert"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "addressUi",
          "placeholder": "Address",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "default": {},
          "options": [
            {
              "name": "addressValues",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "Address Line 1",
                  "name": "address1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 2",
                  "name": "address2",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Alternate Emails",
          "name": "alternateEmails",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "City",
          "name": "city",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Country",
          "name": "country",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "firstName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Last Name",
          "name": "lastName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Postal Code",
          "name": "postalCode",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "State/Province/Region",
          "name": "stateProvinceRegion",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "List IDs",
          "name": "listIdsUi",
          "placeholder": "List IDs",
          "description": "Adds a custom field to set also values which have not been predefined",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "name": "listIdValues",
              "displayName": "List IDs",
              "values": [
                {
                  "displayName": "List Names or IDs",
                  "name": "listIds",
                  "type": "multiOptions",
                  "typeOptions": {
                    "loadOptionsMethod": "getListIds"
                  },
                  "default": [],
                  "description": "ID of the field to set. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "placeholder": "Add Custom Fields",
          "description": "Adds custom fields",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "customFieldValues",
              "displayName": "Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomFields"
                  },
                  "default": "",
                  "description": "ID of the field. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "fieldValue",
                  "type": "string",
                  "default": "",
                  "description": "Value for the field"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Contact IDs",
      "name": "ids",
      "type": "string",
      "default": "",
      "description": "ID of the contact. Multiple can be added separated by comma.",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "delete"
          ],
          "deleteAll": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Delete All",
      "name": "deleteAll",
      "type": "boolean",
      "default": false,
      "description": "Whether all contacts will be deleted",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "By",
      "name": "by",
      "type": "options",
      "default": "id",
      "description": "Search the user by ID or email",
      "options": [
        {
          "name": "ID",
          "value": "id"
        },
        {
          "name": "Email",
          "value": "email"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "description": "ID of the contact",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "contact"
          ],
          "by": [
            "id"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email of the contact",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "contact"
          ],
          "by": [
            "email"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Send an email",
          "action": "Send an email"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Sender Email",
      "name": "fromEmail",
      "type": "string",
      "default": "",
      "description": "Email address of the sender of the email",
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Sender Name",
      "name": "fromName",
      "type": "string",
      "default": "",
      "description": "Name of the sender of the email",
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Recipient Email",
      "name": "toEmail",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of recipient email addresses",
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "Subject of the email to send",
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ],
          "dynamicTemplate": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Dynamic Template",
      "name": "dynamicTemplate",
      "type": "boolean",
      "default": false,
      "description": "Whether this email will contain a dynamic template",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "MIME Type",
      "name": "contentType",
      "type": "options",
      "default": "text/plain",
      "description": "MIME type of the email to send",
      "options": [
        {
          "name": "Plain Text",
          "value": "text/plain"
        },
        {
          "name": "HTML",
          "value": "text/html"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ],
          "dynamicTemplate": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Message Body",
      "name": "contentValue",
      "type": "string",
      "default": "",
      "description": "Message body of the email to send",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ],
          "dynamicTemplate": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Template Name or ID",
      "name": "templateId",
      "type": "options",
      "default": [],
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ],
          "dynamicTemplate": [
            true
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTemplateIds"
      }
    },
    {
      "displayName": "Dynamic Template Fields",
      "name": "dynamicTemplateFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": "",
              "description": "Key of the dynamic template field"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "description": "Value for the field"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ],
          "dynamicTemplate": [
            true
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments",
          "name": "attachments",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of binary properties"
        },
        {
          "displayName": "BCC Email",
          "name": "bccEmail",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of emails of the recipients of a blind carbon copy of the email"
        },
        {
          "displayName": "Categories",
          "name": "categories",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of categories. Each category name may not exceed 255 characters."
        },
        {
          "displayName": "CC Email",
          "name": "ccEmail",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of emails of the recipients of a carbon copy of the email"
        },
        {
          "displayName": "Enable Sandbox",
          "name": "enableSandbox",
          "type": "boolean",
          "default": false,
          "description": "Whether to use to the sandbox for testing out email-sending functionality"
        },
        {
          "displayName": "IP Pool Name",
          "name": "ipPoolName",
          "type": "string",
          "default": "",
          "description": "The IP Pool that you would like to send this email from"
        },
        {
          "displayName": "Reply-To Email",
          "name": "replyToEmail",
          "type": "string",
          "default": "",
          "placeholder": "reply@domain.com",
          "description": "Comma-separated list of email addresses that will appear in the reply-to field of the email"
        },
        {
          "displayName": "Headers",
          "name": "headers",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": "",
                  "description": "Key to set in the header object"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set in the header object"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Send At",
          "name": "sendAt",
          "type": "dateTime",
          "default": "",
          "description": "When to deliver the email. Scheduling more than 72 hours in advance is forbidden."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "mail"
          ],
          "operation": [
            "send"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a list"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a list"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a list"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many lists"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a list"
    }
  ]


node_type: nodes-base.sendy
package_name: n8n-nodes-base
display_name: Sendy
description: Consume Sendy API
category: input
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "create",
  "name": "Create",
  "description": "Create a campaign"
  }
  ]

credentials_required:
  [
  {
  "name": "sendyApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
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"
          ]
        }
      }
    }
  ]


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: 2025-08-20 15:41:32
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": "Sentry Version",
      "name": "sentryVersion",
      "type": "options",
      "default": "cloud",
      "options": [
        {
          "name": "Cloud",
          "value": "cloud"
        },
        {
          "name": "Server (Self Hosted)",
          "value": "server"
        }
      ]
    },
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "accessToken",
      "options": [
        {
          "name": "Access Token",
          "value": "accessToken"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ],
      "displayOptions": {
        "show": {
          "sentryVersion": [
            "cloud"
          ]
        }
      }
    },
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "accessToken",
      "options": [
        {
          "name": "Access Token",
          "value": "accessToken"
        }
      ],
      "displayOptions": {
        "show": {
          "sentryVersion": [
            "server"
          ]
        }
      }
    },
    {
      "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"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many events"
    }
  ]

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


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: 2025-08-20 15:41:32
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"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an attachment"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an attachment"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many attachments on a table"
    }
  ]

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: 2025-08-20 15:41:32
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
    },
    {
      "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.shopify
package_name: n8n-nodes-base
display_name: Shopify
description: Consume Shopify API
category: output
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
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": "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"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an order"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an order"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many orders"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an order"
    }
  ]

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"
          ]
        }
      }
    }
  ]


node_type: nodes-base.shopifyTrigger
package_name: n8n-nodes-base
display_name: Shopify Trigger
description: Handle Shopify events via webhooks
category: trigger
development_style: programmatic
version: 1
operations: []
outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Shopify Trigger node documentation
  description: Learn how to use the Shopify Trigger node in n8n. Follow technical documentation to integrate Shopify Trigger node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Shopify Trigger node

  [Shopify](https://www.shopify.com/){:target=_blank .external-link} is an e-commerce platform that allows users to set up an online store and sell their products.

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "apiKey",
      "options": [
        {
          "name": "Access Token",
          "value": "accessToken"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        },
        {
          "name": "API Key",
          "value": "apiKey"
        }
      ]
    },
    {
      "displayName": "Trigger On",
      "name": "topic",
      "type": "options",
      "default": "",
      "options": [
        {
          "name": "App Uninstalled",
          "value": "app/uninstalled"
        },
        {
          "name": "Cart Created",
          "value": "carts/create"
        },
        {
          "name": "Cart Updated",
          "value": "carts/update"
        },
        {
          "name": "Checkout Created",
          "value": "checkouts/create"
        },
        {
          "name": "Checkout Delete",
          "value": "checkouts/delete"
        },
        {
          "name": "Checkout Update",
          "value": "checkouts/update"
        },
        {
          "name": "Collection Created",
          "value": "collections/create"
        },
        {
          "name": "Collection Deleted",
          "value": "collections/delete"
        },
        {
          "name": "Collection Listings Added",
          "value": "collection_listings/add"
        },
        {
          "name": "Collection Listings Removed",
          "value": "collection_listings/remove"
        },
        {
          "name": "Collection Listings Updated",
          "value": "collection_listings/update"
        },
        {
          "name": "Collection Updated",
          "value": "collections/update"
        },
        {
          "name": "Customer Created",
          "value": "customers/create"
        },
        {
          "name": "Customer Deleted",
          "value": "customers/delete"
        },
        {
          "name": "Customer Disabled",
          "value": "customers/disable"
        },
        {
          "name": "Customer Enabled",
          "value": "customers/enable"
        },
        {
          "name": "Customer Groups Created",
          "value": "customer_groups/create"
        },
        {
          "name": "Customer Groups Deleted",
          "value": "customer_groups/delete"
        },
        {
          "name": "Customer Groups Updated",
          "value": "customer_groups/update"
        },
        {
          "name": "Customer Updated",
          "value": "customers/update"
        },
        {
          "name": "Draft Orders Created",
          "value": "draft_orders/create"
        },
        {
          "name": "Draft Orders Deleted",
          "value": "draft_orders/delete"
        },
        {
          "name": "Draft Orders Updated",
          "value": "draft_orders/update"
        },
        {
          "name": "Fulfillment Created",
          "value": "fulfillments/create"
        },
        {
          "name": "Fulfillment Events Created",
          "value": "fulfillment_events/create"
        },
        {
          "name": "Fulfillment Events Deleted",
          "value": "fulfillment_events/delete"
        },
        {
          "name": "Fulfillment Updated",
          "value": "fulfillments/update"
        },
        {
          "name": "Inventory Items Created",
          "value": "inventory_items/create"
        },
        {
          "name": "Inventory Items Deleted",
          "value": "inventory_items/delete"
        },
        {
          "name": "Inventory Items Updated",
          "value": "inventory_items/update"
        },
        {
          "name": "Inventory Levels Connected",
          "value": "inventory_levels/connect"
        },
        {
          "name": "Inventory Levels Disconnected",
          "value": "inventory_levels/disconnect"
        },
        {
          "name": "Inventory Levels Updated",
          "value": "inventory_levels/update"
        },
        {
          "name": "Locale Created",
          "value": "locales/create"
        },
        {
          "name": "Locale Updated",
          "value": "locales/update"
        },
        {
          "name": "Location Created",
          "value": "locations/create"
        },
        {
          "name": "Location Deleted",
          "value": "locations/delete"
        },
        {
          "name": "Location Updated",
          "value": "locations/update"
        },
        {
          "name": "Order Cancelled",
          "value": "orders/cancelled"
        },
        {
          "name": "Order Created",
          "value": "orders/create"
        },
        {
          "name": "Order Fulfilled",
          "value": "orders/fulfilled"
        },
        {
          "name": "Order Paid",
          "value": "orders/paid"
        },
        {
          "name": "Order Partially Fulfilled",
          "value": "orders/partially_fulfilled"
        },
        {
          "name": "Order Transactions Created",
          "value": "order_transactions/create"
        },
        {
          "name": "Order Updated",
          "value": "orders/updated"
        },
        {
          "name": "Orders Deleted",
          "value": "orders/delete"
        },
        {
          "name": "Product Created",
          "value": "products/create"
        },
        {
          "name": "Product Deleted",
          "value": "products/delete"
        },
        {
          "name": "Product Listings Added",
          "value": "product_listings/add"
        },
        {
          "name": "Product Listings Removed",
          "value": "product_listings/remove"
        },
        {
          "name": "Product Listings Updated",
          "value": "product_listings/update"
        },
        {
          "name": "Product Updated",
          "value": "products/update"
        },
        {
          "name": "Refund Created",
          "value": "refunds/create"
        },
        {
          "name": "Shop Updated",
          "value": "shop/update"
        },
        {
          "name": "Tender Transactions Created",
          "value": "tender_transactions/create"
        },
        {
          "name": "Theme Created",
          "value": "themes/create"
        },
        {
          "name": "Theme Deleted",
          "value": "themes/delete"
        },
        {
          "name": "Theme Published",
          "value": "themes/publish"
        },
        {
          "name": "Theme Updated",
          "value": "themes/update"
        }
      ]
    }
  ]

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"
          ]
        }
      }
    }
  ]


node_type: nodes-base.signl4
package_name: n8n-nodes-base
display_name: SIGNL4
description: Consume SIGNL4 API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "signl4Api",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: SIGNL4 node documentation
  description: Learn how to use the SIGNL4 node in n8n. Follow technical documentation to integrate SIGNL4 node into your workflows.
  contentType: [integration, reference]
  ---

  # SIGNL4 node

  Use the SIGNL4 node to automate work in SIGNL4, and integrate SIGNL4 with other applications. n8n supports sending and resolving alerts with SIGNL4.

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

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

  ## Operations

  * Alert
      * Send an alert
      * Resolve an alert

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "alert",
      "options": [
        {
          "name": "Alert",
          "value": "alert"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Send an alert",
          "action": "Send an alert"
        },
        {
          "name": "Resolve",
          "value": "resolve",
          "description": "Resolve an alert",
          "action": "Resolve an alert"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "A more detailed description for the alert",
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "alert"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Alerting Scenario",
          "name": "alertingScenario",
          "type": "options",
          "options": [
            {
              "name": "Single ACK",
              "value": "single_ack",
              "description": "In case only one person needs to confirm this Signl"
            },
            {
              "name": "Multi ACK",
              "value": "multi_ack",
              "description": "In case this alert must be confirmed by the number of people who are on duty at the time this Singl is raised"
            }
          ],
          "default": "single_ack"
        },
        {
          "displayName": "Attachments",
          "name": "attachmentsUi",
          "placeholder": "Add Attachments",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "name": "attachmentsBinary",
              "displayName": "Attachments Binary",
              "values": [
                {
                  "displayName": "Property Name",
                  "name": "property",
                  "type": "string",
                  "placeholder": "data",
                  "default": "",
                  "description": "Name of the binary properties which contain data which should be added as attachment"
                }
              ]
            }
          ],
          "default": {}
        },
        {
          "displayName": "External ID",
          "name": "externalId",
          "type": "string",
          "default": "",
          "description": "If the event originates from a record in a 3rd party system, use this parameter to pass the unique ID of that record. That ID will be communicated in outbound webhook notifications from SIGNL4, which is great for correlation/synchronization of that record with the alert. If you resolve / close an alert you must use the same External ID as in the original alert."
        },
        {
          "displayName": "Filtering",
          "name": "filtering",
          "type": "boolean",
          "default": false,
          "description": "Whether to apply event filtering for this event, or not. If set to true, the event will only trigger a notification to the team, if it contains at least one keyword from one of your services and system categories (i.e. it is whitelisted)"
        },
        {
          "displayName": "Location",
          "name": "locationFieldsUi",
          "type": "fixedCollection",
          "placeholder": "Add Location",
          "default": {},
          "description": "Transmit location information ('latitude, longitude') with your event and display a map in the mobile app",
          "options": [
            {
              "name": "locationFieldsValues",
              "displayName": "Location",
              "values": [
                {
                  "displayName": "Latitude",
                  "name": "latitude",
                  "type": "string",
                  "required": true,
                  "description": "The location latitude",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "longitude",
                  "type": "string",
                  "required": true,
                  "description": "The location longitude",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Service",
          "name": "service",
          "type": "string",
          "default": "",
          "description": "Assigns the alert to the service/system category with the specified name"
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "The title or subject of this alert"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "alert"
          ]
        }
      }
    },
    {
      "displayName": "External ID",
      "name": "externalId",
      "type": "string",
      "default": "",
      "description": "If the event originates from a record in a 3rd party system, use this parameter to pass the unique ID of that record. That ID will be communicated in outbound webhook notifications from SIGNL4, which is great for correlation/synchronization of that record with the alert. If you resolve / close an alert you must use the same External ID as in the original alert.",
      "displayOptions": {
        "show": {
          "operation": [
            "resolve"
          ],
          "resource": [
            "alert"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "send",
      "name": "Send",
      "description": "Send an alert"
    },
    {
      "operation": "resolve",
      "name": "Resolve",
      "description": "Resolve an alert"
    }
  ]


node_type: nodes-base.simulate
package_name: n8n-nodes-base
display_name: Simulate
description: Simulate a node
category: organization
development_style: programmatic
version: 1
operations: []
credentials_required: []
outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
properties_schema:
  [
    {
      "displayName": "Icon to Display on Canvas",
      "name": "icon",
      "type": "options",
      "default": "n8n-nodes-base.noOp",
      "description": "Select a type of node to show corresponding icon",
      "typeOptions": {
        "loadOptionsMethod": "getNodeTypes"
      }
    },
    {
      "displayName": "Subtitle",
      "name": "subtitle",
      "type": "string",
      "default": ""
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "all",
      "options": [
        {
          "name": "Returns all input items",
          "value": "all"
        },
        {
          "name": "Specify how many of input items to return",
          "value": "specify"
        },
        {
          "name": "Specify output as JSON",
          "value": "custom"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Number of Items",
      "name": "numberOfItems",
      "type": "number",
      "default": 1,
      "description": "Number input of items to return, if greater then input length all items will be returned",
      "displayOptions": {
        "show": {
          "output": [
            "specify"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "JSON",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n  {\n  \"my_field_1\": \"value\",\n  \"my_field_2\": 1\n  }\n]",
      "displayOptions": {
        "show": {
          "output": [
            "custom"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Execution Duration (MS)",
      "name": "executionDuration",
      "type": "number",
      "default": 150,
      "description": "Execution duration in milliseconds",
      "typeOptions": {
        "minValue": 0
      }
    }
  ]


node_type: nodes-base.simulateTrigger
package_name: n8n-nodes-base
display_name: Simulate Trigger
description: Simulate a trigger node
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required: []
outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
properties_schema:
  [
    {
      "displayName": "Icon to Display on Canvas",
      "name": "icon",
      "type": "options",
      "default": "n8n-nodes-base.manualTrigger",
      "description": "Select a type of node to show corresponding icon",
      "typeOptions": {
        "loadOptionsMethod": "getNodeTypes"
      }
    },
    {
      "displayName": "Subtitle",
      "name": "subtitle",
      "type": "string",
      "default": ""
    },
    {
      "displayName": "Output (JSON)",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n  {\n  \"my_field_1\": \"value\",\n  \"my_field_2\": 1\n  }\n]",
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Execution Duration (MS)",
      "name": "executionDuration",
      "type": "number",
      "default": 150,
      "description": "Execution duration in milliseconds",
      "typeOptions": {
        "minValue": 0
      }
    }
  ]


node_type: nodes-base.slack
package_name: n8n-nodes-base
display_name: Slack
description: Consume Slack API
category: output
development_style: programmatic
version: 2.3
outputs:
  [
  "main"
  ]

updated_at: 2025-08-20 15:41:32
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Slack node documentation
  description: Learn how to use the Slack node in n8n. Follow technical documentation to integrate Slack node into your workflows.
  contentType: [integration, reference]
  priority: high
  ---

  # Slack node

  Use the Slack node to automate work in Slack, and integrate Slack with other applications. n8n has built-in support for a wide range of Slack features, including creating, archiving, and closing channels, getting users and files, as well as deleting messages.

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

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

  ## Operations

  * **Channel**
      * **Archive** a channel.
      * **Close** a direct message or multi-person direct message.
      * **Create** a public or private channel-based conversation.
      * **Get** information about a channel.
      * **Get Many**: Get a list of channels in Slack.
      * **History**: Get a channel's history of messages and events.
      * **Invite** a user to a channel.
      * **Join** an existing channel.
      * **Kick**: Remove a user from a channel.
      * **Leave** a channel.
      * **Member**: List the members of a channel.
      * **Open** or resume a direct message or multi-person direct message.
      * **Rename** a channel.
      * **Replies**: Get a thread of messages posted to a channel.
      * **Sets purpose** of a channel.
      * **Sets topic** of a channel.
      * **Unarchive** a channel.
  * **File**
      * **Get** a file.
      * **Get Many**: Get and filter team files.
      * **Upload**: Create or upload an existing file.
  * **Message**
      * **Delete** a message
      * **Get permalink**: Get a message's permalink.
      * **Search** for messages
      * **Send** a message
      * **Send and Wait for Approval**: Send a message and wait for approval from the recipient before continuing.
      * **Update** a message
  * **Reaction**
      * **Add** a reaction to a message.
      * **Get** a message's reactions.
      * **Remove** a reaction from a message.
  * **Star**
      * **Add** a star to an item.
      * **Delete** a star from an item.
      * **Get Many**: Get a list of an authenticated user's stars.
  * **User**
      * **Get** information about a user.
  	* **Get Many**: Get a list of users.
      * **Get User's Profile**.
      * **Get User's Status**.
  	* **Update User's Profile**.
  * **User Group**
      * **Create** a user group.
      * **Disable** a user group.
      * **Enable** a user group.
      * **Get Many**: Get a list of user groups.
      * **Update** a user group.

  ## Templates and examples

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

  ## Related resources

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

  ## Required scopes

  Once you create a Slack app for your [Slack credentials](/integrations/builtin/credentials/slack.md), you must add the appropriate scopes to your Slack app for this node to work. Start with the scopes listed in the [Scopes | Slack credentials](/integrations/builtin/credentials/slack.md#scopes) page.

  If those aren't enough, use the table below to look up the resource and operation you want to use, then follow the link to Slack's API documentation to find the correct scopes.

  <!-- vale off -->

  | **Resource** | **Operation** | **Slack API method** |
  | --- | --- | --- |
  | Channel | Archive | [conversations.archive](https://api.slack.com/methods/conversations.archive){:target=blank .external-link} |
  | Channel | Close | [conversations.close](https://api.slack.com/methods/conversations.close){:target=blank .external-link} |
  | Channel | Create | [conversations.create](https://api.slack.com/methods/conversations.create){:target=blank .external-link} |
  | Channel | Get | [conversations.info](https://api.slack.com/methods/conversations.info){:target=blank .external-link} |
  | Channel | Get Many | [conversations.list](https://api.slack.com/methods/conversations.list){:target=blank .external-link} |
  | Channel | History | [conversations.history](https://api.slack.com/methods/conversations.history){:target=blank .external-link} |
  | Channel | Invite | [conversations.invite](https://api.slack.com/methods/conversations.invite){:target=blank .external-link} |
  | Channel | Join | [conversations.join](https://api.slack.com/methods/conversations.join){:target=blank .external-link} |
  | Channel | Kick | [conversations.kick](https://api.slack.com/methods/conversations.kick){:target=blank .external-link} |
  | Channel | Leave | [conversations.leave](https://api.slack.com/methods/conversations.leave){:target=blank .external-link} |
  | Channel | Member | [conversations.members](https://api.slack.com/methods/conversations.members){:target=blank .external-link} |
  | Channel | Open | [conversations.open](https://api.slack.com/methods/conversations.open){:target=blank .external-link} |
  | Channel | Rename | [conversations.rename](https://api.slack.com/methods/conversations.rename){:target=blank .external-link} |
  | Channel | Replies | [conversations.replies](https://api.slack.com/methods/conversations.replies){:target=blank .external-link} |
  | Channel | Set Purpose | [conversations.setPurpose](https://api.slack.com/methods/conversations.setPurpose){:target=blank .external-link} |
  | Channel | Set Topic | [conversations.setTopic](https://api.slack.com/methods/conversations.setTopic){:target=blank .external-link} |
  | Channel | Unarchive | [conversations.unarchive](https://api.slack.com/methods/conversations.unarchive){:target=blank .external-link} |
  | File | Get | [files.info](https://api.slack.com/methods/files.info){:target=blank .external-link} |
  | File | Get Many | [files.list](https://api.slack.com/methods/files.list){:target=blank .external-link} |
  | File | Upload | [files.upload](https://api.slack.com/methods/files.upload){:target=blank .external-link} |
  | Message | Delete | [chat.delete](https://api.slack.com/methods/chat.delete){:target=blank .external-link} |
  | Message | Get Permalink | [chat.getPermalink](https://api.slack.com/methods/chat.getPermalink){:target=blank .external-link} |
  | Message | Search | [search.messages](https://api.slack.com/methods/search.messages){:target=blank .external-link} |
  | Message | Send | [chat.postMessage](https://api.slack.com/methods/chat.postMessage){:target=blank .external-link} |
  | Message | Send and Wait for Approval | [chat.postMessage](https://api.slack.com/methods/chat.postMessage){:target=blank .external-link} |
  | Message | Update | [chat.update](https://api.slack.com/methods/chat.update){:target=blank .external-link} |
  | Reaction | Add | [reactions.add](https://api.slack.com/methods/reactions.add){:target=blank .external-link} |
  | Reaction | Get | [reactions.get](https://api.slack.com/methods/reactions.get){:target=blank .external-link} |
  | Reaction | Remove | [reactions.remove](https://api.slack.com/methods/reactions.remove){:target=blank .external-link} |
  | Star | Add | [stars.add](https://api.slack.com/methods/stars.add){:target=blank .external-link} |
  | Star | Delete | [stars.remove](https://api.slack.com/methods/stars.remove){:target=blank .external-link} |
  | Star | Get Many | [stars.list](https://api.slack.com/methods/stars.list){:target=blank .external-link} |
  | User | Get | [users.info](https://api.slack.com/methods/users.info){:target=blank .external-link} |
  | User | Get Many | [users.list](https://api.slack.com/methods/users.list){:target=blank .external-link} |
  | User | Get User's Profile | [users.profile.get](https://api.slack.com/methods/users.profile.get){:target=blank .external-link} |
  | User | Get User's Status | [users.getPresence](https://api.slack.com/methods/users.getPresence){:target=blank .external-link} |
  | User | Update User's Profile | [users.profile.set](https://api.slack.com/methods/users.profile.set){:target=blank .external-link} |
  | User Group | Create | [usergroups.create](https://api.slack.com/methods/usergroups.create){:target=blank .external-link} |
  | User Group | Disable | [usergroups.disable](https://api.slack.com/methods/usergroups.disable){:target=blank .external-link} |
  | User Group | Enable | [usergroups.enable](https://api.slack.com/methods/usergroups.enable){:target=blank .external-link} |
  | User Group | Get Many | [usergroups.list](https://api.slack.com/methods/usergroups.list){:target=blank .external-link} |
  | User Group | Update | [usergroups.update](https://api.slack.com/methods/usergroups.update){:target=blank .external-link} |

  <!-- vale on -->

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "accessToken",
      "options": [
        {
          "name": "Access Token",
          "value": "accessToken"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "message",
      "options": [
        {
          "name": "Channel",
          "value": "channel"
        },
        {
          "name": "File",
          "value": "file"
        },
        {
          "name": "Message",
          "value": "message"
        },
        {
          "name": "Reaction",
          "value": "reaction"
        },
        {
          "name": "Star",
          "value": "star"
        },
        {
          "name": "User",
          "value": "user"
        },
        {
          "name": "User Group",
          "value": "userGroup"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Archive",
          "value": "archive",
          "description": "Archives a conversation",
          "action": "Archive a channel"
        },
        {
          "name": "Close",
          "value": "close",
          "description": "Closes a direct message or multi-person direct message",
          "action": "Close a channel"
        },
        {
          "name": "Create",
          "value": "create",
          "description": "Initiates a public or private channel-based conversation",
          "action": "Create a channel"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get information about a channel",
          "action": "Get a channel"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many channels in a Slack team",
          "action": "Get many channels"
        },
        {
          "name": "History",
          "value": "history",
          "description": "Get a conversation's history of messages and events",
          "action": "Get the history of a channel"
        },
        {
          "name": "Invite",
          "value": "invite",
          "description": "Invite a user to a channel",
          "action": "Invite a user to a channel"
        },
        {
          "name": "Join",
          "value": "join",
          "description": "Joins an existing conversation",
          "action": "Join a channel"
        },
        {
          "name": "Kick",
          "value": "kick",
          "description": "Removes a user from a channel",
          "action": "Kick a user from a channel"
        },
        {
          "name": "Leave",
          "value": "leave",
          "description": "Leaves a conversation",
          "action": "Leave a channel"
        },
        {
          "name": "Member",
          "value": "member",
          "description": "List members of a conversation",
          "action": "Get members of a channel"
        },
        {
          "name": "Open",
          "value": "open",
          "description": "Opens or resumes a direct message or multi-person direct message",
          "action": "Open a channel"
        },
        {
          "name": "Rename",
          "value": "rename",
          "description": "Renames a conversation",
          "action": "Rename a channel"
        },
        {
          "name": "Replies",
          "value": "replies",
          "description": "Get a thread of messages posted to a channel",
          "action": "Get a thread of messages posted to a channel"
        },
        {
          "name": "Set Purpose",
          "value": "setPurpose",
          "description": "Sets the purpose for a conversation",
          "action": "Set the purpose of a channel"
        },
        {
          "name": "Set Topic",
          "value": "setTopic",
          "description": "Sets the topic for a conversation",
          "action": "Set the topic of a channel"
        },
        {
          "name": "Unarchive",
          "value": "unarchive",
          "description": "Unarchives a conversation",
          "action": "Unarchive a channel"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to archive",
      "displayOptions": {
        "show": {
          "operation": [
            "archive"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to close",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "close"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Channel Visibility",
      "name": "channelVisibility",
      "type": "options",
      "default": "public",
      "description": "Whether to create a Public or a Private Slack channel. <a href=\"https://slack.com/help/articles/360017938993-What-is-a-channel\">More info</a>.",
      "options": [
        {
          "name": "Public Channel",
          "value": "public"
        },
        {
          "name": "Private Channel",
          "value": "private"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to invite to",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "invite"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "User Names or IDs",
      "name": "userIds",
      "type": "multiOptions",
      "default": [],
      "description": "The ID of the user to invite into channel. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "invite"
          ],
          "resource": [
            "channel"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getUsers"
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Num of Members",
          "name": "includeNumMembers",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to kick the user from",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "kick"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "User Name or ID",
      "name": "userId",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "displayOptions": {
        "show": {
          "operation": [
            "kick"
          ],
          "resource": [
            "channel"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getUsers"
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to join",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "join"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "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": [
            "channel"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exclude Archived",
          "name": "excludeArchived",
          "type": "boolean",
          "default": false,
          "description": "Whether to exclude archived channels from the list"
        },
        {
          "displayName": "Types",
          "name": "types",
          "type": "multiOptions",
          "options": [
            {
              "name": "Public Channel",
              "value": "public_channel"
            },
            {
              "name": "Private Channel",
              "value": "private_channel"
            },
            {
              "name": "mpim",
              "value": "mpim"
            },
            {
              "name": "im",
              "value": "im"
            }
          ],
          "default": [
            "public_channel"
          ],
          "description": "Mix and match channel types"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to get the history from",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "history"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "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": [
            "channel"
          ],
          "operation": [
            "history"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "history"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Inclusive",
          "name": "inclusive",
          "type": "boolean",
          "default": false,
          "description": "Whether to include messages with latest or oldest timestamp in results only when either timestamp is specified"
        },
        {
          "displayName": "Latest",
          "name": "latest",
          "type": "dateTime",
          "default": "",
          "description": "End of time range of messages to include in results"
        },
        {
          "displayName": "Oldest",
          "name": "oldest",
          "type": "dateTime",
          "default": "",
          "description": "Start of time range of messages to include in results"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "history"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to leave from",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "leave"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to get the members from",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "member"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "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": [
            "channel"
          ],
          "operation": [
            "member"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "member"
          ],
          "resource": [
            "channel"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Resolve Data",
      "name": "resolveData",
      "type": "boolean",
      "default": false,
      "description": "Whether to resolve the data automatically. By default the response only contain the ID to resource.",
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "member"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Channel ID",
          "name": "channelId",
          "type": "string",
          "default": "",
          "description": "Resume a conversation by supplying an im or mpim's ID. Or provide the users field instead."
        },
        {
          "displayName": "Return IM",
          "name": "returnIm",
          "type": "boolean",
          "default": false,
          "description": "Whether you want the full IM channel definition in the response"
        },
        {
          "displayName": "User Names or IDs",
          "name": "users",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getUsers"
          },
          "default": [],
          "description": "If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a channel when not supplying users. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "open"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to rename",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "rename"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "New name for conversation",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "rename"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to replies to",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "replies"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Message Timestamp",
      "name": "ts",
      "type": "number",
      "description": "Timestamp of the message to reply",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "replies"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "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": [
            "channel"
          ],
          "operation": [
            "replies"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "replies"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Inclusive",
          "name": "inclusive",
          "type": "boolean",
          "default": false,
          "description": "Whether to include messages with latest or oldest timestamp in results only when either timestamp is specified"
        },
        {
          "displayName": "Latest",
          "name": "latest",
          "type": "string",
          "default": "",
          "description": "End of time range of messages to include in results"
        },
        {
          "displayName": "Oldest",
          "name": "oldest",
          "type": "string",
          "default": "",
          "description": "Start of time range of messages to include in results"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "replies"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to set the purpose of",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "setPurpose"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Purpose",
      "name": "purpose",
      "type": "string",
      "default": "",
      "description": "A new, specialer purpose",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "setPurpose"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to set the topic of",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "setTopic"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Topic",
      "name": "topic",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "setTopic"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to unarchive",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "unarchive"
          ],
          "resource": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "post",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a message"
        },
        {
          "name": "Get Permalink",
          "value": "getPermalink",
          "action": "Get a message permalink"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search for messages"
        },
        {
          "name": "Send",
          "value": "post",
          "action": "Send a message"
        },
        {
          "name": "Send and Wait for Response",
          "value": "sendAndWait",
          "action": "Send message and wait for response"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a message"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to get the message permalink from",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "getPermalink"
          ]
        }
      }
    },
    {
      "displayName": "Message Timestamp",
      "name": "timestamp",
      "type": "number",
      "description": "Timestamp of the message to message",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "getPermalink"
          ]
        }
      }
    },
    {
      "displayName": "Send Message To",
      "name": "select",
      "type": "options",
      "default": "",
      "options": [
        {
          "name": "Channel",
          "value": "channel"
        },
        {
          "name": "User",
          "value": "user"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "post"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to send to",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "post"
          ],
          "resource": [
            "message"
          ],
          "select": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "User",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "displayOptions": {
        "show": {
          "operation": [
            "post"
          ],
          "resource": [
            "message"
          ],
          "select": [
            "user"
          ]
        }
      }
    },
    {
      "displayName": "Message Type",
      "name": "messageType",
      "type": "options",
      "default": "text",
      "description": "Whether to send a simple text message, or use Slack’s Blocks UI builder for more sophisticated messages that include form fields, sections and more",
      "options": [
        {
          "name": "Simple Text Message",
          "value": "text",
          "description": "Supports basic Markdown"
        },
        {
          "name": "Blocks",
          "value": "block",
          "description": "Combine text, buttons, form elements, dividers and more in Slack 's visual builder"
        },
        {
          "name": "Attachments",
          "value": "attachment"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "post"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Message Text",
      "name": "text",
      "type": "string",
      "default": "",
      "description": "The message text to post. Supports <a href=\"https://api.slack.com/reference/surfaces/formatting\">markdown</a> by default - this can be disabled in \"Options\".",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "post"
          ],
          "resource": [
            "message"
          ],
          "messageType": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Blocks",
      "name": "blocksUi",
      "type": "string",
      "default": "",
      "description": "Enter the JSON output from Slack's visual Block Kit Builder here. You can then use expressions to add variable content to your blocks. To create blocks, use <a target='_blank' href='https://app.slack.com/block-kit-builder'>Slack's Block Kit Builder</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "post"
          ],
          "resource": [
            "message"
          ],
          "messageType": [
            "block"
          ]
        }
      },
      "typeOptions": {
        "rows": 3
      }
    },
    {
      "displayName": "Notification Text",
      "name": "text",
      "type": "string",
      "default": "",
      "description": "Fallback text to display in slack notifications. Supports <a href=\"https://api.slack.com/reference/surfaces/formatting\">markdown</a> by default - this can be disabled in \"Options\".",
      "displayOptions": {
        "show": {
          "operation": [
            "post"
          ],
          "resource": [
            "message"
          ],
          "messageType": [
            "block"
          ]
        }
      }
    },
    {
      "displayName": "This is a legacy Slack feature. Slack advises to instead use Blocks.",
      "name": "noticeAttachments",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "post"
          ],
          "resource": [
            "message"
          ],
          "messageType": [
            "attachment"
          ]
        }
      }
    },
    {
      "displayName": "Attachments",
      "name": "attachments",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fallback Text",
          "name": "fallback",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": "",
          "description": "Required plain-text summary of the attachment"
        },
        {
          "displayName": "Text",
          "name": "text",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": ""
        },
        {
          "displayName": "Title Link",
          "name": "title_link",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": ""
        },
        {
          "displayName": "Color",
          "name": "color",
          "type": "color",
          "default": "#ff0000",
          "description": "Color of the line left of text"
        },
        {
          "displayName": "Pretext",
          "name": "pretext",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": "",
          "description": "Text which appears before the message block"
        },
        {
          "displayName": "Author Name",
          "name": "author_name",
          "type": "string",
          "default": "",
          "description": "Name that should appear"
        },
        {
          "displayName": "Author Link",
          "name": "author_link",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": ""
        },
        {
          "displayName": "Author Icon",
          "name": "author_icon",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": "",
          "description": "Icon which should appear for the user"
        },
        {
          "displayName": "Image URL",
          "name": "image_url",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": ""
        },
        {
          "displayName": "Thumbnail URL",
          "name": "thumb_url",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": ""
        },
        {
          "displayName": "Footer",
          "name": "footer",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": "",
          "description": "Text of footer to add"
        },
        {
          "displayName": "Footer Icon",
          "name": "footer_icon",
          "type": "string",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          },
          "default": "",
          "description": "Icon which should appear next to footer"
        },
        {
          "displayName": "Message Timestamp",
          "name": "ts",
          "type": "number",
          "default": 0,
          "description": "Timestamp of the message to post",
          "placeholder": "1663233118.856619"
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "placeholder": "Add Fields",
          "description": "Fields to add to message",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "item",
              "displayName": "Item",
              "values": [
                {
                  "displayName": "Title",
                  "name": "title",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Short",
                  "name": "short",
                  "type": "boolean",
                  "default": true,
                  "description": "Whether items can be displayed next to each other"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "post"
          ],
          "resource": [
            "message"
          ],
          "messageType": [
            "attachment"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add attachment"
      }
    },
    {
      "displayName": "Options",
      "name": "otherOptions",
      "type": "collection",
      "default": {},
      "description": "Other options to set",
      "options": [
        {
          "displayName": "Include Link to Workflow",
          "name": "includeLinkToWorkflow",
          "type": "boolean",
          "default": true,
          "description": "Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending Slack messages."
        },
        {
          "displayName": "Custom Bot Profile Photo",
          "name": "botProfile",
          "type": "fixedCollection",
          "default": {
            "imageValues": [
              {
                "profilePhotoType": ""
              }
            ]
          },
          "description": "Set an image or an emoji as the Profile Photo (avatar) of the bot sending the message. Will not be used if sending message as a user.",
          "options": [
            {
              "name": "imageValues",
              "displayName": "Add Bot Profile Photo",
              "values": [
                {
                  "displayName": "Profile Photo Type",
                  "name": "profilePhotoType",
                  "type": "options",
                  "options": [
                    {
                      "name": "Image URL",
                      "value": "image"
                    },
                    {
                      "name": "Emoji Code",
                      "value": "emoji"
                    }
                  ],
                  "default": "",
                  "placeholder": "Select a type…"
                },
                {
                  "displayName": "Emoji Code",
                  "name": "icon_emoji",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "profilePhotoType": [
                        "emoji"
                      ]
                    }
                  },
                  "description": "Only used if sending message as a bot. Use emoji codes like +1, not an actual emoji like 👍. <a target=\"_blank\" href=\" https://www.webfx.com/tools/emoji-cheat-sheet/\">List of common emoji codes</a>"
                },
                {
                  "displayName": "Image URL",
                  "name": "icon_url",
                  "type": "string",
                  "default": "",
                  "displayOptions": {
                    "show": {
                      "profilePhotoType": [
                        "image"
                      ]
                    }
                  },
                  "description": "Only used if sending message as a bot"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Link User and Channel Names",
          "name": "link_names",
          "type": "boolean",
          "default": false,
          "description": "Whether to turn @users and #channels in message text into clickable links"
        },
        {
          "displayName": "Reply to a Message",
          "name": "thread_ts",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Reply to a Message",
          "description": "Provide another message's Timestamp value to make this message a reply",
          "options": [
            {
              "displayName": "Reply to a Message",
              "name": "replyValues",
              "values": [
                {
                  "displayName": "Message Timestamp to Reply To",
                  "name": "thread_ts",
                  "type": "number",
                  "placeholder": "1663233118.856619",
                  "description": "Message timestamps are included in output data of Slack nodes, abbreviated to ts"
                },
                {
                  "displayName": "Reply to Thread",
                  "name": "reply_broadcast",
                  "type": "boolean",
                  "default": false,
                  "description": "Whether the reply should be made visible to everyone in the channel or conversation"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Use Markdown?",
          "name": "mrkdwn",
          "type": "boolean",
          "default": true,
          "description": "Whether to use Slack Markdown to format the message"
        },
        {
          "displayName": "Unfurl Links",
          "name": "unfurl_links",
          "type": "boolean",
          "default": false,
          "description": "Whether to enable unfurling of primarily text-based content"
        },
        {
          "displayName": "Unfurl Media",
          "name": "unfurl_media",
          "type": "boolean",
          "default": true,
          "description": "Whether to disable unfurling of media content"
        },
        {
          "displayName": "Send as Ephemeral Message",
          "name": "ephemeral",
          "type": "fixedCollection",
          "default": {},
          "displayOptions": {
            "show": {
              "/select": [
                "channel"
              ]
            }
          },
          "placeholder": "Send as Ephemeral Message",
          "description": "Whether to send a temporary, ephemeral message",
          "options": [
            {
              "displayName": "Send as Ephemeral Message",
              "name": "ephemeralValues",
              "values": [
                {
                  "displayName": "User to Send",
                  "name": "user",
                  "type": "resourceLocator",
                  "default": {
                    "mode": "list",
                    "value": ""
                  },
                  "placeholder": "Select a user...",
                  "modes": [
                    {
                      "displayName": "From List",
                      "name": "list",
                      "type": "list",
                      "placeholder": "Select a user...",
                      "typeOptions": {
                        "searchListMethod": "getUsers",
                        "searchable": true
                      }
                    },
                    {
                      "displayName": "By ID",
                      "name": "id",
                      "type": "string",
                      "validation": [
                        {
                          "type": "regex",
                          "properties": {
                            "regex": "[a-zA-Z0-9]{2,}",
                            "errorMessage": "Not a valid Slack User ID"
                          }
                        }
                      ],
                      "placeholder": "U123AB45JGM"
                    }
                  ]
                },
                {
                  "displayName": "Send as Ephemeral Message",
                  "name": "ephemeral",
                  "type": "boolean",
                  "default": true,
                  "description": "Whether to send a temporary, ephemeral message"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Send as Ephemeral Message",
          "name": "ephemeral",
          "type": "boolean",
          "displayOptions": {
            "show": {
              "/select": [
                "user"
              ]
            }
          },
          "default": true,
          "description": "Whether to send a temporary, ephemeral message"
        },
        {
          "displayName": "Send as User",
          "name": "sendAsUser",
          "type": "string",
          "displayOptions": {
            "show": {
              "/authentication": [
                "accessToken"
              ]
            }
          },
          "default": "",
          "description": "The message will be sent from this username (i.e. as if this individual sent the message). Add chat:write.customize scope on Slack API"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "post"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to update the message from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Message Timestamp",
      "name": "ts",
      "type": "number",
      "description": "Timestamp of the message to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Message Type",
      "name": "messageType",
      "type": "options",
      "default": "text",
      "description": "Whether to send a simple text message, or use Slack’s Blocks UI builder for more sophisticated messages that include form fields, sections and more",
      "options": [
        {
          "name": "Simple Text Message",
          "value": "text",
          "description": "Supports basic Markdown"
        },
        {
          "name": "Blocks",
          "value": "block",
          "description": "Combine text, buttons, form elements, dividers and more in Slack 's visual builder"
        },
        {
          "name": "Attachments",
          "value": "attachment"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Blocks",
      "name": "blocksUi",
      "type": "string",
      "default": "",
      "description": "Enter the JSON output from Slack's visual Block Kit Builder here. You can then use expressions to add variable content to your blocks. To create blocks, use <a target='_blank' href='https://app.slack.com/block-kit-builder'>Slack's Block Kit Builder</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "message"
          ],
          "messageType": [
            "block"
          ]
        }
      },
      "typeOptions": {
        "rows": 3
      }
    },
    {
      "displayName": "Notification Text",
      "name": "text",
      "type": "string",
      "default": "",
      "description": "Fallback text to display in slack notifications. Supports <a href=\"https://api.slack.com/reference/surfaces/formatting\">markdown</a> by default - this can be disabled in \"Options\".",
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "message"
          ],
          "messageType": [
            "block"
          ]
        }
      }
    },
    {
      "displayName": "Message Text",
      "name": "text",
      "type": "string",
      "default": "",
      "description": "The message text to update. Supports <a href=\"https://api.slack.com/reference/surfaces/formatting/\">markdown</a> by default - this can be disabled in \"Options\".",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "update"
          ],
          "messageType": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Link User and Channel Names",
          "name": "link_names",
          "type": "boolean",
          "default": false,
          "description": "Whether to find and link channel names and usernames"
        },
        {
          "displayName": "Parse",
          "name": "parse",
          "type": "options",
          "options": [
            {
              "name": "Client",
              "value": "client"
            },
            {
              "name": "Full",
              "value": "full"
            },
            {
              "name": "None",
              "value": "none"
            }
          ],
          "default": "client",
          "description": "Change how messages are treated"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "otherOptions",
      "type": "collection",
      "default": {},
      "description": "Other options to set",
      "options": [
        {
          "displayName": "Include Link to Workflow",
          "name": "includeLinkToWorkflow",
          "type": "boolean",
          "default": true,
          "description": "Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending Slack messages."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Delete Message From",
      "name": "select",
      "type": "options",
      "default": "",
      "options": [
        {
          "name": "Channel",
          "value": "channel"
        },
        {
          "name": "User",
          "value": "user"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to delete the message from",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "message"
          ],
          "select": [
            "channel"
          ]
        }
      }
    },
    {
      "displayName": "User",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "message"
          ],
          "select": [
            "user"
          ]
        }
      }
    },
    {
      "displayName": "Message Timestamp",
      "name": "timestamp",
      "type": "number",
      "description": "Timestamp of the message to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Search Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The text to search for within messages",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Sort By",
      "name": "sort",
      "type": "options",
      "default": "desc",
      "description": "How search results should be sorted. You can sort by.",
      "options": [
        {
          "name": "Newest",
          "value": "desc"
        },
        {
          "name": "Oldest",
          "value": "asc"
        },
        {
          "name": "Relevance Score",
          "value": "relevance"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "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": [
            "message"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 25,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "search"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 50
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Search in Channel",
          "name": "searchChannel",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getChannelsName"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Send Message To",
      "name": "select",
      "type": "options",
      "default": "user",
      "options": [
        {
          "name": "Channel",
          "value": "channel"
        },
        {
          "name": "User",
          "value": "user"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to send to",
      "required": true,
      "displayOptions": {
        "show": {
          "select": [
            "channel"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "User",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "displayOptions": {
        "show": {
          "select": [
            "user"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Response Type",
      "name": "responseType",
      "type": "options",
      "default": "approval",
      "options": [
        {
          "name": "Approval",
          "value": "approval",
          "description": "User can approve/disapprove from within the message"
        },
        {
          "name": "Free Text",
          "value": "freeText",
          "description": "User can submit a response via a form"
        },
        {
          "name": "Custom Form",
          "value": "customForm",
          "description": "User can submit a response via a custom form"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Define Form",
      "name": "defineForm",
      "type": "options",
      "default": "fields",
      "options": [
        {
          "name": "Using Fields Below",
          "value": "fields"
        },
        {
          "name": "Using JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Form Fields",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n   {\n      \"fieldLabel\":\"Name\",\n      \"placeholder\":\"enter you name\",\n      \"requiredField\":true\n   },\n   {\n      \"fieldLabel\":\"Age\",\n      \"fieldType\":\"number\",\n      \"placeholder\":\"enter your age\"\n   },\n   {\n      \"fieldLabel\":\"Email\",\n      \"fieldType\":\"email\",\n      \"requiredField\":true\n   }\n]",
      "displayOptions": {
        "show": {
          "defineForm": [
            "json"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true
      }
    },
    {
      "displayName": "Approval Options",
      "name": "approvalOptions",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Type of Approval",
              "name": "approvalType",
              "type": "options",
              "placeholder": "Add option",
              "default": "single",
              "options": [
                {
                  "name": "Approve Only",
                  "value": "single"
                },
                {
                  "name": "Approve and Disapprove",
                  "value": "double"
                }
              ]
            },
            {
              "displayName": "Approve Button Label",
              "name": "approveLabel",
              "type": "string",
              "default": "Approve",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Approve Button Style",
              "name": "buttonApprovalStyle",
              "type": "options",
              "default": "primary",
              "options": [
                {
                  "name": "Primary",
                  "value": "primary"
                },
                {
                  "name": "Secondary",
                  "value": "secondary"
                }
              ],
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Label",
              "name": "disapproveLabel",
              "type": "string",
              "default": "Decline",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Style",
              "name": "buttonDisapprovalStyle",
              "type": "options",
              "default": "secondary",
              "options": [
                {
                  "name": "Primary",
                  "value": "primary"
                },
                {
                  "name": "Secondary",
                  "value": "secondary"
                }
              ],
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Message Button Label",
          "name": "messageButtonLabel",
          "type": "string",
          "default": "Respond"
        },
        {
          "displayName": "Response Form Title",
          "name": "responseFormTitle",
          "description": "Title of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Description",
          "name": "responseFormDescription",
          "description": "Description of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Button Label",
          "name": "responseFormButtonLabel",
          "type": "string",
          "default": "Submit"
        },
        {
          "displayName": "Response Form Custom Styling",
          "name": "responseFormCustomCss",
          "type": "string",
          "typeOptions": {
            "rows": 10,
            "editor": "cssEditor"
          },
          "default": ":root {\n\t--font-family: 'Open Sans', sans-serif;\n\t--font-weight-normal: 400;\n\t--font-weight-bold: 600;\n\t--font-size-body: 12px;\n\t--font-size-label: 14px;\n\t--font-size-test-notice: 12px;\n\t--font-size-input: 14px;\n\t--font-size-header: 20px;\n\t--font-size-paragraph: 14px;\n\t--font-size-link: 12px;\n\t--font-size-error: 12px;\n\t--font-size-html-h1: 28px;\n\t--font-size-html-h2: 20px;\n\t--font-size-html-h3: 16px;\n\t--font-size-html-h4: 14px;\n\t--font-size-html-h5: 12px;\n\t--font-size-html-h6: 10px;\n\t--font-size-subheader: 14px;\n\n\t/* Colors */\n\t--color-background: #fbfcfe;\n\t--color-test-notice-text: #e6a23d;\n\t--color-test-notice-bg: #fefaf6;\n\t--color-test-notice-border: #f6dcb7;\n\t--color-card-bg: #ffffff;\n\t--color-card-border: #dbdfe7;\n\t--color-card-shadow: rgba(99, 77, 255, 0.06);\n\t--color-link: #7e8186;\n\t--color-header: #525356;\n\t--color-label: #555555;\n\t--color-input-border: #dbdfe7;\n\t--color-input-text: #71747A;\n\t--color-focus-border: rgb(90, 76, 194);\n\t--color-submit-btn-bg: #ff6d5a;\n\t--color-submit-btn-text: #ffffff;\n\t--color-error: #ea1f30;\n\t--color-required: #ff6d5a;\n\t--color-clear-button-bg: #7e8186;\n\t--color-html-text: #555;\n\t--color-html-link: #ff6d5a;\n\t--color-header-subtext: #7e8186;\n\n\t/* Border Radii */\n\t--border-radius-card: 8px;\n\t--border-radius-input: 6px;\n\t--border-radius-clear-btn: 50%;\n\t--card-border-radius: 8px;\n\n\t/* Spacing */\n\t--padding-container-top: 24px;\n\t--padding-card: 24px;\n\t--padding-test-notice-vertical: 12px;\n\t--padding-test-notice-horizontal: 24px;\n\t--margin-bottom-card: 16px;\n\t--padding-form-input: 12px;\n\t--card-padding: 24px;\n\t--card-margin-bottom: 16px;\n\n\t/* Dimensions */\n\t--container-width: 448px;\n\t--submit-btn-height: 48px;\n\t--checkbox-size: 18px;\n\n\t/* Others */\n\t--box-shadow-card: 0px 4px 16px 0px var(--color-card-shadow);\n\t--opacity-placeholder: 0.5;\n}",
          "description": "Override default styling of the response form with CSS"
        },
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "freeText",
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add a star to an item",
          "action": "Add a star"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a star from an item",
          "action": "Delete a star"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many stars of autenticated user",
          "action": "Get many stars"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "star"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Item to Add Star",
      "name": "target",
      "type": "options",
      "default": "",
      "description": "Choose whether to add a star to a message or a file",
      "options": [
        {
          "name": "Message",
          "value": "message"
        },
        {
          "name": "File",
          "value": "file"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "star"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to add a star to",
      "displayOptions": {
        "show": {
          "resource": [
            "star"
          ],
          "operation": [
            "add"
          ],
          "target": [
            "message",
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "description": "File to add star to",
      "displayOptions": {
        "show": {
          "resource": [
            "star"
          ],
          "operation": [
            "add"
          ],
          "target": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Message Timestamp",
      "name": "timestamp",
      "type": "number",
      "description": "Timestamp of the message to add",
      "displayOptions": {
        "show": {
          "resource": [
            "star"
          ],
          "operation": [
            "add"
          ],
          "target": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Options to set",
      "options": [
        {
          "displayName": "File Comment",
          "name": "fileComment",
          "type": "string",
          "default": "",
          "description": "File comment to add star to"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "star"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Options to set",
      "options": [
        {
          "displayName": "Channel Name or ID",
          "name": "channelId",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getChannels"
          },
          "default": "",
          "description": "Channel to add star to, or channel where the message to add star to was posted (used with timestamp). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "File ID",
          "name": "fileId",
          "type": "string",
          "default": "",
          "description": "File to add star to"
        },
        {
          "displayName": "File Comment",
          "name": "fileComment",
          "type": "string",
          "default": "",
          "description": "File comment to add star to"
        },
        {
          "displayName": "Message Timestamp",
          "name": "timestamp",
          "type": "number",
          "default": 0,
          "description": "Timestamp of the message to delete",
          "placeholder": "1663233118.856619"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "star"
          ]
        }
      }
    },
    {
      "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": [
            "star"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "star"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "upload",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get a file"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get & filters team files",
          "action": "Get many files"
        },
        {
          "name": "Upload",
          "value": "upload",
          "description": "Create or upload an existing file",
          "action": "Upload a file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Binary File",
      "name": "binaryData",
      "type": "boolean",
      "default": false,
      "description": "Whether the data to upload should be taken from binary field",
      "displayOptions": {
        "show": {
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ],
          "@version": [
            2,
            2.1
          ]
        }
      }
    },
    {
      "displayName": "File Content",
      "name": "fileContent",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ],
          "binaryData": [
            false
          ],
          "@version": [
            2,
            2.1
          ]
        }
      }
    },
    {
      "displayName": "File Property",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "description": "Name of the binary property which contains the data for the file to be uploaded",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ],
          "binaryData": [
            true
          ],
          "@version": [
            2,
            2.1
          ]
        }
      }
    },
    {
      "displayName": "File Property",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "description": "Name of the binary property which contains the data for the file to be uploaded",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ],
          "@version": [
            {
              "_cnd": {
                "gte": 2.2
              }
            }
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Other options to set",
      "options": [
        {
          "displayName": "Channel Names or IDs",
          "name": "channelIds",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getChannels"
          },
          "displayOptions": {
            "show": {
              "@version": [
                2,
                2.1
              ]
            }
          },
          "default": [],
          "description": "The channels to send the file to. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Channel Name or ID",
          "name": "channelId",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getChannels"
          },
          "displayOptions": {
            "show": {
              "@version": [
                {
                  "_cnd": {
                    "gte": 2.2
                  }
                }
              ]
            }
          },
          "default": [],
          "description": "The channel to send the file to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "File Name",
          "name": "fileName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Initial Comment",
          "name": "initialComment",
          "type": "string",
          "default": "",
          "description": "The message text introducing the file in specified channels"
        },
        {
          "displayName": "Thread Timestamp",
          "name": "threadTs",
          "type": "string",
          "default": "",
          "description": "Provide another message's Timestamp value to upload this file as a reply. Never use a reply's Timestamp value; use its parent instead."
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "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": [
            "file"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Channel Name or ID",
          "name": "channelId",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getChannels"
          },
          "description": "Channel containing the file to be listed. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Show Files Hidden By Limit",
          "name": "showFilesHidden",
          "type": "boolean",
          "default": false,
          "description": "Whether to show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit"
        },
        {
          "displayName": "Message Timestamp From",
          "name": "tsFrom",
          "type": "string",
          "default": "",
          "description": "Filter files created after this timestamp (inclusive)"
        },
        {
          "displayName": "Message Timestamp To",
          "name": "tsTo",
          "type": "string",
          "default": "",
          "description": "Filter files created before this timestamp (inclusive)"
        },
        {
          "displayName": "Types",
          "name": "types",
          "type": "multiOptions",
          "options": [
            {
              "name": "All",
              "value": "all"
            },
            {
              "name": "Google Docs",
              "value": "gdocs"
            },
            {
              "name": "Images",
              "value": "images"
            },
            {
              "name": "PDFs",
              "value": "pdfs"
            },
            {
              "name": "Snippets",
              "value": "snippets"
            },
            {
              "name": "Spaces",
              "value": "spaces"
            },
            {
              "name": "zips",
              "value": "zips"
            }
          ],
          "default": [
            "all"
          ],
          "description": "Filter files by type"
        },
        {
          "displayName": "User Name or ID",
          "name": "userId",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getUsers"
          },
          "description": "Filter files created by a single user. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Adds a reaction to a message",
          "action": "Add a reaction"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get the reactions of a message",
          "action": "Get a reaction"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove a reaction of a message",
          "action": "Remove a reaction"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "reaction"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to get the reactions from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "reaction"
          ],
          "operation": [
            "add",
            "get",
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Message Timestamp",
      "name": "timestamp",
      "type": "number",
      "description": "Timestamp of the message to add, get or remove",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "reaction"
          ],
          "operation": [
            "add",
            "get",
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Emoji Code",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Emoji code to use for the message reaction. Use emoji codes like +1, not an actual emoji like 👍. <a target=\"_blank\" href=\" https://www.webfx.com/tools/emoji-cheat-sheet/\">List of common emoji codes</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "reaction"
          ],
          "operation": [
            "add",
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "info",
      "options": [
        {
          "name": "Get",
          "value": "info",
          "description": "Get information about a user",
          "action": "Get information about a user"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get a list of many users",
          "action": "Get many users"
        },
        {
          "name": "Get User's Profile",
          "value": "getProfile",
          "description": "Get a user's profile",
          "action": "Get a user's profile"
        },
        {
          "name": "Get User's Status",
          "value": "getPresence",
          "description": "Get online status of a user",
          "action": "Get a user's presence status"
        },
        {
          "name": "Update User's Profile",
          "value": "updateProfile",
          "description": "Update a user's profile",
          "action": "Update a user's profile"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "User",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The ID of the user to get information about",
      "displayOptions": {
        "show": {
          "operation": [
            "info",
            "getProfile"
          ],
          "resource": [
            "user"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "User",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The ID of the user to get the online status of",
      "displayOptions": {
        "show": {
          "operation": [
            "getPresence"
          ],
          "resource": [
            "user"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Custom Fields",
          "name": "customFieldUi",
          "placeholder": "Add Custom Fields",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "customFieldValues",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "id",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getTeamFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                },
                {
                  "displayName": "Alt",
                  "name": "alt",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "This field can only be changed by admins for users on paid teams"
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Set Status",
          "name": "status",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "placeholder": "Set Status",
          "options": [
            {
              "displayName": "Set Status",
              "name": "set_status",
              "values": [
                {
                  "displayName": "Status Emoji",
                  "name": "status_emoji",
                  "type": "string",
                  "default": "",
                  "description": "Is a string referencing an emoji enabled for the Slack team, such as :mountain_railway:"
                },
                {
                  "displayName": "Status Expiration",
                  "name": "status_expiration",
                  "type": "dateTime",
                  "default": "",
                  "description": "The number of minutes to wait until this status expires and is cleared. Optional."
                },
                {
                  "displayName": "Status Text",
                  "name": "status_text",
                  "type": "string",
                  "default": "",
                  "description": "Allows up to 100 characters, though we strongly encourage brevity"
                }
              ]
            }
          ]
        },
        {
          "displayName": "User ID",
          "name": "user",
          "type": "string",
          "default": "",
          "description": "ID of user to change. This argument may only be specified by team admins on paid teams."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "updateProfile"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a user group"
        },
        {
          "name": "Disable",
          "value": "disable",
          "action": "Disable a user group"
        },
        {
          "name": "Enable",
          "value": "enable",
          "action": "Enable a user group"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many user groups"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a user group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "A name for the User Group. Must be unique among User Groups.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "userGroup"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "Options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Channel Names or IDs",
          "name": "channelIds",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getChannels"
          },
          "default": [],
          "description": "A comma-separated string of encoded channel IDs for which the User Group uses as a default. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "A short description of the User Group"
        },
        {
          "displayName": "Handle",
          "name": "handle",
          "type": "string",
          "default": "",
          "description": "A mention handle. Must be unique among channels, users and User Groups."
        },
        {
          "displayName": "Include Count",
          "name": "include_count",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the number of users in each User Group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "User Group ID",
      "name": "userGroupId",
      "type": "string",
      "default": "",
      "description": "The encoded ID of the User Group to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "disable"
          ],
          "resource": [
            "userGroup"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Count",
          "name": "include_count",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the number of users in each User Group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ],
          "operation": [
            "disable"
          ]
        }
      }
    },
    {
      "displayName": "User Group ID",
      "name": "userGroupId",
      "type": "string",
      "default": "",
      "description": "The encoded ID of the User Group to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "enable"
          ],
          "resource": [
            "userGroup"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "option",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Count",
          "name": "include_count",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the number of users in each User Group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ],
          "operation": [
            "enable"
          ]
        }
      }
    },
    {
      "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": 100,
      "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": "Include Count",
          "name": "include_count",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the number of users in each User Group"
        },
        {
          "displayName": "Include Disabled",
          "name": "include_disabled",
          "type": "boolean",
          "default": true,
          "description": "Whether to include disabled User Groups"
        },
        {
          "displayName": "Include Users",
          "name": "include_users",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the list of users for each User Group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "User Group ID",
      "name": "userGroupId",
      "type": "string",
      "default": "",
      "description": "The encoded ID of the User Group to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "userGroup"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Channel Names or IDs",
          "name": "channels",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getChannels"
          },
          "default": [],
          "description": "A comma-separated string of encoded channel IDs for which the User Group uses as a default. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "A short description of the User Group"
        },
        {
          "displayName": "Handle",
          "name": "handle",
          "type": "string",
          "default": "",
          "description": "A mention handle. Must be unique among channels, users and User Groups."
        },
        {
          "displayName": "Include Count",
          "name": "include_count",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the number of users in each User Group"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "A name for the User Group. Must be unique among User Groups."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "userGroup"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "archive",
      "name": "Archive",
      "description": "Archives a conversation"
    },
    {
      "operation": "close",
      "name": "Close",
      "description": "Closes a direct message or multi-person direct message"
    },
    {
      "operation": "create",
      "name": "Create",
      "description": "Initiates a public or private channel-based conversation"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get information about a channel"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many channels in a Slack team"
    },
    {
      "operation": "history",
      "name": "History",
      "description": "Get a conversation's history of messages and events"
    },
    {
      "operation": "invite",
      "name": "Invite",
      "description": "Invite a user to a channel"
    },
    {
      "operation": "join",
      "name": "Join",
      "description": "Joins an existing conversation"
    },
    {
      "operation": "kick",
      "name": "Kick",
      "description": "Removes a user from a channel"
    },
    {
      "operation": "leave",
      "name": "Leave",
      "description": "Leaves a conversation"
    },
    {
      "operation": "member",
      "name": "Member",
      "description": "List members of a conversation"
    },
    {
      "operation": "open",
      "name": "Open",
      "description": "Opens or resumes a direct message or multi-person direct message"
    },
    {
      "operation": "rename",
      "name": "Rename",
      "description": "Renames a conversation"
    },
    {
      "operation": "replies",
      "name": "Replies",
      "description": "Get a thread of messages posted to a channel"
    },
    {
      "operation": "setPurpose",
      "name": "Set Purpose",
      "description": "Sets the purpose for a conversation"
    },
    {
      "operation": "setTopic",
      "name": "Set Topic",
      "description": "Sets the topic for a conversation"
    },
    {
      "operation": "unarchive",
      "name": "Unarchive",
      "description": "Unarchives a conversation"
    }
  ]

credentials_required:
  [
    {
      "name": "slackApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "accessToken"
          ]
        }
      }
    },
    {
      "name": "slackOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    }
  ]


