# nodes

node_type: nodes-base.form
package_name: n8n-nodes-base
display_name: n8n Form
description: Generate webforms in n8n and pass their responses to the workflow
category: input
development_style: programmatic
version: 2.5
credentials_required: []
outputs:
  [
  "main"
  ]

updated_at: 2026-03-18 15:15:48
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: n8n Form node documentation
  description: Documentation for the n8n Form node in n8n, a workflow automation platform. Includes guidance on usage and links to examples.
  contentType: [integration, reference]
  ---

  # n8n Form node

  Use the n8n Form node to create user-facing forms with multiple steps. You can add other nodes with custom logic between to process user input. You must start the workflow with the [n8n Form Trigger](/integrations/builtin/core-nodes/n8n-nodes-base.formtrigger.md).

  [[ workflowDemo("file:///integrations/builtin/core-nodes/n8n-nodes-base.form/mutually-exclusive-branching.json") ]]

  ## Setting up the node

  ### Set default selections with query parameters

  You can set the initial values for fields by using [query parameters](https://en.wikipedia.org/wiki/Query_string#Web_forms){:target=_blank .external-link} with the initial URL provided by the [n8n Form Trigger](/integrations/builtin/core-nodes/n8n-nodes-base.formtrigger.md). Every page in the form receives the same query parameters sent to the n8n Form Trigger URL.

  /// note | Only for production
  Query parameters are only available when using the form in production mode. n8n won't populate field values from query parameters in testing mode.
  ///

  <!-- vale from-microsoft.Percentages = NO -->
  When using query parameters, [percent-encode](https://en.wikipedia.org/wiki/Percent-encoding){:target=_blank .external-link} any field names or values that use special characters. This ensures n8n uses the initial values for the given fields. You can use tools like [URL Encode/Decode](https://www.url-encode-decode.com/) to format your query parameters using percent-encoding.

  As an example, imagine you have a form with the following properties:

  * Production URL: `https://my-account.n8n.cloud/form/my-form`
  * Fields:
  	* `name`: `Jane Doe`
  	* `email`: `jane.doe@example.com`

  With query parameters and percent-encoding, you could use the following URL to set initial field values to the data above:

  ```
  https://my-account.n8n.cloud/form/my-form?email=jane.doe%40example.com&name=Jane%20Doe
  ```

  Here, percent-encoding replaces the at-symbol (`@`) with the string `%40` and the space character (` `) with the string `%20`. This will set the initial value for these fields no matter which page of the form they appear on.
  <!-- vale from-microsoft.Percentages = YES -->

  ### Displaying custom HTML

  You can display custom HTML on your form by adding a **Custom HTML** field to your form. This provides an **HTML** box where you can insert arbitrary HTML code to display as part of the form page.

  You can use the HTML field to enrich your form page by including things like links, images, videos, and more. n8n will render the content with the rest of the form fields in the normal document flow.

  Because custom HTML content is read-only, these fields aren't included in the form output data by default. To include the raw HTML content in the node output, provide a name for the data using the **Element Name** field.

  The HTML field doesn't support `<script>`, `<style>`, or `<input>` elements.

  ### Including hidden fields

  It's possible to include fields in a form without displaying them to users. This is useful when you want to pass extra data to the form that doesn't require interactive user input.

  To add fields that won't show up on the form, use the **Hidden Field** form element. There, you can define the **Field Name** and optionally provide a default value by filling out the **Field Value**.

  When serving the form, you can pass values for hidden fields using [query parameters](#set-default-selections-with-query-parameters).

  ### Defining the form using JSON

  Use **Define Form** > **Using JSON** to define the fields of your form with a [JSON array of objects](/data/data-structure.md). Each object defines a single field by using a combination of these keys:

  - `fieldLabel`: The label that appears above the input field. 
  - `fieldType`: Choose from `date`, `dropdown`, `email`, `file`, `number`, `password`, `text`, or `textarea`.
      - Use `date` to include a date picker in the form. Refer to [Date and time with Luxon](/code/cookbook/luxon.md) for more information on formatting dates.
  	- When using `dropdown`, set the choices with `fieldOptions` (reference the example below). By default, the dropdown is single-choice. To make it multiple-choice, set `multiselect` to `true`.
  	- When using `file`, set `multipleFiles` to `true` to allow users to select more than one file. To define the file types to allow, set `acceptFileTypes` to a string containing a comma-separated list of file extensions (reference the example below).
  - `placeholder`: Specify placeholder data for the field. You can use this for every `fieldType` except `dropdown`, `date`, and `file`.
  - `requiredField`: Require users to complete this field on the form.

  An example JSON that shows the general format required and the keys available:

  ```javascript
  // Use the "requiredField" key on any field to mark it as mandatory
  // Use the "placeholder" key to specify placeholder data for all fields
  //     except 'dropdown', 'date' and 'file'

  [
  	{
  		"fieldLabel": "Date Field",
  		"fieldType": "date",
  		"formatDate": "mm/dd/yyyy", // how to format received date in n8n
  		"requiredField": true
  	},
  	{
  		"fieldLabel": "Dropdown Options",
  		"fieldType": "dropdown",
  		"fieldOptions": {
  			"values": [
  				{
  					"option": "option 1"
  				},
  				{
  					"option": "option 2"
  				}
  			]
  		},
  		"requiredField": true
  	},
  	{
  		"fieldLabel": "Multiselect",
  		"fieldType": "dropdown",
  		"fieldOptions": {
  			"values": [
  				{
  					"option": "option 1"
  				},
  				{
  					"option": "option 2"
  				}
  			]
  		},
  		"multiselect": true // setting to true allows multi-select
  	},
  	{
  		"fieldLabel": "Email",
  		"fieldType": "email",
  		"placeholder": "me@mail.con"
  	},
  	{
  		"fieldLabel": "File",
  		"fieldType": "file",
  		"multipleFiles": true, // setting to true allows multiple files selection
  		"acceptFileTypes": ".jpg, .png" // allowed file types
  	},
  	{
  		"fieldLabel": "Number",
  		"fieldType": "number"
  	},
  	{
  		"fieldLabel": "Password",
  		"fieldType": "password"
  	},
  	{
  		// "fieldType": "text" can be omitted since it's the default type
  		"fieldLabel": "Text"
  	},
  	{
  		"fieldLabel": "Textarea",
  		"fieldType": "textarea"
  	}
  ]
  ```

  ### Form Ending

  Use the **Form Ending** Page Type to end a form and either show a completion page, redirect the user to a URL, or display custom HTML or text. Only one Form Ending page displays per execution, even when n8n executes [multiple branches](#forms-with-branches) that contain Form Ending nodes.

  Choose between these options when using **On n8n Form Submission**:

  - **Show Completion Screen**: Shows users a final screen to confirm that they submitted the form.
  	- Fill in **Completion Title** to set the `h1` title on the form.
  	- n8n displays the **Completion Message** as a subtitle below the main `h1` title on the form. Use `\n` or `<br>` to add a line break. 
  	- Select **Add option** and fill in **Completion Page Title** to set the page's title in the browser tab.

  When using **Redirect to URL**, fill in the **URL** field with the page you want to redirect to when users complete the form.

  Use **Show Text** to display a final page defined by arbitrary plain text and HTML. Fill in the **Text** field with the HTML or plain text content you wish to show.

  ### Forms with branches

  The n8n Form node executes and displays its associated form page whenever it receives data from a previous node. When building forms with n8n, to avoid confusion, it's important to understand how forms behave when branching occurs.

  #### Workflows with mutually exclusive branches

  Form workflows containing mutually exclusive branches work as expected. n8n will execute a single branch according to the submitted data and conditions you outline. As it executes, n8n will display each page in the branch, ending with an n8n Form node with the **Form Ending** page type.

  This workflow demonstrates mutually exclusive branching. Each selection can only execute a single branch.

  [[ workflowDemo("file:///integrations/builtin/core-nodes/n8n-nodes-base.form/mutually-exclusive-branching.json") ]]

  #### Workflows that may execute multiple branches

  Form workflows that send data to multiple branches at the same time require more care. When multiple branches receive data during an execution (for example, from a [switch](/integrations/builtin/core-nodes/n8n-nodes-base.switch.md) node), n8n executes each branch that receives data [sequentially](/flow-logic/execution-order.md). Upon reaching the end of one branch, the execution will move to the next branch with data.

  n8n only executes a single **Form Ending** n8n Form node for each execution. When multiple branches of a form workflow receive data, n8n ignores all Form Ending nodes except for the one associated with the final branch.

  This workflow may execute more than one branch during an execution. Here, n8n executes all valid branches sequentially. This impacts which n8n Form nodes n8n executes (in particular, which **Form Ending** node displays):

  [[ workflowDemo("file:///integrations/builtin/core-nodes/n8n-nodes-base.form/multiple-branch-execution.json") ]]

  ### Node options

  Select **Add Option** to view more configuration options: 

  - **Form Title**: The title for your form. n8n displays the **Form Title** as the webpage title and main `h1` title on the form.
  - **Form Description**: The description for your form. n8n displays the **Form Description** as a subtitle below the main `h1` title on the form. This field supports HTML. Use `\n` or `<br>` to add a line break. The Form Description also populates the [HTML meta description](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#standard_metadata_names_defined_in_the_html_specification) for the page.
  - **Button Label**: The label to use for your form's submit button. n8n displays the **Button Label** as the name of the submit button.

  ## Running the node

  ### Build and test workflows

  While building or testing a workflow, use the **Test URL** in the [n8n Form Trigger](/integrations/builtin/core-nodes/n8n-nodes-base.formtrigger.md). Using a test URL ensures that you can view the incoming data in the editor UI, which is useful for debugging. 

  There are two ways to test:

  - Select **Test Step**. n8n opens the form. When you submit the form, n8n runs the node and any previous nodes, but not the rest of the workflow.
  - Select **Test Workflow**. n8n opens the form. When you submit the form, n8n runs the workflow.

  ### Production workflows

  When your workflow is ready, switch to using the n8n Form Trigger's **Production URL** by opening the trigger node and selecting the **Production URL** in the **From URLS** selector. You can then activate your workflow, and n8n runs it automatically when a user submits the form.

  When working with a production URL, ensure that you have saved and activated the workflow. Data flowing through the Form trigger isn't visible in the editor UI with the production URL.

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "An n8n Form Trigger node must be set up before this node",
      "name": "triggerNotice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Page Type",
      "name": "operation",
      "type": "options",
      "default": "page",
      "options": [
        {
          "name": "Next Form Page",
          "value": "page"
        },
        {
          "name": "Form Ending",
          "value": "completion"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Define Form",
      "name": "defineForm",
      "type": "options",
      "default": "fields",
      "options": [
        {
          "name": "Using Fields Below",
          "value": "fields"
        },
        {
          "name": "Using JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "page"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Form Fields",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n  {\n    \"fieldLabel\": \"Name\",\n    \"placeholder\": \"enter your 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  {\n    \"fieldLabel\": \"Textarea\",\n    \"fieldType\": \"textarea\"\n  },\n  {\n    \"fieldLabel\": \"Dropdown Options\",\n    \"fieldType\": \"dropdown\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    },\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Checkboxes\",\n    \"fieldType\": \"checkbox\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Radio\",\n    \"fieldType\": \"radio\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"placeholder\": \"me@mail.con\"\n  },\n  {\n    \"fieldLabel\": \"File\",\n    \"fieldType\": \"file\",\n    \"multipleFiles\": true,\n    \"acceptFileTypes\": \".jpg, .png\"\n  },\n  {\n    \"fieldLabel\": \"Number\",\n    \"fieldType\": \"number\"\n  },\n  {\n    \"fieldLabel\": \"Password\",\n    \"fieldType\": \"password\"\n  }\n]\n",
      "displayOptions": {
        "show": {
          "defineForm": [
            "json"
          ],
          "operation": [
            "page"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "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"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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 Input",
                  "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": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "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": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "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,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "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": {
          "@version": [
            {
              "_cnd": {
                "lt": 2.5
              }
            }
          ],
          "defineForm": [
            "fields"
          ],
          "operation": [
            "page"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true,
        "fixedCollection": {
          "itemTitle": "={{ $collection.item.properties.find(p => p.name === \"fieldType\").options.find(o => o.value === $collection.item.value.fieldType).name }}"
        }
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "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"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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 Input",
                  "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": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "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": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "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,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "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": {
          "@version": [
            {
              "_cnd": {
                "gte": 2.5
              }
            }
          ],
          "defineForm": [
            "fields"
          ],
          "operation": [
            "page"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true,
        "hideOptionalFields": true,
        "addOptionalFieldButtonText": "Add Attributes",
        "fixedCollection": {
          "itemTitle": "={{ $collection.item.properties.find(p => p.name === \"fieldType\").options.find(o => o.value === $collection.item.value.fieldType).name }}"
        }
      }
    },
    {
      "displayName": "Limit Wait Time",
      "name": "limitWaitTime",
      "type": "boolean",
      "default": false,
      "description": "Whether to limit the time this node should wait for a user response before execution resumes",
      "displayOptions": {
        "show": {
          "operation": [
            "page"
          ]
        }
      }
    },
    {
      "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"
        }
      ],
      "displayOptions": {
        "show": {
          "limitWaitTime": [
            true
          ],
          "operation": [
            "page"
          ]
        }
      }
    },
    {
      "displayName": "Amount",
      "name": "resumeAmount",
      "type": "number",
      "default": 1,
      "description": "The time to wait",
      "displayOptions": {
        "show": {
          "limitType": [
            "afterTimeInterval"
          ],
          "limitWaitTime": [
            true
          ],
          "operation": [
            "page"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "numberPrecision": 2
      }
    },
    {
      "displayName": "Unit",
      "name": "resumeUnit",
      "type": "options",
      "default": "hours",
      "description": "Unit of the interval value",
      "options": [
        {
          "name": "Minutes",
          "value": "minutes"
        },
        {
          "name": "Hours",
          "value": "hours"
        },
        {
          "name": "Days",
          "value": "days"
        }
      ],
      "displayOptions": {
        "show": {
          "limitType": [
            "afterTimeInterval"
          ],
          "limitWaitTime": [
            true
          ],
          "operation": [
            "page"
          ]
        }
      }
    },
    {
      "displayName": "Max Date and Time",
      "name": "maxDateAndTime",
      "type": "dateTime",
      "default": "",
      "description": "Continue execution after the specified date and time",
      "displayOptions": {
        "show": {
          "limitType": [
            "atSpecifiedTime"
          ],
          "limitWaitTime": [
            true
          ],
          "operation": [
            "page"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Form Title",
          "name": "formTitle",
          "type": "string",
          "default": "",
          "placeholder": "e.g. Contact us",
          "required": false,
          "description": "Shown at the top of the form"
        },
        {
          "displayName": "Form Description",
          "name": "formDescription",
          "type": "string",
          "default": "",
          "placeholder": "e.g. We'll get back to you soon",
          "description": "Shown underneath the Form Title. Can be used to prompt the user on how to complete the form. Accepts HTML. Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags.",
          "typeOptions": {
            "rows": 2
          }
        },
        {
          "displayName": "Button Label",
          "name": "buttonLabel",
          "type": "string",
          "default": "Submit"
        },
        {
          "displayName": "Custom Form Styling",
          "name": "customCss",
          "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 public form interface with CSS"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "page"
          ]
        }
      }
    },
    {
      "displayName": "On n8n Form Submission",
      "name": "respondWith",
      "type": "options",
      "default": "text",
      "options": [
        {
          "name": "Show Completion Screen",
          "value": "text",
          "description": "Show a response text to the user"
        },
        {
          "name": "Redirect to URL",
          "value": "redirect",
          "description": "Redirect the user to a URL"
        },
        {
          "name": "Show Text",
          "value": "showText",
          "description": "Display simple text or HTML"
        },
        {
          "name": "Return Binary File",
          "value": "returnBinary",
          "description": "Return incoming binary file"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "completion"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "redirectUrl",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "respondWith": [
            "redirect"
          ],
          "operation": [
            "completion"
          ]
        }
      }
    },
    {
      "displayName": "Completion Title",
      "name": "completionTitle",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "respondWith": [
            "text",
            "returnBinary"
          ],
          "operation": [
            "completion"
          ]
        }
      }
    },
    {
      "displayName": "Completion Message",
      "name": "completionMessage",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "respondWith": [
            "text",
            "returnBinary"
          ],
          "operation": [
            "completion"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Text",
      "name": "responseText",
      "type": "string",
      "default": "",
      "description": "The text to display on the page. Use HTML to show a customized web page.",
      "displayOptions": {
        "show": {
          "respondWith": [
            "showText"
          ],
          "operation": [
            "completion"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Input Data Field Name",
      "name": "inputDataFieldName",
      "type": "string",
      "default": "data",
      "description": "Find the name of input field containing the binary data to return in the Input panel on the left, in the Binary tab",
      "displayOptions": {
        "show": {
          "respondWith": [
            "returnBinary"
          ],
          "operation": [
            "completion"
          ]
        }
      }
    },
    {
      "displayName": "Limit Wait Time",
      "name": "limitWaitTime",
      "type": "boolean",
      "default": false,
      "description": "Whether to limit the time this node should wait for a user response before execution resumes",
      "displayOptions": {
        "show": {
          "operation": [
            "completion"
          ]
        }
      }
    },
    {
      "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"
        }
      ],
      "displayOptions": {
        "show": {
          "limitWaitTime": [
            true
          ],
          "operation": [
            "completion"
          ]
        }
      }
    },
    {
      "displayName": "Amount",
      "name": "resumeAmount",
      "type": "number",
      "default": 1,
      "description": "The time to wait",
      "displayOptions": {
        "show": {
          "limitType": [
            "afterTimeInterval"
          ],
          "limitWaitTime": [
            true
          ],
          "operation": [
            "completion"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "numberPrecision": 2
      }
    },
    {
      "displayName": "Unit",
      "name": "resumeUnit",
      "type": "options",
      "default": "hours",
      "description": "Unit of the interval value",
      "options": [
        {
          "name": "Minutes",
          "value": "minutes"
        },
        {
          "name": "Hours",
          "value": "hours"
        },
        {
          "name": "Days",
          "value": "days"
        }
      ],
      "displayOptions": {
        "show": {
          "limitType": [
            "afterTimeInterval"
          ],
          "limitWaitTime": [
            true
          ],
          "operation": [
            "completion"
          ]
        }
      }
    },
    {
      "displayName": "Max Date and Time",
      "name": "maxDateAndTime",
      "type": "dateTime",
      "default": "",
      "description": "Continue execution after the specified date and time",
      "displayOptions": {
        "show": {
          "limitType": [
            "atSpecifiedTime"
          ],
          "limitWaitTime": [
            true
          ],
          "operation": [
            "completion"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Completion Page Title",
          "name": "formTitle",
          "type": "string",
          "default": "",
          "placeholder": "e.g. Contact us",
          "required": false,
          "description": "Shown at the top of the form"
        },
        {
          "displayName": "Custom Form Styling",
          "name": "customCss",
          "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 public form interface with CSS"
        }
      ],
      "displayOptions": {
        "show": {
          "respondWith": [
            "text",
            "returnBinary",
            "redirect"
          ],
          "operation": [
            "completion"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "page",
      "name": "Next Form Page"
    },
    {
      "operation": "completion",
      "name": "Form Ending"
    }
  ]


node_type: nodes-base.formTrigger
package_name: n8n-nodes-base
display_name: n8n Form Trigger
description: Generate webforms in n8n and pass their responses to the workflow
category: trigger
development_style: programmatic
version: 2.5
operations: []
outputs:
  [
  "main"
  ]

updated_at: 2026-03-18 15:15:48
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: n8n Form Trigger node documentation
  description: Learn how to use the n8n Form Trigger node in n8n. Follow technical documentation to integrate n8n Form Trigger node into your workflows.
  contentType: [integration, reference]
  priority: critical
  ---

  # n8n Form Trigger node

  Use the n8n Form trigger to start a workflow when a user submits a form, taking the input data from the form. The node generates the form web page for you to use.

  You can add more pages to continue the form with the [n8n Form](/integrations/builtin/core-nodes/n8n-nodes-base.form.md) node.

  ## Build and test workflows

  While building or testing a workflow, use the **Test URL**. Using a test URL ensures that you can view the incoming data in the editor UI, which is useful for debugging. 

  There are two ways to test:

  - Select **Test Step**. n8n opens the form. When you submit the form, n8n runs the node, but not the rest of the workflow.
  - Select **Test Workflow**. n8n opens the form. When you submit the form, n8n runs the workflow.

  ## Production workflows

  When your workflow is ready, switch to using the **Production URL**. You can then activate your workflow, and n8n runs it automatically when a user submits the form.

  When working with a production URL, ensure that you have saved and activated the workflow. Data flowing through the Form trigger isn't visible in the editor UI with the production URL.

  ## Set default selections with query parameters

  You can set the initial values for fields by using [query parameters](https://en.wikipedia.org/wiki/Query_string#Web_forms){:target=_blank .external-link} with the initial URL provided by the n8n Form Trigger. Every [page in the form](/integrations/builtin/core-nodes/n8n-nodes-base.form.md) receives the same query parameters sent to the n8n Form Trigger URL.

  /// note | Only for production
  Query parameters are only available when using the form in production mode. n8n won't populate field values from query parameters in testing mode.
  ///

  <!-- vale from-microsoft.Percentages = NO -->
  When using query parameters, [percent-encode](https://en.wikipedia.org/wiki/Percent-encoding){:target=_blank .external-link} any field names or values that use special characters. This ensures n8n uses the initial values for the given fields. You can use tools like [URL Encode/Decode](https://www.url-encode-decode.com/) to format your query parameters using percent-encoding.

  As an example, imagine you have a form with the following properties:

  * Production URL: `https://my-account.n8n.cloud/form/my-form`
  * Fields:
  	* `name`: `Jane Doe`
  	* `email`: `jane.doe@example.com`

  With query parameters and percent-encoding, you could use the following URL to set initial field values to the data above:

  ```
  https://my-account.n8n.cloud/form/my-form?email=jane.doe%40example.com&name=Jane%20Doe
  ```

  Here, percent-encoding replaces the at-symbol (`@`) with the string `%40` and the space character (` `) with the string `%20`. This will set the initial value for these fields no matter which page of the form they appear on.
  <!-- vale from-microsoft.Percentages = YES -->

  ## Node parameters

  These are the main node configuration fields:

  ### Authentication

  - **Basic Auth**
  - **None**

  #### Using basic auth

  To configure this credential, you'll need:

  - The **Username** you use to access the app or service your HTTP Request is targeting.
  - The **Password** that goes with that username.

  ### Form URLs

  The Form Trigger node has two URLs: **Test URL** and **Production URL**. n8n displays the URLs at the top of the node panel. Select **Test URL** or **Production URL** to toggle which URL n8n displays.

  ![Screenshot of the form URLs](/_images/integrations/builtin/core-nodes/form-trigger/form-urls.png)

  - **Test URL**: n8n registers a test webhook when you select **Test Step** or **Test Workflow**, if the workflow isn't active. When you call the URL, n8n displays the data in the workflow.
  - **Production URL**: n8n registers a production webhook when you activate the workflow. When using the production URL, n8n doesn't display the data in the workflow. You can still view workflow data for a production execution. Select the **Executions** tab in the workflow, then select the workflow execution you want to view.

  ### Form Path

  Set a custom slug for the form.

  ### Form Title

  Enter the title for your form. n8n displays the **Form Title** as the webpage title and main `h1` title on the form.

  ### Form Description

  Enter the description for your form. n8n displays the **Form Description** as a subtitle below the main `h1` title on the form. Use `\n` or `<br>` to add a line break. 

  ### Form Elements

  Create the question fields for your form. Select **Add Form Element** to add a new field.

  Every field has the following settings:

  - **Field Label**: Enter the label that appears above the input field. 
  - **Element Type**: Choose from **Custom HTML**, **Date**, **Dropdown List**, **Email**, **File**, **Hidden Field**, **Number**, **Password**, **Text**, or **Textarea**.
  	- Select **Custom HTML** to insert arbitrary HTML.
  		- You can include elements like links, images, video, and more. You can't include `<script>`, `<style>`, or `<input>` elements.
  		- By default, Custom HTML fields aren't included in the node output. To include the Custom HTML content in the output, fill out the associated **Element Name** field.
      - Select **Date** to include a date picker in the form. Refer to [Date and time with Luxon](/code/cookbook/luxon.md) for more information on formatting dates.
  	- Select **Dropdown List** > **Add Field Option** to add multiple options. By default, the dropdown is single-choice. To make it multiple-choice, turn on **Multiple Choice**. 
  	- Select **Hidden Field** to include a form element without displaying it on the form. You can set a default value using the **Field Value** parameter or pass values for the field using [query parameters](#set-default-selections-with-query-parameters).
  - **Required Field**: Turn on to require users to complete this field on the form. 

  ### Respond When

  Choose when n8n sends a response to the form submission. You can respond when:

  - **Form Is Submitted**: Send a response to the user as soon as they submit the form.
  - **Workflow Finishes**: Use this if you want the workflow to complete its execution before you send a response to the user. If the workflow errors, it sends a response to the user telling them there was a problem submitting the form.

  ## Node options

  Select **Add Option** to view more configuration options: 

  - **Append n8n Attribution**: Turn off to hide the **Form automated with n8n** attribute at the bottom of the form.
  - **Form Response**: Choose how to respond when the user submits the form. 
      - **Respond With** > **Form Submitted Text**: Show a message to the user.
      - **Respond With** > **Redirect URL**: Send the user to a new page.
  - **Ignore Bots**: Turn on to ignore requests from bots like link previewers and web crawlers. 
  - **Use Workflow Timezone**: Turn on to use the timezone in the [Workflow settings](/workflows/settings.md) instead of UTC (default). This affects the value of the `submittedAt` timestamp in the node output. 

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "none",
      "options": [
        {
          "name": "Basic Auth",
          "value": "basicAuth"
        },
        {
          "name": "None",
          "value": "none"
        }
      ]
    },
    {
      "displayName": "Form Path",
      "name": "path",
      "type": "string",
      "default": "",
      "description": "The final segment of the form's URL, both for test and production",
      "required": true,
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "lte": 2.1
              }
            }
          ]
        }
      }
    },
    {
      "displayName": "Form Title",
      "name": "formTitle",
      "type": "string",
      "default": "",
      "description": "Shown at the top of the form",
      "required": true
    },
    {
      "displayName": "Form Description",
      "name": "formDescription",
      "type": "string",
      "default": "",
      "description": "Shown underneath the Form Title. Can be used to prompt the user on how to complete the form. Accepts HTML. Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags.",
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "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"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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 Input",
                  "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": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "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": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "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,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "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": {
          "@version": [
            {
              "_cnd": {
                "lt": 2.5
              }
            }
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true,
        "fixedCollection": {
          "itemTitle": "={{ $collection.item.properties.find(p => p.name === \"fieldType\").options.find(o => o.value === $collection.item.value.fieldType).name }}"
        }
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "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"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "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 Input",
                  "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": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "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": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "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,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "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": {
          "@version": [
            {
              "_cnd": {
                "gte": 2.5
              }
            }
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true,
        "hideOptionalFields": true,
        "addOptionalFieldButtonText": "Add Attributes",
        "fixedCollection": {
          "itemTitle": "={{ $collection.item.properties.find(p => p.name === \"fieldType\").options.find(o => o.value === $collection.item.value.fieldType).name }}"
        }
      }
    },
    {
      "displayName": "Respond When",
      "name": "responseMode",
      "type": "options",
      "default": "onReceived",
      "description": "When to respond to the form submission",
      "options": [
        {
          "name": "Form Is Submitted",
          "value": "onReceived",
          "description": "As soon as this node receives the form submission"
        },
        {
          "name": "Workflow Finishes",
          "value": "lastNode",
          "description": "When the last node of the workflow is executed"
        },
        {
          "name": "Using 'Respond to Webhook' Node",
          "value": "responseNode",
          "description": "When the 'Respond to Webhook' node is executed"
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "lte": 2.1
              }
            }
          ]
        }
      }
    },
    {
      "displayName": "Respond When",
      "name": "responseMode",
      "type": "options",
      "default": "onReceived",
      "description": "When to respond to the form submission",
      "options": [
        {
          "name": "Form Is Submitted",
          "value": "onReceived",
          "description": "As soon as this node receives the form submission"
        },
        {
          "name": "Workflow Finishes",
          "value": "lastNode",
          "description": "When the last node of the workflow is executed"
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "gte": 2.2
              }
            }
          ]
        }
      }
    },
    {
      "displayName": "In the 'Respond to Webhook' node, select 'Respond With JSON' and set the <strong>formSubmittedText</strong> key to display a custom response in the form, or the <strong>redirectURL</strong> key to redirect users to a URL",
      "name": "formNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "responseMode": [
            "responseNode"
          ]
        }
      }
    },
    {
      "displayName": "Build multi-step forms by adding a form page later in your workflow",
      "name": "addFormPage",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the link “Form automated with n8n” at the bottom of the form"
        },
        {
          "displayName": "IP(s) Allowlist",
          "name": "ipWhitelist",
          "type": "string",
          "placeholder": "e.g. 127.0.0.1, 192.168.1.0/24",
          "default": "",
          "description": "Comma-separated list of allowed IP addresses or CIDR ranges. Leave empty to allow all IPs."
        },
        {
          "displayName": "Button Label",
          "description": "The label of the submit button in the form",
          "name": "buttonLabel",
          "type": "string",
          "default": "Submit"
        },
        {
          "displayName": "Form Path",
          "name": "path",
          "type": "string",
          "default": "",
          "placeholder": "webhook",
          "required": false,
          "description": "The final segment of the form's URL, both for test and production",
          "displayOptions": {
            "show": {
              "@version": [
                {
                  "_cnd": {
                    "gte": 2.2
                  }
                }
              ]
            }
          }
        },
        {
          "displayName": "Form Response",
          "name": "respondWithOptions",
          "type": "fixedCollection",
          "placeholder": "Add option",
          "default": {
            "values": {
              "respondWith": "text"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Respond With",
                  "name": "respondWith",
                  "type": "options",
                  "default": "text",
                  "options": [
                    {
                      "name": "Form Submitted Text",
                      "value": "text",
                      "description": "Show a response text to the user"
                    },
                    {
                      "name": "Redirect URL",
                      "value": "redirect",
                      "description": "Redirect the user to a URL"
                    }
                  ]
                },
                {
                  "displayName": "Text to Show",
                  "name": "formSubmittedText",
                  "description": "The text displayed to users after they fill the form. Leave it empty if don't want to show any additional text.",
                  "type": "string",
                  "default": "Your response has been recorded",
                  "displayOptions": {
                    "show": {
                      "respondWith": [
                        "text"
                      ]
                    }
                  }
                },
                {
                  "displayName": "URL to Redirect to",
                  "name": "redirectUrl",
                  "description": "The URL to redirect users to after they fill the form. Must be a valid URL.",
                  "type": "string",
                  "default": "",
                  "validateType": "url",
                  "placeholder": "e.g. http://www.n8n.io",
                  "displayOptions": {
                    "show": {
                      "respondWith": [
                        "redirect"
                      ]
                    }
                  }
                }
              ]
            }
          ],
          "displayOptions": {
            "hide": {
              "/responseMode": [
                "responseNode"
              ]
            }
          }
        },
        {
          "displayName": "Ignore Bots",
          "name": "ignoreBots",
          "type": "boolean",
          "default": false,
          "description": "Whether to ignore requests from bots like link previewers and web crawlers"
        },
        {
          "displayName": "Use Workflow Timezone",
          "name": "useWorkflowTimezone",
          "type": "boolean",
          "default": false,
          "description": "Whether to use the workflow timezone in 'submittedAt' field or UTC",
          "displayOptions": {
            "show": {
              "@version": [
                2
              ]
            }
          }
        },
        {
          "displayName": "Use Workflow Timezone",
          "name": "useWorkflowTimezone",
          "type": "boolean",
          "default": true,
          "description": "Whether to use the workflow timezone in 'submittedAt' field or UTC",
          "displayOptions": {
            "show": {
              "@version": [
                {
                  "_cnd": {
                    "gt": 2
                  }
                }
              ]
            }
          }
        },
        {
          "displayName": "Custom Form Styling",
          "name": "customCss",
          "type": "string",
          "typeOptions": {
            "rows": 10,
            "editor": "cssEditor"
          },
          "displayOptions": {
            "show": {
              "@version": [
                {
                  "_cnd": {
                    "gt": 2
                  }
                }
              ]
            }
          },
          "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 public form interface with CSS"
        }
      ]
    }
  ]

credentials_required:
  [
    {
      "name": "httpBasicAuth",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "basicAuth"
          ]
        }
      }
    }
  ]


