# nodes

node_type: nodes-base.taigaTrigger
package_name: n8n-nodes-base
display_name: Taiga Trigger
description: Handle Taiga events via webhook
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "taigaApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-08-26 06:29:25
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Taiga Trigger node documentation
  description: Learn how to use the Taiga Trigger node in n8n. Follow technical documentation to integrate Taiga Trigger node into your workflows.
  contentType: [integration, reference]
  ---

  # Taiga Trigger node

  [Taiga](https://www.taiga.io/){:target=_blank .external-link} is a free and open-source project management platform for startups, agile developers, and designers.

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

  ///  note  | Examples and templates
  For usage examples and templates to help you get started, refer to n8n's [Taiga Trigger integrations](https://n8n.io/integrations/taiga-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": "getUserProjects"
      }
    },
    {
      "displayName": "Resources",
      "name": "resources",
      "type": "multiOptions",
      "default": [
        "all"
      ],
      "description": "Resources to listen to",
      "options": [
        {
          "name": "All",
          "value": "all"
        },
        {
          "name": "Issue",
          "value": "issue"
        },
        {
          "name": "Milestone (Sprint)",
          "value": "milestone"
        },
        {
          "name": "Task",
          "value": "task"
        },
        {
          "name": "User Story",
          "value": "userstory"
        },
        {
          "name": "Wikipage",
          "value": "wikipage"
        }
      ],
      "required": true
    },
    {
      "displayName": "Operations",
      "name": "operations",
      "type": "multiOptions",
      "default": [
        "all"
      ],
      "description": "Operations to listen to",
      "options": [
        {
          "name": "All",
          "value": "all"
        },
        {
          "name": "Create",
          "value": "create"
        },
        {
          "name": "Delete",
          "value": "delete"
        },
        {
          "name": "Update",
          "value": "change"
        }
      ],
      "required": true
    }
  ]


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

outputs:
  [
  "main"
  ]