node_type: nodes-base.formIoTrigger
package_name: n8n-nodes-base
display_name: Form.io Trigger
description: Handle form.io events via webhooks
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "formIoApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-03-18 15:15:48
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Form.io Trigger node documentation
  description: Learn how to use the Form.io Trigger node in n8n. Follow technical documentation to integrate Form.io Trigger node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Form.io Trigger node

  [Form.io](https://www.form.io/){:target=_blank .external-link} is an enterprise class combined form and API data management platform for building complex form-based business process applications.

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

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

properties_schema:
  [
    {
      "displayName": "Project Name or ID",
      "name": "projectId",
      "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,
      "typeOptions": {
        "loadOptionsMethod": "getProjects"
      }
    },
    {
      "displayName": "Form Name or ID",
      "name": "formId",
      "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,
      "typeOptions": {
        "loadOptionsDependsOn": [
          "projectId"
        ],
        "loadOptionsMethod": "getForms"
      }
    },
    {
      "displayName": "Trigger Events",
      "name": "events",
      "type": "multiOptions",
      "default": [],
      "options": [
        {
          "name": "Submission Created",
          "value": "create"
        },
        {
          "name": "Submission Updated",
          "value": "update"
        }
      ],
      "required": true
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data"
    }
  ]


node_type: nodes-base.formstackTrigger
package_name: n8n-nodes-base
display_name: Formstack Trigger
description: Starts the workflow on a Formstack form submission.
category: trigger
development_style: programmatic
version: 1
operations: []
outputs:
  [
  "main"
  ]

updated_at: 2026-03-18 15:15:48
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Formstack Trigger node documentation
  description: Learn how to use the Formstack Trigger node in n8n. Follow technical documentation to integrate Formstack Trigger node into your workflows.
  contentType: [integration, reference]
  ---

  # Formstack Trigger node

  [Formstack](https://www.formstack.com/){:target=_blank .external-link} is a workplace productivity platform that helps organizations streamline digital work through no-code online forms, documents, and signatures.

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "accessToken",
      "options": [
        {
          "name": "Access Token",
          "value": "accessToken"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Form Name or ID",
      "name": "formId",
      "type": "options",
      "default": "",
      "description": "The Formstack form to monitor for new submissions. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "typeOptions": {
        "loadOptionsMethod": "getForms"
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data"
    }
  ]

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


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

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

output_names:
  [
  "Tool"
  ]

updated_at: 2026-03-18 15:15:48
tool_variant_of: nodes-base.freshdesk
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Freshdesk node documentation
  description: Learn how to use the Freshdesk node in n8n. Follow technical documentation to integrate Freshdesk node into your workflows.
  contentType: [integration, reference]
  ---

  # Freshdesk node

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

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

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

  ## Operations

  * Contact
      * Create a new contact
      * Delete a contact
      * Get a contact
      * Get all contacts
      * Update a contact
  * Ticket
      * Create a new ticket
      * Delete a ticket
      * Get a ticket
      * Get all tickets
      * Update a ticket

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Freshdesk"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "ticket",
      "options": [
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "Ticket",
          "value": "ticket"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new ticket",
          "action": "Create a ticket"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a ticket",
          "action": "Delete a ticket"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a ticket",
          "action": "Get a ticket"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many tickets",
          "action": "Get many tickets"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a ticket",
          "action": "Update a ticket"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Requester Identification",
      "name": "requester",
      "type": "options",
      "default": "requesterId",
      "options": [
        {
          "name": "Email",
          "value": "email",
          "description": "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact."
        },
        {
          "name": "Facebook ID",
          "value": "facebookId",
          "description": "Facebook ID of the requester. If no contact exists with this facebook_id, then a new contact will be created."
        },
        {
          "name": "Phone",
          "value": "phone",
          "description": "Phone number of the requester. If no contact exists with this phone number in Freshdesk, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatory."
        },
        {
          "name": "Requester ID",
          "value": "requesterId",
          "description": "User ID of the requester. For existing contacts, the requester_id can be passed instead of the requester's email."
        },
        {
          "name": "Twitter ID",
          "value": "twitterId",
          "description": "Twitter handle of the requester. If no contact exists with this handle in Freshdesk, it will be added as a new contact."
        },
        {
          "name": "Unique External ID",
          "value": "uniqueExternalId",
          "description": "External ID of the requester. If no contact exists with this external ID in Freshdesk, they will be added as a new contact."
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Value",
      "name": "requesterIdentificationValue",
      "type": "string",
      "default": "",
      "description": "Value of the identification selected",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": "pending",
      "options": [
        {
          "name": "Closed",
          "value": "closed"
        },
        {
          "name": "Open",
          "value": "open"
        },
        {
          "name": "Pending",
          "value": "pending"
        },
        {
          "name": "Resolved",
          "value": "resolved"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Priority",
      "name": "priority",
      "type": "options",
      "default": "low",
      "options": [
        {
          "name": "Low",
          "value": "low"
        },
        {
          "name": "Medium",
          "value": "medium"
        },
        {
          "name": "High",
          "value": "high"
        },
        {
          "name": "Urgent",
          "value": "urgent"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Source",
      "name": "source",
      "type": "options",
      "default": "portal",
      "description": "The channel through which the ticket was created",
      "options": [
        {
          "name": "Chat",
          "value": "chat"
        },
        {
          "name": "Email",
          "value": "email"
        },
        {
          "name": "Feedback Widget",
          "value": "feedbackWidget"
        },
        {
          "name": "Mobihelp",
          "value": "mobileHelp"
        },
        {
          "name": "Outbound Email",
          "value": "OutboundEmail"
        },
        {
          "name": "Phone",
          "value": "phone"
        },
        {
          "name": "Portal",
          "value": "portal"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          },
          "description": "ID of the agent to whom the ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "CC Emails",
          "name": "ccEmails",
          "type": "string",
          "default": "",
          "description": "Separated by a comma (,) email addresses added in the 'cc' field of the incoming ticket email"
        },
        {
          "displayName": "Company Name or ID",
          "name": "company",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getCompanies"
          },
          "description": "Company ID of the requester. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "typeOptions": {
            "rows": 5
          },
          "description": "HTML content of the ticket"
        },
        {
          "displayName": "Due By",
          "name": "dueBy",
          "type": "dateTime",
          "default": "",
          "description": "Timestamp that denotes when the ticket is due to be resolved"
        },
        {
          "displayName": "Email Config ID",
          "name": "emailConfigId",
          "type": "number",
          "default": "",
          "description": "ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product's primary email_config_id will be set."
        },
        {
          "displayName": "FR Due By",
          "name": "frDueBy",
          "type": "dateTime",
          "default": "",
          "description": "Timestamp that denotes when the first response is due"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getGroups"
          },
          "description": "ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "placeholder": "",
          "description": "Name of the requester"
        },
        {
          "displayName": "Product Name or ID",
          "name": "product",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getProducts"
          },
          "description": "ID of the product to which the ticket is associated. It will be ignored if the email_config_id attribute is set in the request. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": "",
          "placeholder": "",
          "description": "Subject of the ticket"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "description": "Separated by a comma (,) tags that have been associated with the ticket"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "default": "Question",
          "description": "Helps categorize the ticket according to the different kinds of issues your support team deals with",
          "options": [
            {
              "name": "Feature Request",
              "value": "Feature Request"
            },
            {
              "name": "Incident",
              "value": "Incident"
            },
            {
              "name": "Problem",
              "value": "Problem"
            },
            {
              "name": "Question",
              "value": "Question"
            },
            {
              "name": "Refund",
              "value": "Refund"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          },
          "description": "ID of the agent to whom the ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "CC Emails",
          "name": "ccEmails",
          "type": "string",
          "default": "",
          "description": "Separated by a comma (,) email addresses added in the 'cc' field of the incoming ticket email"
        },
        {
          "displayName": "Company Name or ID",
          "name": "company",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getCompanies"
          },
          "description": "Company ID of the requester. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Due By",
          "name": "dueBy",
          "type": "dateTime",
          "default": "",
          "description": "Timestamp that denotes when the ticket is due to be resolved"
        },
        {
          "displayName": "Email Config ID",
          "name": "emailConfigId",
          "type": "number",
          "default": "",
          "description": "ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product's primary email_config_id will be set."
        },
        {
          "displayName": "FR Due By",
          "name": "frDueBy",
          "type": "dateTime",
          "default": "",
          "description": "Timestamp that denotes when the first response is due"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getGroups"
          },
          "description": "ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "placeholder": "",
          "description": "Name of the requester"
        },
        {
          "displayName": "Product Name or ID",
          "name": "product",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getProducts"
          },
          "description": "ID of the product to which the ticket is associated. It will be ignored if the email_config_id attribute is set in the request. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Medium",
              "value": "medium"
            },
            {
              "name": "High",
              "value": "high"
            },
            {
              "name": "Urgent",
              "value": "urgent"
            }
          ],
          "default": "low"
        },
        {
          "displayName": "Requester Identification",
          "name": "requester",
          "type": "options",
          "options": [
            {
              "name": "Email",
              "value": "email",
              "description": "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact."
            },
            {
              "name": "Facebook ID",
              "value": "facebookId",
              "description": "Facebook ID of the requester. If no contact exists with this facebook_id, then a new contact will be created."
            },
            {
              "name": "Phone",
              "value": "phone",
              "description": "Phone number of the requester. If no contact exists with this phone number in Freshdesk, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatory."
            },
            {
              "name": "Requester ID",
              "value": "requesterId",
              "description": "User ID of the requester. For existing contacts, the requester_id can be passed instead of the requester's email."
            },
            {
              "name": "Twitter ID",
              "value": "twitterId",
              "description": "Twitter handle of the requester. If no contact exists with this handle in Freshdesk, it will be added as a new contact."
            },
            {
              "name": "Unique External ID",
              "value": "uniqueExternalId",
              "description": "External ID of the requester. If no contact exists with this external ID in Freshdesk, they will be added as a new contact."
            }
          ],
          "default": "requesterId"
        },
        {
          "displayName": "Requester Value",
          "name": "requesterIdentificationValue",
          "type": "string",
          "default": "",
          "description": "Value of the identification selected"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Open",
              "value": "open"
            },
            {
              "name": "Pending",
              "value": "pending"
            },
            {
              "name": "Resolved",
              "value": "resolved"
            },
            {
              "name": "Closed",
              "value": "closed"
            }
          ],
          "default": "pending"
        },
        {
          "displayName": "Source",
          "name": "source",
          "type": "options",
          "options": [
            {
              "name": "Chat",
              "value": "chat"
            },
            {
              "name": "Email",
              "value": "email"
            },
            {
              "name": "Feedback Widget",
              "value": "feedbackWidget"
            },
            {
              "name": "Mobihelp",
              "value": "mobileHelp"
            },
            {
              "name": "Outbound Email",
              "value": "OutboundEmail"
            },
            {
              "name": "Phone",
              "value": "phone"
            },
            {
              "name": "Portal",
              "value": "portal"
            }
          ],
          "default": "portal",
          "description": "The channel through which the ticket was created"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "description": "Separated by a comma (,) tags that have been associated with the ticket"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "default": "Question",
          "description": "Helps categorize the ticket according to the different kinds of issues your support team deals with",
          "options": [
            {
              "name": "Feature Request",
              "value": "Feature Request"
            },
            {
              "name": "Incident",
              "value": "Incident"
            },
            {
              "name": "Problem",
              "value": "Problem"
            },
            {
              "name": "Question",
              "value": "Question"
            },
            {
              "name": "Refund",
              "value": "Refund"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "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": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 10
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Company ID",
          "name": "companyId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Include",
          "name": "include",
          "type": "multiOptions",
          "options": [
            {
              "name": "Company",
              "value": "company"
            },
            {
              "name": "Description",
              "value": "description"
            },
            {
              "name": "Requester",
              "value": "requester"
            },
            {
              "name": "Stats",
              "value": "stats"
            }
          ],
          "default": []
        },
        {
          "displayName": "Order",
          "name": "order",
          "type": "options",
          "options": [
            {
              "name": "ASC",
              "value": "asc"
            },
            {
              "name": "DESC",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Order sort attribute ascending or descending"
        },
        {
          "displayName": "Order By",
          "name": "orderBy",
          "type": "options",
          "options": [
            {
              "name": "Created At",
              "value": "createdAt"
            },
            {
              "name": "Due By",
              "value": "dueBy"
            },
            {
              "name": "Updated At",
              "value": "updatedAt"
            }
          ],
          "default": "",
          "description": "Sort collection by object attribute"
        },
        {
          "displayName": "Requester Email",
          "name": "requesterEmail",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Requester ID",
          "name": "requesterId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Updated Since",
          "name": "updatedSince",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new contact",
          "action": "Create a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a contact"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the contact",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute.",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": "",
          "description": "Address of the contact"
        },
        {
          "displayName": "Company ID",
          "name": "company_id",
          "type": "number",
          "default": "",
          "description": "ID of the primary company to which this contact belongs"
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "type": "fixedCollection",
          "placeholder": "Add Custom Field",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Key value pairs containing the name and value of the custom field. Only dates in the format YYYY-MM-DD are accepted as input for custom date fields.",
          "default": [],
          "options": [
            {
              "displayName": "Custom Field",
              "name": "customField",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field's name"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field's values"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "A small description of the contact"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "displayOptions": {
            "show": {
              "/operation": [
                "update"
              ]
            }
          },
          "description": "Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute."
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": "",
          "description": "Job title of the contact"
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "string",
          "default": "",
          "description": "Language of the contact. Default language is \"en\". This attribute can only be set if the Multiple Language feature is enabled (Garden plan and above)."
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "default": "",
          "description": "Mobile number of the contact"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/operation": [
                "update"
              ]
            }
          },
          "description": "Name of the contact"
        },
        {
          "displayName": "Other Companies",
          "name": "other_companies",
          "type": "string",
          "default": [],
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Company",
          "description": "Additional companies associated with the contact. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above)."
        },
        {
          "displayName": "Other Emails",
          "name": "other_emails",
          "type": "string",
          "default": [],
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Email",
          "description": "Additional emails associated with the contact"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "Telephone number of the contact"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": [],
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Tags associated with this contact"
        },
        {
          "displayName": "Time Zone",
          "name": "time_zone",
          "type": "string",
          "default": "",
          "description": "Time zone of the contact. Default value is the time zone of the domain. This attribute can only be set if the Multiple Time Zone feature is enabled (Garden plan and above)."
        },
        {
          "displayName": "Twitter ID",
          "name": "twitter_id",
          "type": "string",
          "default": "",
          "description": "Twitter handle of the contact"
        },
        {
          "displayName": "Unique External ID",
          "name": "unique_external_id",
          "type": "string",
          "default": "",
          "description": "External ID of the contact"
        },
        {
          "displayName": "View All Tickets",
          "name": "view_all_tickets",
          "type": "boolean",
          "default": false,
          "description": "Whether the contact can see all the tickets that are associated with the company to which they belong"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create",
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Company ID",
          "name": "company_id",
          "type": "number",
          "default": ""
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "options",
          "default": "",
          "options": [
            {
              "name": "Blocked",
              "value": "blocked"
            },
            {
              "name": "Deleted",
              "value": "deleted"
            },
            {
              "name": "Unverified",
              "value": "unverified"
            },
            {
              "name": "Verified",
              "value": "verified"
            }
          ]
        },
        {
          "displayName": "Updated Since",
          "name": "updated_since",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    }
  ]

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


node_type: nodes-base.freshdesk
package_name: n8n-nodes-base
display_name: Freshdesk
description: Consume Freshdesk API
category: output
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "freshdeskApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-03-18 15:15:48
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Freshdesk node documentation
  description: Learn how to use the Freshdesk node in n8n. Follow technical documentation to integrate Freshdesk node into your workflows.
  contentType: [integration, reference]
  ---

  # Freshdesk node

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

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

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

  ## Operations

  * Contact
      * Create a new contact
      * Delete a contact
      * Get a contact
      * Get all contacts
      * Update a contact
  * Ticket
      * Create a new ticket
      * Delete a ticket
      * Get a ticket
      * Get all tickets
      * Update a ticket

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "ticket",
      "options": [
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "Ticket",
          "value": "ticket"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new ticket",
          "action": "Create a ticket"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a ticket",
          "action": "Delete a ticket"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a ticket",
          "action": "Get a ticket"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many tickets",
          "action": "Get many tickets"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a ticket",
          "action": "Update a ticket"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Requester Identification",
      "name": "requester",
      "type": "options",
      "default": "requesterId",
      "options": [
        {
          "name": "Email",
          "value": "email",
          "description": "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact."
        },
        {
          "name": "Facebook ID",
          "value": "facebookId",
          "description": "Facebook ID of the requester. If no contact exists with this facebook_id, then a new contact will be created."
        },
        {
          "name": "Phone",
          "value": "phone",
          "description": "Phone number of the requester. If no contact exists with this phone number in Freshdesk, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatory."
        },
        {
          "name": "Requester ID",
          "value": "requesterId",
          "description": "User ID of the requester. For existing contacts, the requester_id can be passed instead of the requester's email."
        },
        {
          "name": "Twitter ID",
          "value": "twitterId",
          "description": "Twitter handle of the requester. If no contact exists with this handle in Freshdesk, it will be added as a new contact."
        },
        {
          "name": "Unique External ID",
          "value": "uniqueExternalId",
          "description": "External ID of the requester. If no contact exists with this external ID in Freshdesk, they will be added as a new contact."
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Value",
      "name": "requesterIdentificationValue",
      "type": "string",
      "default": "",
      "description": "Value of the identification selected",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": "pending",
      "options": [
        {
          "name": "Closed",
          "value": "closed"
        },
        {
          "name": "Open",
          "value": "open"
        },
        {
          "name": "Pending",
          "value": "pending"
        },
        {
          "name": "Resolved",
          "value": "resolved"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Priority",
      "name": "priority",
      "type": "options",
      "default": "low",
      "options": [
        {
          "name": "Low",
          "value": "low"
        },
        {
          "name": "Medium",
          "value": "medium"
        },
        {
          "name": "High",
          "value": "high"
        },
        {
          "name": "Urgent",
          "value": "urgent"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Source",
      "name": "source",
      "type": "options",
      "default": "portal",
      "description": "The channel through which the ticket was created",
      "options": [
        {
          "name": "Chat",
          "value": "chat"
        },
        {
          "name": "Email",
          "value": "email"
        },
        {
          "name": "Feedback Widget",
          "value": "feedbackWidget"
        },
        {
          "name": "Mobihelp",
          "value": "mobileHelp"
        },
        {
          "name": "Outbound Email",
          "value": "OutboundEmail"
        },
        {
          "name": "Phone",
          "value": "phone"
        },
        {
          "name": "Portal",
          "value": "portal"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          },
          "description": "ID of the agent to whom the ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "CC Emails",
          "name": "ccEmails",
          "type": "string",
          "default": "",
          "description": "Separated by a comma (,) email addresses added in the 'cc' field of the incoming ticket email"
        },
        {
          "displayName": "Company Name or ID",
          "name": "company",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getCompanies"
          },
          "description": "Company ID of the requester. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "typeOptions": {
            "rows": 5
          },
          "description": "HTML content of the ticket"
        },
        {
          "displayName": "Due By",
          "name": "dueBy",
          "type": "dateTime",
          "default": "",
          "description": "Timestamp that denotes when the ticket is due to be resolved"
        },
        {
          "displayName": "Email Config ID",
          "name": "emailConfigId",
          "type": "number",
          "default": "",
          "description": "ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product's primary email_config_id will be set."
        },
        {
          "displayName": "FR Due By",
          "name": "frDueBy",
          "type": "dateTime",
          "default": "",
          "description": "Timestamp that denotes when the first response is due"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getGroups"
          },
          "description": "ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "placeholder": "",
          "description": "Name of the requester"
        },
        {
          "displayName": "Product Name or ID",
          "name": "product",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getProducts"
          },
          "description": "ID of the product to which the ticket is associated. It will be ignored if the email_config_id attribute is set in the request. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": "",
          "placeholder": "",
          "description": "Subject of the ticket"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "description": "Separated by a comma (,) tags that have been associated with the ticket"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "default": "Question",
          "description": "Helps categorize the ticket according to the different kinds of issues your support team deals with",
          "options": [
            {
              "name": "Feature Request",
              "value": "Feature Request"
            },
            {
              "name": "Incident",
              "value": "Incident"
            },
            {
              "name": "Problem",
              "value": "Problem"
            },
            {
              "name": "Question",
              "value": "Question"
            },
            {
              "name": "Refund",
              "value": "Refund"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          },
          "description": "ID of the agent to whom the ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "CC Emails",
          "name": "ccEmails",
          "type": "string",
          "default": "",
          "description": "Separated by a comma (,) email addresses added in the 'cc' field of the incoming ticket email"
        },
        {
          "displayName": "Company Name or ID",
          "name": "company",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getCompanies"
          },
          "description": "Company ID of the requester. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Due By",
          "name": "dueBy",
          "type": "dateTime",
          "default": "",
          "description": "Timestamp that denotes when the ticket is due to be resolved"
        },
        {
          "displayName": "Email Config ID",
          "name": "emailConfigId",
          "type": "number",
          "default": "",
          "description": "ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product's primary email_config_id will be set."
        },
        {
          "displayName": "FR Due By",
          "name": "frDueBy",
          "type": "dateTime",
          "default": "",
          "description": "Timestamp that denotes when the first response is due"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getGroups"
          },
          "description": "ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "placeholder": "",
          "description": "Name of the requester"
        },
        {
          "displayName": "Product Name or ID",
          "name": "product",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getProducts"
          },
          "description": "ID of the product to which the ticket is associated. It will be ignored if the email_config_id attribute is set in the request. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Medium",
              "value": "medium"
            },
            {
              "name": "High",
              "value": "high"
            },
            {
              "name": "Urgent",
              "value": "urgent"
            }
          ],
          "default": "low"
        },
        {
          "displayName": "Requester Identification",
          "name": "requester",
          "type": "options",
          "options": [
            {
              "name": "Email",
              "value": "email",
              "description": "Email address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact."
            },
            {
              "name": "Facebook ID",
              "value": "facebookId",
              "description": "Facebook ID of the requester. If no contact exists with this facebook_id, then a new contact will be created."
            },
            {
              "name": "Phone",
              "value": "phone",
              "description": "Phone number of the requester. If no contact exists with this phone number in Freshdesk, it will be added as a new contact. If the phone number is set and the email address is not, then the name attribute is mandatory."
            },
            {
              "name": "Requester ID",
              "value": "requesterId",
              "description": "User ID of the requester. For existing contacts, the requester_id can be passed instead of the requester's email."
            },
            {
              "name": "Twitter ID",
              "value": "twitterId",
              "description": "Twitter handle of the requester. If no contact exists with this handle in Freshdesk, it will be added as a new contact."
            },
            {
              "name": "Unique External ID",
              "value": "uniqueExternalId",
              "description": "External ID of the requester. If no contact exists with this external ID in Freshdesk, they will be added as a new contact."
            }
          ],
          "default": "requesterId"
        },
        {
          "displayName": "Requester Value",
          "name": "requesterIdentificationValue",
          "type": "string",
          "default": "",
          "description": "Value of the identification selected"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Open",
              "value": "open"
            },
            {
              "name": "Pending",
              "value": "pending"
            },
            {
              "name": "Resolved",
              "value": "resolved"
            },
            {
              "name": "Closed",
              "value": "closed"
            }
          ],
          "default": "pending"
        },
        {
          "displayName": "Source",
          "name": "source",
          "type": "options",
          "options": [
            {
              "name": "Chat",
              "value": "chat"
            },
            {
              "name": "Email",
              "value": "email"
            },
            {
              "name": "Feedback Widget",
              "value": "feedbackWidget"
            },
            {
              "name": "Mobihelp",
              "value": "mobileHelp"
            },
            {
              "name": "Outbound Email",
              "value": "OutboundEmail"
            },
            {
              "name": "Phone",
              "value": "phone"
            },
            {
              "name": "Portal",
              "value": "portal"
            }
          ],
          "default": "portal",
          "description": "The channel through which the ticket was created"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "description": "Separated by a comma (,) tags that have been associated with the ticket"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "default": "Question",
          "description": "Helps categorize the ticket according to the different kinds of issues your support team deals with",
          "options": [
            {
              "name": "Feature Request",
              "value": "Feature Request"
            },
            {
              "name": "Incident",
              "value": "Incident"
            },
            {
              "name": "Problem",
              "value": "Problem"
            },
            {
              "name": "Question",
              "value": "Question"
            },
            {
              "name": "Refund",
              "value": "Refund"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "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": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 10
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Company ID",
          "name": "companyId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Include",
          "name": "include",
          "type": "multiOptions",
          "options": [
            {
              "name": "Company",
              "value": "company"
            },
            {
              "name": "Description",
              "value": "description"
            },
            {
              "name": "Requester",
              "value": "requester"
            },
            {
              "name": "Stats",
              "value": "stats"
            }
          ],
          "default": []
        },
        {
          "displayName": "Order",
          "name": "order",
          "type": "options",
          "options": [
            {
              "name": "ASC",
              "value": "asc"
            },
            {
              "name": "DESC",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Order sort attribute ascending or descending"
        },
        {
          "displayName": "Order By",
          "name": "orderBy",
          "type": "options",
          "options": [
            {
              "name": "Created At",
              "value": "createdAt"
            },
            {
              "name": "Due By",
              "value": "dueBy"
            },
            {
              "name": "Updated At",
              "value": "updatedAt"
            }
          ],
          "default": "",
          "description": "Sort collection by object attribute"
        },
        {
          "displayName": "Requester Email",
          "name": "requesterEmail",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Requester ID",
          "name": "requesterId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Updated Since",
          "name": "updatedSince",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new contact",
          "action": "Create a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a contact"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the contact",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute.",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": "",
          "description": "Address of the contact"
        },
        {
          "displayName": "Company ID",
          "name": "company_id",
          "type": "number",
          "default": "",
          "description": "ID of the primary company to which this contact belongs"
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "type": "fixedCollection",
          "placeholder": "Add Custom Field",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Key value pairs containing the name and value of the custom field. Only dates in the format YYYY-MM-DD are accepted as input for custom date fields.",
          "default": [],
          "options": [
            {
              "displayName": "Custom Field",
              "name": "customField",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field's name"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field's values"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "A small description of the contact"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "displayOptions": {
            "show": {
              "/operation": [
                "update"
              ]
            }
          },
          "description": "Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute."
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": "",
          "description": "Job title of the contact"
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "string",
          "default": "",
          "description": "Language of the contact. Default language is \"en\". This attribute can only be set if the Multiple Language feature is enabled (Garden plan and above)."
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "default": "",
          "description": "Mobile number of the contact"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/operation": [
                "update"
              ]
            }
          },
          "description": "Name of the contact"
        },
        {
          "displayName": "Other Companies",
          "name": "other_companies",
          "type": "string",
          "default": [],
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Company",
          "description": "Additional companies associated with the contact. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above)."
        },
        {
          "displayName": "Other Emails",
          "name": "other_emails",
          "type": "string",
          "default": [],
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Email",
          "description": "Additional emails associated with the contact"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "Telephone number of the contact"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": [],
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Tags associated with this contact"
        },
        {
          "displayName": "Time Zone",
          "name": "time_zone",
          "type": "string",
          "default": "",
          "description": "Time zone of the contact. Default value is the time zone of the domain. This attribute can only be set if the Multiple Time Zone feature is enabled (Garden plan and above)."
        },
        {
          "displayName": "Twitter ID",
          "name": "twitter_id",
          "type": "string",
          "default": "",
          "description": "Twitter handle of the contact"
        },
        {
          "displayName": "Unique External ID",
          "name": "unique_external_id",
          "type": "string",
          "default": "",
          "description": "External ID of the contact"
        },
        {
          "displayName": "View All Tickets",
          "name": "view_all_tickets",
          "type": "boolean",
          "default": false,
          "description": "Whether the contact can see all the tickets that are associated with the company to which they belong"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create",
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Company ID",
          "name": "company_id",
          "type": "number",
          "default": ""
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "State",
          "name": "state",
          "type": "options",
          "default": "",
          "options": [
            {
              "name": "Blocked",
              "value": "blocked"
            },
            {
              "name": "Deleted",
              "value": "deleted"
            },
            {
              "name": "Unverified",
              "value": "unverified"
            },
            {
              "name": "Verified",
              "value": "verified"
            }
          ]
        },
        {
          "displayName": "Updated Since",
          "name": "updated_since",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    }
  ]

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


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

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

output_names:
  [
  "Tool"
  ]

updated_at: 2026-03-18 15:15:48
tool_variant_of: nodes-base.freshservice
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Freshservice node documentation
  description: Learn how to use the Freshservice node in n8n. Follow technical documentation to integrate Freshservice node into your workflows.
  contentType: [integration, reference]
  ---

  # Freshservice node

  Use the Freshservice node to automate work in Freshservice and integrate Freshservice with other applications. n8n has built-in support for a wide range of Freshdesk features, including creating, updating, deleting, and getting agent information and departments.

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

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

  ## Operations

  * Agent
      * Create an agent
      * Delete an agent
      * Retrieve an agent
      * Retrieve all agents
      * Update an agent
  * Agent Group
      * Create an agent group
      * Delete an agent group
      * Retrieve an agent group
      * Retrieve all agent groups
      * Update an agent group
  * Agent Role
      * Retrieve an agent role
      * Retrieve all agent roles
  * Announcement
      * Create an announcement
      * Delete an announcement
      * Retrieve an announcement
      * Retrieve all announcements
      * Update an announcement
  * Asset Type
      * Create an asset type
      * Delete an asset type
      * Retrieve an asset type
      * Retrieve all asset types
      * Update an asset type
  * Change
      * Create a change
      * Delete a change
      * Retrieve a change
      * Retrieve all changes
      * Update a change
  * Department
      * Create a department
      * Delete a department
      * Retrieve a department
      * Retrieve all departments
      * Update a department
  * Location
      * Create a location
      * Delete a location
      * Retrieve a location
      * Retrieve all locations
      * Update a location
  * Problem
      * Create a problem
      * Delete a problem
      * Retrieve a problem
      * Retrieve all problems
      * Update a problem
  * Product
      * Create a product
      * Delete a product
      * Retrieve a product
      * Retrieve all products
      * Update a product
  * Release
      * Create a release
      * Delete a release
      * Retrieve a release
      * Retrieve all releases
      * Update a release
  * Requester
      * Create a requester
      * Delete a requester
      * Retrieve a requester
      * Retrieve all requesters
      * Update a requester
  * Requester Group
      * Create a requester group
      * Delete a requester group
      * Retrieve a requester group
      * Retrieve all requester groups
      * Update a requester group
  * Software
      * Create a software application
      * Delete a software application
      * Retrieve a software application
      * Retrieve all software applications
      * Update a software application
  * Ticket
      * Create a ticket
      * Delete a ticket
      * Retrieve a ticket
      * Retrieve all tickets
      * Update a ticket

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Freshservice"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "agent",
      "options": [
        {
          "name": "Agent",
          "value": "agent"
        },
        {
          "name": "Agent Group",
          "value": "agentGroup"
        },
        {
          "name": "Agent Role",
          "value": "agentRole"
        },
        {
          "name": "Announcement",
          "value": "announcement"
        },
        {
          "name": "Asset Type",
          "value": "assetType"
        },
        {
          "name": "Change",
          "value": "change"
        },
        {
          "name": "Department",
          "value": "department"
        },
        {
          "name": "Location",
          "value": "location"
        },
        {
          "name": "Problem",
          "value": "problem"
        },
        {
          "name": "Product",
          "value": "product"
        },
        {
          "name": "Release",
          "value": "release"
        },
        {
          "name": "Requester",
          "value": "requester"
        },
        {
          "name": "Requester Group",
          "value": "requesterGroup"
        },
        {
          "name": "Software",
          "value": "software"
        },
        {
          "name": "Ticket",
          "value": "ticket"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an agent",
          "action": "Create an agent"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an agent",
          "action": "Delete an agent"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an agent",
          "action": "Get an agent"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many agents",
          "action": "Get many agents"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an agent",
          "action": "Update an agent"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "First Name",
      "name": "firstName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Roles",
      "name": "roles",
      "type": "fixedCollection",
      "default": {},
      "description": "Role to assign to the agent",
      "options": [
        {
          "displayName": "Role Properties",
          "name": "roleProperties",
          "values": [
            {
              "displayName": "Role Name or ID",
              "name": "role",
              "description": "Name of the role to assign to the agent. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
              "type": "options",
              "typeOptions": {
                "loadOptionsMethod": "getAgentRoles"
              },
              "required": true,
              "default": ""
            },
            {
              "displayName": "Scope",
              "name": "assignment_scope",
              "description": "Scope in which the agent may use the permissions granted by the role",
              "type": "options",
              "options": [
                {
                  "name": "Entire Helpdesk",
                  "value": "entire_helpdesk"
                },
                {
                  "name": "Member Groups",
                  "value": "member_groups"
                },
                {
                  "name": "Specified Groups",
                  "value": "specified_groups"
                },
                {
                  "name": "Assigned Items",
                  "value": "assigned_items"
                }
              ],
              "required": true,
              "default": "specified_groups"
            },
            {
              "displayName": "Group Names or IDs",
              "name": "groups",
              "description": "Groups in which the permissions granted by the role apply. Required only when Scope is Specified Groups - ignored otherwise. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
              "type": "multiOptions",
              "typeOptions": {
                "loadOptionsMethod": "getAgentGroups"
              },
              "default": []
            }
          ]
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Background Information",
          "name": "background_information",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department Names or IDs",
          "name": "department_ids",
          "type": "multiOptions",
          "default": [],
          "description": "IDs of the departments to which the agent belongs. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Group Names or IDs",
          "name": "member_of",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the groups that the agent is a member of. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Observer of Group Names/IDs",
          "name": "observer_of",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the groups that the agent is an observer of. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Scoreboard Level ID",
          "name": "scoreboard_level_id",
          "type": "options",
          "description": "ID of the level of the agent in the Arcade",
          "default": 1,
          "options": [
            {
              "name": "Beginner",
              "value": 1
            },
            {
              "name": "Intermediate",
              "value": 2
            },
            {
              "name": "Professional",
              "value": 3
            },
            {
              "name": "Expert",
              "value": 4
            },
            {
              "name": "Master",
              "value": 5
            },
            {
              "name": "Guru",
              "value": 6
            }
          ]
        },
        {
          "displayName": "Time Format",
          "name": "time_format",
          "type": "options",
          "default": "12h",
          "options": [
            {
              "name": "12-Hour Format",
              "value": "12h"
            },
            {
              "name": "24-Hour Format",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Work Phone",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Agent ID",
      "name": "agentId",
      "type": "string",
      "default": "",
      "description": "ID of the agent to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Agent ID",
      "name": "agentId",
      "type": "string",
      "default": "",
      "description": "ID of the agent to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "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": [
            "agent"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department to which the agent belongs. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list or specify an ID. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Mobile Phone Number",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Work Phone Number",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Agent ID",
      "name": "agentId",
      "type": "string",
      "default": "",
      "description": "ID of the agent to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Background Information",
          "name": "background_information",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department Names or IDs",
          "name": "department_ids",
          "type": "multiOptions",
          "default": [],
          "description": "IDs of the departments to which the agent belongs. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list or specify an ID. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Group Names or IDs",
          "name": "member_of",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the groups that the agent is a member of. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Observer of Group Names/IDs",
          "name": "observer_of",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the groups that the agent is an observer of. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Scoreboard Level ID",
          "name": "scoreboard_level_id",
          "type": "options",
          "description": "ID of the level of the agent in the Arcade",
          "default": 1,
          "options": [
            {
              "name": "Beginner",
              "value": 1
            },
            {
              "name": "Intermediate",
              "value": 2
            },
            {
              "name": "Professional",
              "value": 3
            },
            {
              "name": "Expert",
              "value": 4
            },
            {
              "name": "Master",
              "value": 5
            },
            {
              "name": "Guru",
              "value": 6
            }
          ]
        },
        {
          "displayName": "Time Format",
          "name": "time_format",
          "type": "options",
          "default": "12h",
          "options": [
            {
              "name": "12-Hour Format",
              "value": "12h"
            },
            {
              "name": "24-Hour Format",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Work Phone",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an agent group",
          "action": "Create an agent group"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an agent group",
          "action": "Delete an agent group"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an agent group",
          "action": "Get an agent group"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many agent groups",
          "action": "Get many agent groups"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an agent group",
          "action": "Update an agent group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Escalate to Agent Name or ID",
          "name": "escalate_to",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          },
          "description": "ID of the user to whom an escalation email is sent if a ticket in this group is unassigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Member Names or IDs",
          "name": "members",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of agents who are members of this group. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Observer Names or IDs",
          "name": "observers",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated agent IDs who are observers of this group. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Unassigned For",
          "name": "unassigned_for",
          "description": "Time after which an escalation email is sent if a ticket in the group remains unassigned",
          "type": "options",
          "default": "30m",
          "options": [
            {
              "name": "1 Day",
              "value": "1d"
            },
            {
              "name": "1 Hour",
              "value": "1h"
            },
            {
              "name": "12 Hours",
              "value": "12h"
            },
            {
              "name": "2 Days",
              "value": "2d"
            },
            {
              "name": "2 Hours",
              "value": "2h"
            },
            {
              "name": "3 Days",
              "value": "3d"
            },
            {
              "name": "30 Minutes",
              "value": "30m"
            },
            {
              "name": "8 Hours",
              "value": "8h"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Agent Group ID",
      "name": "agentGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the agent group to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Agent Group ID",
      "name": "agentGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the agent group to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "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": [
            "agentGroup"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Agent Group ID",
      "name": "agentGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the agent group to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Escalate to Agent Name or ID",
          "name": "escalate_to",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom an escalation email is sent if a ticket in this group is unassigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Member Names or IDs",
          "name": "members",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of agents who are members of this group. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Observer Names or IDs",
          "name": "observers",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated agent user IDs who are observers of this group. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Unassigned For",
          "name": "unassigned_for",
          "description": "Time after which an escalation email is sent if a ticket in the group remains unassigned",
          "type": "options",
          "default": "30m",
          "options": [
            {
              "name": "1 Day",
              "value": "1d"
            },
            {
              "name": "1 Hour",
              "value": "1h"
            },
            {
              "name": "12 Hours",
              "value": "12h"
            },
            {
              "name": "2 Days",
              "value": "2d"
            },
            {
              "name": "2 Hours",
              "value": "2h"
            },
            {
              "name": "3 Days",
              "value": "3d"
            },
            {
              "name": "30 Minutes",
              "value": "30m"
            },
            {
              "name": "8 Hours",
              "value": "8h"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an agent role",
          "action": "Get an agent role"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many agent roles",
          "action": "Get many agent roles"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agentRole"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Agent Role ID",
      "name": "agentRoleId",
      "type": "string",
      "default": "",
      "description": "ID of the agent role to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentRole"
          ],
          "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": [
            "agentRole"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "agentRole"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an announcement",
          "action": "Create an announcement"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an announcement",
          "action": "Delete an announcement"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an announcement",
          "action": "Get an announcement"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many announcements",
          "action": "Get many announcements"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an announcement",
          "action": "Update an announcement"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Body",
      "name": "bodyHtml",
      "type": "string",
      "default": "",
      "description": "HTML supported",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Visibility",
      "name": "visibility",
      "type": "options",
      "default": "everyone",
      "options": [
        {
          "name": "Agents Only",
          "value": "agents_only"
        },
        {
          "name": "Agents and Groups",
          "value": "grouped_visibility"
        },
        {
          "name": "Everyone",
          "value": "everyone"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Visible From",
      "name": "visibleFrom",
      "type": "dateTime",
      "default": "",
      "description": "Timestamp at which announcement becomes active",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Additional Emails",
          "name": "additional_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated additional email addresses to which the announcement needs to be sent"
        },
        {
          "displayName": "Department Names or IDs",
          "name": "departments",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of departments that may view this announcement. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Visible From",
          "name": "visible_from",
          "description": "Timestamp at which announcement is active",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Visible Until",
          "name": "visible_till",
          "description": "Timestamp until which announcement is active",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Announcement ID",
      "name": "announcementId",
      "type": "string",
      "default": "",
      "description": "ID of the announcement to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Announcement ID",
      "name": "announcementId",
      "type": "string",
      "default": "",
      "description": "ID of the announcement to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "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": [
            "announcement"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Announcement ID",
      "name": "announcementId",
      "type": "string",
      "default": "",
      "description": "ID of the announcement to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Additional Emails",
          "name": "additional_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated additional email addresses to which the announcement needs to be sent"
        },
        {
          "displayName": "Body",
          "name": "body_html",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Department Names or IDs",
          "name": "departments",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of departments that may view this announcement. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Visibility",
          "name": "visibility",
          "type": "options",
          "default": "everyone",
          "options": [
            {
              "name": "Agents Only",
              "value": "agents_only"
            },
            {
              "name": "Agents and Groups",
              "value": "grouped_visibility"
            },
            {
              "name": "Everyone",
              "value": "everyone"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an asset type",
          "action": "Create an asset type"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an asset type",
          "action": "Delete an asset type"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an asset type",
          "action": "Get an asset type"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many asset types",
          "action": "Get many asset types"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an asset type",
          "action": "Update an asset type"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Parent Asset Type Name or ID",
          "name": "parent_asset_type_id",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAssetTypes"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Asset Type ID",
      "name": "assetTypeId",
      "type": "string",
      "default": "",
      "description": "ID of the asset type to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Asset Type ID",
      "name": "assetTypeId",
      "type": "string",
      "default": "",
      "description": "ID of the asset type to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "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": [
            "assetType"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Asset Type ID",
      "name": "assetTypeId",
      "type": "string",
      "default": "",
      "description": "ID of the asset type to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a change",
          "action": "Create a change"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a change",
          "action": "Delete a change"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a change",
          "action": "Get a change"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many changes",
          "action": "Get many changes"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a change",
          "action": "Update a change"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Requester Name or ID",
      "name": "requesterId",
      "type": "options",
      "default": "",
      "description": "ID of the requester of the change. Choose from the list or specify an ID. You can also specify the ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getRequesters"
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Planned Start Date",
      "name": "plannedStartDate",
      "type": "dateTime",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Planned End Date",
      "name": "plannedEndDate",
      "type": "dateTime",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the change is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Change Type",
          "name": "change_type",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Minor",
              "value": 1
            },
            {
              "name": "Standard",
              "value": 2
            },
            {
              "name": "Major",
              "value": 3
            },
            {
              "name": "Emergency",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department requesting the change. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the change is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Risk",
          "name": "risk",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Very High",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "Planning",
              "value": 2
            },
            {
              "name": "Approval",
              "value": 3
            },
            {
              "name": "Pending Release",
              "value": 4
            },
            {
              "name": "Pending Review",
              "value": 5
            },
            {
              "name": "Closed",
              "value": 6
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Change ID",
      "name": "changeId",
      "type": "string",
      "default": "",
      "description": "ID of the change to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Change ID",
      "name": "changeId",
      "type": "string",
      "default": "",
      "description": "ID of the change to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "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": [
            "change"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Predefined Filters",
          "name": "filter",
          "type": "options",
          "default": "my_open",
          "options": [
            {
              "name": "Closed",
              "value": "closed"
            },
            {
              "name": "My Open",
              "value": "my_open"
            },
            {
              "name": "Release Requested",
              "value": "release_requested"
            },
            {
              "name": "Requester ID",
              "value": "requester_id"
            },
            {
              "name": "Unassigned",
              "value": "unassigned"
            }
          ]
        },
        {
          "displayName": "Sort Order",
          "name": "sort_by",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "asc"
        },
        {
          "displayName": "Updated Since",
          "name": "updated_since",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Change ID",
      "name": "changeId",
      "type": "string",
      "default": "",
      "description": "ID of the change to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the change is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Change Type",
          "name": "change_type",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Minor",
              "value": 1
            },
            {
              "name": "Standard",
              "value": 2
            },
            {
              "name": "Major",
              "value": 3
            },
            {
              "name": "Emergency",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department requesting the change. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the change is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "description": "Impact of the change",
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Requester Name or ID",
          "name": "requester_id",
          "type": "options",
          "default": "",
          "description": "ID of the requester of the change. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getRequesters"
          }
        },
        {
          "displayName": "Risk",
          "name": "risk",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Very High",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "Planning",
              "value": 2
            },
            {
              "name": "Approval",
              "value": 3
            },
            {
              "name": "Pending Release",
              "value": 4
            },
            {
              "name": "Pending Review",
              "value": 5
            },
            {
              "name": "Closed",
              "value": 6
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a department",
          "action": "Create a department"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a department",
          "action": "Delete a department"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a department",
          "action": "Get a department"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many departments",
          "action": "Get many departments"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a department",
          "action": "Update a department"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Domains",
          "name": "domains",
          "type": "string",
          "default": "",
          "description": "Comma-separated email domains associated with the department"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Department ID",
      "name": "departmentId",
      "type": "string",
      "default": "",
      "description": "ID of the department to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Department ID",
      "name": "departmentId",
      "type": "string",
      "default": "",
      "description": "ID of the department to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "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": [
            "department"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Name of the department"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Department ID",
      "name": "departmentId",
      "type": "string",
      "default": "",
      "description": "ID of the department to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Domains",
          "name": "domains",
          "type": "string",
          "default": "",
          "description": "Comma-separated email domains associated with the department"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a location",
          "action": "Create a location"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a location",
          "action": "Delete a location"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a location",
          "action": "Get a location"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many locations",
          "action": "Get many locations"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a location",
          "action": "Update a location"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the location",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "placeholder": "Add Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Address Details",
              "name": "addressFields",
              "values": [
                {
                  "displayName": "Line 1",
                  "name": "line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 2",
                  "name": "line2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zipcode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Location ID",
      "name": "locationId",
      "type": "string",
      "default": "",
      "description": "ID of the location to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Location ID",
      "name": "locationId",
      "type": "string",
      "default": "",
      "description": "ID of the location to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "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": [
            "location"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Location ID",
      "name": "locationId",
      "type": "string",
      "default": "",
      "description": "ID of the location to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Address",
          "name": "address",
          "placeholder": "Add Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Address Details",
              "name": "addressFields",
              "values": [
                {
                  "displayName": "Line 1",
                  "name": "line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 2",
                  "name": "line2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zipcode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a problem",
          "action": "Create a problem"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a problem",
          "action": "Delete a problem"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a problem",
          "action": "Get a problem"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many problems",
          "action": "Get many problems"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a problem",
          "action": "Update a problem"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Requester Name or ID",
      "name": "requesterId",
      "type": "options",
      "default": "",
      "description": "ID of the initiator of the problem. 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": [
            "problem"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getRequesters"
      }
    },
    {
      "displayName": "Due By",
      "name": "dueBy",
      "type": "dateTime",
      "default": "",
      "description": "Date when the problem is due to be solved",
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the problem is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department initiating the problem. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "description": "HTML supported",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the problem is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "Change Requested",
              "value": 2
            },
            {
              "name": "Closed",
              "value": 3
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Problem ID",
      "name": "problemId",
      "type": "string",
      "default": "",
      "description": "ID of the problem to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Problem ID",
      "name": "problemId",
      "type": "string",
      "default": "",
      "description": "ID of the problem to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "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": [
            "problem"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Problem ID",
      "name": "problemId",
      "type": "string",
      "default": "",
      "description": "ID of the problem to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the problem is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department initiating the problem. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Due By",
          "name": "due_by",
          "description": "Date when the problem is due to be solved",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the problem is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Requester Name or ID",
          "name": "requester_id",
          "type": "options",
          "default": "",
          "description": "ID of the initiator of the problem. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getRequesters"
          }
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "Change Requested",
              "value": 2
            },
            {
              "name": "Closed",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "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": "Retrieve a product",
          "action": "Get a product"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve 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": "Asset Type Name or ID",
      "name": "assetTypeId",
      "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": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getAssetTypes"
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Manufacturer",
          "name": "manufacturer",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mode of Procurement",
          "name": "mode_of_procurement",
          "type": "options",
          "default": "Buy",
          "options": [
            {
              "name": "Buy",
              "value": "Buy"
            },
            {
              "name": "Lease",
              "value": "Lease"
            },
            {
              "name": "Both",
              "value": "Both"
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "In Production",
          "options": [
            {
              "name": "In Production",
              "value": "In Production"
            },
            {
              "name": "In Pipeline",
              "value": "In Pipeline"
            },
            {
              "name": "Retired",
              "value": "Retired"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "description": "ID of the product to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "description": "ID of the product to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "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": [
            "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
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "description": "ID of the product to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Asset Type Name or ID",
          "name": "asset_type_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAssetTypes"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Manufacturer",
          "name": "manufacturer",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mode of Procurement",
          "name": "mode_of_procurement",
          "type": "options",
          "default": "Buy",
          "options": [
            {
              "name": "Buy",
              "value": "Buy"
            },
            {
              "name": "Lease",
              "value": "Lease"
            },
            {
              "name": "Both",
              "value": "Both"
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "In Production",
          "options": [
            {
              "name": "In Production",
              "value": "In Production"
            },
            {
              "name": "In Pipeline",
              "value": "In Pipeline"
            },
            {
              "name": "Retired",
              "value": "Retired"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "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": "Retrieve a release",
          "action": "Get a release"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve 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": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Release Type",
      "name": "releaseType",
      "type": "options",
      "default": 1,
      "options": [
        {
          "name": "Minor",
          "value": 1
        },
        {
          "name": "Standard",
          "value": 2
        },
        {
          "name": "Major",
          "value": 3
        },
        {
          "name": "Emergency",
          "value": 4
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Priority",
      "name": "priority",
      "type": "options",
      "default": 1,
      "options": [
        {
          "name": "Low",
          "value": 1
        },
        {
          "name": "Medium",
          "value": 2
        },
        {
          "name": "High",
          "value": 3
        },
        {
          "name": "Urgent",
          "value": 4
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": 1,
      "options": [
        {
          "name": "Open",
          "value": 1
        },
        {
          "name": "On Hold",
          "value": 2
        },
        {
          "name": "In Progress",
          "value": 3
        },
        {
          "name": "Incomplete",
          "value": 4
        },
        {
          "name": "Completed",
          "value": 5
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Planned Start Date",
      "name": "plannedStartDate",
      "type": "dateTime",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Planned End Date",
      "name": "plannedEndDate",
      "type": "dateTime",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department initiating the release. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "description": "HTML supported",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the release is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Release ID",
      "name": "releaseId",
      "type": "string",
      "default": "",
      "description": "ID of the release to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Release ID",
      "name": "releaseId",
      "type": "string",
      "default": "",
      "description": "ID of the release to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "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": [
            "release"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Release ID",
      "name": "releaseId",
      "type": "string",
      "default": "",
      "description": "ID of the release to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department initiating the release. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the release is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Release Type",
          "name": "release_type",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Minor",
              "value": 1
            },
            {
              "name": "Standard",
              "value": 2
            },
            {
              "name": "Major",
              "value": 3
            },
            {
              "name": "Emergency",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "On Hold",
              "value": 2
            },
            {
              "name": "In Progress",
              "value": 3
            },
            {
              "name": "Incomplete",
              "value": 4
            },
            {
              "name": "Completed",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a requester",
          "action": "Create a requester"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a requester",
          "action": "Delete a requester"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a requester",
          "action": "Get a requester"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many requesters",
          "action": "Get many requesters"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a requester",
          "action": "Update a requester"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "First Name",
      "name": "firstName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Primary Email",
      "name": "primaryEmail",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Background Information",
          "name": "background_information",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department Names or IDs",
          "name": "department_ids",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the departments associated with the requester. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Secondary Emails",
          "name": "secondary_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated secondary emails associated with the requester"
        },
        {
          "displayName": "Time Format",
          "name": "time_format",
          "type": "options",
          "default": "12h",
          "options": [
            {
              "name": "12-Hour Format",
              "value": "12h"
            },
            {
              "name": "24-Hour Format",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Work Phone",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Requester ID",
      "name": "requesterId",
      "type": "string",
      "default": "",
      "description": "ID of the requester to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Requester ID",
      "name": "requesterId",
      "type": "string",
      "default": "",
      "description": "ID of the requester to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "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": [
            "requester"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Mobile Phone Number",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Email",
          "name": "primary_email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Work Phone Number",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Requester ID",
      "name": "requesterId",
      "type": "string",
      "default": "",
      "description": "ID of the requester to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Background Information",
          "name": "background_information",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department Names or IDs",
          "name": "department_ids",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the departments associated with the requester. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Email",
          "name": "primary_email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Secondary Emails",
          "name": "secondary_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated secondary emails associated with the requester"
        },
        {
          "displayName": "Time Format",
          "name": "time_format",
          "type": "options",
          "default": "12h",
          "options": [
            {
              "name": "12-Hour Format",
              "value": "12h"
            },
            {
              "name": "24-Hour Format",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Work Phone",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a requester group",
          "action": "Create a requester group"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a requester group",
          "action": "Delete a requester group"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a requester group",
          "action": "Get a requester group"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many requester groups",
          "action": "Get many requester groups"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a requester group",
          "action": "Update a requester group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Requester Group ID",
      "name": "requesterGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the requester group to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Requester Group ID",
      "name": "requesterGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the requester group to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "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": [
            "requesterGroup"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Requester Group ID",
      "name": "requesterGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the requester group to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the requester group"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Name of the requester group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a software application",
          "action": "Create a software application"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a software application",
          "action": "Delete a software application"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a software application",
          "action": "Get a software application"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many software applications",
          "action": "Get many software applications"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a software application",
          "action": "Update a software application"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Application Type",
      "name": "applicationType",
      "type": "options",
      "default": "desktop",
      "options": [
        {
          "name": "Desktop",
          "value": "desktop"
        },
        {
          "name": "Mobile",
          "value": "mobile"
        },
        {
          "name": "SaaS",
          "value": "saas"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Notes",
          "name": "notes",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "managed",
          "options": [
            {
              "name": "Disabled",
              "value": "disabled"
            },
            {
              "name": "Ignored",
              "value": "ignored"
            },
            {
              "name": "Needs Review",
              "value": "needs review"
            },
            {
              "name": "Restricted",
              "value": "restricted"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Software ID",
      "name": "softwareId",
      "type": "string",
      "default": "",
      "description": "ID of the software application to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Software ID",
      "name": "softwareId",
      "type": "string",
      "default": "",
      "description": "ID of the software application to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "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": [
            "software"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Software ID",
      "name": "softwareId",
      "type": "string",
      "default": "",
      "description": "ID of the software application to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Application Type",
          "name": "application_type",
          "type": "options",
          "default": "desktop",
          "description": "Type of the software",
          "options": [
            {
              "name": "Desktop",
              "value": "desktop"
            },
            {
              "name": "Mobile",
              "value": "mobile"
            },
            {
              "name": "SaaS",
              "value": "saas"
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Notes",
          "name": "notes",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "managed",
          "options": [
            {
              "name": "Disabled",
              "value": "disabled"
            },
            {
              "name": "Ignored",
              "value": "ignored"
            },
            {
              "name": "Needs Review",
              "value": "needs review"
            },
            {
              "name": "Restricted",
              "value": "restricted"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a ticket",
          "action": "Create a ticket"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a ticket",
          "action": "Delete a ticket"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a ticket",
          "action": "Get a ticket"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many tickets",
          "action": "Get many tickets"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a ticket",
          "action": "Update a ticket"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the ticket author",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Description",
      "name": "description",
      "type": "string",
      "default": "",
      "description": "HTML supported",
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Priority",
      "name": "priority",
      "type": "options",
      "default": 1,
      "options": [
        {
          "name": "Low",
          "value": 1
        },
        {
          "name": "Medium",
          "value": 2
        },
        {
          "name": "High",
          "value": 3
        },
        {
          "name": "Urgent",
          "value": 4
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": 2,
      "options": [
        {
          "name": "Open",
          "value": 2
        },
        {
          "name": "Pending",
          "value": 3
        },
        {
          "name": "Resolved",
          "value": 4
        },
        {
          "name": "Closed",
          "value": 5
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "CC Emails",
          "name": "cc_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated email addresses to add in the CC field of the ticket email"
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department to which this ticket belongs. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the group to which the ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Name of the ticket author"
        },
        {
          "displayName": "Requester Name or ID",
          "name": "requester_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getRequesters"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "description": "ID of the ticket to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "description": "ID of the ticket to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "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": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the tickets have been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the group to which the tickets have been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "Open",
              "value": 2
            },
            {
              "name": "Pending",
              "value": 3
            },
            {
              "name": "Resolved",
              "value": 4
            },
            {
              "name": "Closed",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Created On",
          "name": "created_at",
          "type": "dateTime",
          "default": "",
          "description": "Date when the ticket was created"
        },
        {
          "displayName": "Due By",
          "name": "due_by",
          "description": "Date when the ticket is due to be resolved",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "description": "ID of the ticket to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department to which this ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Email address of the ticket author"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the group to which the ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Name of the ticket author"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "description": "Priority of the ticket",
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "Open",
              "value": 2
            },
            {
              "name": "Pending",
              "value": 3
            },
            {
              "name": "Resolved",
              "value": 4
            },
            {
              "name": "Closed",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an agent"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an agent"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Retrieve an agent"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Retrieve many agents"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an agent"
    }
  ]


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

outputs:
  [
  "main"
  ]

updated_at: 2026-03-18 15:15:48
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Freshservice node documentation
  description: Learn how to use the Freshservice node in n8n. Follow technical documentation to integrate Freshservice node into your workflows.
  contentType: [integration, reference]
  ---

  # Freshservice node

  Use the Freshservice node to automate work in Freshservice and integrate Freshservice with other applications. n8n has built-in support for a wide range of Freshdesk features, including creating, updating, deleting, and getting agent information and departments.

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

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

  ## Operations

  * Agent
      * Create an agent
      * Delete an agent
      * Retrieve an agent
      * Retrieve all agents
      * Update an agent
  * Agent Group
      * Create an agent group
      * Delete an agent group
      * Retrieve an agent group
      * Retrieve all agent groups
      * Update an agent group
  * Agent Role
      * Retrieve an agent role
      * Retrieve all agent roles
  * Announcement
      * Create an announcement
      * Delete an announcement
      * Retrieve an announcement
      * Retrieve all announcements
      * Update an announcement
  * Asset Type
      * Create an asset type
      * Delete an asset type
      * Retrieve an asset type
      * Retrieve all asset types
      * Update an asset type
  * Change
      * Create a change
      * Delete a change
      * Retrieve a change
      * Retrieve all changes
      * Update a change
  * Department
      * Create a department
      * Delete a department
      * Retrieve a department
      * Retrieve all departments
      * Update a department
  * Location
      * Create a location
      * Delete a location
      * Retrieve a location
      * Retrieve all locations
      * Update a location
  * Problem
      * Create a problem
      * Delete a problem
      * Retrieve a problem
      * Retrieve all problems
      * Update a problem
  * Product
      * Create a product
      * Delete a product
      * Retrieve a product
      * Retrieve all products
      * Update a product
  * Release
      * Create a release
      * Delete a release
      * Retrieve a release
      * Retrieve all releases
      * Update a release
  * Requester
      * Create a requester
      * Delete a requester
      * Retrieve a requester
      * Retrieve all requesters
      * Update a requester
  * Requester Group
      * Create a requester group
      * Delete a requester group
      * Retrieve a requester group
      * Retrieve all requester groups
      * Update a requester group
  * Software
      * Create a software application
      * Delete a software application
      * Retrieve a software application
      * Retrieve all software applications
      * Update a software application
  * Ticket
      * Create a ticket
      * Delete a ticket
      * Retrieve a ticket
      * Retrieve all tickets
      * Update a ticket

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "agent",
      "options": [
        {
          "name": "Agent",
          "value": "agent"
        },
        {
          "name": "Agent Group",
          "value": "agentGroup"
        },
        {
          "name": "Agent Role",
          "value": "agentRole"
        },
        {
          "name": "Announcement",
          "value": "announcement"
        },
        {
          "name": "Asset Type",
          "value": "assetType"
        },
        {
          "name": "Change",
          "value": "change"
        },
        {
          "name": "Department",
          "value": "department"
        },
        {
          "name": "Location",
          "value": "location"
        },
        {
          "name": "Problem",
          "value": "problem"
        },
        {
          "name": "Product",
          "value": "product"
        },
        {
          "name": "Release",
          "value": "release"
        },
        {
          "name": "Requester",
          "value": "requester"
        },
        {
          "name": "Requester Group",
          "value": "requesterGroup"
        },
        {
          "name": "Software",
          "value": "software"
        },
        {
          "name": "Ticket",
          "value": "ticket"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an agent",
          "action": "Create an agent"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an agent",
          "action": "Delete an agent"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an agent",
          "action": "Get an agent"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many agents",
          "action": "Get many agents"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an agent",
          "action": "Update an agent"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "First Name",
      "name": "firstName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Roles",
      "name": "roles",
      "type": "fixedCollection",
      "default": {},
      "description": "Role to assign to the agent",
      "options": [
        {
          "displayName": "Role Properties",
          "name": "roleProperties",
          "values": [
            {
              "displayName": "Role Name or ID",
              "name": "role",
              "description": "Name of the role to assign to the agent. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
              "type": "options",
              "typeOptions": {
                "loadOptionsMethod": "getAgentRoles"
              },
              "required": true,
              "default": ""
            },
            {
              "displayName": "Scope",
              "name": "assignment_scope",
              "description": "Scope in which the agent may use the permissions granted by the role",
              "type": "options",
              "options": [
                {
                  "name": "Entire Helpdesk",
                  "value": "entire_helpdesk"
                },
                {
                  "name": "Member Groups",
                  "value": "member_groups"
                },
                {
                  "name": "Specified Groups",
                  "value": "specified_groups"
                },
                {
                  "name": "Assigned Items",
                  "value": "assigned_items"
                }
              ],
              "required": true,
              "default": "specified_groups"
            },
            {
              "displayName": "Group Names or IDs",
              "name": "groups",
              "description": "Groups in which the permissions granted by the role apply. Required only when Scope is Specified Groups - ignored otherwise. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
              "type": "multiOptions",
              "typeOptions": {
                "loadOptionsMethod": "getAgentGroups"
              },
              "default": []
            }
          ]
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Background Information",
          "name": "background_information",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department Names or IDs",
          "name": "department_ids",
          "type": "multiOptions",
          "default": [],
          "description": "IDs of the departments to which the agent belongs. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Group Names or IDs",
          "name": "member_of",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the groups that the agent is a member of. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Observer of Group Names/IDs",
          "name": "observer_of",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the groups that the agent is an observer of. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Scoreboard Level ID",
          "name": "scoreboard_level_id",
          "type": "options",
          "description": "ID of the level of the agent in the Arcade",
          "default": 1,
          "options": [
            {
              "name": "Beginner",
              "value": 1
            },
            {
              "name": "Intermediate",
              "value": 2
            },
            {
              "name": "Professional",
              "value": 3
            },
            {
              "name": "Expert",
              "value": 4
            },
            {
              "name": "Master",
              "value": 5
            },
            {
              "name": "Guru",
              "value": 6
            }
          ]
        },
        {
          "displayName": "Time Format",
          "name": "time_format",
          "type": "options",
          "default": "12h",
          "options": [
            {
              "name": "12-Hour Format",
              "value": "12h"
            },
            {
              "name": "24-Hour Format",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Work Phone",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Agent ID",
      "name": "agentId",
      "type": "string",
      "default": "",
      "description": "ID of the agent to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Agent ID",
      "name": "agentId",
      "type": "string",
      "default": "",
      "description": "ID of the agent to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "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": [
            "agent"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department to which the agent belongs. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list or specify an ID. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Mobile Phone Number",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Work Phone Number",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Agent ID",
      "name": "agentId",
      "type": "string",
      "default": "",
      "description": "ID of the agent to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Background Information",
          "name": "background_information",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department Names or IDs",
          "name": "department_ids",
          "type": "multiOptions",
          "default": [],
          "description": "IDs of the departments to which the agent belongs. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list or specify an ID. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Group Names or IDs",
          "name": "member_of",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the groups that the agent is a member of. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Observer of Group Names/IDs",
          "name": "observer_of",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the groups that the agent is an observer of. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Scoreboard Level ID",
          "name": "scoreboard_level_id",
          "type": "options",
          "description": "ID of the level of the agent in the Arcade",
          "default": 1,
          "options": [
            {
              "name": "Beginner",
              "value": 1
            },
            {
              "name": "Intermediate",
              "value": 2
            },
            {
              "name": "Professional",
              "value": 3
            },
            {
              "name": "Expert",
              "value": 4
            },
            {
              "name": "Master",
              "value": 5
            },
            {
              "name": "Guru",
              "value": 6
            }
          ]
        },
        {
          "displayName": "Time Format",
          "name": "time_format",
          "type": "options",
          "default": "12h",
          "options": [
            {
              "name": "12-Hour Format",
              "value": "12h"
            },
            {
              "name": "24-Hour Format",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Work Phone",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an agent group",
          "action": "Create an agent group"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an agent group",
          "action": "Delete an agent group"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an agent group",
          "action": "Get an agent group"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many agent groups",
          "action": "Get many agent groups"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an agent group",
          "action": "Update an agent group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Escalate to Agent Name or ID",
          "name": "escalate_to",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          },
          "description": "ID of the user to whom an escalation email is sent if a ticket in this group is unassigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Member Names or IDs",
          "name": "members",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of agents who are members of this group. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Observer Names or IDs",
          "name": "observers",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated agent IDs who are observers of this group. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Unassigned For",
          "name": "unassigned_for",
          "description": "Time after which an escalation email is sent if a ticket in the group remains unassigned",
          "type": "options",
          "default": "30m",
          "options": [
            {
              "name": "1 Day",
              "value": "1d"
            },
            {
              "name": "1 Hour",
              "value": "1h"
            },
            {
              "name": "12 Hours",
              "value": "12h"
            },
            {
              "name": "2 Days",
              "value": "2d"
            },
            {
              "name": "2 Hours",
              "value": "2h"
            },
            {
              "name": "3 Days",
              "value": "3d"
            },
            {
              "name": "30 Minutes",
              "value": "30m"
            },
            {
              "name": "8 Hours",
              "value": "8h"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Agent Group ID",
      "name": "agentGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the agent group to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Agent Group ID",
      "name": "agentGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the agent group to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "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": [
            "agentGroup"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Agent Group ID",
      "name": "agentGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the agent group to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Escalate to Agent Name or ID",
          "name": "escalate_to",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom an escalation email is sent if a ticket in this group is unassigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Member Names or IDs",
          "name": "members",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of agents who are members of this group. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Observer Names or IDs",
          "name": "observers",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated agent user IDs who are observers of this group. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Unassigned For",
          "name": "unassigned_for",
          "description": "Time after which an escalation email is sent if a ticket in the group remains unassigned",
          "type": "options",
          "default": "30m",
          "options": [
            {
              "name": "1 Day",
              "value": "1d"
            },
            {
              "name": "1 Hour",
              "value": "1h"
            },
            {
              "name": "12 Hours",
              "value": "12h"
            },
            {
              "name": "2 Days",
              "value": "2d"
            },
            {
              "name": "2 Hours",
              "value": "2h"
            },
            {
              "name": "3 Days",
              "value": "3d"
            },
            {
              "name": "30 Minutes",
              "value": "30m"
            },
            {
              "name": "8 Hours",
              "value": "8h"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agentGroup"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an agent role",
          "action": "Get an agent role"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many agent roles",
          "action": "Get many agent roles"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agentRole"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Agent Role ID",
      "name": "agentRoleId",
      "type": "string",
      "default": "",
      "description": "ID of the agent role to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agentRole"
          ],
          "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": [
            "agentRole"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "agentRole"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an announcement",
          "action": "Create an announcement"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an announcement",
          "action": "Delete an announcement"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an announcement",
          "action": "Get an announcement"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many announcements",
          "action": "Get many announcements"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an announcement",
          "action": "Update an announcement"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Body",
      "name": "bodyHtml",
      "type": "string",
      "default": "",
      "description": "HTML supported",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Visibility",
      "name": "visibility",
      "type": "options",
      "default": "everyone",
      "options": [
        {
          "name": "Agents Only",
          "value": "agents_only"
        },
        {
          "name": "Agents and Groups",
          "value": "grouped_visibility"
        },
        {
          "name": "Everyone",
          "value": "everyone"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Visible From",
      "name": "visibleFrom",
      "type": "dateTime",
      "default": "",
      "description": "Timestamp at which announcement becomes active",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Additional Emails",
          "name": "additional_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated additional email addresses to which the announcement needs to be sent"
        },
        {
          "displayName": "Department Names or IDs",
          "name": "departments",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of departments that may view this announcement. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Visible From",
          "name": "visible_from",
          "description": "Timestamp at which announcement is active",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Visible Until",
          "name": "visible_till",
          "description": "Timestamp until which announcement is active",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Announcement ID",
      "name": "announcementId",
      "type": "string",
      "default": "",
      "description": "ID of the announcement to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Announcement ID",
      "name": "announcementId",
      "type": "string",
      "default": "",
      "description": "ID of the announcement to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "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": [
            "announcement"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Announcement ID",
      "name": "announcementId",
      "type": "string",
      "default": "",
      "description": "ID of the announcement to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Additional Emails",
          "name": "additional_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated additional email addresses to which the announcement needs to be sent"
        },
        {
          "displayName": "Body",
          "name": "body_html",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Department Names or IDs",
          "name": "departments",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of departments that may view this announcement. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Visibility",
          "name": "visibility",
          "type": "options",
          "default": "everyone",
          "options": [
            {
              "name": "Agents Only",
              "value": "agents_only"
            },
            {
              "name": "Agents and Groups",
              "value": "grouped_visibility"
            },
            {
              "name": "Everyone",
              "value": "everyone"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "announcement"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an asset type",
          "action": "Create an asset type"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an asset type",
          "action": "Delete an asset type"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an asset type",
          "action": "Get an asset type"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many asset types",
          "action": "Get many asset types"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an asset type",
          "action": "Update an asset type"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Parent Asset Type Name or ID",
          "name": "parent_asset_type_id",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAssetTypes"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Asset Type ID",
      "name": "assetTypeId",
      "type": "string",
      "default": "",
      "description": "ID of the asset type to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Asset Type ID",
      "name": "assetTypeId",
      "type": "string",
      "default": "",
      "description": "ID of the asset type to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "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": [
            "assetType"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Asset Type ID",
      "name": "assetTypeId",
      "type": "string",
      "default": "",
      "description": "ID of the asset type to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "assetType"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a change",
          "action": "Create a change"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a change",
          "action": "Delete a change"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a change",
          "action": "Get a change"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many changes",
          "action": "Get many changes"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a change",
          "action": "Update a change"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Requester Name or ID",
      "name": "requesterId",
      "type": "options",
      "default": "",
      "description": "ID of the requester of the change. Choose from the list or specify an ID. You can also specify the ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getRequesters"
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Planned Start Date",
      "name": "plannedStartDate",
      "type": "dateTime",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Planned End Date",
      "name": "plannedEndDate",
      "type": "dateTime",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the change is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Change Type",
          "name": "change_type",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Minor",
              "value": 1
            },
            {
              "name": "Standard",
              "value": 2
            },
            {
              "name": "Major",
              "value": 3
            },
            {
              "name": "Emergency",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department requesting the change. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the change is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Risk",
          "name": "risk",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Very High",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "Planning",
              "value": 2
            },
            {
              "name": "Approval",
              "value": 3
            },
            {
              "name": "Pending Release",
              "value": 4
            },
            {
              "name": "Pending Review",
              "value": 5
            },
            {
              "name": "Closed",
              "value": 6
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Change ID",
      "name": "changeId",
      "type": "string",
      "default": "",
      "description": "ID of the change to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Change ID",
      "name": "changeId",
      "type": "string",
      "default": "",
      "description": "ID of the change to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "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": [
            "change"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Predefined Filters",
          "name": "filter",
          "type": "options",
          "default": "my_open",
          "options": [
            {
              "name": "Closed",
              "value": "closed"
            },
            {
              "name": "My Open",
              "value": "my_open"
            },
            {
              "name": "Release Requested",
              "value": "release_requested"
            },
            {
              "name": "Requester ID",
              "value": "requester_id"
            },
            {
              "name": "Unassigned",
              "value": "unassigned"
            }
          ]
        },
        {
          "displayName": "Sort Order",
          "name": "sort_by",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "asc"
        },
        {
          "displayName": "Updated Since",
          "name": "updated_since",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Change ID",
      "name": "changeId",
      "type": "string",
      "default": "",
      "description": "ID of the change to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the change is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Change Type",
          "name": "change_type",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Minor",
              "value": 1
            },
            {
              "name": "Standard",
              "value": 2
            },
            {
              "name": "Major",
              "value": 3
            },
            {
              "name": "Emergency",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department requesting the change. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the change is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "description": "Impact of the change",
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Requester Name or ID",
          "name": "requester_id",
          "type": "options",
          "default": "",
          "description": "ID of the requester of the change. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getRequesters"
          }
        },
        {
          "displayName": "Risk",
          "name": "risk",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Very High",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "Planning",
              "value": 2
            },
            {
              "name": "Approval",
              "value": 3
            },
            {
              "name": "Pending Release",
              "value": 4
            },
            {
              "name": "Pending Review",
              "value": 5
            },
            {
              "name": "Closed",
              "value": 6
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "change"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a department",
          "action": "Create a department"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a department",
          "action": "Delete a department"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a department",
          "action": "Get a department"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many departments",
          "action": "Get many departments"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a department",
          "action": "Update a department"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Domains",
          "name": "domains",
          "type": "string",
          "default": "",
          "description": "Comma-separated email domains associated with the department"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Department ID",
      "name": "departmentId",
      "type": "string",
      "default": "",
      "description": "ID of the department to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Department ID",
      "name": "departmentId",
      "type": "string",
      "default": "",
      "description": "ID of the department to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "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": [
            "department"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Name of the department"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Department ID",
      "name": "departmentId",
      "type": "string",
      "default": "",
      "description": "ID of the department to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Domains",
          "name": "domains",
          "type": "string",
          "default": "",
          "description": "Comma-separated email domains associated with the department"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "department"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a location",
          "action": "Create a location"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a location",
          "action": "Delete a location"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a location",
          "action": "Get a location"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many locations",
          "action": "Get many locations"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a location",
          "action": "Update a location"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the location",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "placeholder": "Add Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Address Details",
              "name": "addressFields",
              "values": [
                {
                  "displayName": "Line 1",
                  "name": "line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 2",
                  "name": "line2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zipcode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Location ID",
      "name": "locationId",
      "type": "string",
      "default": "",
      "description": "ID of the location to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Location ID",
      "name": "locationId",
      "type": "string",
      "default": "",
      "description": "ID of the location to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "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": [
            "location"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Location ID",
      "name": "locationId",
      "type": "string",
      "default": "",
      "description": "ID of the location to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Address",
          "name": "address",
          "placeholder": "Add Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Address Details",
              "name": "addressFields",
              "values": [
                {
                  "displayName": "Line 1",
                  "name": "line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 2",
                  "name": "line2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zipcode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "location"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a problem",
          "action": "Create a problem"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a problem",
          "action": "Delete a problem"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a problem",
          "action": "Get a problem"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many problems",
          "action": "Get many problems"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a problem",
          "action": "Update a problem"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Requester Name or ID",
      "name": "requesterId",
      "type": "options",
      "default": "",
      "description": "ID of the initiator of the problem. 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": [
            "problem"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getRequesters"
      }
    },
    {
      "displayName": "Due By",
      "name": "dueBy",
      "type": "dateTime",
      "default": "",
      "description": "Date when the problem is due to be solved",
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the problem is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department initiating the problem. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "description": "HTML supported",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the problem is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "Change Requested",
              "value": 2
            },
            {
              "name": "Closed",
              "value": 3
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Problem ID",
      "name": "problemId",
      "type": "string",
      "default": "",
      "description": "ID of the problem to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Problem ID",
      "name": "problemId",
      "type": "string",
      "default": "",
      "description": "ID of the problem to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "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": [
            "problem"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Problem ID",
      "name": "problemId",
      "type": "string",
      "default": "",
      "description": "ID of the problem to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the problem is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department initiating the problem. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Due By",
          "name": "due_by",
          "description": "Date when the problem is due to be solved",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the problem is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Requester Name or ID",
          "name": "requester_id",
          "type": "options",
          "default": "",
          "description": "ID of the initiator of the problem. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getRequesters"
          }
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "Change Requested",
              "value": 2
            },
            {
              "name": "Closed",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "problem"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "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": "Retrieve a product",
          "action": "Get a product"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve 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": "Asset Type Name or ID",
      "name": "assetTypeId",
      "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": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getAssetTypes"
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Manufacturer",
          "name": "manufacturer",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mode of Procurement",
          "name": "mode_of_procurement",
          "type": "options",
          "default": "Buy",
          "options": [
            {
              "name": "Buy",
              "value": "Buy"
            },
            {
              "name": "Lease",
              "value": "Lease"
            },
            {
              "name": "Both",
              "value": "Both"
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "In Production",
          "options": [
            {
              "name": "In Production",
              "value": "In Production"
            },
            {
              "name": "In Pipeline",
              "value": "In Pipeline"
            },
            {
              "name": "Retired",
              "value": "Retired"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "description": "ID of the product to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "description": "ID of the product to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "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": [
            "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
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "description": "ID of the product to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Asset Type Name or ID",
          "name": "asset_type_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getAssetTypes"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Manufacturer",
          "name": "manufacturer",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mode of Procurement",
          "name": "mode_of_procurement",
          "type": "options",
          "default": "Buy",
          "options": [
            {
              "name": "Buy",
              "value": "Buy"
            },
            {
              "name": "Lease",
              "value": "Lease"
            },
            {
              "name": "Both",
              "value": "Both"
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "In Production",
          "options": [
            {
              "name": "In Production",
              "value": "In Production"
            },
            {
              "name": "In Pipeline",
              "value": "In Pipeline"
            },
            {
              "name": "Retired",
              "value": "Retired"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "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": "Retrieve a release",
          "action": "Get a release"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve 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": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Release Type",
      "name": "releaseType",
      "type": "options",
      "default": 1,
      "options": [
        {
          "name": "Minor",
          "value": 1
        },
        {
          "name": "Standard",
          "value": 2
        },
        {
          "name": "Major",
          "value": 3
        },
        {
          "name": "Emergency",
          "value": 4
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Priority",
      "name": "priority",
      "type": "options",
      "default": 1,
      "options": [
        {
          "name": "Low",
          "value": 1
        },
        {
          "name": "Medium",
          "value": 2
        },
        {
          "name": "High",
          "value": 3
        },
        {
          "name": "Urgent",
          "value": 4
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": 1,
      "options": [
        {
          "name": "Open",
          "value": 1
        },
        {
          "name": "On Hold",
          "value": 2
        },
        {
          "name": "In Progress",
          "value": 3
        },
        {
          "name": "Incomplete",
          "value": 4
        },
        {
          "name": "Completed",
          "value": 5
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Planned Start Date",
      "name": "plannedStartDate",
      "type": "dateTime",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Planned End Date",
      "name": "plannedEndDate",
      "type": "dateTime",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department initiating the release. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "description": "HTML supported",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the release is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Release ID",
      "name": "releaseId",
      "type": "string",
      "default": "",
      "description": "ID of the release to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Release ID",
      "name": "releaseId",
      "type": "string",
      "default": "",
      "description": "ID of the release to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "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": [
            "release"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Release ID",
      "name": "releaseId",
      "type": "string",
      "default": "",
      "description": "ID of the release to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department initiating the release. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent group to which the release is assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Release Type",
          "name": "release_type",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Minor",
              "value": 1
            },
            {
              "name": "Standard",
              "value": 2
            },
            {
              "name": "Major",
              "value": 3
            },
            {
              "name": "Emergency",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Open",
              "value": 1
            },
            {
              "name": "On Hold",
              "value": 2
            },
            {
              "name": "In Progress",
              "value": 3
            },
            {
              "name": "Incomplete",
              "value": 4
            },
            {
              "name": "Completed",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "release"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a requester",
          "action": "Create a requester"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a requester",
          "action": "Delete a requester"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a requester",
          "action": "Get a requester"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many requesters",
          "action": "Get many requesters"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a requester",
          "action": "Update a requester"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "First Name",
      "name": "firstName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Primary Email",
      "name": "primaryEmail",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Background Information",
          "name": "background_information",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department Names or IDs",
          "name": "department_ids",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the departments associated with the requester. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Secondary Emails",
          "name": "secondary_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated secondary emails associated with the requester"
        },
        {
          "displayName": "Time Format",
          "name": "time_format",
          "type": "options",
          "default": "12h",
          "options": [
            {
              "name": "12-Hour Format",
              "value": "12h"
            },
            {
              "name": "24-Hour Format",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Work Phone",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Requester ID",
      "name": "requesterId",
      "type": "string",
      "default": "",
      "description": "ID of the requester to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Requester ID",
      "name": "requesterId",
      "type": "string",
      "default": "",
      "description": "ID of the requester to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "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": [
            "requester"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Mobile Phone Number",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Email",
          "name": "primary_email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Work Phone Number",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Requester ID",
      "name": "requesterId",
      "type": "string",
      "default": "",
      "description": "ID of the requester to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Background Information",
          "name": "background_information",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department Names or IDs",
          "name": "department_ids",
          "type": "multiOptions",
          "default": [],
          "description": "Comma-separated IDs of the departments associated with the requester. Choose from the list or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "job_title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "en",
              "name": "English"
            },
            {
              "value": "ar",
              "name": "Arabic"
            },
            {
              "value": "ca",
              "name": "Catalan"
            },
            {
              "value": "cs",
              "name": "Czech"
            },
            {
              "value": "cy-GB",
              "name": "Welsh"
            },
            {
              "value": "da",
              "name": "Danish"
            },
            {
              "value": "de",
              "name": "German"
            },
            {
              "value": "es",
              "name": "Spanish"
            },
            {
              "value": "es-LA",
              "name": "Spanish (Latin America)"
            },
            {
              "value": "et",
              "name": "Estonian"
            },
            {
              "value": "fi",
              "name": "Finnish"
            },
            {
              "value": "fr",
              "name": "French"
            },
            {
              "value": "he",
              "name": "Hebrew"
            },
            {
              "value": "hu",
              "name": "Hungarian"
            },
            {
              "value": "id",
              "name": "Indonesian"
            },
            {
              "value": "it",
              "name": "Italian"
            },
            {
              "value": "ja-JP",
              "name": "Japanese"
            },
            {
              "value": "ko",
              "name": "Korean"
            },
            {
              "value": "LV",
              "name": "Latvian"
            },
            {
              "value": "nb-NO",
              "name": "Norwegian"
            },
            {
              "value": "nl",
              "name": "Dutch"
            },
            {
              "value": "pl",
              "name": "Polish"
            },
            {
              "value": "pt",
              "name": "Portuguese"
            },
            {
              "value": "pt-BR",
              "name": "Portuguese (Brazil)"
            },
            {
              "value": "pt-PT",
              "name": "Portuguese (Portugal)"
            },
            {
              "value": "ru-RU",
              "name": "Russian"
            },
            {
              "value": "sk",
              "name": "Slovak"
            },
            {
              "value": "sk-SK",
              "name": "Slovak"
            },
            {
              "value": "sl",
              "name": "Slovenian"
            },
            {
              "value": "sv-SE",
              "name": "Swedish"
            },
            {
              "value": "th",
              "name": "Thai"
            },
            {
              "value": "tr",
              "name": "Turkish"
            },
            {
              "value": "UK",
              "name": "Ukrainian"
            },
            {
              "value": "vi",
              "name": "Vietnamese"
            },
            {
              "value": "zh-CN",
              "name": "Chinese (Simplified)"
            },
            {
              "value": "zh-TW",
              "name": "Chinese (Traditional)"
            }
          ]
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Location Name or ID",
          "name": "location_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getLocations"
          }
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobile_phone_number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Email",
          "name": "primary_email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Secondary Emails",
          "name": "secondary_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated secondary emails associated with the requester"
        },
        {
          "displayName": "Time Format",
          "name": "time_format",
          "type": "options",
          "default": "12h",
          "options": [
            {
              "name": "12-Hour Format",
              "value": "12h"
            },
            {
              "name": "24-Hour Format",
              "value": "24h"
            }
          ]
        },
        {
          "displayName": "Work Phone",
          "name": "work_phone_number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requester"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a requester group",
          "action": "Create a requester group"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a requester group",
          "action": "Delete a requester group"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a requester group",
          "action": "Get a requester group"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many requester groups",
          "action": "Get many requester groups"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a requester group",
          "action": "Update a requester group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Requester Group ID",
      "name": "requesterGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the requester group to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Requester Group ID",
      "name": "requesterGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the requester group to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "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": [
            "requesterGroup"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Requester Group ID",
      "name": "requesterGroupId",
      "type": "string",
      "default": "",
      "description": "ID of the requester group to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the requester group"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Name of the requester group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "requesterGroup"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a software application",
          "action": "Create a software application"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a software application",
          "action": "Delete a software application"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a software application",
          "action": "Get a software application"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many software applications",
          "action": "Get many software applications"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a software application",
          "action": "Update a software application"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Application Type",
      "name": "applicationType",
      "type": "options",
      "default": "desktop",
      "options": [
        {
          "name": "Desktop",
          "value": "desktop"
        },
        {
          "name": "Mobile",
          "value": "mobile"
        },
        {
          "name": "SaaS",
          "value": "saas"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Notes",
          "name": "notes",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "managed",
          "options": [
            {
              "name": "Disabled",
              "value": "disabled"
            },
            {
              "name": "Ignored",
              "value": "ignored"
            },
            {
              "name": "Needs Review",
              "value": "needs review"
            },
            {
              "name": "Restricted",
              "value": "restricted"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Software ID",
      "name": "softwareId",
      "type": "string",
      "default": "",
      "description": "ID of the software application to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Software ID",
      "name": "softwareId",
      "type": "string",
      "default": "",
      "description": "ID of the software application to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "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": [
            "software"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Software ID",
      "name": "softwareId",
      "type": "string",
      "default": "",
      "description": "ID of the software application to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Application Type",
          "name": "application_type",
          "type": "options",
          "default": "desktop",
          "description": "Type of the software",
          "options": [
            {
              "name": "Desktop",
              "value": "desktop"
            },
            {
              "name": "Mobile",
              "value": "mobile"
            },
            {
              "name": "SaaS",
              "value": "saas"
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Notes",
          "name": "notes",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "managed",
          "options": [
            {
              "name": "Disabled",
              "value": "disabled"
            },
            {
              "name": "Ignored",
              "value": "ignored"
            },
            {
              "name": "Needs Review",
              "value": "needs review"
            },
            {
              "name": "Restricted",
              "value": "restricted"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "software"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a ticket",
          "action": "Create a ticket"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a ticket",
          "action": "Delete a ticket"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a ticket",
          "action": "Get a ticket"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many tickets",
          "action": "Get many tickets"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a ticket",
          "action": "Update a ticket"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the ticket author",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Description",
      "name": "description",
      "type": "string",
      "default": "",
      "description": "HTML supported",
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Priority",
      "name": "priority",
      "type": "options",
      "default": 1,
      "options": [
        {
          "name": "Low",
          "value": 1
        },
        {
          "name": "Medium",
          "value": 2
        },
        {
          "name": "High",
          "value": 3
        },
        {
          "name": "Urgent",
          "value": 4
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": 2,
      "options": [
        {
          "name": "Open",
          "value": 2
        },
        {
          "name": "Pending",
          "value": 3
        },
        {
          "name": "Resolved",
          "value": 4
        },
        {
          "name": "Closed",
          "value": 5
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "CC Emails",
          "name": "cc_emails",
          "type": "string",
          "default": "",
          "description": "Comma-separated email addresses to add in the CC field of the ticket email"
        },
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department to which this ticket belongs. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the group to which the ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Name of the ticket author"
        },
        {
          "displayName": "Requester Name or ID",
          "name": "requester_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getRequesters"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "description": "ID of the ticket to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "description": "ID of the ticket to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "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": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agent Name or ID",
          "name": "agent_id",
          "type": "options",
          "default": "",
          "description": "ID of the agent to whom the tickets have been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgents"
          }
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the group to which the tickets have been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "Open",
              "value": 2
            },
            {
              "name": "Pending",
              "value": 3
            },
            {
              "name": "Resolved",
              "value": 4
            },
            {
              "name": "Closed",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Created On",
          "name": "created_at",
          "type": "dateTime",
          "default": "",
          "description": "Date when the ticket was created"
        },
        {
          "displayName": "Due By",
          "name": "due_by",
          "description": "Date when the ticket is due to be resolved",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Ticket ID",
      "name": "ticketId",
      "type": "string",
      "default": "",
      "description": "ID of the ticket to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Department Name or ID",
          "name": "department_id",
          "type": "options",
          "default": "",
          "description": "ID of the department to which this ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "HTML supported"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Email address of the ticket author"
        },
        {
          "displayName": "Group Name or ID",
          "name": "group_id",
          "type": "options",
          "default": "",
          "description": "ID of the group to which the ticket has been assigned. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getAgentGroups"
          }
        },
        {
          "displayName": "Impact",
          "name": "impact",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Name of the ticket author"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Priority",
          "name": "priority",
          "type": "options",
          "default": 1,
          "description": "Priority of the ticket",
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            },
            {
              "name": "Urgent",
              "value": 4
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "Open",
              "value": 2
            },
            {
              "name": "Pending",
              "value": 3
            },
            {
              "name": "Resolved",
              "value": 4
            },
            {
              "name": "Closed",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ticket"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an agent"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an agent"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Retrieve an agent"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Retrieve many agents"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an agent"
    }
  ]