updated_at: 2025-08-26 06:29:25
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Tapfiliate node documentation
  description: Learn how to use the Tapfiliate node in n8n. Follow technical documentation to integrate Tapfiliate node into your workflows.
  contentType: [integration, reference]
  ---

  # Tapfiliate node

  Use the Tapfiliate node to automate work in Tapfiliate, and integrate Tapfiliate with other applications. n8n has built-in support for a wide range of Tapfiliate features, including creating and deleting affiliates, and adding affiliate metadata. 

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

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

  ## Operations

  * Affiliate
      * Create an affiliate
      * Delete an affiliate
      * Get an affiliate by ID
      * Get all affiliates
  * Affiliate Metadata
      * Add metadata to affiliate
      * Remove metadata from affiliate
      * Update affiliate's metadata
  * Program Affiliate
      * Add affiliate to program
      * Approve an affiliate for a program
      * Disapprove an affiliate
      * Get an affiliate in a program
      * Get all affiliates in program

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "affiliate",
      "options": [
        {
          "name": "Affiliate",
          "value": "affiliate"
        },
        {
          "name": "Affiliate Metadata",
          "value": "affiliateMetadata"
        },
        {
          "name": "Program Affiliate",
          "value": "programAffiliate"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an affiliate",
          "action": "Create an affiliate"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an affiliate",
          "action": "Delete an affiliate"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an affiliate by ID",
          "action": "Get an affiliate"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many affiliates",
          "action": "Get many affiliates"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "affiliate"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "The affiliate’s email",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "affiliate"
          ]
        }
      }
    },
    {
      "displayName": "First Name",
      "name": "firstname",
      "type": "string",
      "default": "",
      "description": "The affiliate’s firstname",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "affiliate"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "lastname",
      "type": "string",
      "default": "",
      "description": "The affiliate’s lastname",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "affiliate"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "addressUi",
          "placeholder": "Address",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "default": {},
          "options": [
            {
              "name": "addressValues",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "Line 1",
                  "name": "address",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 2",
                  "name": "address_two",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postal_code",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Code",
                  "name": "country",
                  "type": "string",
                  "default": "",
                  "description": "The country’s ISO_3166-1 code. <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1\">Codes</a>."
                }
              ]
            }
          ]
        },
        {
          "displayName": "Company Name",
          "name": "companyName",
          "type": "string",
          "default": "",
          "description": "The affiliate’s company data"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "affiliate"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Affiliate ID",
      "name": "affiliateId",
      "type": "string",
      "default": "",
      "description": "The ID of the affiliate",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "affiliate"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Affiliate ID",
      "name": "affiliateId",
      "type": "string",
      "default": "",
      "description": "The ID of the affiliate",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "affiliate"
          ],
          "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": [
            "affiliate"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "affiliate"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Affiliate Group ID",
          "name": "affiliate_group_id",
          "type": "string",
          "default": "",
          "description": "Retrieves affiliates for a certain affiliate group"
        },
        {
          "displayName": "Click ID",
          "name": "click_id",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "An email address,"
        },
        {
          "displayName": "Parent ID",
          "name": "parentId",
          "type": "string",
          "default": "",
          "description": "Retrieves children for a certain parent affiliate"
        },
        {
          "displayName": "Referral Code",
          "name": "referral_code",
          "type": "string",
          "default": "",
          "description": "An affiliate’s referral code. This corresponds to the value of ref= in their referral link."
        },
        {
          "displayName": "Source ID",
          "name": "source_id",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "affiliate"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add metadata to affiliate",
          "action": "Add metadata to an affiliate"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove metadata from affiliate",
          "action": "Remove metadata from an affiliate"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update affiliate's metadata",
          "action": "Update metadata for an affiliate"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "affiliateMetadata"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Affiliate ID",
      "name": "affiliateId",
      "type": "string",
      "default": "",
      "description": "The ID of the affiliate",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "affiliateMetadata"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Metadata",
      "name": "metadataUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Meta data",
      "options": [
        {
          "name": "metadataValues",
          "displayName": "Metadata",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": "",
              "description": "Name of the metadata key to add"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "description": "Value to set for the metadata key"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "affiliateMetadata"
          ],
          "operation": [
            "add"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Affiliate ID",
      "name": "affiliateId",
      "type": "string",
      "default": "",
      "description": "The ID of the affiliate",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "affiliateMetadata"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Key",
      "name": "key",
      "type": "string",
      "default": "",
      "description": "Name of the metadata key to remove",
      "displayOptions": {
        "show": {
          "resource": [
            "affiliateMetadata"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Affiliate ID",
      "name": "affiliateId",
      "type": "string",
      "default": "",
      "description": "The ID of the affiliate",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "affiliateMetadata"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Key",
      "name": "key",
      "type": "string",
      "default": "",
      "description": "Name of the metadata key to update",
      "displayOptions": {
        "show": {
          "resource": [
            "affiliateMetadata"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "description": "Value to set for the metadata key",
      "displayOptions": {
        "show": {
          "resource": [
            "affiliateMetadata"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add affiliate to program",
          "action": "Add a program affiliate"
        },
        {
          "name": "Approve",
          "value": "approve",
          "description": "Approve an affiliate for a program",
          "action": "Approve a program affiliate"
        },
        {
          "name": "Disapprove",
          "value": "disapprove",
          "description": "Disapprove an affiliate",
          "action": "Disapprove a program affiliate"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an affiliate in a program",
          "action": "Get a program affiliate"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many affiliates in program",
          "action": "Get many program affiliates"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "programAffiliate"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Program Name or ID",
      "name": "programId",
      "type": "options",
      "default": "",
      "description": "The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "programAffiliate"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getPrograms"
      }
    },
    {
      "displayName": "Affiliate ID",
      "name": "affiliateId",
      "type": "string",
      "default": "",
      "description": "The ID of the affiliate",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "programAffiliate"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "An optional approval status"
        },
        {
          "displayName": "Coupon",
          "name": "coupon",
          "type": "string",
          "default": "",
          "description": "An optional coupon for this affiliate"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "programAffiliate"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Program Name or ID",
      "name": "programId",
      "type": "options",
      "default": "",
      "description": "The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "operation": [
            "approve"
          ],
          "resource": [
            "programAffiliate"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getPrograms"
      }
    },
    {
      "displayName": "Affiliate ID",
      "name": "affiliateId",
      "type": "string",
      "default": "",
      "description": "The ID of the affiliate",
      "displayOptions": {
        "show": {
          "resource": [
            "programAffiliate"
          ],
          "operation": [
            "approve"
          ]
        }
      }
    },
    {
      "displayName": "Program Name or ID",
      "name": "programId",
      "type": "options",
      "default": "",
      "description": "The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "operation": [
            "disapprove"
          ],
          "resource": [
            "programAffiliate"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getPrograms"
      }
    },
    {
      "displayName": "Affiliate ID",
      "name": "affiliateId",
      "type": "string",
      "default": "",
      "description": "The ID of the affiliate",
      "displayOptions": {
        "show": {
          "resource": [
            "programAffiliate"
          ],
          "operation": [
            "disapprove"
          ]
        }
      }
    },
    {
      "displayName": "Program Name or ID",
      "name": "programId",
      "type": "options",
      "default": "",
      "description": "The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "programAffiliate"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getPrograms"
      }
    },
    {
      "displayName": "Affiliate ID",
      "name": "affiliateId",
      "type": "string",
      "default": "",
      "description": "The ID of the affiliate",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "programAffiliate"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Program Name or ID",
      "name": "programId",
      "type": "options",
      "default": "",
      "description": "The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "programAffiliate"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getPrograms"
      }
    },
    {
      "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": [
            "programAffiliate"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "programAffiliate"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Affiliate Group ID",
          "name": "affiliate_group_id",
          "type": "string",
          "default": "",
          "description": "Retrieves affiliates for a certain affiliate group"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "An email address"
        },
        {
          "displayName": "Parent ID",
          "name": "parentId",
          "type": "string",
          "default": "",
          "description": "Retrieves children for a certain parent affiliate"
        },
        {
          "displayName": "Source ID",
          "name": "source_id",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "programAffiliate"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an affiliate"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an affiliate"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an affiliate by ID"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many affiliates"
    }
  ]


node_type: nodes-base.telegram
package_name: n8n-nodes-base
display_name: Telegram
description: Sends data to Telegram
category: output
development_style: programmatic
version: 1.2
credentials_required:
  [
  {
  "name": "telegramApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-08-26 06:29:25
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Telegram node documentation
  description: Documentation for the Telegram node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information.
  contentType: [integration, reference]
  priority: critical
  ---

  # Telegram node

  Use the Telegram node to automate work in [Telegram](https://telegram.org/){:target=_blank .external-link} and integrate Telegram with other applications. n8n has built-in support for a wide range of Telegram features, including getting files as well as deleting and editing messages. 

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

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

  ## Operations

  * [**Chat** operations](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/chat-operations.md)
      * [**Get**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/chat-operations.md#get-chat) up-to-date information about a chat.
      * [**Get Administrators**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/chat-operations.md#get-administrators): Get a list of all administrators in a chat.
      * [**Get Member**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/chat-operations.md#get-chat-member): Get the details of a chat member.
      * [**Leave**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/chat-operations.md#leave-chat) a chat.
      * [**Set Description**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/chat-operations.md#set-description) of a chat.
      * [**Set Title**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/chat-operations.md#set-title) of a chat.
  * [**Callback** operations](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/callback-operations.md)
      * [**Answer Query**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/callback-operations.md#answer-query): Send answers to callback queries sent from [inline keyboards](https://core.telegram.org/bots/features#inline-keyboards){:target=_blank .external-link}.
      * [**Answer Inline Query**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/callback-operations.md#answer-inline-query): Send answers to callback queries sent from inline queries.
  * [**File** operations](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/file-operations.md)
      * [**Get File**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/file-operations.md#get-file) from Telegram.
  * [**Message** operations](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md)
      * [**Delete Chat Message**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#delete-chat-message).
      * [**Edit Message Text**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#edit-message-text): Edit the text of an existing message.
      * [**Pin Chat Message**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#pin-chat-message) for the chat.
      * [**Send Animation**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-animation) to the chat.
          * For use with GIFs or H.264/MPEG-4 AVC videos without sound up to 50 MB in size.
      * [**Send Audio**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-audio) file to the chat and display it in the music player.
      * [**Send Chat Action**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-chat-action): Tell the user that something is happening on the bot's side. The status is set for 5 seconds or less.
      * [**Send Document**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-document) to the chat.
      * [**Send Location**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-location): Send a geolocation to the chat.
      * [**Send Media Group**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-media-group): Send a group of photos and/or videos.
      * [**Send Message**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-message) to the chat.
      * [**Send Photo**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-photo) to the chat.
      * [**Send Sticker**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-sticker) to the chat.
          * For use with static .WEBP, animated .TGS, or video .WEBM stickers.
      * [**Send Video**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#send-video) to the chat.
      * [**Unpin Chat Message**](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/message-operations.md#unpin-chat-message) from the chat.
      
      /// note | Add bot to channel
      To use most of the **Message** operations, you must add your bot to a channel so that it can send messages to that channel. Refer to [Common Issues | Add a bot to a Telegram channel](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/common-issues.md#add-a-bot-to-a-telegram-channel) for more information.
      ///

      ## Templates and examples

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

  ## Related resources

  Refer to [Telegram's API documentation](https://core.telegram.org/bots/api){:target=_blank .external-link} for more information about the service.

  n8n provides a trigger node for Telegram. Refer to the trigger node docs [here](/integrations/builtin/trigger-nodes/n8n-nodes-base.telegramtrigger/index.md) for more information.

  ## Common issues

  For common errors or issues and suggested resolution steps, refer to [Common Issues](/integrations/builtin/app-nodes/n8n-nodes-base.telegram/common-issues.md).

properties_schema:
  [
    {
      "displayName": "Interact with Telegram using our pre-built",
      "name": "preBuiltAgentsCalloutTelegram",
      "type": "callout",
      "default": "",
      "typeOptions": {
        "calloutAction": {
          "label": "Voice assistant agent",
          "icon": "bot",
          "type": "openSampleWorkflowTemplate",
          "templateId": "voice_assistant_agent_with_telegram_and_gcal"
        }
      }
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "message",
      "options": [
        {
          "name": "Chat",
          "value": "chat"
        },
        {
          "name": "Callback",
          "value": "callback"
        },
        {
          "name": "File",
          "value": "file"
        },
        {
          "name": "Message",
          "value": "message"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get up to date information about a chat",
          "action": "Get a chat"
        },
        {
          "name": "Get Administrators",
          "value": "administrators",
          "description": "Get the Administrators of a chat",
          "action": "Get all administrators in a chat"
        },
        {
          "name": "Get Member",
          "value": "member",
          "description": "Get the member of a chat",
          "action": "Get a member in a chat"
        },
        {
          "name": "Leave",
          "value": "leave",
          "description": "Leave a group, supergroup or channel",
          "action": "Leave a chat"
        },
        {
          "name": "Set Description",
          "value": "setDescription",
          "description": "Set the description of a chat",
          "action": "Set description on a chat"
        },
        {
          "name": "Set Title",
          "value": "setTitle",
          "description": "Set the title of a chat",
          "action": "Set a title on a chat"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chat"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "answerQuery",
      "options": [
        {
          "name": "Answer Query",
          "value": "answerQuery",
          "description": "Send answer to callback query sent from inline keyboard",
          "action": "Answer Query a callback"
        },
        {
          "name": "Answer Inline Query",
          "value": "answerInlineQuery",
          "description": "Send answer to callback query sent from inline bot",
          "action": "Answer an inline query callback"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "callback"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a file",
          "action": "Get a file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "sendMessage",
      "options": [
        {
          "name": "Delete Chat Message",
          "value": "deleteMessage",
          "description": "Delete a chat message",
          "action": "Delete a chat message"
        },
        {
          "name": "Edit Message Text",
          "value": "editMessageText",
          "description": "Edit a text message",
          "action": "Edit a text message"
        },
        {
          "name": "Pin Chat Message",
          "value": "pinChatMessage",
          "description": "Pin a chat message",
          "action": "Pin a chat message"
        },
        {
          "name": "Send Animation",
          "value": "sendAnimation",
          "description": "Send an animated file",
          "action": "Send an animated file"
        },
        {
          "name": "Send Audio",
          "value": "sendAudio",
          "description": "Send a audio file",
          "action": "Send an audio file"
        },
        {
          "name": "Send Chat Action",
          "value": "sendChatAction",
          "description": "Send a chat action",
          "action": "Send a chat action"
        },
        {
          "name": "Send Document",
          "value": "sendDocument",
          "description": "Send a document",
          "action": "Send a document"
        },
        {
          "name": "Send Location",
          "value": "sendLocation",
          "description": "Send a location",
          "action": "Send a location"
        },
        {
          "name": "Send Media Group",
          "value": "sendMediaGroup",
          "description": "Send group of photos or videos to album",
          "action": "Send a media group message"
        },
        {
          "name": "Send Message",
          "value": "sendMessage",
          "description": "Send a text message",
          "action": "Send a text message"
        },
        {
          "name": "Send and Wait for Response",
          "value": "sendAndWait",
          "description": "Send a message and wait for response",
          "action": "Send message and wait for response"
        },
        {
          "name": "Send Photo",
          "value": "sendPhoto",
          "description": "Send a photo",
          "action": "Send a photo message"
        },
        {
          "name": "Send Sticker",
          "value": "sendSticker",
          "description": "Send a sticker",
          "action": "Send a sticker"
        },
        {
          "name": "Send Video",
          "value": "sendVideo",
          "description": "Send a video",
          "action": "Send a video"
        },
        {
          "name": "Unpin Chat Message",
          "value": "unpinChatMessage",
          "description": "Unpin a chat message",
          "action": "Unpin a chat message"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Chat ID",
      "name": "chatId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the target chat or username, To find your chat ID ask @get_id_bot",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "administrators",
            "deleteMessage",
            "get",
            "leave",
            "member",
            "pinChatMessage",
            "setDescription",
            "setTitle",
            "sendAnimation",
            "sendAudio",
            "sendChatAction",
            "sendDocument",
            "sendLocation",
            "sendMessage",
            "sendMediaGroup",
            "sendPhoto",
            "sendSticker",
            "sendVideo",
            "unpinChatMessage"
          ],
          "resource": [
            "chat",
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Message ID",
      "name": "messageId",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the message to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "deleteMessage"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Message ID",
      "name": "messageId",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the message to pin or unpin",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "pinChatMessage",
            "unpinChatMessage"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Disable Notification",
          "name": "disable_notification",
          "type": "boolean",
          "default": false,
          "description": "Whether to send a notification to all chat members about the new pinned message"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "pinChatMessage"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the target user",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "member"
          ],
          "resource": [
            "chat"
          ]
        }
      }
    },
    {
      "displayName": "Description",
      "name": "description",
      "type": "string",
      "default": "",
      "description": "New chat description, 0-255 characters",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "setDescription"
          ],
          "resource": [
            "chat"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "New chat title, 1-255 characters",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "setTitle"
          ],
          "resource": [
            "chat"
          ]
        }
      }
    },
    {
      "displayName": "Query ID",
      "name": "queryId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the query to be answered",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "answerQuery"
          ],
          "resource": [
            "callback"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Cache Time",
          "name": "cache_time",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "description": "The maximum amount of time in seconds that the result of the callback query may be cached client-side"
        },
        {
          "displayName": "Show Alert",
          "name": "show_alert",
          "type": "boolean",
          "default": false,
          "description": "Whether an alert will be shown by the client instead of a notification at the top of the chat screen"
        },
        {
          "displayName": "Text",
          "name": "text",
          "type": "string",
          "default": "",
          "description": "Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters."
        },
        {
          "displayName": "URL",
          "name": "url",
          "type": "string",
          "default": "",
          "description": "URL that will be opened by the user's client"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "answerQuery"
          ],
          "resource": [
            "callback"
          ]
        }
      }
    },
    {
      "displayName": "Query ID",
      "name": "queryId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the answered query",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "answerInlineQuery"
          ],
          "resource": [
            "callback"
          ]
        }
      }
    },
    {
      "displayName": "Results",
      "name": "results",
      "type": "string",
      "default": "",
      "description": "A JSON-serialized array of results for the inline query",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "answerInlineQuery"
          ],
          "resource": [
            "callback"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Cache Time",
          "name": "cache_time",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "description": "The maximum amount of time in seconds that the result of the callback query may be cached client-side"
        },
        {
          "displayName": "Show Alert",
          "name": "show_alert",
          "type": "boolean",
          "default": false,
          "description": "Whether an alert will be shown by the client instead of a notification at the top of the chat screen"
        },
        {
          "displayName": "Text",
          "name": "text",
          "type": "string",
          "default": "",
          "description": "Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters."
        },
        {
          "displayName": "URL",
          "name": "url",
          "type": "string",
          "default": "",
          "description": "URL that will be opened by the user's client"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "answerInlineQuery"
          ],
          "resource": [
            "callback"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "description": "The ID of the file",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Download",
      "name": "download",
      "type": "boolean",
      "default": true,
      "description": "Whether to download the file",
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "MIME Type",
          "name": "mimeType",
          "type": "string",
          "placeholder": "image/jpeg",
          "default": "",
          "description": "The MIME type of the file. If not specified, the MIME type will be determined by the file extension."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "file"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Message Type",
      "name": "messageType",
      "type": "options",
      "default": "message",
      "description": "The type of the message to edit",
      "options": [
        {
          "name": "Inline Message",
          "value": "inlineMessage"
        },
        {
          "name": "Message",
          "value": "message"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "editMessageText"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Chat ID",
      "name": "chatId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the target chat or username, To find your chat ID ask @get_id_bot",
      "required": true,
      "displayOptions": {
        "show": {
          "messageType": [
            "message"
          ],
          "operation": [
            "editMessageText"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Binary File",
      "name": "binaryData",
      "type": "boolean",
      "default": false,
      "description": "Whether the data to upload should be taken from binary field",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "sendAnimation",
            "sendAudio",
            "sendDocument",
            "sendPhoto",
            "sendVideo",
            "sendSticker"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "description": "Name of the binary property that contains the data to upload",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "sendAnimation",
            "sendAudio",
            "sendDocument",
            "sendPhoto",
            "sendVideo",
            "sendSticker"
          ],
          "resource": [
            "message"
          ],
          "binaryData": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Message ID",
      "name": "messageId",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the message to edit",
      "required": true,
      "displayOptions": {
        "show": {
          "messageType": [
            "message"
          ],
          "operation": [
            "editMessageText"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Inline Message ID",
      "name": "inlineMessageId",
      "type": "string",
      "default": "",
      "description": "Unique identifier of the inline message to edit",
      "required": true,
      "displayOptions": {
        "show": {
          "messageType": [
            "inlineMessage"
          ],
          "operation": [
            "editMessageText"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Reply Markup",
      "name": "replyMarkup",
      "type": "options",
      "default": "none",
      "description": "Additional interface options",
      "options": [
        {
          "name": "None",
          "value": "none"
        },
        {
          "name": "Inline Keyboard",
          "value": "inlineKeyboard"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "editMessageText"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Animation",
      "name": "file",
      "type": "string",
      "default": "",
      "description": "Animation to send. Pass a file_id to send an animation that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get an animation from the Internet.",
      "displayOptions": {
        "show": {
          "operation": [
            "sendAnimation"
          ],
          "resource": [
            "message"
          ],
          "binaryData": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Audio",
      "name": "file",
      "type": "string",
      "default": "",
      "description": "Audio file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet.",
      "displayOptions": {
        "show": {
          "operation": [
            "sendAudio"
          ],
          "resource": [
            "message"
          ],
          "binaryData": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Action",
      "name": "action",
      "type": "options",
      "default": "typing",
      "description": "Type of action to broadcast. Choose one, depending on what the user is about to receive. The status is set for 5 seconds or less (when a message arrives from your bot).",
      "options": [
        {
          "name": "Find Location",
          "value": "find_location",
          "action": "Find location"
        },
        {
          "name": "Record Audio",
          "value": "record_audio",
          "action": "Record audio"
        },
        {
          "name": "Record Video",
          "value": "record_video",
          "action": "Record video"
        },
        {
          "name": "Record Video Note",
          "value": "record_video_note",
          "action": "Record video note"
        },
        {
          "name": "Typing",
          "value": "typing",
          "action": "Typing a message"
        },
        {
          "name": "Upload Audio",
          "value": "upload_audio",
          "action": "Upload audio"
        },
        {
          "name": "Upload Document",
          "value": "upload_document",
          "action": "Upload document"
        },
        {
          "name": "Upload Photo",
          "value": "upload_photo",
          "action": "Upload photo"
        },
        {
          "name": "Upload Video",
          "value": "upload_video",
          "action": "Upload video"
        },
        {
          "name": "Upload Video Note",
          "value": "upload_video_note",
          "action": "Upload video note"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "sendChatAction"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Document",
      "name": "file",
      "type": "string",
      "default": "",
      "description": "Document to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet.",
      "displayOptions": {
        "show": {
          "operation": [
            "sendDocument"
          ],
          "resource": [
            "message"
          ],
          "binaryData": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Latitude",
      "name": "latitude",
      "type": "number",
      "default": 0,
      "description": "Location latitude",
      "displayOptions": {
        "show": {
          "operation": [
            "sendLocation"
          ],
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "numberPrecision": 10,
        "minValue": -90,
        "maxValue": 90
      }
    },
    {
      "displayName": "Longitude",
      "name": "longitude",
      "type": "number",
      "default": 0,
      "description": "Location longitude",
      "displayOptions": {
        "show": {
          "operation": [
            "sendLocation"
          ],
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "numberPrecision": 10,
        "minValue": -180,
        "maxValue": 180
      }
    },
    {
      "displayName": "Media",
      "name": "media",
      "type": "fixedCollection",
      "default": {},
      "description": "The media to add",
      "options": [
        {
          "displayName": "Media",
          "name": "media",
          "values": [
            {
              "displayName": "Type",
              "name": "type",
              "type": "options",
              "options": [
                {
                  "name": "Photo",
                  "value": "photo"
                },
                {
                  "name": "Video",
                  "value": "video"
                }
              ],
              "default": "photo",
              "description": "The type of the media to add"
            },
            {
              "displayName": "Media File",
              "name": "media",
              "type": "string",
              "default": "",
              "description": "Media to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass an HTTP URL for Telegram to get a file from the Internet."
            },
            {
              "displayName": "Additional Fields",
              "name": "additionalFields",
              "type": "collection",
              "placeholder": "Add Field",
              "default": {},
              "options": [
                {
                  "displayName": "Caption",
                  "name": "caption",
                  "type": "string",
                  "default": "",
                  "description": "Caption text to set, 0-1024 characters"
                },
                {
                  "displayName": "Parse Mode",
                  "name": "parse_mode",
                  "type": "options",
                  "options": [
                    {
                      "name": "Markdown (Legacy)",
                      "value": "Markdown"
                    },
                    {
                      "name": "MarkdownV2",
                      "value": "MarkdownV2"
                    },
                    {
                      "name": "HTML",
                      "value": "HTML"
                    }
                  ],
                  "default": "HTML",
                  "description": "How to parse the text"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "sendMediaGroup"
          ],
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Text",
      "name": "text",
      "type": "string",
      "default": "",
      "description": "Text of the message to be sent",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "editMessageText",
            "sendMessage"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Photo",
      "name": "file",
      "type": "string",
      "default": "",
      "description": "Photo to send. Pass a file_id to send a photo that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a photo from the Internet.",
      "displayOptions": {
        "show": {
          "operation": [
            "sendPhoto"
          ],
          "resource": [
            "message"
          ],
          "binaryData": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Sticker",
      "name": "file",
      "type": "string",
      "default": "",
      "description": "Sticker to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a .webp file from the Internet.",
      "displayOptions": {
        "show": {
          "operation": [
            "sendSticker"
          ],
          "resource": [
            "message"
          ],
          "binaryData": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Video",
      "name": "file",
      "type": "string",
      "default": "",
      "description": "Video file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet.",
      "displayOptions": {
        "show": {
          "operation": [
            "sendVideo"
          ],
          "resource": [
            "message"
          ],
          "binaryData": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Reply Markup",
      "name": "replyMarkup",
      "type": "options",
      "default": "none",
      "description": "Additional interface options",
      "options": [
        {
          "name": "Force Reply",
          "value": "forceReply"
        },
        {
          "name": "Inline Keyboard",
          "value": "inlineKeyboard"
        },
        {
          "name": "None",
          "value": "none"
        },
        {
          "name": "Reply Keyboard",
          "value": "replyKeyboard"
        },
        {
          "name": "Reply Keyboard Remove",
          "value": "replyKeyboardRemove"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "sendAnimation",
            "sendDocument",
            "sendMessage",
            "sendPhoto",
            "sendSticker",
            "sendVideo",
            "sendAudio",
            "sendLocation"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Force Reply",
      "name": "forceReply",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Force Reply",
          "name": "force_reply",
          "type": "boolean",
          "default": false,
          "description": "Whether to show reply interface to the user, as if they manually selected the bot‘s message and tapped ’Reply"
        },
        {
          "displayName": "Selective",
          "name": "selective",
          "type": "boolean",
          "default": false,
          "description": "Whether to force reply from specific users only"
        }
      ],
      "displayOptions": {
        "show": {
          "replyMarkup": [
            "forceReply"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Inline Keyboard",
      "name": "inlineKeyboard",
      "type": "fixedCollection",
      "default": {},
      "description": "Adds an inline keyboard that appears right next to the message it belongs to",
      "options": [
        {
          "displayName": "Rows",
          "name": "rows",
          "values": [
            {
              "displayName": "Row",
              "name": "row",
              "type": "fixedCollection",
              "description": "The value to set",
              "placeholder": "Add Button",
              "typeOptions": {
                "multipleValues": true
              },
              "default": {},
              "options": [
                {
                  "displayName": "Buttons",
                  "name": "buttons",
                  "values": [
                    {
                      "displayName": "Text",
                      "name": "text",
                      "type": "string",
                      "default": "",
                      "description": "Label text on the button"
                    },
                    {
                      "displayName": "Additional Fields",
                      "name": "additionalFields",
                      "type": "collection",
                      "placeholder": "Add Field",
                      "default": {},
                      "options": [
                        {
                          "displayName": "Callback Data",
                          "name": "callback_data",
                          "type": "string",
                          "default": "",
                          "description": "Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes"
                        },
                        {
                          "displayName": "Pay",
                          "name": "pay",
                          "type": "boolean",
                          "default": false,
                          "description": "Whether to send a Pay button"
                        },
                        {
                          "displayName": "Switch Inline Query Current Chat",
                          "name": "switch_inline_query_current_chat",
                          "type": "string",
                          "default": "",
                          "description": "If set, pressing the button will insert the bot‘s username and the specified inline query in the current chat's input field.Can be empty, in which case only the bot’s username will be inserted"
                        },
                        {
                          "displayName": "Switch Inline Query",
                          "name": "switch_inline_query",
                          "type": "string",
                          "default": "",
                          "description": "If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot‘s username and the specified inline query in the input field. Can be empty, in which case just the bot’s username will be inserted."
                        },
                        {
                          "displayName": "URL",
                          "name": "url",
                          "type": "string",
                          "default": "",
                          "description": "HTTP or tg:// URL to be opened when button is pressed"
                        },
                        {
                          "displayName": "Web App",
                          "name": "web_app",
                          "type": "collection",
                          "placeholder": "Set Telegram Web App URL",
                          "typeOptions": {
                            "multipleValues": false
                          },
                          "default": {},
                          "options": [
                            {
                              "displayName": "URL",
                              "name": "url",
                              "type": "string",
                              "default": "",
                              "description": "An HTTPS URL of a Web App to be opened"
                            }
                          ],
                          "description": "Launch the Telegram Web App"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "replyMarkup": [
            "inlineKeyboard"
          ],
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Reply Keyboard",
      "name": "replyKeyboard",
      "type": "fixedCollection",
      "default": {},
      "description": "Adds a custom keyboard with reply options",
      "options": [
        {
          "displayName": "Rows",
          "name": "rows",
          "values": [
            {
              "displayName": "Row",
              "name": "row",
              "type": "fixedCollection",
              "description": "The value to set",
              "placeholder": "Add Button",
              "typeOptions": {
                "multipleValues": true
              },
              "default": {},
              "options": [
                {
                  "displayName": "Buttons",
                  "name": "buttons",
                  "values": [
                    {
                      "displayName": "Text",
                      "name": "text",
                      "type": "string",
                      "default": "",
                      "description": "Text of the button. If none of the optional fields are used, it will be sent as a message when the button is pressed."
                    },
                    {
                      "displayName": "Additional Fields",
                      "name": "additionalFields",
                      "type": "collection",
                      "placeholder": "Add Field",
                      "default": {},
                      "options": [
                        {
                          "displayName": "Request Contact",
                          "name": "request_contact",
                          "type": "boolean",
                          "default": false,
                          "description": "Whether the user's phone number will be sent as a contact when the button is pressed.Available in private chats only"
                        },
                        {
                          "displayName": "Request Location",
                          "name": "request_location",
                          "type": "boolean",
                          "default": false,
                          "description": "Whether the user's request_location"
                        },
                        {
                          "displayName": "Web App",
                          "name": "web_app",
                          "type": "collection",
                          "placeholder": "Set Telegram Web App URL",
                          "typeOptions": {
                            "multipleValues": false
                          },
                          "default": {},
                          "options": [
                            {
                              "displayName": "URL",
                              "name": "url",
                              "type": "string",
                              "default": "",
                              "description": "An HTTPS URL of a Web App to be opened"
                            }
                          ],
                          "description": "Launch the Telegram Web App"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "replyMarkup": [
            "replyKeyboard"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Reply Keyboard Options",
      "name": "replyKeyboardOptions",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Resize Keyboard",
          "name": "resize_keyboard",
          "type": "boolean",
          "default": false,
          "description": "Whether to request clients to resize the keyboard vertically for optimal fit"
        },
        {
          "displayName": "One Time Keyboard",
          "name": "one_time_keyboard",
          "type": "boolean",
          "default": false,
          "description": "Whether to request clients to hide the keyboard as soon as it's been used"
        },
        {
          "displayName": "Selective",
          "name": "selective",
          "type": "boolean",
          "default": false,
          "description": "Whether to show the keyboard to specific users only"
        }
      ],
      "displayOptions": {
        "show": {
          "replyMarkup": [
            "replyKeyboard"
          ]
        }
      }
    },
    {
      "displayName": "Reply Keyboard Remove",
      "name": "replyKeyboardRemove",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Remove Keyboard",
          "name": "remove_keyboard",
          "type": "boolean",
          "default": false,
          "description": "Whether to request clients to remove the custom keyboard"
        },
        {
          "displayName": "Selective",
          "name": "selective",
          "type": "boolean",
          "default": false,
          "description": "Whether to force reply from specific users only"
        }
      ],
      "displayOptions": {
        "show": {
          "replyMarkup": [
            "replyKeyboardRemove"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase “This message was sent automatically with n8n” to the end of the message",
          "displayOptions": {
            "show": {
              "/operation": [
                "sendMessage"
              ]
            }
          }
        },
        {
          "displayName": "Caption",
          "name": "caption",
          "type": "string",
          "displayOptions": {
            "show": {
              "/operation": [
                "sendAnimation",
                "sendAudio",
                "sendDocument",
                "sendPhoto",
                "sendVideo"
              ]
            }
          },
          "default": "",
          "description": "Caption text to set, 0-1024 characters"
        },
        {
          "displayName": "Disable Notification",
          "name": "disable_notification",
          "type": "boolean",
          "default": false,
          "displayOptions": {
            "hide": {
              "/operation": [
                "editMessageText"
              ]
            }
          },
          "description": "Whether to send the message silently. Users will receive a notification with no sound."
        },
        {
          "displayName": "Disable WebPage Preview",
          "name": "disable_web_page_preview",
          "type": "boolean",
          "displayOptions": {
            "show": {
              "/operation": [
                "editMessageText",
                "sendMessage"
              ]
            }
          },
          "default": false,
          "description": "Whether to disable link previews for links in this message"
        },
        {
          "displayName": "Duration",
          "name": "duration",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "sendAnimation",
                "sendAudio",
                "sendVideo"
              ]
            }
          },
          "default": 0,
          "description": "Duration of clip in seconds"
        },
        {
          "displayName": "File Name",
          "name": "fileName",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/operation": [
                "sendAnimation",
                "sendAudio",
                "sendDocument",
                "sendPhoto",
                "sendVideo",
                "sendSticker"
              ],
              "/resource": [
                "message"
              ],
              "/binaryData": [
                true
              ]
            }
          },
          "placeholder": "image.jpeg"
        },
        {
          "displayName": "Height",
          "name": "height",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "sendAnimation",
                "sendVideo"
              ]
            }
          },
          "default": 0,
          "description": "Height of the video"
        },
        {
          "displayName": "Parse Mode",
          "name": "parse_mode",
          "type": "options",
          "options": [
            {
              "name": "Markdown (Legacy)",
              "value": "Markdown"
            },
            {
              "name": "MarkdownV2",
              "value": "MarkdownV2"
            },
            {
              "name": "HTML",
              "value": "HTML"
            }
          ],
          "displayOptions": {
            "show": {
              "/operation": [
                "editMessageText",
                "sendAnimation",
                "sendAudio",
                "sendMessage",
                "sendPhoto",
                "sendVideo",
                "sendDocument"
              ]
            }
          },
          "default": "HTML",
          "description": "How to parse the text"
        },
        {
          "displayName": "Performer",
          "name": "performer",
          "type": "string",
          "displayOptions": {
            "show": {
              "/operation": [
                "sendAudio"
              ]
            }
          },
          "default": "",
          "description": "Name of the performer"
        },
        {
          "displayName": "Reply To Message ID",
          "name": "reply_to_message_id",
          "type": "number",
          "displayOptions": {
            "hide": {
              "/operation": [
                "editMessageText"
              ]
            }
          },
          "default": 0,
          "description": "If the message is a reply, ID of the original message"
        },
        {
          "displayName": "Message Thread ID",
          "name": "message_thread_id",
          "type": "number",
          "displayOptions": {
            "show": {
              "/operation": [
                "sendAnimation",
                "sendAudio",
                "sendChatAction",
                "sendDocument",
                "sendLocation",
                "sendMediaGroup",
                "sendMessage",
                "sendPhoto",
                "sendSticker",
                "sendVideo"
              ]
            }
          },
          "default": 0,
          "description": "The unique identifier of the forum topic"
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "displayOptions": {
            "show": {
              "/operation": [
                "sendAudio"
              ]
            }
          },
          "default": "",
          "description": "Title of the track"
        },
        {
          "displayName": "Thumbnail",
          "name": "thumb",
          "type": "string",
          "displayOptions": {
            "show": {
              "/operation": [
                "sendAnimation",
                "sendAudio",
                "sendDocument",
                "sendVideo"
              ]
            }
          },
          "default": "",
          "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail‘s width and height should not exceed 320."
        },
        {
          "displayName": "Width",
          "name": "width",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "displayOptions": {
            "show": {
              "/operation": [
                "sendAnimation",
                "sendVideo"
              ]
            }
          },
          "default": 0,
          "description": "Width of the video"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "editMessageText",
            "sendAnimation",
            "sendAudio",
            "sendDocument",
            "sendLocation",
            "sendMessage",
            "sendMediaGroup",
            "sendPhoto",
            "sendSticker",
            "sendVideo"
          ],
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Chat ID",
      "name": "chatId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername). To find your chat ID ask @get_id_bot.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Response Type",
      "name": "responseType",
      "type": "options",
      "default": "approval",
      "options": [
        {
          "name": "Approval",
          "value": "approval",
          "description": "User can approve/disapprove from within the message"
        },
        {
          "name": "Free Text",
          "value": "freeText",
          "description": "User can submit a response via a form"
        },
        {
          "name": "Custom Form",
          "value": "customForm",
          "description": "User can submit a response via a custom form"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Define Form",
      "name": "defineForm",
      "type": "options",
      "default": "fields",
      "options": [
        {
          "name": "Using Fields Below",
          "value": "fields"
        },
        {
          "name": "Using JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Form Fields",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n   {\n      \"fieldLabel\":\"Name\",\n      \"placeholder\":\"enter you name\",\n      \"requiredField\":true\n   },\n   {\n      \"fieldLabel\":\"Age\",\n      \"fieldType\":\"number\",\n      \"placeholder\":\"enter your age\"\n   },\n   {\n      \"fieldLabel\":\"Email\",\n      \"fieldType\":\"email\",\n      \"requiredField\":true\n   }\n]",
      "displayOptions": {
        "show": {
          "defineForm": [
            "json"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true
      }
    },
    {
      "displayName": "Approval Options",
      "name": "approvalOptions",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Type of Approval",
              "name": "approvalType",
              "type": "options",
              "placeholder": "Add option",
              "default": "single",
              "options": [
                {
                  "name": "Approve Only",
                  "value": "single"
                },
                {
                  "name": "Approve and Disapprove",
                  "value": "double"
                }
              ]
            },
            {
              "displayName": "Approve Button Label",
              "name": "approveLabel",
              "type": "string",
              "default": "✅ Approve",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Label",
              "name": "disapproveLabel",
              "type": "string",
              "default": "❌ Decline",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Message Button Label",
          "name": "messageButtonLabel",
          "type": "string",
          "default": "Respond"
        },
        {
          "displayName": "Response Form Title",
          "name": "responseFormTitle",
          "description": "Title of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Description",
          "name": "responseFormDescription",
          "description": "Description of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Button Label",
          "name": "responseFormButtonLabel",
          "type": "string",
          "default": "Submit"
        },
        {
          "displayName": "Response Form Custom Styling",
          "name": "responseFormCustomCss",
          "type": "string",
          "typeOptions": {
            "rows": 10,
            "editor": "cssEditor"
          },
          "default": ":root {\n\t--font-family: 'Open Sans', sans-serif;\n\t--font-weight-normal: 400;\n\t--font-weight-bold: 600;\n\t--font-size-body: 12px;\n\t--font-size-label: 14px;\n\t--font-size-test-notice: 12px;\n\t--font-size-input: 14px;\n\t--font-size-header: 20px;\n\t--font-size-paragraph: 14px;\n\t--font-size-link: 12px;\n\t--font-size-error: 12px;\n\t--font-size-html-h1: 28px;\n\t--font-size-html-h2: 20px;\n\t--font-size-html-h3: 16px;\n\t--font-size-html-h4: 14px;\n\t--font-size-html-h5: 12px;\n\t--font-size-html-h6: 10px;\n\t--font-size-subheader: 14px;\n\n\t/* Colors */\n\t--color-background: #fbfcfe;\n\t--color-test-notice-text: #e6a23d;\n\t--color-test-notice-bg: #fefaf6;\n\t--color-test-notice-border: #f6dcb7;\n\t--color-card-bg: #ffffff;\n\t--color-card-border: #dbdfe7;\n\t--color-card-shadow: rgba(99, 77, 255, 0.06);\n\t--color-link: #7e8186;\n\t--color-header: #525356;\n\t--color-label: #555555;\n\t--color-input-border: #dbdfe7;\n\t--color-input-text: #71747A;\n\t--color-focus-border: rgb(90, 76, 194);\n\t--color-submit-btn-bg: #ff6d5a;\n\t--color-submit-btn-text: #ffffff;\n\t--color-error: #ea1f30;\n\t--color-required: #ff6d5a;\n\t--color-clear-button-bg: #7e8186;\n\t--color-html-text: #555;\n\t--color-html-link: #ff6d5a;\n\t--color-header-subtext: #7e8186;\n\n\t/* Border Radii */\n\t--border-radius-card: 8px;\n\t--border-radius-input: 6px;\n\t--border-radius-clear-btn: 50%;\n\t--card-border-radius: 8px;\n\n\t/* Spacing */\n\t--padding-container-top: 24px;\n\t--padding-card: 24px;\n\t--padding-test-notice-vertical: 12px;\n\t--padding-test-notice-horizontal: 24px;\n\t--margin-bottom-card: 16px;\n\t--padding-form-input: 12px;\n\t--card-padding: 24px;\n\t--card-margin-bottom: 16px;\n\n\t/* Dimensions */\n\t--container-width: 448px;\n\t--submit-btn-height: 48px;\n\t--checkbox-size: 18px;\n\n\t/* Others */\n\t--box-shadow-card: 0px 4px 16px 0px var(--color-card-shadow);\n\t--opacity-placeholder: 0.5;\n}",
          "description": "Override default styling of the response form with CSS"
        },
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "freeText",
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "get",
      "name": "Get",
      "description": "Get up to date information about a chat"
    },
    {
      "operation": "administrators",
      "name": "Get Administrators",
      "description": "Get the Administrators of a chat"
    },
    {
      "operation": "member",
      "name": "Get Member",
      "description": "Get the member of a chat"
    },
    {
      "operation": "leave",
      "name": "Leave",
      "description": "Leave a group, supergroup or channel"
    },
    {
      "operation": "setDescription",
      "name": "Set Description",
      "description": "Set the description of a chat"
    },
    {
      "operation": "setTitle",
      "name": "Set Title",
      "description": "Set the title of a chat"
    }
  ]


node_type: nodes-base.telegramTrigger
package_name: n8n-nodes-base
display_name: Telegram Trigger
description: Starts the workflow on a Telegram update
category: trigger
development_style: programmatic
version: 1.2
operations: []
credentials_required:
  [
  {
  "name": "telegramApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-08-26 06:29:25
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Telegram Trigger node documentation
  description: Learn how to use the Telegram Trigger node in n8n. Follow technical documentation to integrate Telegram Trigger node into your workflows.
  contentType: [integration, reference]
  priority: critical
  ---

  # Telegram Trigger node

  [Telegram](https://telegram.org/){:target=_blank .external-link} is a cloud-based instant messaging and voice over IP service. Users can send messages and exchange photos, videos, stickers, audio, and files of any type. On this page, you'll find a list of events the Telegram Trigger node can respond to and links to more resources.

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

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

  ## Events

  - **`*`**: All updates except "Chat Member", "Message Reaction", and "Message Reaction Count" (default behavior of Telegram API as they produces a lot of calls of updates).
  - **Business Connection**: Trigger when the bot is connected to or disconnected from a business account, or a user edited an existing connection with the bot.
  - **Business Message**: Trigger on a new message from a connected business account.
  - **Callback Query**: Trigger on new incoming callback query.
  - **Channel Post**: Trigger on new incoming channel post of any kind — including text, photo, sticker, and so on.
  - **Chat Boost**: Trigger when a chat boost is added or changed. The bot must be an administrator in the chat to receive these updates.
  - **Chat Join Request**: Trigger when a request to join the chat is sent. The bot must have the `can_invite_users` administrator right in the chat to receive these updates.
  - **Chat Member**: Trigger when a chat member's status is updated. The bot must be an administrator in the chat.
  - **Chosen Inline Result**: Trigger when the result of an inline query chosen by a user is sent. Please see Telegram's API documentation on [feedback collection](https://core.telegram.org/bots/inline#collecting-feedback) for details on how to enable these updates for your bot.
  - **Deleted Business Messages**: Trigger when messages are deleted from a connected business account.
  - **Edited Business Message**: Trigger on new version of a message from a connected business account.
  - **Edited Channel Post**: Trigger on new version of a channel post that is known to the bot is edited.
  - **Edited Message**: Trigger on new version of a channel post that is known to the bot is edited.
  - **Inline Query**: Trigger on new incoming inline query.
  - **Message**: Trigger on new incoming message of any kind — text, photo, sticker, and so on.
  - **Message Reaction**: Trigger when a reaction to a message is changed by a user. The bot must be an administrator in the chat. The update isn't received for reactions set by bots.
  - **Message Reaction Count**: Trigger when reactions to a message with anonymous reactions are changed. The bot must be an administrator in the chat. The updates are grouped and can be sent with delay up to a few minutes.
  - **My Chat Member**: Trigger when the bot's chat member status is updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user.
  - **Poll**: Trigger on new poll state. Bots only receive updates about stopped polls and polls which are sent by the bot.
  - **Poll Answer**: Trigger when user changes their answer in a non-anonymous poll. Bots only receive new votes in polls that were sent by the bot itself.
  - **Pre-Checkout Query**: Trigger on new incoming pre-checkout query. Contains full information about checkout.
  - **Purchased Paid Media**: Trigger when a user purchases paid media with a non-empty payload sent by the bot in a non-channel chat.
  - **Removed Chat Boost**: Trigger when a boost is removed from a chat. The bot must be an administrator in the chat to receive these updates.
  - **Shipping Query**: Trigger on new incoming shipping query. Only for invoices with flexible price.

  Some **events may require additional permissions**, see [Telegram's API documentation](https://core.telegram.org/bots/api#getting-updates) for more information.

  ## Options

  - **Download Images/Files**: Whether to download attached images or files to include in the output data.
  	- **Image Size**: When you enable **Download Images/Files**, this configures the size of image to download. Downloads large images by default.
  - **Restrict to Chat IDs**: Only trigger for events with the listed chat IDs. You can include multiple chat IDs separated by commas.
  - **Restrict to User IDs**: Only trigger for events with the listed user IDs. You can include multiple user IDs separated by commas.

  ## Related resources

  n8n provides an app node for Telegram. You can find the node docs [here](/integrations/builtin/credentials/telegram.md).

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

  Refer to [Telegram's API documentation](https://core.telegram.org/bots/api){:target=_blank .external-link} for details about their API.

  ## Common issues

  For common questions or issues and suggested solutions, refer to [Common issues](/integrations/builtin/trigger-nodes/n8n-nodes-base.telegramtrigger/common-issues.md).

properties_schema:
  [
    {
      "displayName": "Due to Telegram API limitations, you can use just one Telegram trigger for each bot at a time",
      "name": "telegramTriggerNotice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Trigger On",
      "name": "updates",
      "type": "multiOptions",
      "default": [],
      "options": [
        {
          "name": "*",
          "value": "*",
          "description": "All updates"
        },
        {
          "name": "Callback Query",
          "value": "callback_query",
          "description": "Trigger on new incoming callback query"
        },
        {
          "name": "Channel Post",
          "value": "channel_post",
          "description": "Trigger on new incoming channel post of any kind — text, photo, sticker, etc"
        },
        {
          "name": "Edited Channel Post",
          "value": "edited_channel_post",
          "description": "Trigger on new version of a channel post that is known to the bot and was edited"
        },
        {
          "name": "Edited Message",
          "value": "edited_message",
          "description": "Trigger on new version of a channel post that is known to the bot and was edited"
        },
        {
          "name": "Inline Query",
          "value": "inline_query",
          "description": "Trigger on new incoming inline query"
        },
        {
          "name": "Message",
          "value": "message",
          "description": "Trigger on new incoming message of any kind — text, photo, sticker, etc"
        },
        {
          "name": "Poll",
          "value": "poll",
          "action": "On Poll Change",
          "description": "Trigger on new poll state. Bots receive only updates about stopped polls and polls, which are sent by the bot."
        },
        {
          "name": "Pre-Checkout Query",
          "value": "pre_checkout_query",
          "description": "Trigger on new incoming pre-checkout query. Contains full information about checkout."
        },
        {
          "name": "Shipping Query",
          "value": "shipping_query",
          "description": "Trigger on new incoming shipping query. Only for invoices with flexible price."
        }
      ],
      "required": true
    },
    {
      "displayName": "Every uploaded attachment, even if sent in a group, will trigger a separate event. You can identify that an attachment belongs to a certain group by <code>media_group_id</code> .",
      "name": "attachmentNotice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Download Images/Files",
          "name": "download",
          "type": "boolean",
          "default": false,
          "description": "Telegram delivers the image in multiple sizes. By default, just the large image would be downloaded. If you want to change the size, set the field 'Image Size'."
        },
        {
          "displayName": "Image Size",
          "name": "imageSize",
          "type": "options",
          "displayOptions": {
            "show": {
              "download": [
                true
              ]
            }
          },
          "options": [
            {
              "name": "Small",
              "value": "small"
            },
            {
              "name": "Medium",
              "value": "medium"
            },
            {
              "name": "Large",
              "value": "large"
            },
            {
              "name": "Extra Large",
              "value": "extraLarge"
            }
          ],
          "default": "large",
          "description": "The size of the image to be downloaded"
        },
        {
          "displayName": "Restrict to Chat IDs",
          "name": "chatIds",
          "type": "string",
          "default": "",
          "description": "The chat IDs to restrict the trigger to. Multiple can be defined separated by comma.",
          "displayOptions": {
            "show": {
              "@version": [
                {
                  "_cnd": {
                    "gte": 1.1
                  }
                }
              ]
            }
          }
        },
        {
          "displayName": "Restrict to User IDs",
          "name": "userIds",
          "type": "string",
          "default": "",
          "description": "The user IDs to restrict the trigger to. Multiple can be defined separated by comma.",
          "displayOptions": {
            "show": {
              "@version": [
                {
                  "_cnd": {
                    "gte": 1.1
                  }
                }
              ]
            }
          }
        }
      ]
    }
  ]


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

outputs:
  [
  "main"
  ]

updated_at: 2025-08-26 06:29:25
properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "alert",
      "options": [
        {
          "name": "Alert",
          "value": "alert"
        },
        {
          "name": "Case",
          "value": "case"
        },
        {
          "name": "Comment",
          "value": "comment"
        },
        {
          "name": "Observable",
          "value": "observable"
        },
        {
          "name": "Page",
          "value": "page"
        },
        {
          "name": "Query",
          "value": "query"
        },
        {
          "name": "Task",
          "value": "task"
        },
        {
          "name": "Task Log",
          "value": "log"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an alert"
        },
        {
          "name": "Delete",
          "value": "deleteAlert",
          "action": "Delete an alert"
        },
        {
          "name": "Execute Responder",
          "value": "executeResponder",
          "action": "Execute responder on an alert"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an alert"
        },
        {
          "name": "Merge Into Case",
          "value": "merge",
          "action": "Merge an alert into a case"
        },
        {
          "name": "Promote to Case",
          "value": "promote",
          "action": "Promote an alert to a case"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search alerts"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an alert"
        },
        {
          "name": "Update Status",
          "value": "status",
          "action": "Update an alert status"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Fields",
      "name": "alertFields",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "resourceMapper": {
          "resourceMapperMethod": "getAlertFields",
          "mode": "add",
          "valuesLabel": "Fields"
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Observables",
      "name": "observableUi",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Data Type",
              "name": "dataType",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableTypes"
              },
              "description": "Type of the observable. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
            },
            {
              "displayName": "Data",
              "name": "data",
              "type": "string",
              "displayOptions": {
                "hide": {
                  "dataType": [
                    "file"
                  ]
                }
              },
              "default": ""
            },
            {
              "displayName": "Input Binary Field",
              "name": "binaryProperty",
              "type": "string",
              "hint": "The name of the input binary field containing the file to be written",
              "displayOptions": {
                "show": {
                  "dataType": [
                    "file"
                  ]
                }
              },
              "default": "data"
            },
            {
              "displayName": "Message",
              "name": "message",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Tags",
              "name": "tags",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Alert",
      "name": "alertId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "deleteAlert"
          ]
        }
      }
    },
    {
      "displayName": "Alert",
      "name": "id",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": {
        "hide": {
          "id": [
            ""
          ]
        },
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id",
          "id.value"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "Alert",
      "name": "alertId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Similar Alerts",
          "name": "includeSimilarAlerts",
          "type": "boolean",
          "description": "Whether to include similar cases",
          "default": false
        },
        {
          "displayName": "Include Similar Cases",
          "name": "includeSimilarCases",
          "type": "boolean",
          "description": "Whether to include similar cases",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "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": [
            "alert"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "alert"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "options": [
                {
                  "name": "Between",
                  "value": "_between",
                  "description": "Field is between two values ('From' is inclusive, 'To' is exclusive)"
                },
                {
                  "name": "Contains",
                  "value": "_like",
                  "description": "Field contains the substring from value"
                },
                {
                  "name": "Ends With",
                  "value": "_endsWith",
                  "description": "Field ends with value"
                },
                {
                  "name": "Equal",
                  "value": "_eq",
                  "description": "Field is equal to value"
                },
                {
                  "name": "Greater Than",
                  "value": "_gt",
                  "description": "Field is greater than value"
                },
                {
                  "name": "Greater Than Or Equal To",
                  "value": "_gte",
                  "description": "Field is greater than or equal to value"
                },
                {
                  "name": "In",
                  "value": "_in",
                  "description": "Field is one of the values"
                },
                {
                  "name": "Less Than",
                  "value": "_lt",
                  "description": "Field is less than value"
                },
                {
                  "name": "Less Than Or Equal To",
                  "value": "_lte",
                  "description": "Field is less than or equal to value"
                },
                {
                  "name": "Match Word",
                  "value": "_match",
                  "description": "Field contains the value as a word"
                },
                {
                  "name": "Not Equal",
                  "value": "_ne",
                  "description": "Field is not equal to value"
                },
                {
                  "name": "Starts With",
                  "value": "_startsWith",
                  "description": "Field starts with value"
                }
              ],
              "default": "_eq"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "operator": [
                    "_between",
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "Values",
              "name": "values",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of values",
              "placeholder": "e.g. value1,value2",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "From",
              "name": "from",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            },
            {
              "displayName": "To",
              "name": "to",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "Ascending",
                  "value": "asc"
                },
                {
                  "name": "Descending",
                  "value": "desc"
                }
              ],
              "default": "asc"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Count",
          "name": "returnCount",
          "type": "boolean",
          "description": "Whether to return only the count of results",
          "default": false,
          "displayOptions": {
            "hide": {
              "/returnAll": [
                false
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "links",
              "value": "links"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "seen",
              "value": "seen"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "shares",
              "value": "shares"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "observable"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "actionRequiredMap",
              "value": "actionRequiredMap"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "caseId",
              "value": "caseId"
            },
            {
              "name": "caseTemplate",
              "value": "caseTemplate"
            },
            {
              "name": "caseTemplateId",
              "value": "caseTemplateId"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "task"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "caseNumber",
              "value": "caseNumber"
            },
            {
              "name": "importDate",
              "value": "importDate"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "status",
              "value": "status"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "alert"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "alertCount",
              "value": "alertCount"
            },
            {
              "name": "alerts",
              "value": "alerts"
            },
            {
              "name": "attachmentCount",
              "value": "attachmentCount"
            },
            {
              "name": "contributors",
              "value": "contributors"
            },
            {
              "name": "handlingDuration",
              "value": "computed.handlingDuration"
            },
            {
              "name": "handlingDurationInDays",
              "value": "computed.handlingDurationInDays"
            },
            {
              "name": "handlingDurationInHours",
              "value": "computed.handlingDurationInHours"
            },
            {
              "name": "handlingDurationInMinutes",
              "value": "computed.handlingDurationInMinutes"
            },
            {
              "name": "handlingDurationInSeconds",
              "value": "computed.handlingDurationInSeconds"
            },
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "observableStats",
              "value": "observableStats"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "similarAlerts",
              "value": "similarAlerts"
            },
            {
              "name": "status",
              "value": "status"
            },
            {
              "name": "taskStats",
              "value": "taskStats"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "case"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "links",
              "value": "links"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "comment"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionCount",
              "value": "actionCount"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "task",
              "value": "task"
            },
            {
              "name": "taskId",
              "value": "taskId"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "log"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "string",
          "description": "Additional data to include in the response",
          "default": "",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/resource": [
                "query"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Alert",
      "name": "alertId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "status"
          ]
        }
      }
    },
    {
      "displayName": "Status Name or ID",
      "name": "status",
      "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": [
            "alert"
          ],
          "operation": [
            "status"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "loadAlertStatus"
      }
    },
    {
      "displayName": "Alert",
      "name": "alertId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "merge"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "merge"
          ]
        }
      }
    },
    {
      "displayName": "Alert",
      "name": "alertId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "promote"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Case Template Name or ID",
          "name": "caseTemplate",
          "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": "loadCaseTemplate"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "promote"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "alertUpdateFields",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "resourceMapper": {
          "resourceMapperMethod": "getAlertUpdateFields",
          "mode": "update",
          "valuesLabel": "Fields",
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Add Attachment",
          "value": "addAttachment",
          "action": "Add attachment to a case"
        },
        {
          "name": "Create",
          "value": "create",
          "action": "Create a case"
        },
        {
          "name": "Delete Attachment",
          "value": "deleteAttachment",
          "action": "Delete attachment from a case"
        },
        {
          "name": "Delete Case",
          "value": "deleteCase",
          "action": "Delete an case"
        },
        {
          "name": "Execute Responder",
          "value": "executeResponder",
          "action": "Execute responder on a case"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a case"
        },
        {
          "name": "Get Attachment",
          "value": "getAttachment",
          "action": "Get attachment from a case"
        },
        {
          "name": "Get Timeline",
          "value": "getTimeline",
          "action": "Get timeline of a case"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search cases"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a case"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "addAttachment"
          ]
        }
      }
    },
    {
      "displayName": "Attachments",
      "name": "attachmentsUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Array of supported attachments to add to the message",
      "options": [
        {
          "name": "values",
          "displayName": "Values",
          "values": [
            {
              "displayName": "Attachment Field Name",
              "name": "field",
              "type": "string",
              "default": "data",
              "description": "Add the field name from the input node",
              "hint": "The name of the field with the attachment in the node input"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "addAttachment"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Rename Files",
          "name": "canRename",
          "type": "boolean",
          "description": "Whether to rename the file in case a file with the same name already exists",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "addAttachment"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "caseFields",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "resourceMapper": {
          "resourceMapperMethod": "getCaseFields",
          "mode": "add",
          "valuesLabel": "Fields"
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "deleteAttachment"
          ]
        }
      }
    },
    {
      "displayName": "Attachment Name or ID",
      "name": "attachmentId",
      "type": "options",
      "default": "",
      "description": "ID of the attachment. 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": [
            "case"
          ],
          "operation": [
            "deleteAttachment"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "loadCaseAttachments"
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "deleteCase"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "id",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": {
        "hide": {
          "id": [
            ""
          ]
        },
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id",
          "id.value"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "getAttachment"
          ]
        }
      }
    },
    {
      "displayName": "Attachment Name or ID",
      "name": "attachmentId",
      "type": "options",
      "default": "",
      "description": "ID of the attachment. 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": [
            "case"
          ],
          "operation": [
            "getAttachment"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "loadCaseAttachments",
        "loadOptionsDependsOn": [
          "caseId.value"
        ]
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "File Name",
          "name": "fileName",
          "type": "string",
          "default": "",
          "description": "Rename the file when downloading"
        },
        {
          "displayName": "Data Property Name",
          "name": "dataPropertyName",
          "type": "string",
          "default": "data",
          "description": "Name of the binary property to which write the data of the attachment"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "getAttachment"
          ]
        }
      }
    },
    {
      "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": [
            "case"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "case"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "options": [
                {
                  "name": "Between",
                  "value": "_between",
                  "description": "Field is between two values ('From' is inclusive, 'To' is exclusive)"
                },
                {
                  "name": "Contains",
                  "value": "_like",
                  "description": "Field contains the substring from value"
                },
                {
                  "name": "Ends With",
                  "value": "_endsWith",
                  "description": "Field ends with value"
                },
                {
                  "name": "Equal",
                  "value": "_eq",
                  "description": "Field is equal to value"
                },
                {
                  "name": "Greater Than",
                  "value": "_gt",
                  "description": "Field is greater than value"
                },
                {
                  "name": "Greater Than Or Equal To",
                  "value": "_gte",
                  "description": "Field is greater than or equal to value"
                },
                {
                  "name": "In",
                  "value": "_in",
                  "description": "Field is one of the values"
                },
                {
                  "name": "Less Than",
                  "value": "_lt",
                  "description": "Field is less than value"
                },
                {
                  "name": "Less Than Or Equal To",
                  "value": "_lte",
                  "description": "Field is less than or equal to value"
                },
                {
                  "name": "Match Word",
                  "value": "_match",
                  "description": "Field contains the value as a word"
                },
                {
                  "name": "Not Equal",
                  "value": "_ne",
                  "description": "Field is not equal to value"
                },
                {
                  "name": "Starts With",
                  "value": "_startsWith",
                  "description": "Field starts with value"
                }
              ],
              "default": "_eq"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "operator": [
                    "_between",
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "Values",
              "name": "values",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of values",
              "placeholder": "e.g. value1,value2",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "From",
              "name": "from",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            },
            {
              "displayName": "To",
              "name": "to",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "Ascending",
                  "value": "asc"
                },
                {
                  "name": "Descending",
                  "value": "desc"
                }
              ],
              "default": "asc"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Count",
          "name": "returnCount",
          "type": "boolean",
          "description": "Whether to return only the count of results",
          "default": false,
          "displayOptions": {
            "hide": {
              "/returnAll": [
                false
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "links",
              "value": "links"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "seen",
              "value": "seen"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "shares",
              "value": "shares"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "observable"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "actionRequiredMap",
              "value": "actionRequiredMap"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "caseId",
              "value": "caseId"
            },
            {
              "name": "caseTemplate",
              "value": "caseTemplate"
            },
            {
              "name": "caseTemplateId",
              "value": "caseTemplateId"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "task"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "caseNumber",
              "value": "caseNumber"
            },
            {
              "name": "importDate",
              "value": "importDate"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "status",
              "value": "status"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "alert"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "alertCount",
              "value": "alertCount"
            },
            {
              "name": "alerts",
              "value": "alerts"
            },
            {
              "name": "attachmentCount",
              "value": "attachmentCount"
            },
            {
              "name": "contributors",
              "value": "contributors"
            },
            {
              "name": "handlingDuration",
              "value": "computed.handlingDuration"
            },
            {
              "name": "handlingDurationInDays",
              "value": "computed.handlingDurationInDays"
            },
            {
              "name": "handlingDurationInHours",
              "value": "computed.handlingDurationInHours"
            },
            {
              "name": "handlingDurationInMinutes",
              "value": "computed.handlingDurationInMinutes"
            },
            {
              "name": "handlingDurationInSeconds",
              "value": "computed.handlingDurationInSeconds"
            },
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "observableStats",
              "value": "observableStats"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "similarAlerts",
              "value": "similarAlerts"
            },
            {
              "name": "status",
              "value": "status"
            },
            {
              "name": "taskStats",
              "value": "taskStats"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "case"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "links",
              "value": "links"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "comment"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionCount",
              "value": "actionCount"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "task",
              "value": "task"
            },
            {
              "name": "taskId",
              "value": "taskId"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "log"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "string",
          "description": "Additional data to include in the response",
          "default": "",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/resource": [
                "query"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "getTimeline"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "caseUpdateFields",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "resourceMapper": {
          "resourceMapperMethod": "getCaseUpdateFields",
          "mode": "update",
          "valuesLabel": "Fields",
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Create",
          "value": "add",
          "action": "Create a comment in a case or alert"
        },
        {
          "name": "Delete",
          "value": "deleteComment",
          "action": "Delete a comment"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search comments"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a comment"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Add to",
      "name": "addTo",
      "type": "options",
      "default": "alert",
      "options": [
        {
          "name": "Alert",
          "value": "alert"
        },
        {
          "name": "Case",
          "value": "case"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "id",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "addTo": [
            "case"
          ],
          "resource": [
            "comment"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Alert",
      "name": "id",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "addTo": [
            "alert"
          ],
          "resource": [
            "comment"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "add"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Comment",
      "name": "commentId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "deleteComment"
          ]
        }
      }
    },
    {
      "displayName": "Search in",
      "name": "searchIn",
      "type": "options",
      "default": "all",
      "description": "Whether to search for comments in all alerts and cases or in a specific case or alert",
      "options": [
        {
          "name": "Alerts and Cases",
          "value": "all"
        },
        {
          "name": "Alert",
          "value": "alert"
        },
        {
          "name": "Case",
          "value": "case"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "searchIn": [
            "case"
          ],
          "resource": [
            "comment"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Alert",
      "name": "alertId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "searchIn": [
            "alert"
          ],
          "resource": [
            "comment"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "comment"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "options": [
                {
                  "name": "Between",
                  "value": "_between",
                  "description": "Field is between two values ('From' is inclusive, 'To' is exclusive)"
                },
                {
                  "name": "Contains",
                  "value": "_like",
                  "description": "Field contains the substring from value"
                },
                {
                  "name": "Ends With",
                  "value": "_endsWith",
                  "description": "Field ends with value"
                },
                {
                  "name": "Equal",
                  "value": "_eq",
                  "description": "Field is equal to value"
                },
                {
                  "name": "Greater Than",
                  "value": "_gt",
                  "description": "Field is greater than value"
                },
                {
                  "name": "Greater Than Or Equal To",
                  "value": "_gte",
                  "description": "Field is greater than or equal to value"
                },
                {
                  "name": "In",
                  "value": "_in",
                  "description": "Field is one of the values"
                },
                {
                  "name": "Less Than",
                  "value": "_lt",
                  "description": "Field is less than value"
                },
                {
                  "name": "Less Than Or Equal To",
                  "value": "_lte",
                  "description": "Field is less than or equal to value"
                },
                {
                  "name": "Match Word",
                  "value": "_match",
                  "description": "Field contains the value as a word"
                },
                {
                  "name": "Not Equal",
                  "value": "_ne",
                  "description": "Field is not equal to value"
                },
                {
                  "name": "Starts With",
                  "value": "_startsWith",
                  "description": "Field starts with value"
                }
              ],
              "default": "_eq"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "operator": [
                    "_between",
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "Values",
              "name": "values",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of values",
              "placeholder": "e.g. value1,value2",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "From",
              "name": "from",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            },
            {
              "displayName": "To",
              "name": "to",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "Ascending",
                  "value": "asc"
                },
                {
                  "name": "Descending",
                  "value": "desc"
                }
              ],
              "default": "asc"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Count",
          "name": "returnCount",
          "type": "boolean",
          "description": "Whether to return only the count of results",
          "default": false,
          "displayOptions": {
            "hide": {
              "/returnAll": [
                false
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "links",
              "value": "links"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "seen",
              "value": "seen"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "shares",
              "value": "shares"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "observable"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "actionRequiredMap",
              "value": "actionRequiredMap"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "caseId",
              "value": "caseId"
            },
            {
              "name": "caseTemplate",
              "value": "caseTemplate"
            },
            {
              "name": "caseTemplateId",
              "value": "caseTemplateId"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "task"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "caseNumber",
              "value": "caseNumber"
            },
            {
              "name": "importDate",
              "value": "importDate"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "status",
              "value": "status"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "alert"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "alertCount",
              "value": "alertCount"
            },
            {
              "name": "alerts",
              "value": "alerts"
            },
            {
              "name": "attachmentCount",
              "value": "attachmentCount"
            },
            {
              "name": "contributors",
              "value": "contributors"
            },
            {
              "name": "handlingDuration",
              "value": "computed.handlingDuration"
            },
            {
              "name": "handlingDurationInDays",
              "value": "computed.handlingDurationInDays"
            },
            {
              "name": "handlingDurationInHours",
              "value": "computed.handlingDurationInHours"
            },
            {
              "name": "handlingDurationInMinutes",
              "value": "computed.handlingDurationInMinutes"
            },
            {
              "name": "handlingDurationInSeconds",
              "value": "computed.handlingDurationInSeconds"
            },
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "observableStats",
              "value": "observableStats"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "similarAlerts",
              "value": "similarAlerts"
            },
            {
              "name": "status",
              "value": "status"
            },
            {
              "name": "taskStats",
              "value": "taskStats"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "case"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "links",
              "value": "links"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "comment"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionCount",
              "value": "actionCount"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "task",
              "value": "task"
            },
            {
              "name": "taskId",
              "value": "taskId"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "log"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "string",
          "description": "Additional data to include in the response",
          "default": "",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/resource": [
                "query"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Comment",
      "name": "commentId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "comment"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Add Attachment",
          "value": "addAttachment",
          "action": "Add attachment to a task log"
        },
        {
          "name": "Create",
          "value": "create",
          "action": "Create a task log"
        },
        {
          "name": "Delete",
          "value": "deleteLog",
          "action": "Delete task log"
        },
        {
          "name": "Delete Attachment",
          "value": "deleteAttachment",
          "action": "Delete attachment from a task log"
        },
        {
          "name": "Execute Responder",
          "value": "executeResponder",
          "action": "Execute responder on a task log"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a task log"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search task logs"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Task Log",
      "name": "logId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "addAttachment"
          ]
        }
      }
    },
    {
      "displayName": "Attachments",
      "name": "attachmentsUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Array of supported attachments to add to the message",
      "options": [
        {
          "name": "values",
          "displayName": "Values",
          "values": [
            {
              "displayName": "Attachment Field Name",
              "name": "field",
              "type": "string",
              "default": "data",
              "description": "Add the field name from the input node",
              "hint": "The name of the field with the attachment in the node input"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "addAttachment"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Task",
      "name": "taskId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "logFields",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "resourceMapper": {
          "resourceMapperMethod": "getLogFields",
          "mode": "add",
          "valuesLabel": "Fields"
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Attachments",
      "name": "attachmentsUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Array of supported attachments to add to the message",
      "options": [
        {
          "name": "values",
          "displayName": "Values",
          "values": [
            {
              "displayName": "Attachment Field Name",
              "name": "field",
              "type": "string",
              "default": "data",
              "description": "Add the field name from the input node",
              "hint": "The name of the field with the attachment in the node input"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Task Log",
      "name": "logId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "deleteAttachment"
          ]
        }
      }
    },
    {
      "displayName": "Attachment Name or ID",
      "name": "attachmentId",
      "type": "options",
      "default": "",
      "description": "ID of the attachment. 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": [
            "log"
          ],
          "operation": [
            "deleteAttachment"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "loadLogAttachments",
        "loadOptionsDependsOn": [
          "logId.value"
        ]
      }
    },
    {
      "displayName": "Task Log",
      "name": "logId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "deleteLog"
          ]
        }
      }
    },
    {
      "displayName": "Task Log",
      "name": "id",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": {
        "hide": {
          "id": [
            ""
          ]
        },
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id",
          "id.value"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "Task Log",
      "name": "logId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Search in All Tasks",
      "name": "allTasks",
      "type": "boolean",
      "default": true,
      "description": "Whether to search in all tasks or only in selected task",
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Task",
      "name": "taskId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "allTasks": [
            false
          ],
          "resource": [
            "log"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "log"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "options": [
                {
                  "name": "Between",
                  "value": "_between",
                  "description": "Field is between two values ('From' is inclusive, 'To' is exclusive)"
                },
                {
                  "name": "Contains",
                  "value": "_like",
                  "description": "Field contains the substring from value"
                },
                {
                  "name": "Ends With",
                  "value": "_endsWith",
                  "description": "Field ends with value"
                },
                {
                  "name": "Equal",
                  "value": "_eq",
                  "description": "Field is equal to value"
                },
                {
                  "name": "Greater Than",
                  "value": "_gt",
                  "description": "Field is greater than value"
                },
                {
                  "name": "Greater Than Or Equal To",
                  "value": "_gte",
                  "description": "Field is greater than or equal to value"
                },
                {
                  "name": "In",
                  "value": "_in",
                  "description": "Field is one of the values"
                },
                {
                  "name": "Less Than",
                  "value": "_lt",
                  "description": "Field is less than value"
                },
                {
                  "name": "Less Than Or Equal To",
                  "value": "_lte",
                  "description": "Field is less than or equal to value"
                },
                {
                  "name": "Match Word",
                  "value": "_match",
                  "description": "Field contains the value as a word"
                },
                {
                  "name": "Not Equal",
                  "value": "_ne",
                  "description": "Field is not equal to value"
                },
                {
                  "name": "Starts With",
                  "value": "_startsWith",
                  "description": "Field starts with value"
                }
              ],
              "default": "_eq"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "operator": [
                    "_between",
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "Values",
              "name": "values",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of values",
              "placeholder": "e.g. value1,value2",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "From",
              "name": "from",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            },
            {
              "displayName": "To",
              "name": "to",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "Ascending",
                  "value": "asc"
                },
                {
                  "name": "Descending",
                  "value": "desc"
                }
              ],
              "default": "asc"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Count",
          "name": "returnCount",
          "type": "boolean",
          "description": "Whether to return only the count of results",
          "default": false,
          "displayOptions": {
            "hide": {
              "/returnAll": [
                false
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "links",
              "value": "links"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "seen",
              "value": "seen"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "shares",
              "value": "shares"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "observable"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "actionRequiredMap",
              "value": "actionRequiredMap"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "caseId",
              "value": "caseId"
            },
            {
              "name": "caseTemplate",
              "value": "caseTemplate"
            },
            {
              "name": "caseTemplateId",
              "value": "caseTemplateId"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "task"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "caseNumber",
              "value": "caseNumber"
            },
            {
              "name": "importDate",
              "value": "importDate"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "status",
              "value": "status"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "alert"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "alertCount",
              "value": "alertCount"
            },
            {
              "name": "alerts",
              "value": "alerts"
            },
            {
              "name": "attachmentCount",
              "value": "attachmentCount"
            },
            {
              "name": "contributors",
              "value": "contributors"
            },
            {
              "name": "handlingDuration",
              "value": "computed.handlingDuration"
            },
            {
              "name": "handlingDurationInDays",
              "value": "computed.handlingDurationInDays"
            },
            {
              "name": "handlingDurationInHours",
              "value": "computed.handlingDurationInHours"
            },
            {
              "name": "handlingDurationInMinutes",
              "value": "computed.handlingDurationInMinutes"
            },
            {
              "name": "handlingDurationInSeconds",
              "value": "computed.handlingDurationInSeconds"
            },
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "observableStats",
              "value": "observableStats"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "similarAlerts",
              "value": "similarAlerts"
            },
            {
              "name": "status",
              "value": "status"
            },
            {
              "name": "taskStats",
              "value": "taskStats"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "case"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "links",
              "value": "links"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "comment"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionCount",
              "value": "actionCount"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "task",
              "value": "task"
            },
            {
              "name": "taskId",
              "value": "taskId"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "log"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "string",
          "description": "Additional data to include in the response",
          "default": "",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/resource": [
                "query"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an observable"
        },
        {
          "name": "Delete",
          "value": "deleteObservable",
          "action": "Delete an observable"
        },
        {
          "name": "Execute Analyzer",
          "value": "executeAnalyzer",
          "action": "Execute analyzer on an observable"
        },
        {
          "name": "Execute Responder",
          "value": "executeResponder",
          "action": "Execute responder on an observable"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an observable"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search observables"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an observable"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Create in",
      "name": "createIn",
      "type": "options",
      "default": "case",
      "options": [
        {
          "name": "Case",
          "value": "case"
        },
        {
          "name": "Alert",
          "value": "alert"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "id",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "createIn": [
            "case"
          ],
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Alert",
      "name": "id",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "createIn": [
            "alert"
          ],
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Data Type",
      "name": "dataType",
      "type": "options",
      "default": "file",
      "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": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "loadObservableTypes"
      }
    },
    {
      "displayName": "Data",
      "name": "data",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "hide": {
          "dataType": [
            "file"
          ]
        },
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Attachments",
      "name": "attachmentsUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Array of supported attachments to add to the message",
      "options": [
        {
          "name": "values",
          "displayName": "Values",
          "values": [
            {
              "displayName": "Attachment Field Name",
              "name": "field",
              "type": "string",
              "default": "data",
              "description": "Add the field name from the input node",
              "hint": "The name of the field with the attachment in the node input"
            }
          ]
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "dataType": [
            "file"
          ],
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Fields",
      "name": "observableFields",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "resourceMapper": {
          "resourceMapperMethod": "getObservableFields",
          "mode": "add",
          "valuesLabel": "Fields"
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Observable",
      "name": "observableId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "deleteObservable"
          ]
        }
      }
    },
    {
      "displayName": "Observable",
      "name": "observableId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "executeAnalyzer"
          ]
        }
      }
    },
    {
      "displayName": "Data Type",
      "name": "dataType",
      "type": "options",
      "default": "",
      "description": "Type of the observable. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "executeAnalyzer"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "loadObservableTypes"
      }
    },
    {
      "displayName": "Analyzer Names or IDs",
      "name": "analyzers",
      "type": "multiOptions",
      "default": [],
      "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "hide": {
          "id": [
            ""
          ]
        },
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "executeAnalyzer"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "observableId.value",
          "dataType"
        ],
        "loadOptionsMethod": "loadAnalyzers"
      }
    },
    {
      "displayName": "Observable",
      "name": "id",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": {
        "hide": {
          "id": [
            ""
          ]
        },
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id",
          "id.value"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "Observable",
      "name": "observableId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Search in",
      "name": "searchIn",
      "type": "options",
      "default": "all",
      "description": "Whether to search for observables in all alerts and cases or in a specific case or alert",
      "options": [
        {
          "name": "Alerts and Cases",
          "value": "all"
        },
        {
          "name": "Alert",
          "value": "alert"
        },
        {
          "name": "Case",
          "value": "case"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "searchIn": [
            "case"
          ],
          "resource": [
            "observable"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Alert",
      "name": "alertId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "searchIn": [
            "alert"
          ],
          "resource": [
            "observable"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "observable"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "options": [
                {
                  "name": "Between",
                  "value": "_between",
                  "description": "Field is between two values ('From' is inclusive, 'To' is exclusive)"
                },
                {
                  "name": "Contains",
                  "value": "_like",
                  "description": "Field contains the substring from value"
                },
                {
                  "name": "Ends With",
                  "value": "_endsWith",
                  "description": "Field ends with value"
                },
                {
                  "name": "Equal",
                  "value": "_eq",
                  "description": "Field is equal to value"
                },
                {
                  "name": "Greater Than",
                  "value": "_gt",
                  "description": "Field is greater than value"
                },
                {
                  "name": "Greater Than Or Equal To",
                  "value": "_gte",
                  "description": "Field is greater than or equal to value"
                },
                {
                  "name": "In",
                  "value": "_in",
                  "description": "Field is one of the values"
                },
                {
                  "name": "Less Than",
                  "value": "_lt",
                  "description": "Field is less than value"
                },
                {
                  "name": "Less Than Or Equal To",
                  "value": "_lte",
                  "description": "Field is less than or equal to value"
                },
                {
                  "name": "Match Word",
                  "value": "_match",
                  "description": "Field contains the value as a word"
                },
                {
                  "name": "Not Equal",
                  "value": "_ne",
                  "description": "Field is not equal to value"
                },
                {
                  "name": "Starts With",
                  "value": "_startsWith",
                  "description": "Field starts with value"
                }
              ],
              "default": "_eq"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "operator": [
                    "_between",
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "Values",
              "name": "values",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of values",
              "placeholder": "e.g. value1,value2",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "From",
              "name": "from",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            },
            {
              "displayName": "To",
              "name": "to",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "Ascending",
                  "value": "asc"
                },
                {
                  "name": "Descending",
                  "value": "desc"
                }
              ],
              "default": "asc"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Count",
          "name": "returnCount",
          "type": "boolean",
          "description": "Whether to return only the count of results",
          "default": false,
          "displayOptions": {
            "hide": {
              "/returnAll": [
                false
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "links",
              "value": "links"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "seen",
              "value": "seen"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "shares",
              "value": "shares"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "observable"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "actionRequiredMap",
              "value": "actionRequiredMap"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "caseId",
              "value": "caseId"
            },
            {
              "name": "caseTemplate",
              "value": "caseTemplate"
            },
            {
              "name": "caseTemplateId",
              "value": "caseTemplateId"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "task"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "caseNumber",
              "value": "caseNumber"
            },
            {
              "name": "importDate",
              "value": "importDate"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "status",
              "value": "status"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "alert"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "alertCount",
              "value": "alertCount"
            },
            {
              "name": "alerts",
              "value": "alerts"
            },
            {
              "name": "attachmentCount",
              "value": "attachmentCount"
            },
            {
              "name": "contributors",
              "value": "contributors"
            },
            {
              "name": "handlingDuration",
              "value": "computed.handlingDuration"
            },
            {
              "name": "handlingDurationInDays",
              "value": "computed.handlingDurationInDays"
            },
            {
              "name": "handlingDurationInHours",
              "value": "computed.handlingDurationInHours"
            },
            {
              "name": "handlingDurationInMinutes",
              "value": "computed.handlingDurationInMinutes"
            },
            {
              "name": "handlingDurationInSeconds",
              "value": "computed.handlingDurationInSeconds"
            },
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "observableStats",
              "value": "observableStats"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "similarAlerts",
              "value": "similarAlerts"
            },
            {
              "name": "status",
              "value": "status"
            },
            {
              "name": "taskStats",
              "value": "taskStats"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "case"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "links",
              "value": "links"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "comment"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionCount",
              "value": "actionCount"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "task",
              "value": "task"
            },
            {
              "name": "taskId",
              "value": "taskId"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "log"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "string",
          "description": "Additional data to include in the response",
          "default": "",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/resource": [
                "query"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "observableUpdateFields",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "resourceMapper": {
          "resourceMapperMethod": "getObservableUpdateFields",
          "mode": "update",
          "valuesLabel": "Fields",
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a page"
        },
        {
          "name": "Delete",
          "value": "deletePage",
          "action": "Delete a page"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search pages"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a page"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Create in",
      "name": "location",
      "type": "options",
      "default": "case",
      "options": [
        {
          "name": "Case",
          "value": "case"
        },
        {
          "name": "Knowledge Base",
          "value": "knowledgeBase"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "location": [
            "case"
          ],
          "resource": [
            "page"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Category",
      "name": "category",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Content",
      "name": "content",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Delete From ...",
      "name": "location",
      "type": "options",
      "default": "knowledgeBase",
      "options": [
        {
          "name": "Case",
          "value": "case"
        },
        {
          "name": "Knowledge Base",
          "value": "knowledgeBase"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "deletePage"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "location": [
            "case"
          ],
          "resource": [
            "page"
          ],
          "operation": [
            "deletePage"
          ]
        }
      }
    },
    {
      "displayName": "Page",
      "name": "pageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "deletePage"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "caseId"
        ]
      }
    },
    {
      "displayName": "Search in Knowledge Base",
      "name": "searchInKnowledgeBase",
      "type": "boolean",
      "default": true,
      "description": "Whether to search in knowledge base or only in the selected case",
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "searchInKnowledgeBase": [
            false
          ],
          "resource": [
            "page"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "page"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "options": [
                {
                  "name": "Between",
                  "value": "_between",
                  "description": "Field is between two values ('From' is inclusive, 'To' is exclusive)"
                },
                {
                  "name": "Contains",
                  "value": "_like",
                  "description": "Field contains the substring from value"
                },
                {
                  "name": "Ends With",
                  "value": "_endsWith",
                  "description": "Field ends with value"
                },
                {
                  "name": "Equal",
                  "value": "_eq",
                  "description": "Field is equal to value"
                },
                {
                  "name": "Greater Than",
                  "value": "_gt",
                  "description": "Field is greater than value"
                },
                {
                  "name": "Greater Than Or Equal To",
                  "value": "_gte",
                  "description": "Field is greater than or equal to value"
                },
                {
                  "name": "In",
                  "value": "_in",
                  "description": "Field is one of the values"
                },
                {
                  "name": "Less Than",
                  "value": "_lt",
                  "description": "Field is less than value"
                },
                {
                  "name": "Less Than Or Equal To",
                  "value": "_lte",
                  "description": "Field is less than or equal to value"
                },
                {
                  "name": "Match Word",
                  "value": "_match",
                  "description": "Field contains the value as a word"
                },
                {
                  "name": "Not Equal",
                  "value": "_ne",
                  "description": "Field is not equal to value"
                },
                {
                  "name": "Starts With",
                  "value": "_startsWith",
                  "description": "Field starts with value"
                }
              ],
              "default": "_eq"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "operator": [
                    "_between",
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "Values",
              "name": "values",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of values",
              "placeholder": "e.g. value1,value2",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "From",
              "name": "from",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            },
            {
              "displayName": "To",
              "name": "to",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "Ascending",
                  "value": "asc"
                },
                {
                  "name": "Descending",
                  "value": "desc"
                }
              ],
              "default": "asc"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Count",
          "name": "returnCount",
          "type": "boolean",
          "description": "Whether to return only the count of results",
          "default": false,
          "displayOptions": {
            "hide": {
              "/returnAll": [
                false
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "links",
              "value": "links"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "seen",
              "value": "seen"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "shares",
              "value": "shares"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "observable"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "actionRequiredMap",
              "value": "actionRequiredMap"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "caseId",
              "value": "caseId"
            },
            {
              "name": "caseTemplate",
              "value": "caseTemplate"
            },
            {
              "name": "caseTemplateId",
              "value": "caseTemplateId"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "task"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "caseNumber",
              "value": "caseNumber"
            },
            {
              "name": "importDate",
              "value": "importDate"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "status",
              "value": "status"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "alert"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "alertCount",
              "value": "alertCount"
            },
            {
              "name": "alerts",
              "value": "alerts"
            },
            {
              "name": "attachmentCount",
              "value": "attachmentCount"
            },
            {
              "name": "contributors",
              "value": "contributors"
            },
            {
              "name": "handlingDuration",
              "value": "computed.handlingDuration"
            },
            {
              "name": "handlingDurationInDays",
              "value": "computed.handlingDurationInDays"
            },
            {
              "name": "handlingDurationInHours",
              "value": "computed.handlingDurationInHours"
            },
            {
              "name": "handlingDurationInMinutes",
              "value": "computed.handlingDurationInMinutes"
            },
            {
              "name": "handlingDurationInSeconds",
              "value": "computed.handlingDurationInSeconds"
            },
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "observableStats",
              "value": "observableStats"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "similarAlerts",
              "value": "similarAlerts"
            },
            {
              "name": "status",
              "value": "status"
            },
            {
              "name": "taskStats",
              "value": "taskStats"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "case"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "links",
              "value": "links"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "comment"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionCount",
              "value": "actionCount"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "task",
              "value": "task"
            },
            {
              "name": "taskId",
              "value": "taskId"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "log"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "string",
          "description": "Additional data to include in the response",
          "default": "",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/resource": [
                "query"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "returnAll": [
            true
          ],
          "resource": [
            "page"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Update in",
      "name": "location",
      "type": "options",
      "default": "case",
      "options": [
        {
          "name": "Case",
          "value": "case"
        },
        {
          "name": "Knowledge Base",
          "value": "knowledgeBase"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "location": [
            "case"
          ],
          "resource": [
            "page"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Page",
      "name": "pageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "caseId"
        ]
      }
    },
    {
      "displayName": "Content",
      "name": "content",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Category",
          "name": "category",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Order",
          "name": "order",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "page"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "executeQuery",
      "options": [
        {
          "name": "Execute Query",
          "value": "executeQuery",
          "action": "Execute a query"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "query"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Query",
      "name": "queryJson",
      "type": "json",
      "default": "=[\n  {\n    \"_name\": \"listOrganisation\"\n  }\n]",
      "description": "Search for objects with filtering and sorting capabilities",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "query"
          ],
          "operation": [
            "executeQuery"
          ]
        }
      },
      "typeOptions": {
        "rows": 10
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a task"
        },
        {
          "name": "Delete",
          "value": "deleteTask",
          "action": "Delete an task"
        },
        {
          "name": "Execute Responder",
          "value": "executeResponder",
          "action": "Execute responder on a task"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a task"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Search tasks"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a task"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "taskFields",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "resourceMapper": {
          "resourceMapperMethod": "getTaskFields",
          "mode": "add",
          "valuesLabel": "Fields"
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Task",
      "name": "taskId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "deleteTask"
          ]
        }
      }
    },
    {
      "displayName": "Task",
      "name": "id",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": {
        "hide": {
          "id": [
            ""
          ]
        },
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "executeResponder"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id",
          "id.value"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "Task",
      "name": "taskId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Search in All Cases",
      "name": "allCases",
      "type": "boolean",
      "default": true,
      "description": "Whether to search in all cases or only in a selected case",
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Case",
      "name": "caseId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "allCases": [
            false
          ],
          "resource": [
            "task"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "task"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "options": [
                {
                  "name": "Between",
                  "value": "_between",
                  "description": "Field is between two values ('From' is inclusive, 'To' is exclusive)"
                },
                {
                  "name": "Contains",
                  "value": "_like",
                  "description": "Field contains the substring from value"
                },
                {
                  "name": "Ends With",
                  "value": "_endsWith",
                  "description": "Field ends with value"
                },
                {
                  "name": "Equal",
                  "value": "_eq",
                  "description": "Field is equal to value"
                },
                {
                  "name": "Greater Than",
                  "value": "_gt",
                  "description": "Field is greater than value"
                },
                {
                  "name": "Greater Than Or Equal To",
                  "value": "_gte",
                  "description": "Field is greater than or equal to value"
                },
                {
                  "name": "In",
                  "value": "_in",
                  "description": "Field is one of the values"
                },
                {
                  "name": "Less Than",
                  "value": "_lt",
                  "description": "Field is less than value"
                },
                {
                  "name": "Less Than Or Equal To",
                  "value": "_lte",
                  "description": "Field is less than or equal to value"
                },
                {
                  "name": "Match Word",
                  "value": "_match",
                  "description": "Field contains the value as a word"
                },
                {
                  "name": "Not Equal",
                  "value": "_ne",
                  "description": "Field is not equal to value"
                },
                {
                  "name": "Starts With",
                  "value": "_startsWith",
                  "description": "Field starts with value"
                }
              ],
              "default": "_eq"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "operator": [
                    "_between",
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "Values",
              "name": "values",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of values",
              "placeholder": "e.g. value1,value2",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_in"
                  ]
                }
              }
            },
            {
              "displayName": "From",
              "name": "from",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            },
            {
              "displayName": "To",
              "name": "to",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "operator": [
                    "_between"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "requiresDataPath": "single",
              "description": "Dot notation is also supported, e.g. customFields.field1",
              "displayOptions": {
                "hide": {
                  "/resource": [
                    "alert",
                    "case",
                    "comment",
                    "task",
                    "observable",
                    "log",
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadAlertFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "alert"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadCaseFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "case"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadTaskFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "task"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableFields"
              },
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "displayOptions": {
                "show": {
                  "/resource": [
                    "observable"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                },
                {
                  "name": "Date",
                  "value": "date"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "log"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Message",
                  "value": "message"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "comment"
                  ]
                }
              }
            },
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Category",
                  "value": "category"
                },
                {
                  "name": "Content",
                  "value": "content"
                },
                {
                  "name": "Title",
                  "value": "title"
                }
              ],
              "displayOptions": {
                "show": {
                  "/resource": [
                    "page"
                  ]
                }
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "Ascending",
                  "value": "asc"
                },
                {
                  "name": "Descending",
                  "value": "desc"
                }
              ],
              "default": "asc"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Count",
          "name": "returnCount",
          "type": "boolean",
          "description": "Whether to return only the count of results",
          "default": false,
          "displayOptions": {
            "hide": {
              "/returnAll": [
                false
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "links",
              "value": "links"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "seen",
              "value": "seen"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "shares",
              "value": "shares"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "observable"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "actionRequiredMap",
              "value": "actionRequiredMap"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "caseId",
              "value": "caseId"
            },
            {
              "name": "caseTemplate",
              "value": "caseTemplate"
            },
            {
              "name": "caseTemplateId",
              "value": "caseTemplateId"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "task"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "caseNumber",
              "value": "caseNumber"
            },
            {
              "name": "importDate",
              "value": "importDate"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "status",
              "value": "status"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "alert"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionRequired",
              "value": "actionRequired"
            },
            {
              "name": "alertCount",
              "value": "alertCount"
            },
            {
              "name": "alerts",
              "value": "alerts"
            },
            {
              "name": "attachmentCount",
              "value": "attachmentCount"
            },
            {
              "name": "contributors",
              "value": "contributors"
            },
            {
              "name": "handlingDuration",
              "value": "computed.handlingDuration"
            },
            {
              "name": "handlingDurationInDays",
              "value": "computed.handlingDurationInDays"
            },
            {
              "name": "handlingDurationInHours",
              "value": "computed.handlingDurationInHours"
            },
            {
              "name": "handlingDurationInMinutes",
              "value": "computed.handlingDurationInMinutes"
            },
            {
              "name": "handlingDurationInSeconds",
              "value": "computed.handlingDurationInSeconds"
            },
            {
              "name": "isOwner",
              "value": "isOwner"
            },
            {
              "name": "observableStats",
              "value": "observableStats"
            },
            {
              "name": "permissions",
              "value": "permissions"
            },
            {
              "name": "procedureCount",
              "value": "procedureCount"
            },
            {
              "name": "shareCount",
              "value": "shareCount"
            },
            {
              "name": "similarAlerts",
              "value": "similarAlerts"
            },
            {
              "name": "status",
              "value": "status"
            },
            {
              "name": "taskStats",
              "value": "taskStats"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "case"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "links",
              "value": "links"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "comment"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "multiOptions",
          "description": "Additional data to include in the response",
          "options": [
            {
              "name": "actionCount",
              "value": "actionCount"
            },
            {
              "name": "case",
              "value": "case"
            },
            {
              "name": "task",
              "value": "task"
            },
            {
              "name": "taskId",
              "value": "taskId"
            }
          ],
          "default": [],
          "displayOptions": {
            "show": {
              "/resource": [
                "log"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Extra Data",
          "name": "extraData",
          "type": "string",
          "description": "Additional data to include in the response",
          "default": "",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/resource": [
                "query"
              ]
            },
            "hide": {
              "returnCount": [
                true
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "taskUpdateFields",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "resourceMapper": {
          "resourceMapperMethod": "getTaskUpdateFields",
          "mode": "update",
          "valuesLabel": "Fields",
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create"
    },
    {
      "operation": "deleteAlert",
      "name": "Delete"
    },
    {
      "operation": "executeResponder",
      "name": "Execute Responder"
    },
    {
      "operation": "get",
      "name": "Get"
    },
    {
      "operation": "merge",
      "name": "Merge Into Case"
    },
    {
      "operation": "promote",
      "name": "Promote to Case"
    },
    {
      "operation": "search",
      "name": "Search"
    },
    {
      "operation": "update",
      "name": "Update"
    },
    {
      "operation": "status",
      "name": "Update Status"
    }
  ]


node_type: nodes-base.theHiveProjectTrigger
package_name: n8n-nodes-base
display_name: TheHive 5 Trigger
description: Starts the workflow when TheHive events occur
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required: []
outputs:
  [
  "main"
  ]

updated_at: 2025-08-26 06:29:25
properties_schema:
  [
    {
      "displayName": "You must set up the webhook in TheHive — instructions <a href=\"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.thehive5trigger/#configure-a-webhook-in-thehive\" target=\"_blank\">here</a>",
      "name": "notice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Events",
      "name": "events",
      "type": "multiOptions",
      "default": [],
      "description": "Events types",
      "options": [
        {
          "name": "*",
          "value": "*",
          "description": "Any time any event is triggered (Wildcard Event)"
        },
        {
          "name": "Alert Created",
          "value": "alert_create",
          "description": "Triggered when an alert is created"
        },
        {
          "name": "Alert Deleted",
          "value": "alert_delete",
          "description": "Triggered when an alert is deleted"
        },
        {
          "name": "Alert Updated",
          "value": "alert_update",
          "description": "Triggered when an alert is updated"
        },
        {
          "name": "Case Created",
          "value": "case_create",
          "description": "Triggered when a case is created"
        },
        {
          "name": "Case Deleted",
          "value": "case_delete",
          "description": "Triggered when a case is deleted"
        },
        {
          "name": "Case Updated",
          "value": "case_update",
          "description": "Triggered when a case is updated"
        },
        {
          "name": "Comment Created",
          "value": "comment_create",
          "description": "Triggered when a comment is created"
        },
        {
          "name": "Comment Deleted",
          "value": "comment_delete",
          "description": "Triggered when a comment is deleted"
        },
        {
          "name": "Comment Updated",
          "value": "comment_update",
          "description": "Triggered when a comment is updated"
        },
        {
          "name": "Observable Created",
          "value": "observable_create",
          "description": "Triggered when an observable is created"
        },
        {
          "name": "Observable Deleted",
          "value": "observable_delete",
          "description": "Triggered when an observable is deleted"
        },
        {
          "name": "Observable Updated",
          "value": "observable_update",
          "description": "Triggered when an observable is updated"
        },
        {
          "name": "Page Created",
          "value": "page_create",
          "description": "Triggered when an page is created"
        },
        {
          "name": "Page Deleted",
          "value": "page_delete",
          "description": "Triggered when an page is deleted"
        },
        {
          "name": "Page Updated",
          "value": "page_update",
          "description": "Triggered when an page is updated"
        },
        {
          "name": "Task Created",
          "value": "task_create",
          "description": "Triggered when a task is created"
        },
        {
          "name": "Task Updated",
          "value": "task_update",
          "description": "Triggered when a task is updated"
        },
        {
          "name": "Task Log Created",
          "value": "log_create",
          "description": "Triggered when a task log is created"
        },
        {
          "name": "Task Log Deleted",
          "value": "log_delete",
          "description": "Triggered when a task log is deleted"
        },
        {
          "name": "Task Log Updated",
          "value": "log_update",
          "description": "Triggered when a task log is updated"
        }
      ],
      "required": true
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "description": "Filter any incoming events based on their fields",
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "placeholder": "e.g. context.severity",
              "default": "",
              "hint": "The field to filter on, supports dot notation"
            },
            {
              "displayName": "Operator",
              "name": "operator",
              "type": "options",
              "options": [
                {
                  "name": "Equal",
                  "value": "equal",
                  "description": "Field is equal to value"
                },
                {
                  "name": "Not Equal",
                  "value": "notEqual",
                  "description": "Field is not equal to value"
                },
                {
                  "name": "Includes",
                  "value": "includes",
                  "description": "Field includes value"
                }
              ],
              "default": "equal"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Output Only Data",
          "description": "Whether to output data with additional details and omit headers",
          "name": "outputOnlyData",
          "type": "boolean",
          "default": false
        }
      ]
    }
  ]


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

outputs:
  [
  "main"
  ]

updated_at: 2025-08-26 06:29:25
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: TheHive node documentation
  description: Learn how to use the TheHive node in n8n. Follow technical documentation to integrate TheHive node into your workflows.
  contentType: [integration, reference]
  ---

  # TheHive node

  Use the TheHive node to automate work in TheHive, and integrate TheHive with other applications. n8n has built-in support for a wide range of TheHive features, including creating alerts, counting tasks logs, cases, and observables. 

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

  /// note | TheHive and TheHive 5
  n8n provides two nodes for TheHive. Use this node (TheHive) if you want to use TheHive's version 3 or 4 API. If you want to use version 5, use [TheHive 5](/integrations/builtin/app-nodes/n8n-nodes-base.thehive5.md).
  ///
  /// note | Credentials
  Refer to [TheHive credentials](/integrations/builtin/credentials/thehive.md) for guidance on setting up authentication. 
  ///

  ## Operations

  The available operations depend on your API version. To see the operations list, create your credentials, including selecting your API version. Then return to the node, select the resource you want to use, and n8n displays the available operations for your API version. 

  * Alert
  * Case
  * Log
  * Observable
  * Task

  ## Templates and examples

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

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

  ## Related resources

  n8n provides a trigger node for TheHive. You can find the trigger node docs [here](/integrations/builtin/trigger-nodes/n8n-nodes-base.thehivetrigger.md).

  Refer to TheHive's documentation for more information about the service:

  * [Version 3](https://docs.thehive-project.org/thehive/legacy/thehive3/api/){:target=_blank .external-link}
  * [Version 4](https://docs.thehive-project.org/cortex/api/api-guide/){:target=_blank .external-link}

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "alert",
      "options": [
        {
          "name": "Alert",
          "value": "alert"
        },
        {
          "name": "Case",
          "value": "case"
        },
        {
          "name": "Log",
          "value": "log"
        },
        {
          "name": "Observable",
          "value": "observable"
        },
        {
          "name": "Task",
          "value": "task"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation Name or ID",
      "name": "operation",
      "type": "options",
      "default": "create",
      "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": [
            "alert"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "loadAlertOptions"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "alert"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "alert"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Alert ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Title of the alert",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "promote",
            "markAsRead",
            "markAsUnread",
            "merge",
            "update",
            "executeResponder",
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Case ID",
      "name": "caseId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "merge"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Title of the alert",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Description",
      "name": "description",
      "type": "string",
      "default": "",
      "description": "Description of the alert",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Severity",
      "name": "severity",
      "type": "options",
      "default": 2,
      "description": "Severity of the alert. Default=Medium.",
      "options": [
        {
          "name": "Low",
          "value": 1
        },
        {
          "name": "Medium",
          "value": 2
        },
        {
          "name": "High",
          "value": 3
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Date",
      "name": "date",
      "type": "dateTime",
      "default": "",
      "description": "Date and time when the alert was raised default=now",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Tags",
      "name": "tags",
      "type": "string",
      "default": "",
      "description": "Case Tags",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "TLP",
      "name": "tlp",
      "type": "options",
      "default": 2,
      "description": "Traffict Light Protocol (TLP). Default=Amber.",
      "options": [
        {
          "name": "White",
          "value": 0
        },
        {
          "name": "Green",
          "value": 1
        },
        {
          "name": "Amber",
          "value": 2
        },
        {
          "name": "Red",
          "value": 3
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": "New",
      "description": "Status of the alert",
      "options": [
        {
          "name": "New",
          "value": "New"
        },
        {
          "name": "Updated",
          "value": "Updated"
        },
        {
          "name": "Ignored",
          "value": "Ignored"
        },
        {
          "name": "Imported",
          "value": "Imported"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "string",
      "default": "",
      "description": "Type of the alert",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Source",
      "name": "source",
      "type": "string",
      "default": "",
      "description": "Source of the alert",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "SourceRef",
      "name": "sourceRef",
      "type": "string",
      "default": "",
      "description": "Source reference of the alert",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Follow",
      "name": "follow",
      "type": "boolean",
      "default": true,
      "description": "Whether the alert becomes active when updated default=true",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Artifacts",
      "name": "artifactUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Artifact attributes",
      "options": [
        {
          "displayName": "Artifact",
          "name": "artifactValues",
          "values": [
            {
              "displayName": "Data Type Name or ID",
              "name": "dataType",
              "type": "options",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "loadObservableTypes"
              },
              "description": "Type of the observable. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
            },
            {
              "displayName": "Data",
              "name": "data",
              "type": "string",
              "displayOptions": {
                "hide": {
                  "dataType": [
                    "file"
                  ]
                }
              },
              "default": ""
            },
            {
              "displayName": "Input Binary Field",
              "name": "binaryProperty",
              "type": "string",
              "hint": "The name of the input binary field containing the file to be written",
              "displayOptions": {
                "show": {
                  "dataType": [
                    "file"
                  ]
                }
              },
              "default": "data"
            },
            {
              "displayName": "Message",
              "name": "message",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Case Tags",
              "name": "tags",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": [
            "alert"
          ],
          "operation": [
            "executeResponder"
          ]
        },
        "hide": {
          "id": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create",
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Case Template",
          "name": "caseTemplate",
          "type": "string",
          "default": "",
          "description": "Case template to use when a case is created from this alert"
        },
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "type": "fixedCollection",
          "default": {},
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Custom Field",
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "field",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "typeOptions": {
                    "loadOptionsMethod": "loadCustomFields"
                  },
                  "default": "Custom Field"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field value. Use an expression if the type is not a string."
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Fields (JSON)",
          "name": "customFieldsJson",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                true
              ]
            }
          },
          "description": "Custom fields in JSON format. Overrides Custom Fields UI if set."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Case Template",
          "name": "caseTemplate",
          "type": "string",
          "default": "",
          "description": "Case template to use when a case is created from this alert"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "promote"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Artifacts",
          "name": "artifactUi",
          "type": "fixedCollection",
          "placeholder": "Add Artifact",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Artifact",
              "name": "artifactValues",
              "values": [
                {
                  "displayName": "Data Type Name or ID",
                  "name": "dataType",
                  "type": "options",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "loadObservableTypes"
                  },
                  "description": "Type of the observable. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Data",
                  "name": "data",
                  "type": "string",
                  "displayOptions": {
                    "hide": {
                      "dataType": [
                        "file"
                      ]
                    }
                  },
                  "default": ""
                },
                {
                  "displayName": "Input Binary Field",
                  "name": "binaryProperty",
                  "type": "string",
                  "hint": "The name of the input binary field containing the file to be written",
                  "displayOptions": {
                    "show": {
                      "dataType": [
                        "file"
                      ]
                    }
                  },
                  "default": "data"
                },
                {
                  "displayName": "Message",
                  "name": "message",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Case Tags",
                  "name": "tags",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "placeholder": "Add Custom Field",
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "field",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "typeOptions": {
                    "loadOptionsMethod": "loadCustomFields"
                  },
                  "default": "Custom Field"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field value. Use an expression if the type is not a string."
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Fields (JSON)",
          "name": "customFieldsJson",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                true
              ]
            }
          },
          "default": "",
          "description": "Custom fields in JSON format. Overrides Custom Fields UI if set."
        },
        {
          "displayName": "Case Template",
          "name": "caseTemplate",
          "type": "string",
          "default": "",
          "description": "Case template to use when a case is created from this alert"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the alert"
        },
        {
          "displayName": "Follow",
          "name": "follow",
          "type": "boolean",
          "default": true,
          "description": "Whether the alert becomes active when updated default=true"
        },
        {
          "displayName": "Severity",
          "name": "severity",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ],
          "default": 2,
          "description": "Severity of the alert. Default=Medium."
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "New",
              "value": "New"
            },
            {
              "name": "Updated",
              "value": "Updated"
            },
            {
              "name": "Ignored",
              "value": "Ignored"
            },
            {
              "name": "Imported",
              "value": "Imported"
            }
          ],
          "default": "New"
        },
        {
          "displayName": "Case Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "placeholder": "tag,tag2,tag3..."
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Title of the alert"
        },
        {
          "displayName": "TLP",
          "name": "tlp",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "White",
              "value": 0
            },
            {
              "name": "Green",
              "value": 1
            },
            {
              "name": "Amber",
              "value": 2
            },
            {
              "name": "Red",
              "value": 3
            }
          ],
          "description": "Traffict Light Protocol (TLP). Default=Amber."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Sort",
          "name": "sort",
          "type": "string",
          "placeholder": "±Attribut, exp +status",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "alert"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Similar Cases",
          "name": "includeSimilar",
          "type": "boolean",
          "description": "Whether to include similar cases",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "alert"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Custom Field",
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "field",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "typeOptions": {
                    "loadOptionsMethod": "loadCustomFields"
                  },
                  "default": "Custom Field"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field value. Use an expression if the type is not a string."
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the alert"
        },
        {
          "displayName": "Follow",
          "name": "follow",
          "type": "boolean",
          "default": false,
          "description": "Whether the alert becomes active when updated default=true"
        },
        {
          "displayName": "Severity",
          "name": "severity",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ],
          "default": 2,
          "description": "Severity of the alert. Default=Medium."
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "placeholder": "tag,tag2,tag3..."
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "TLP",
          "name": "tlp",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "White",
              "value": 0
            },
            {
              "name": "Green",
              "value": 1
            },
            {
              "name": "Amber",
              "value": 2
            },
            {
              "name": "Red",
              "value": 3
            }
          ],
          "description": "Traffict Light Protocol (TLP). Default=Amber."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ],
          "operation": [
            "getAll",
            "count"
          ]
        }
      }
    },
    {
      "displayName": "Operation Name or ID",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "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": [
            "observable"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "resource"
        ],
        "loadOptionsMethod": "loadObservableOptions"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Case ID",
      "name": "caseId",
      "type": "string",
      "default": "",
      "description": "ID of the case",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "search"
          ],
          "resource": [
            "observable"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "search"
          ],
          "resource": [
            "observable"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Observable ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "ID of the observable",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "update",
            "executeResponder",
            "executeAnalyzer",
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Data Type Name or ID",
      "name": "dataType",
      "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": [
            "observable"
          ],
          "operation": [
            "create",
            "executeAnalyzer"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "loadObservableTypes"
      }
    },
    {
      "displayName": "Data",
      "name": "data",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        },
        "hide": {
          "dataType": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryProperty",
      "type": "string",
      "default": "data",
      "description": "The name of the input binary field that represent the attachment file",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ],
          "dataType": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "Description of the observable in the context of the case",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Start Date",
      "name": "startDate",
      "type": "dateTime",
      "default": "",
      "description": "Date and time of the begin of the case default=now",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "TLP",
      "name": "tlp",
      "type": "options",
      "default": 2,
      "description": "Traffict Light Protocol (TLP). Default=Amber.",
      "options": [
        {
          "name": "White",
          "value": 0
        },
        {
          "name": "Green",
          "value": 1
        },
        {
          "name": "Amber",
          "value": 2
        },
        {
          "name": "Red",
          "value": 3
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "IOC",
      "name": "ioc",
      "type": "boolean",
      "default": false,
      "description": "Whether the observable is an IOC (Indicator of compromise)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Sighted",
      "name": "sighted",
      "type": "boolean",
      "default": false,
      "description": "Whether sighted previously",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": "",
      "description": "Status of the observable. Default=Ok.",
      "options": [
        {
          "name": "Ok",
          "value": "Ok"
        },
        {
          "name": "Deleted",
          "value": "Deleted"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Analyzer Names or IDs",
      "name": "analyzers",
      "type": "multiOptions",
      "default": [],
      "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "executeAnalyzer"
          ]
        },
        "hide": {
          "id": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id",
          "dataType"
        ],
        "loadOptionsMethod": "loadAnalyzers"
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": [
            "observable"
          ],
          "operation": [
            "executeResponder"
          ]
        },
        "hide": {
          "id": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Observable Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "placeholder": "tag1,tag2"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Message",
          "name": "message",
          "type": "string",
          "default": "",
          "description": "Description of the observable in the context of the case"
        },
        {
          "displayName": "Observable Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "placeholder": "tag1,tag2"
        },
        {
          "displayName": "TLP",
          "name": "tlp",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "White",
              "value": 0
            },
            {
              "name": "Green",
              "value": 1
            },
            {
              "name": "Amber",
              "value": 2
            },
            {
              "name": "Red",
              "value": 3
            }
          ],
          "description": "Traffict Light Protocol (TLP). Default=Amber."
        },
        {
          "displayName": "IOC",
          "name": "ioc",
          "type": "boolean",
          "default": false,
          "description": "Whether the observable is an IOC (Indicator of compromise)"
        },
        {
          "displayName": "Sighted",
          "name": "sighted",
          "description": "Whether sighted previously",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "",
          "options": [
            {
              "name": "Ok",
              "value": "Ok"
            },
            {
              "name": "Deleted",
              "value": "Deleted"
            }
          ],
          "description": "Status of the observable. Default=Ok."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Sort",
          "name": "sort",
          "type": "string",
          "placeholder": "±Attribut, exp +status",
          "description": "Specify the sorting attribut, + for asc, - for desc",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "search"
          ],
          "resource": [
            "observable"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Data Type Names or IDs",
          "name": "dataType",
          "type": "multiOptions",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "loadObservableTypes"
          },
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
        },
        {
          "displayName": "Date Range",
          "type": "fixedCollection",
          "name": "range",
          "default": {},
          "options": [
            {
              "displayName": "Add Date Range Inputs",
              "name": "dateRange",
              "values": [
                {
                  "displayName": "From Date",
                  "name": "fromDate",
                  "type": "dateTime",
                  "default": ""
                },
                {
                  "displayName": "To Date",
                  "name": "toDate",
                  "type": "dateTime",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "placeholder": "exp,freetext"
        },
        {
          "displayName": "IOC",
          "name": "ioc",
          "type": "boolean",
          "default": false,
          "description": "Whether the observable is an IOC (Indicator of compromise)"
        },
        {
          "displayName": "Keyword",
          "name": "keyword",
          "type": "string",
          "default": "",
          "placeholder": "exp,freetext"
        },
        {
          "displayName": "Message",
          "name": "message",
          "type": "string",
          "default": "",
          "description": "Description of the observable in the context of the case"
        },
        {
          "displayName": "Observable Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "placeholder": "tag1,tag2"
        },
        {
          "displayName": "Sighted",
          "name": "sighted",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Status",
          "name": "Status",
          "type": "options",
          "default": "",
          "options": [
            {
              "name": "Ok",
              "value": "Ok"
            },
            {
              "name": "Deleted",
              "value": "Deleted"
            }
          ],
          "description": "Status of the observable. Default=Ok."
        },
        {
          "displayName": "TLP",
          "name": "tlp",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "White",
              "value": 0
            },
            {
              "name": "Green",
              "value": 1
            },
            {
              "name": "Amber",
              "value": 2
            },
            {
              "name": "Red",
              "value": 3
            }
          ],
          "description": "Traffict Light Protocol (TLP). Default=Amber."
        },
        {
          "displayName": "Value",
          "name": "data",
          "type": "string",
          "default": "",
          "placeholder": "example.com; 8.8.8.8"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "observable"
          ],
          "operation": [
            "search",
            "count"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "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": [
            "case"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "resource"
        ],
        "loadOptionsMethod": "loadCaseOptions"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "case"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "case"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Case ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "ID of the case",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "update",
            "executeResponder",
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Title of the case",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Description",
      "name": "description",
      "type": "string",
      "default": "",
      "description": "Description of the case",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Severity",
      "name": "severity",
      "type": "options",
      "default": 2,
      "description": "Severity of the alert. Default=Medium.",
      "options": [
        {
          "name": "Low",
          "value": 1
        },
        {
          "name": "Medium",
          "value": 2
        },
        {
          "name": "High",
          "value": 3
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Start Date",
      "name": "startDate",
      "type": "dateTime",
      "default": "",
      "description": "Date and time of the begin of the case default=now",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Owner",
      "name": "owner",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Flag",
      "name": "flag",
      "type": "boolean",
      "default": false,
      "description": "Flag of the case default=false",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "TLP",
      "name": "tlp",
      "type": "options",
      "default": 2,
      "description": "Traffict Light Protocol (TLP). Default=Amber.",
      "options": [
        {
          "name": "White",
          "value": 0
        },
        {
          "name": "Green",
          "value": 1
        },
        {
          "name": "Amber",
          "value": 2
        },
        {
          "name": "Red",
          "value": 3
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Tags",
      "name": "tags",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": [
            "case"
          ],
          "operation": [
            "executeResponder"
          ]
        },
        "hide": {
          "id": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": true,
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create",
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "placeholder": "Add Custom Field",
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "field",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "typeOptions": {
                    "loadOptionsMethod": "loadCustomFields"
                  },
                  "default": "Custom Field"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field value. Use an expression if the type is not a string."
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Fields (JSON)",
          "name": "customFieldsJson",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                true
              ]
            }
          },
          "description": "Custom fields in JSON format. Overrides Custom Fields UI if set."
        },
        {
          "displayName": "End Date",
          "name": "endDate",
          "default": "",
          "type": "dateTime",
          "description": "Resolution date"
        },
        {
          "displayName": "Summary",
          "name": "summary",
          "type": "string",
          "default": "",
          "description": "Summary of the case, to be provided when closing a case"
        },
        {
          "displayName": "Metrics (JSON)",
          "name": "metrics",
          "default": "[]",
          "type": "json",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                true
              ]
            }
          },
          "description": "List of metrics"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "placeholder": "Add Custom Field",
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "field",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "typeOptions": {
                    "loadOptionsMethod": "loadCustomFields"
                  },
                  "default": "Custom Field"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field value. Use an expression if the type is not a string."
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Fields (JSON)",
          "name": "customFieldsJson",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                true
              ]
            }
          },
          "description": "Custom fields in JSON format. Overrides Custom Fields UI if set."
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the case"
        },
        {
          "displayName": "End Date",
          "name": "endDate",
          "type": "dateTime",
          "default": "",
          "description": "Resolution date"
        },
        {
          "displayName": "Flag",
          "name": "flag",
          "type": "boolean",
          "default": false,
          "description": "Flag of the case default=false"
        },
        {
          "displayName": "Impact Status",
          "name": "impactStatus",
          "type": "options",
          "default": "",
          "options": [
            {
              "name": "No Impact",
              "value": "NoImpact"
            },
            {
              "name": "With Impact",
              "value": "WithImpact"
            },
            {
              "name": "Not Applicable",
              "value": "NotApplicable"
            }
          ],
          "description": "Impact status of the case"
        },
        {
          "displayName": "Metrics (JSON)",
          "name": "metrics",
          "type": "json",
          "default": "[]",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                true
              ]
            }
          },
          "description": "List of metrics"
        },
        {
          "displayName": "Owner",
          "name": "owner",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Resolution Status",
          "name": "resolutionStatus",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "Duplicated",
              "name": "Duplicated"
            },
            {
              "value": "FalsePositive",
              "name": "False Positive"
            },
            {
              "value": "Indeterminate",
              "name": "Indeterminate"
            },
            {
              "value": "Other",
              "name": "Other"
            },
            {
              "value": "TruePositive",
              "name": "True Positive"
            }
          ],
          "description": "Resolution status of the case"
        },
        {
          "displayName": "Severity",
          "name": "severity",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ],
          "default": 2,
          "description": "Severity of the alert. Default=Medium."
        },
        {
          "displayName": "Start Date",
          "name": "startDate",
          "type": "dateTime",
          "default": "",
          "description": "Date and time of the begin of the case default=now"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Open",
              "value": "Open"
            },
            {
              "name": "Resolved",
              "value": "Resolved"
            },
            {
              "name": "Deleted",
              "value": "Deleted"
            }
          ],
          "default": "Open"
        },
        {
          "displayName": "Summary",
          "name": "summary",
          "type": "string",
          "default": "",
          "description": "Summary of the case, to be provided when closing a case"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Title of the case"
        },
        {
          "displayName": "TLP",
          "name": "tlp",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "White",
              "value": 0
            },
            {
              "name": "Green",
              "value": 1
            },
            {
              "name": "Amber",
              "value": 2
            },
            {
              "name": "Red",
              "value": 3
            }
          ],
          "description": "Traffict Light Protocol (TLP). Default=Amber."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Sort",
          "name": "sort",
          "type": "string",
          "placeholder": "±Attribut, exp +status",
          "description": "Specify the sorting attribut, + for asc, - for desc",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "case"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Custom Field",
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "field",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "typeOptions": {
                    "loadOptionsMethod": "loadCustomFields"
                  },
                  "default": "Custom Field"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Custom Field value. Use an expression if the type is not a string."
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the case"
        },
        {
          "displayName": "End Date",
          "name": "endDate",
          "type": "dateTime",
          "default": "",
          "description": "Resolution date"
        },
        {
          "displayName": "Flag",
          "name": "flag",
          "type": "boolean",
          "default": false,
          "description": "Flag of the case default=false"
        },
        {
          "displayName": "Impact Status",
          "name": "impactStatus",
          "type": "options",
          "default": "",
          "options": [
            {
              "name": "No Impact",
              "value": "NoImpact"
            },
            {
              "name": "With Impact",
              "value": "WithImpact"
            },
            {
              "name": "Not Applicable",
              "value": "NotApplicable"
            }
          ]
        },
        {
          "displayName": "Owner",
          "name": "owner",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Resolution Status",
          "name": "resolutionStatus",
          "type": "options",
          "default": "",
          "options": [
            {
              "value": "Duplicated",
              "name": "Duplicated"
            },
            {
              "value": "False Positive",
              "name": "FalsePositive"
            },
            {
              "value": "Indeterminate",
              "name": "Indeterminate"
            },
            {
              "value": "Other",
              "name": "Other"
            },
            {
              "value": "True Positive",
              "name": "TruePositive"
            }
          ]
        },
        {
          "displayName": "Severity",
          "name": "severity",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "High",
              "value": 3
            }
          ],
          "default": 2,
          "description": "Severity of the alert. Default=Medium."
        },
        {
          "displayName": "Start Date",
          "name": "startDate",
          "type": "dateTime",
          "default": "",
          "description": "Date and time of the begin of the case default=now"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Open",
              "value": "Open"
            },
            {
              "name": "Resolved",
              "value": "Resolved"
            },
            {
              "name": "Deleted",
              "value": "Deleted"
            }
          ],
          "default": "Open"
        },
        {
          "displayName": "Summary",
          "name": "summary",
          "type": "string",
          "default": "",
          "description": "Summary of the case, to be provided when closing a case"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Title of the case"
        },
        {
          "displayName": "TLP",
          "name": "tlp",
          "type": "options",
          "default": 2,
          "options": [
            {
              "name": "White",
              "value": 0
            },
            {
              "name": "Green",
              "value": 1
            },
            {
              "name": "Amber",
              "value": 2
            },
            {
              "name": "Red",
              "value": 3
            }
          ],
          "description": "Traffict Light Protocol (TLP). Default=Amber."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "case"
          ],
          "operation": [
            "getAll",
            "count"
          ]
        }
      }
    },
    {
      "displayName": "Operation Name or ID",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "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": [
            "task"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "operation"
        ],
        "loadOptionsMethod": "loadTaskOptions"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Task ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "ID of the taks",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "update",
            "executeResponder",
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Case ID",
      "name": "caseId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "search",
            "getAll"
          ],
          "resource": [
            "task"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "search",
            "getAll"
          ],
          "resource": [
            "task"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Task details",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": "Waiting",
      "description": "Status of the task. Default=Waiting.",
      "options": [
        {
          "name": "Cancel",
          "value": "Cancel"
        },
        {
          "name": "Completed",
          "value": "Completed"
        },
        {
          "name": "InProgress",
          "value": "InProgress"
        },
        {
          "name": "Waiting",
          "value": "Waiting"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Flag",
      "name": "flag",
      "type": "boolean",
      "default": false,
      "description": "Whether to flag the task. Default=false.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": [
            "task"
          ],
          "operation": [
            "executeResponder"
          ]
        },
        "hide": {
          "id": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Task details"
        },
        {
          "displayName": "End Date",
          "name": "endDate",
          "type": "dateTime",
          "default": "",
          "description": "Date of the end of the task. This is automatically set when status is set to Completed."
        },
        {
          "displayName": "Owner",
          "name": "owner",
          "type": "string",
          "default": "",
          "description": "User who owns the task. This is automatically set to current user when status is set to InProgress."
        },
        {
          "displayName": "Start Date",
          "name": "startDate",
          "type": "dateTime",
          "default": "",
          "description": "Date of the beginning of the task. This is automatically set when status is set to Open."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Task details"
        },
        {
          "displayName": "End Date",
          "name": "endDate",
          "type": "dateTime",
          "default": "",
          "description": "Date of the end of the task. This is automatically set when status is set to Completed."
        },
        {
          "displayName": "Flag",
          "name": "flag",
          "type": "boolean",
          "default": false,
          "description": "Whether to flag the task. Default=false."
        },
        {
          "displayName": "Owner",
          "name": "owner",
          "type": "string",
          "default": "",
          "description": "User who owns the task. This is automatically set to current user when status is set to InProgress."
        },
        {
          "displayName": "Start Date",
          "name": "startDate",
          "type": "dateTime",
          "default": "",
          "description": "Date of the beginning of the task. This is automatically set when status is set to Open."
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "Waiting",
          "options": [
            {
              "name": "Cancel",
              "value": "Cancel"
            },
            {
              "name": "Completed",
              "value": "Completed"
            },
            {
              "name": "In Progress",
              "value": "InProgress"
            },
            {
              "name": "Waiting",
              "value": "Waiting"
            }
          ],
          "description": "Status of the task. Default=Waiting."
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Task details"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Sort",
          "name": "sort",
          "type": "string",
          "placeholder": "±Attribut, exp +status",
          "description": "Specify the sorting attribut, + for asc, - for desc",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll",
            "search"
          ],
          "resource": [
            "task"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Task details"
        },
        {
          "displayName": "End Date",
          "name": "endDate",
          "type": "dateTime",
          "default": "",
          "description": "Date of the end of the task. This is automatically set when status is set to Completed."
        },
        {
          "displayName": "Flag",
          "name": "flag",
          "type": "boolean",
          "default": false,
          "description": "Whether to flag the task. Default=false."
        },
        {
          "displayName": "Owner",
          "name": "owner",
          "type": "string",
          "default": "",
          "description": "User who owns the task. This is automatically set to current user when status is set to InProgress."
        },
        {
          "displayName": "Start Date",
          "name": "startDate",
          "type": "dateTime",
          "default": "",
          "description": "Date of the beginning of the task. This is automatically set when status is set to Open."
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "Waiting",
          "options": [
            {
              "name": "Cancel",
              "value": "Cancel"
            },
            {
              "name": "Completed",
              "value": "Completed"
            },
            {
              "name": "In Progress",
              "value": "InProgress"
            },
            {
              "name": "Waiting",
              "value": "Waiting"
            }
          ],
          "description": "Status of the task. Default=Waiting."
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Task details"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "search",
            "count"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create task log",
          "action": "Create a log"
        },
        {
          "name": "Execute Responder",
          "value": "executeResponder",
          "description": "Execute a responder on a selected log",
          "action": "Execute a responder"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many task logs",
          "action": "Get many logs"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a single log",
          "action": "Get a log"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "description": "ID of the task",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "create",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "log"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "log"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Log ID",
      "name": "id",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "executeResponder",
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "Content of the Log",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Start Date",
      "name": "startDate",
      "type": "dateTime",
      "default": "",
      "description": "Date of the log submission default=now",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Status",
      "name": "status",
      "type": "options",
      "default": "",
      "description": "Status of the log (Ok or Deleted) default=Ok",
      "options": [
        {
          "name": "Ok",
          "value": "Ok"
        },
        {
          "name": "Deleted",
          "value": "Deleted"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Responder Name or ID",
      "name": "responder",
      "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": [
            "log"
          ],
          "operation": [
            "executeResponder"
          ]
        },
        "hide": {
          "id": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "id"
        ],
        "loadOptionsMethod": "loadResponders"
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachment",
          "name": "attachmentValues",
          "placeholder": "Add Attachment",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "default": {},
          "options": [
            {
              "displayName": "Attachment",
              "name": "attachmentValues",
              "values": [
                {
                  "displayName": "Input Binary Field",
                  "name": "binaryProperty",
                  "type": "string",
                  "default": "data",
                  "description": "The name of the input binary field which holds binary data"
                }
              ]
            }
          ],
          "description": "File attached to the log"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "log"
          ],
          "operation": [
            "create"
          ]
        }
      }
    }
  ]


