# nodes

node_type: nodes-base.microsoftSharePoint
package_name: n8n-nodes-base
display_name: Microsoft SharePoint
description: Interact with Microsoft SharePoint API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "microsoftSharePointOAuth2Api",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-06 10:26:56
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft SharePoint node documentation
  description: Learn how to use the Microsoft SharePoint node in n8n. Follow technical documentation to integrate Microsoft SharePoint node into your workflows.
  contentType: [integration, reference]
  ---

  # Microsoft SharePoint node

  Use the Microsoft SharePoint node to automate work in Microsoft SharePoint and integrate Microsoft SharePoint with other applications. n8n has built-in support for a wide range of Microsoft SharePoint features, which includes downloading, uploading, and updating files, managing items in a list, and getting lists and list items.

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

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


  ## Operations

  <!-- To avoid warning about "many" -->
  <!-- vale from-write-good.Weasel = NO -->
  * **File**:
  	* Download: Download a file.
  	* Update: Update a file.
  	* Upload: Upload an existing file.
  * **Item**:
  	* Create: Create an item in an existing list.
  	* Create or Update: Create a new item, or update the current one if it already exists (upsert).
  	* Delete: Delete an item from a list.
  	* Get: Retrieve an item from a list.
  	* Get Many: Get specific items in a list or list many items.
  	* Update: Update an item in an existing list.
  * **List**:
  	* Get: Retrieve details of a single list.
  	* Get Many: Retrieve a list of lists.
  <!-- vale from-write-good.Weasel = YES -->

  ## Templates and examples

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

  ## Related resources

  <!-- add a link to the service's documentation. This should usually go direct to the API docs -->
  Refer to [Microsoft's SharePoint documentation](https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service) for more information about the service.

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "file",
      "options": [
        {
          "name": "File",
          "value": "file"
        },
        {
          "name": "Item",
          "value": "item"
        },
        {
          "name": "List",
          "value": "list"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "download",
      "options": [
        {
          "name": "Download",
          "value": "download",
          "description": "Download a file",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/sites/{{ $parameter[\"site\"] }}/drive/items/{{ $parameter[\"file\"] }}/content",
              "json": false,
              "encoding": "arraybuffer"
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Download file"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a file",
          "routing": {
            "request": {
              "method": "PATCH",
              "url": "=/sites/{{ $parameter[\"site\"] }}/drive/items/{{ $parameter[\"file\"] }}"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Update file"
        },
        {
          "name": "Upload",
          "value": "upload",
          "description": "Upload an existing file",
          "routing": {
            "request": {
              "method": "PUT",
              "url": "=/sites/{{ $parameter[\"site\"] }}/drive/items/{{ $parameter[\"folder\"] }}:/{{ $parameter[\"fileName\"] }}:/content"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Upload file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve folders from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Parent Folder",
      "name": "folder",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the folder to download the file from",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getFolders",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. myfolder",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "File",
      "name": "file",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the file to download",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "folder": [
            ""
          ]
        },
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getFiles",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve folders from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Parent Folder",
      "name": "folder",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the folder to update the file in",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getFolders",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. myfolder",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "File",
      "name": "file",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the file to update",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "folder": [
            ""
          ]
        },
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getFiles",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Updated File Name",
      "name": "fileName",
      "type": "string",
      "default": "",
      "description": "If not specified, the original file name will be used",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Change File Content",
      "name": "changeFileContent",
      "type": "boolean",
      "default": false,
      "description": "Whether to update the file contents",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Updated File Contents",
      "name": "fileContents",
      "type": "string",
      "default": "",
      "description": "Find the name of input field containing the binary data to update the file with in the Input panel on the left, in the Binary tab",
      "required": true,
      "displayOptions": {
        "show": {
          "changeFileContent": [
            true
          ],
          "resource": [
            "file"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve folders from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Parent Folder",
      "name": "folder",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the folder to upload the file to",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getFolders",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. myfolder",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "File Name",
      "name": "fileName",
      "type": "string",
      "default": "",
      "description": "The name of the file being uploaded",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "File Contents",
      "name": "fileContents",
      "type": "string",
      "default": "",
      "description": "Find the name of input field containing the binary data to upload in the Input panel on the left, in the Binary tab",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an item in an existing list",
          "routing": {
            "request": {
              "method": "POST",
              "url": "=/sites/{{ $parameter[\"site\"] }}/lists/{{ $parameter[\"list\"] }}/items"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Create item in a list"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new item, or update the current one if it already exists (upsert)",
          "routing": {
            "request": {
              "method": "POST",
              "url": "=/sites/{{ $parameter[\"site\"] }}/lists/{{ $parameter[\"list\"] }}/items"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Create or update item (upsert)"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an item from a list",
          "routing": {
            "request": {
              "method": "DELETE",
              "url": "=/sites/{{ $parameter[\"site\"] }}/lists/{{ $parameter[\"list\"] }}/items/{{ $parameter[\"item\"] }}"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"deleted\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Delete an item"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an item from a list",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "GET",
              "url": "=/sites/{{ $parameter[\"site\"] }}/lists/{{ $parameter[\"list\"] }}/items/{{ $parameter[\"item\"] }}"
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Get an item"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get specific items in a list or list many items",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/sites/{{ $parameter[\"site\"] }}/lists/{{ $parameter[\"list\"] }}/items"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "value"
                  }
                },
                null
              ]
            }
          },
          "action": "Get many items"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an item in an existing list",
          "routing": {
            "request": {
              "method": "PATCH",
              "url": "=/sites/{{ $parameter[\"site\"] }}/lists/{{ $parameter[\"list\"] }}/items"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Update item in a list"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve lists from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "List",
      "name": "list",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the list you want to create an item in",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getLists",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mylist",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Due to API restrictions, the following column types cannot be updated: Hyperlink, Location, Metadata",
      "name": "noticeUnsupportedFields",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "list": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "list": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "site.value",
          "list.value"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "add",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": false
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve lists from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "List",
      "name": "list",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the list you want to delete an item in",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getLists",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mylist",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Item",
      "name": "item",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the item you want to delete",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "list": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getItems",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. 1",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve lists from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "List",
      "name": "list",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the list you want to retrieve an item from",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getLists",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mylist",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Item",
      "name": "item",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the item you want to get",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "list": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getItems",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. 1",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Simplify",
      "name": "simplify",
      "type": "boolean",
      "default": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve lists from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "List",
      "name": "list",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the list you want to search for items in",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getLists",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mylist",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Filter by Formula",
      "name": "filter",
      "type": "string",
      "default": "",
      "description": "The formula will be evaluated for each record. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "default": [],
          "description": "The fields you want to include in the output",
          "displayOptions": {
            "hide": {
              "/simplify": [
                true
              ]
            }
          },
          "options": [
            {
              "name": "Content Type",
              "value": "contentType"
            },
            {
              "name": "Created At",
              "value": "createdDateTime"
            },
            {
              "name": "Created By",
              "value": "createdBy"
            },
            {
              "name": "Fields",
              "value": "fields"
            },
            {
              "name": "ID",
              "value": "id"
            },
            {
              "name": "Last Modified At",
              "value": "lastModifiedDateTime"
            },
            {
              "name": "Last Modified By",
              "value": "lastModifiedBy"
            },
            {
              "name": "Parent Reference",
              "value": "parentReference"
            },
            {
              "name": "Web URL",
              "value": "webUrl"
            }
          ],
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "type": "multiOptions"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplify",
      "type": "boolean",
      "default": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve lists from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "List",
      "name": "list",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the list you want to update an item in",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getLists",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mylist",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Due to API restrictions, the following column types cannot be updated: Hyperlink, Location, Metadata",
      "name": "noticeUnsupportedFields",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "list": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "list": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "site.value",
          "list.value"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "update",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": false
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve lists from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "upsert"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "List",
      "name": "list",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the list you want to create or update an item in",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "upsert"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getLists",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mylist",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Due to API restrictions, the following column types cannot be updated: Hyperlink, Location, Metadata",
      "name": "noticeUnsupportedFields",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "list": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ],
          "list": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "site.value",
          "list.value"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "upsert",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": false
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve details of a single list",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "GET",
              "url": "=/sites/{{ $parameter[\"site\"] }}/lists/{{ $parameter[\"list\"] }}"
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Get list"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve a list of lists",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/sites/{{ $parameter[\"site\"] }}/lists"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "value"
                  }
                },
                null
              ]
            }
          },
          "action": "Get many lists"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve lists from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "List",
      "name": "list",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the list you want to retrieve",
      "required": true,
      "displayOptions": {
        "hide": {
          "site": [
            ""
          ]
        },
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getLists",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mylist",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Simplify",
      "name": "simplify",
      "type": "boolean",
      "default": true,
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Site",
      "name": "site",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the site to retrieve lists from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getSites",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "placeholder": "e.g. mysite",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Simplify",
      "name": "simplify",
      "type": "boolean",
      "default": true,
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "download",
      "name": "Download",
      "description": "Download a file"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a file"
    },
    {
      "operation": "upload",
      "name": "Upload",
      "description": "Upload an existing file"
    }
  ]


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

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-06 10:26:56
tool_variant_of: nodes-base.microsoftSql
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft SQL node documentation
  description: Learn how to use the Microsoft SQL node in n8n. Follow technical documentation to integrate Microsoft SQL node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Microsoft SQL node

  Use the Microsoft SQL node to automate work in Microsoft SQL, and integrate Microsoft SQL with other applications. n8n has built-in support for a wide range of Microsoft SQL features, including executing SQL queries, and inserting rows into the database. 

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

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

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

  ## Operations

  * Execute an SQL query
  * Insert rows in database
  * Update rows in database
  * Delete rows in database

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to query and manage data in the database"
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "insert",
      "options": [
        {
          "name": "Execute Query",
          "value": "executeQuery",
          "description": "Execute an SQL query",
          "action": "Execute a SQL query"
        },
        {
          "name": "Insert",
          "value": "insert",
          "description": "Insert rows in database",
          "action": "Insert rows in database"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update rows in database",
          "action": "Update rows in database"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete rows in database",
          "action": "Delete rows in database"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The SQL query to execute",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "executeQuery"
          ]
        }
      },
      "typeOptions": {
        "editor": "sqlEditor",
        "sqlDialect": "MSSQL"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to insert data to",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to update data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Key",
      "name": "updateKey",
      "type": "string",
      "default": "id",
      "description": "Name of the property which decides which rows in the database should be updated. Normally that would be \"id\".",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for rows to update",
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to delete data",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Delete Key",
      "name": "deleteKey",
      "type": "string",
      "default": "id",
      "description": "Name of the property which decides which rows in the database should be deleted. Normally that would be \"id\".",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "executeQuery",
      "name": "Execute Query",
      "description": "Execute an SQL query"
    },
    {
      "operation": "insert",
      "name": "Insert",
      "description": "Insert rows in database"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update rows in database"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete rows in database"
    }
  ]

credentials_required:
  [
    {
      "name": "microsoftSql",
      "required": true,
      "testedBy": "microsoftSqlConnectionTest"
    }
  ]


node_type: nodes-base.microsoftSql
package_name: n8n-nodes-base
display_name: Microsoft SQL
description: Get, add and update data in Microsoft SQL
category: input
development_style: programmatic
version: 1.1
outputs:
  [
  "main"
  ]

updated_at: 2026-01-06 10:26:56
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft SQL node documentation
  description: Learn how to use the Microsoft SQL node in n8n. Follow technical documentation to integrate Microsoft SQL node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Microsoft SQL node

  Use the Microsoft SQL node to automate work in Microsoft SQL, and integrate Microsoft SQL with other applications. n8n has built-in support for a wide range of Microsoft SQL features, including executing SQL queries, and inserting rows into the database. 

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

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

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

  ## Operations

  * Execute an SQL query
  * Insert rows in database
  * Update rows in database
  * Delete rows in database

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "insert",
      "options": [
        {
          "name": "Execute Query",
          "value": "executeQuery",
          "description": "Execute an SQL query",
          "action": "Execute a SQL query"
        },
        {
          "name": "Insert",
          "value": "insert",
          "description": "Insert rows in database",
          "action": "Insert rows in database"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update rows in database",
          "action": "Update rows in database"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete rows in database",
          "action": "Delete rows in database"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The SQL query to execute",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "executeQuery"
          ]
        }
      },
      "typeOptions": {
        "editor": "sqlEditor",
        "sqlDialect": "MSSQL"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to insert data to",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to update data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Key",
      "name": "updateKey",
      "type": "string",
      "default": "id",
      "description": "Name of the property which decides which rows in the database should be updated. Normally that would be \"id\".",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for rows to update",
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to delete data",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Delete Key",
      "name": "deleteKey",
      "type": "string",
      "default": "id",
      "description": "Name of the property which decides which rows in the database should be deleted. Normally that would be \"id\".",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "executeQuery",
      "name": "Execute Query",
      "description": "Execute an SQL query"
    },
    {
      "operation": "insert",
      "name": "Insert",
      "description": "Insert rows in database"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update rows in database"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete rows in database"
    }
  ]

credentials_required:
  [
    {
      "name": "microsoftSql",
      "required": true,
      "testedBy": "microsoftSqlConnectionTest"
    }
  ]


node_type: nodes-base.azureStorage
package_name: n8n-nodes-base
display_name: Azure Storage
description: Interact with Azure Storage API
category: transform
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2026-01-06 10:26:56
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Azure Storage node documentation
  description: Learn how to use the Azure Storage node in n8n. Follow technical documentation to integrate Azure Storage node into your workflows.
  contentType: [integration, reference]
  ---

  # Azure Storage node

  The Azure Storage node has built-in support for a wide range of features, which includes creating, getting, and deleting blobs and containers. Use this node to automate work within the Azure Storage service or integrate it with other services in your workflow.

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

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


  ## Operations

  * **Blob**
  	* **Create blob**: Create a new blob or replace an existing one.
  	* **Delete blob**: Delete an existing blob.
  	* **Get blob**: Retrieve data for a specific blob.
  	* **Get many blobs**: Retrieve a list of blobs.
  * **Container**
  	* **Create container**: Create a new container.
  	* **Delete container**: Delete an existing container.
  	* **Get container**: Retrieve data for a specific container.
  	* **Get many containers**: Retrieve a list of containers.

  ## Templates and examples

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

  ## Related resources

  <!-- add a link to the service's documentation. This should usually go direct to the API docs -->
  Refer to [Microsoft's Azure Storage documentation](https://learn.microsoft.com/en-us/rest/api/storageservices/) for more information about the service.

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "sharedKey",
      "options": [
        {
          "name": "OAuth2",
          "value": "oAuth2"
        },
        {
          "name": "Shared Key",
          "value": "sharedKey"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "container",
      "options": [
        {
          "name": "Blob",
          "value": "blob"
        },
        {
          "name": "Container",
          "value": "container"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new blob or replace an existing one",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "PUT",
              "url": "=/{{ $parameter[\"container\"] }}/{{ $parameter[\"blobCreate\"] }}",
              "headers": {
                "x-ms-date": "={{ new Date().toUTCString() }}",
                "x-ms-version": "2021-12-02"
              }
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Create blob"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a blob",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "DELETE",
              "url": "=/{{ $parameter[\"container\"] }}/{{ $parameter[\"blob\"] }}",
              "headers": {
                "x-ms-date": "={{ new Date().toUTCString() }}",
                "x-ms-version": "2021-12-02"
              }
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Delete blob"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve data for a specific blob",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "GET",
              "url": "=/{{ $parameter[\"container\"] }}/{{ $parameter[\"blob\"] }}",
              "headers": {
                "x-ms-date": "={{ new Date().toUTCString() }}",
                "x-ms-version": "2021-12-02"
              },
              "encoding": "arraybuffer"
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Get blob"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve a list of blobs",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "GET",
              "qs": {
                "restype": "container",
                "comp": "list"
              },
              "url": "=/{{ $parameter[\"container\"] }}",
              "headers": {
                "x-ms-date": "={{ new Date().toUTCString() }}",
                "x-ms-version": "2021-12-02"
              }
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Get many blobs"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Container to create or replace a blob in",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getContainers",
            "searchable": true
          }
        },
        {
          "displayName": "By Name",
          "name": "id",
          "placeholder": "e.g. mycontainer",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Blob Name",
      "name": "blobCreate",
      "type": "string",
      "default": "",
      "description": "The name of the new or existing blob",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "From",
      "name": "from",
      "type": "options",
      "default": "binary",
      "options": [
        {
          "name": "Binary",
          "value": "binary"
        },
        {
          "name": "URL",
          "value": "url"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Binary Contents",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "description": "The name of the input binary field containing the file to be written",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "create"
          ],
          "from": [
            "binary"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "URL where to read of the blob contents from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "create"
          ],
          "from": [
            "url"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Access Tier",
          "name": "accessTier",
          "description": "The tier to be set on the blob. For detailed information about block blob tiering, see <a href=\"https://learn.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview\">Hot, cool, and archive storage tiers</a>.",
          "default": "Hot",
          "options": [
            {
              "name": "Archive",
              "value": "Archive"
            },
            {
              "name": "Cold",
              "value": "Cold"
            },
            {
              "name": "Cool",
              "value": "Cool"
            },
            {
              "name": "Hot",
              "value": "Hot"
            }
          ],
          "routing": {
            "request": {
              "headers": {
                "x-ms-access-tier": "={{ $value || undefined }}"
              }
            }
          },
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Blob Type",
          "name": "blobType",
          "description": "Specifies the type of blob to create: block, page, or append blob",
          "default": "BlockBlob",
          "displayOptions": {
            "show": {
              "/from": [
                "binary"
              ]
            }
          },
          "routing": {
            "request": {
              "headers": {
                "x-ms-blob-type": "={{ $value || undefined }}"
              }
            }
          },
          "type": "options",
          "options": [
            {
              "name": "Block Blob",
              "value": "BlockBlob"
            },
            {
              "name": "Page Blob",
              "value": "PageBlob"
            },
            {
              "name": "Append Blob",
              "value": "AppendBlob"
            }
          ],
          "validateType": "string"
        },
        {
          "displayName": "Cache Control",
          "name": "cacheControl",
          "description": "Sets the blob's cache control value",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-blob-cache-control": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Content CRC64",
          "name": "contentCrc64",
          "description": "CRC64 hash of the blob content to verify its integrity during transport",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-content-crc64": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Content Encoding",
          "name": "contentEncoding",
          "description": "Sets the blob's content encoding",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-blob-content-encoding": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Content Language",
          "name": "contentLanguage",
          "description": "Sets the blob's content language",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-blob-content-language": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Content MD5",
          "name": "contentMd5",
          "description": "Sets the blob's MD5 hash for integrity verification",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-blob-content-md5": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Content Type",
          "name": "contentType",
          "description": "Sets the blob's content type",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-blob-content-type": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Encryption Context",
          "name": "encryptionContext",
          "description": "If the value is set it will set blob system metadata. Max length-1024. Valid only when Hierarchical Namespace is enabled for the account.",
          "default": "",
          "displayOptions": {
            "show": {
              "/from": [
                "binary"
              ]
            }
          },
          "routing": {
            "request": {
              "headers": {
                "x-ms-encryption-context": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Encryption Scope",
          "name": "encryptionScope",
          "description": "Indicates the encryption scope for encrypting the request contents",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-encryption-scope": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Expiry Option",
          "name": "expiryOption",
          "description": "Specifies the expiration date option for the request. This header is valid for accounts with hierarchical namespace enabled.",
          "default": "Absolute",
          "options": [
            {
              "name": "Expire",
              "value": "Absolute",
              "description": "Expiry Time must be specified"
            },
            {
              "name": "Never Expire",
              "value": "NeverExpire",
              "description": "Sets the blob to never expire or removes the current expiration date"
            }
          ],
          "routing": {
            "request": {
              "headers": {
                "x-ms-expiry-option": "={{ $value || undefined }}"
              }
            }
          },
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Expiry Time",
          "name": "expiryTime",
          "description": "Specifies the time when the blob is set to expire as an absolute time",
          "default": "",
          "displayOptions": {
            "hide": {
              "/options.expiryOption": [
                "NeverExpire"
              ]
            }
          },
          "routing": {
            "request": {
              "headers": {
                "x-ms-expiry-time": "={{ $value ? DateTime.fromISO($value).format(\"EEE, dd MMM yyyy HH:mm:ss ZZZ\") : undefined }}"
              }
            }
          },
          "type": "dateTime",
          "validateType": "dateTime"
        },
        {
          "displayName": "Filename",
          "name": "filename",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-blob-content-disposition": "={{ $value ? 'attachment; filename=\"' + $value + '\"' : undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Immutability Policy Date",
          "name": "immutabilityPolicyUntilDate",
          "description": "Specifies the retention-until date to be set on the blob. This is the date until which the blob can be protected from being modified or deleted.",
          "default": "",
          "displayOptions": {
            "show": {
              "/from": [
                "binary"
              ]
            }
          },
          "routing": {
            "request": {
              "headers": {
                "x-ms-immutability-policy-until-date": "={{ $value ? DateTime.fromISO($value).format(\"EEE, dd MMM yyyy HH:mm:ss ZZZ\") : undefined }}"
              }
            }
          },
          "type": "dateTime",
          "validateType": "dateTime"
        },
        {
          "displayName": "Immutability Policy Mode",
          "name": "immutabilityPolicyMode",
          "description": "Specifies the immutability policy mode to be set on the blob",
          "default": "unlocked",
          "displayOptions": {
            "show": {
              "/from": [
                "binary"
              ]
            }
          },
          "options": [
            {
              "name": "Locked",
              "value": "locked",
              "description": "Users are prohibited from modifying the policy"
            },
            {
              "name": "Unlocked",
              "value": "unlocked",
              "description": "Users can change the policy by increasing or decreasing the retention-until date"
            }
          ],
          "routing": {
            "request": {
              "headers": {
                "x-ms-immutability-policy-mode": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Lease ID",
          "name": "leaseId",
          "description": "Required if the blob has an active lease",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-lease-id": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Legal Hold",
          "name": "legalHold",
          "description": "Whether to set a legal hold on the blob",
          "default": false,
          "displayOptions": {
            "show": {
              "/from": [
                "binary"
              ]
            }
          },
          "routing": {
            "request": {
              "headers": {
                "x-ms-legal-hold": "={{ $value?.toString() || undefined }}"
              }
            }
          },
          "type": "boolean",
          "validateType": "boolean"
        },
        {
          "displayName": "Metadata",
          "name": "metadata",
          "default": [],
          "description": "A name-value pair to associate with the blob as metadata",
          "options": [
            {
              "name": "metadataValues",
              "displayName": "Metadata",
              "values": [
                {
                  "displayName": "Field Name",
                  "name": "fieldName",
                  "default": "",
                  "description": "Names must adhere to the naming rules for <a href=\"https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/\">C# identifiers</a>",
                  "type": "string"
                },
                {
                  "displayName": "Field Value",
                  "name": "fieldValue",
                  "default": "",
                  "type": "string"
                }
              ]
            }
          ],
          "placeholder": "Add metadata",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          }
        },
        {
          "displayName": "Origin",
          "name": "origin",
          "description": "Specifies the origin from which the request is issued. The presence of this header results in cross-origin resource sharing (CORS) headers on the response. For more information, see <a href=\"https://learn.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services\">CORS support for the Azure Storage services</a>.",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "origin": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "description": "Sets the given tags on the blob",
          "default": [],
          "options": [
            {
              "name": "tagValues",
              "displayName": "Tag",
              "values": [
                {
                  "displayName": "Tag Name",
                  "name": "tagName",
                  "default": "",
                  "type": "string"
                },
                {
                  "displayName": "Tag Value",
                  "name": "tagValue",
                  "default": "",
                  "type": "string"
                }
              ]
            }
          ],
          "placeholder": "Add tag",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Container to delete a blob from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getContainers",
            "searchable": true
          }
        },
        {
          "displayName": "By Name",
          "name": "id",
          "placeholder": "e.g. mycontainer",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Blob",
      "name": "blob",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Blob to be deleted",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getBlobs",
            "searchable": true
          }
        },
        {
          "displayName": "By Name",
          "name": "id",
          "placeholder": "e.g. myblob",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Lease ID",
          "name": "leaseId",
          "description": "Required if the blob has an active lease",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-lease-id": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Container to get a blob from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getContainers",
            "searchable": true
          }
        },
        {
          "displayName": "By Name",
          "name": "id",
          "placeholder": "e.g. mycontainer",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Blob",
      "name": "blob",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Blob to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getBlobs",
            "searchable": true
          }
        },
        {
          "displayName": "By Name",
          "name": "id",
          "placeholder": "e.g. myblob",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Lease ID",
          "name": "leaseId",
          "description": "If this header is specified, the operation is performed only if both of the following conditions are met: <ul><li>The blob's lease is currently active.</li><li>The lease ID that's specified in the request matches the lease ID of the blob.</li></ul>",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "x-ms-lease-id": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Origin",
          "name": "origin",
          "description": "Specifies the origin from which the request is issued. The presence of this header results in cross-origin resource sharing (CORS) headers on the response.",
          "default": "",
          "routing": {
            "request": {
              "headers": {
                "origin": "={{ $value || undefined }}"
              }
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Simplify",
          "name": "simplify",
          "type": "boolean",
          "default": true,
          "description": "Whether to return a simplified version of the response instead of the raw data"
        },
        {
          "displayName": "UPN",
          "name": "upn",
          "description": "Whether the user identity values that are returned in the response will be transformed from Microsoft Entra object IDs to User Principal Names. If the value is false, they're returned as Microsoft Entra object IDs. Valid for accounts with hierarchical namespace enabled.",
          "default": false,
          "routing": {
            "request": {
              "headers": {
                "x-ms-upn": "={{ $value?.toString() || undefined }}"
              }
            }
          },
          "type": "boolean",
          "validateType": "boolean"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Container to get blobs from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getContainers",
            "searchable": true
          }
        },
        {
          "displayName": "By Name",
          "name": "id",
          "placeholder": "e.g. mycontainer",
          "type": "string"
        }
      ]
    },
    {
      "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": [
            "blob"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "default": [],
          "description": "The fields to add to the output",
          "options": [
            {
              "name": "Copy",
              "value": "copy",
              "description": "Specifies that metadata related to any current or previous Copy Blob operation should be included in the response"
            },
            {
              "name": "Deleted",
              "value": "deleted",
              "description": "Specifies that soft-deleted blobs should be included in the response"
            },
            {
              "name": "Deleted with Versions",
              "value": "deletedwithversions",
              "description": "Specifies that deleted blobs with any versions (active or deleted) should be included in the response. Items permanently deleted appear until processed by garbage collection."
            },
            {
              "name": "Immutability Policy",
              "value": "immutabilitypolicy",
              "description": "Specifies that the enumeration should include the immutability policy until date, and the immutability policy mode of the blobs"
            },
            {
              "name": "Legal Hold",
              "value": "legalhold",
              "description": "Specifies that the enumeration should include the legal hold of blobs"
            },
            {
              "name": "Metadata",
              "value": "metadata",
              "description": "Specifies that blob metadata be returned in the response"
            },
            {
              "name": "Permissions",
              "value": "permissions",
              "description": "Includes the owner, group, permissions, and access control list for the listed blobs or directories. Supported only for accounts with a hierarchical namespace enabled."
            },
            {
              "name": "Snapshots",
              "value": "snapshots",
              "description": "Specifies that snapshots should be included in the enumeration. Snapshots are listed from oldest to newest in the response."
            },
            {
              "name": "Tags",
              "value": "tags",
              "description": "Specifies that user-defined, blob index tags should be included in the response"
            },
            {
              "name": "Uncommitted Blobs",
              "value": "uncommittedblobs",
              "description": "Specifies that blobs for which blocks have been uploaded, but which haven't been committed"
            },
            {
              "name": "Versions",
              "value": "versions",
              "description": "Specifies that versions of blobs should be included in the enumeration"
            }
          ],
          "routing": {
            "send": {
              "property": "include",
              "type": "query",
              "value": "={{ $value.join(\",\") || undefined }}"
            }
          },
          "type": "multiOptions"
        },
        {
          "displayName": "Filter",
          "name": "filter",
          "default": [],
          "description": "The type of datasets to be returned",
          "options": [
            {
              "name": "Deleted",
              "value": "deleted",
              "description": "Only for accounts enabled with hierarchical namespace. When included, the list only contains soft-deleted blobs. POSIX ACL authorization fallback is not supported for listing soft-deleted blobs."
            },
            {
              "name": "Files",
              "value": "files",
              "description": "Only for accounts enabled with hierarchical namespace. When included, the list only contains files."
            },
            {
              "name": "Directories",
              "value": "directories",
              "description": "Only for accounts enabled with hierarchical namespace. When included, the list only contains directories."
            }
          ],
          "routing": {
            "send": {
              "property": "showonly",
              "type": "query",
              "value": "={{ $value.join(\",\") || undefined }}"
            }
          },
          "type": "multiOptions"
        },
        {
          "displayName": "Simplify",
          "name": "simplify",
          "type": "boolean",
          "default": true,
          "description": "Whether to return a simplified version of the response instead of the raw data"
        },
        {
          "displayName": "UPN",
          "name": "upn",
          "description": "Whether the user identity values that are returned in the response will be transformed from Microsoft Entra object IDs to User Principal Names. If the value is false, they're returned as Microsoft Entra object IDs. Valid for accounts with hierarchical namespace enabled.",
          "default": false,
          "routing": {
            "request": {
              "headers": {
                "x-ms-upn": "={{ $value?.toString() || undefined }}"
              }
            }
          },
          "type": "boolean",
          "validateType": "boolean"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a container",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "PUT",
              "qs": {
                "restype": "container"
              },
              "url": "=/{{ $parameter[\"containerCreate\"] }}",
              "headers": {
                "x-ms-date": "={{ new Date().toUTCString() }}",
                "x-ms-version": "2021-12-02"
              }
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Create container"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a container",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "DELETE",
              "qs": {
                "restype": "container"
              },
              "url": "=/{{ $parameter[\"container\"] }}",
              "headers": {
                "x-ms-date": "={{ new Date().toUTCString() }}",
                "x-ms-version": "2021-12-02"
              }
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Delete container"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve data for a specific container",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "GET",
              "qs": {
                "restype": "container"
              },
              "url": "=/{{ $parameter[\"container\"] }}",
              "headers": {
                "x-ms-date": "={{ new Date().toUTCString() }}",
                "x-ms-version": "2021-12-02"
              }
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Get container"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve a list of containers",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "GET",
              "qs": {
                "comp": "list"
              },
              "url": "/",
              "headers": {
                "x-ms-date": "={{ new Date().toUTCString() }}",
                "x-ms-version": "2021-12-02"
              }
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Get many container"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Container Name",
      "name": "containerCreate",
      "type": "string",
      "default": "",
      "description": "The name of the new container",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Access Level",
          "name": "accessLevel",
          "default": "",
          "options": [
            {
              "name": "Blob",
              "value": "blob",
              "description": "Specifies public read access for blobs. Blob data within this container can be read via anonymous request, but container data isn't available. Clients can't enumerate blobs within the container via anonymous request."
            },
            {
              "name": "Container",
              "value": "container",
              "description": "Specifies full public read access for container and blob data. Clients can enumerate blobs within the container via anonymous request, but they can't enumerate containers within the storage account."
            },
            {
              "name": "Private",
              "value": "",
              "description": "Container data is private to the account owner"
            }
          ],
          "routing": {
            "request": {
              "headers": {
                "x-ms-blob-public-access": "={{ $value || undefined }}"
              }
            }
          },
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Metadata",
          "name": "metadata",
          "default": [],
          "description": "A name-value pair to associate with the container as metadata",
          "options": [
            {
              "name": "metadataValues",
              "displayName": "Metadata",
              "values": [
                {
                  "displayName": "Field Name",
                  "name": "fieldName",
                  "default": "",
                  "description": "Names must adhere to the naming rules for <a href=\"https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/\">C# identifiers</a>",
                  "type": "string"
                },
                {
                  "displayName": "Field Value",
                  "name": "fieldValue",
                  "default": "",
                  "type": "string"
                }
              ]
            }
          ],
          "placeholder": "Add metadata",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getContainers",
            "searchable": true
          }
        },
        {
          "displayName": "By Name",
          "name": "id",
          "placeholder": "e.g. mycontainer",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "getContainers",
            "searchable": true
          }
        },
        {
          "displayName": "By Name",
          "name": "id",
          "placeholder": "e.g. mycontainer",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Simplify",
          "name": "simplify",
          "type": "boolean",
          "default": true,
          "description": "Whether to return a simplified version of the response instead of the raw data"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "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": [
            "container"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "default": [],
          "description": "The fields to add to the output",
          "options": [
            {
              "name": "Metadata",
              "value": "metadata"
            },
            {
              "name": "Deleted",
              "value": "deleted"
            },
            {
              "name": "System",
              "value": "system"
            }
          ],
          "routing": {
            "send": {
              "property": "include",
              "type": "query",
              "value": "={{ $value.join(\",\") || undefined }}"
            }
          },
          "type": "multiOptions"
        },
        {
          "displayName": "Filter",
          "name": "filter",
          "default": "",
          "description": "Filters the results to return only containers with a name that begins with the specified prefix",
          "placeholder": "e.g. mycontainer",
          "routing": {
            "send": {
              "property": "prefix",
              "type": "query",
              "value": "={{ $value ? $value : undefined }}"
            }
          },
          "type": "string",
          "validateType": "string"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new blob or replace an existing one"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a blob"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Retrieve data for a specific blob"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Retrieve a list of blobs"
    }
  ]

credentials_required:
  [
    {
      "name": "azureStorageOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    },
    {
      "name": "azureStorageSharedKeyApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "sharedKey"
          ]
        }
      }
    }
  ]


node_type: nodes-base.microsoftTeams
package_name: n8n-nodes-base
display_name: Microsoft Teams
description: Consume Microsoft Teams API
category: input
development_style: programmatic
version: 2
credentials_required:
  [
  {
  "name": "microsoftTeamsOAuth2Api",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-06 10:26:56
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft Teams node documentation
  description: Learn how to use the Microsoft Teams node in n8n. Follow technical documentation to integrate Microsoft Teams node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Microsoft Teams node

  Use the Microsoft Teams node to automate work in Microsoft Teams, and integrate Microsoft Teams with other applications. n8n has built-in support for a wide range of Microsoft Teams features, including creating and deleting, channels, messages, and tasks. 

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

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

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

  ## Operations

  * Channel
      * Create
      * Delete
      * Get
      * Get Many
      * Update
  * Channel Message
      * Create
      * Get Many
  * Chat Message
  	* Create
  	* Get
  	* Get Many
  	* Send and Wait for Response
  * Task
      * Create
      * Delete
      * Get
      * Get Many
      * Update

  --8<-- "_snippets/integrations/builtin/send-and-wait-operation.md"

  ## Templates and examples

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

  ## Related resources

  Refer to [Microsoft Teams' API documentation](https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0){:target=_blank .external-link} for more information about the service.

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "channel",
      "options": [
        {
          "name": "Channel",
          "value": "channel"
        },
        {
          "name": "Channel Message",
          "value": "channelMessage"
        },
        {
          "name": "Chat Message",
          "value": "chatMessage"
        },
        {
          "name": "Task",
          "value": "task"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a channel",
          "action": "Create channel"
        },
        {
          "name": "Delete",
          "value": "deleteChannel",
          "description": "Delete a channel",
          "action": "Delete channel"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a channel",
          "action": "Get channel"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many channels",
          "action": "Get many channels"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a channel",
          "action": "Update channel"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "New Channel Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the new channel you want to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the channel",
          "typeOptions": {
            "rows": 2
          }
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Private",
              "value": "private"
            },
            {
              "name": "Standard",
              "value": "standard"
            }
          ],
          "default": "standard",
          "description": "Standard: Accessible to everyone on the team. Private: Accessible only to a specific group of people within the team."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "deleteChannel"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "deleteChannel"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "channel"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the channel",
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the channel",
          "typeOptions": {
            "rows": 2
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a message in a channel",
          "action": "Create message"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many messages from a channel",
          "action": "Get many messages"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "options",
      "default": "text",
      "description": "Whether the message is plain text or HTML",
      "options": [
        {
          "name": "Text",
          "value": "text"
        },
        {
          "name": "HTML",
          "value": "html"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "The content of the message to be sent",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Link to Workflow",
          "name": "includeLinkToWorkflow",
          "type": "boolean",
          "default": true,
          "description": "Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending messages."
        },
        {
          "displayName": "Reply to ID",
          "name": "makeReply",
          "type": "string",
          "default": "",
          "placeholder": "e.g. 1673348720590",
          "description": "An optional ID of the message you want to reply to. The message ID is the number before \"?tenantId\" in the message URL."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "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": [
            "channelMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a message in a chat",
          "action": "Create chat message"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a message from a chat",
          "action": "Get chat message"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many messages from a chat",
          "action": "Get many chat messages"
        },
        {
          "name": "Send and Wait for Response",
          "value": "sendAndWait",
          "description": "Send a message and wait for response",
          "action": "Send message and wait for response"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Chat",
      "name": "chatId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the chat from the list, by URL, or by ID (find the chat ID after \"conversations/\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Chat...",
          "typeOptions": {
            "searchListMethod": "getChats",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:7e2f1174-e8ee-4859-b8b1-a8d1cc63d276_0c5cfdbb-596f-4d39-b557-5d9516c94107@unq.gbl.spaces",
          "url": "=https://teams.microsoft.com/l/chat/{{encodeURIComponent($value)}}/0"
        }
      ]
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "options",
      "default": "text",
      "description": "Whether the message is plain text or HTML",
      "options": [
        {
          "name": "Text",
          "value": "text"
        },
        {
          "name": "HTML",
          "value": "html"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "The content of the message to be sent",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Other options to set",
      "options": [
        {
          "displayName": "Include Link to Workflow",
          "name": "includeLinkToWorkflow",
          "type": "boolean",
          "default": true,
          "description": "Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending messages."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Chat",
      "name": "chatId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the chat from the list, by URL, or by ID (find the chat ID after \"conversations/\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Chat...",
          "typeOptions": {
            "searchListMethod": "getChats",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:7e2f1174-e8ee-4859-b8b1-a8d1cc63d276_0c5cfdbb-596f-4d39-b557-5d9516c94107@unq.gbl.spaces",
          "url": "=https://teams.microsoft.com/l/chat/{{encodeURIComponent($value)}}/0"
        }
      ]
    },
    {
      "displayName": "Message ID",
      "name": "messageId",
      "type": "string",
      "default": "",
      "description": "The ID of the message to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Chat",
      "name": "chatId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the chat from the list, by URL, or by ID (find the chat ID after \"conversations/\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Chat...",
          "typeOptions": {
            "searchListMethod": "getChats",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:7e2f1174-e8ee-4859-b8b1-a8d1cc63d276_0c5cfdbb-596f-4d39-b557-5d9516c94107@unq.gbl.spaces",
          "url": "=https://teams.microsoft.com/l/chat/{{encodeURIComponent($value)}}/0"
        }
      ]
    },
    {
      "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": [
            "chatMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Chat",
      "name": "chatId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the chat from the list, by URL, or by ID (find the chat ID after \"conversations/\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Chat...",
          "typeOptions": {
            "searchListMethod": "getChats",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:7e2f1174-e8ee-4859-b8b1-a8d1cc63d276_0c5cfdbb-596f-4d39-b557-5d9516c94107@unq.gbl.spaces",
          "url": "=https://teams.microsoft.com/l/chat/{{encodeURIComponent($value)}}/0"
        }
      ]
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "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": [
            "chatMessage"
          ],
          "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": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Form Fields",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n  {\n    \"fieldLabel\": \"Name\",\n    \"placeholder\": \"enter your name\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Age\",\n    \"fieldType\": \"number\",\n    \"placeholder\": \"enter your age\"\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Textarea\",\n    \"fieldType\": \"textarea\"\n  },\n  {\n    \"fieldLabel\": \"Dropdown Options\",\n    \"fieldType\": \"dropdown\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    },\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Checkboxes\",\n    \"fieldType\": \"checkbox\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Radio\",\n    \"fieldType\": \"radio\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"placeholder\": \"me@mail.con\"\n  },\n  {\n    \"fieldLabel\": \"File\",\n    \"fieldType\": \"file\",\n    \"multipleFiles\": true,\n    \"acceptFileTypes\": \".jpg, .png\"\n  },\n  {\n    \"fieldLabel\": \"Number\",\n    \"fieldType\": \"number\"\n  },\n  {\n    \"fieldLabel\": \"Password\",\n    \"fieldType\": \"password\"\n  }\n]\n",
      "displayOptions": {
        "show": {
          "defineForm": [
            "json"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "lt": 2.5
              }
            }
          ],
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "gte": 2.5
              }
            }
          ],
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true,
        "hideOptionalFields": true,
        "addOptionalFieldButtonText": "Add Attributes"
      }
    },
    {
      "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": [
            "chatMessage"
          ],
          "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": [
            "chatMessage"
          ],
          "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": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a task",
          "action": "Create task"
        },
        {
          "name": "Delete",
          "value": "deleteTask",
          "description": "Delete a task",
          "action": "Delete task"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a task",
          "action": "Get task"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many tasks",
          "action": "Get many tasks"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a task",
          "action": "Update task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Team",
      "name": "groupId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "groupSource"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Team...",
          "typeOptions": {
            "searchListMethod": "getGroups",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "12f0ca7d-b77f-4c4e-93d2-5cbdb4f464c6",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Plan",
      "name": "planId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The plan for the task to belong to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "groupId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Plan...",
          "typeOptions": {
            "searchListMethod": "getPlans",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
        }
      ]
    },
    {
      "displayName": "Bucket",
      "name": "bucketId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The bucket for the task to belong to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "planId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Bucket...",
          "typeOptions": {
            "searchListMethod": "getBuckets",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
        }
      ]
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Title of the task",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assigned To",
          "name": "assignedTo",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "typeOptions": {
            "loadOptionsDependsOn": [
              "groupId.balue"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Member...",
              "typeOptions": {
                "searchListMethod": "getMembers",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "7e2f1174-e8ee-4859-b8b1-a8d1cc63d276",
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                    "errorMessage": "Not a valid Microsoft Teams Team ID"
                  }
                }
              ],
              "extractValue": {
                "type": "regex",
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
              }
            }
          ],
          "description": "Who the task should be assigned to"
        },
        {
          "displayName": "Due Date Time",
          "name": "dueDateTime",
          "type": "string",
          "validateType": "dateTime",
          "default": "",
          "description": "Date and time at which the task is due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time."
        },
        {
          "displayName": "Percent Complete",
          "name": "percentComplete",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "default": 0,
          "placeholder": "e.g. 75",
          "description": "Percentage of task completion. When set to 100, the task is considered completed."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "description": "The ID of the task to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "deleteTask"
          ]
        }
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "description": "The ID of the task to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Tasks For",
      "name": "tasksFor",
      "type": "options",
      "default": "member",
      "description": "Whether to retrieve the tasks for a user or for a plan",
      "options": [
        {
          "name": "Group Member",
          "value": "member",
          "description": "Tasks assigned to group member"
        },
        {
          "name": "Plan",
          "value": "plan",
          "description": "Tasks in group plan"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Team",
      "name": "groupId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "groupSource"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Team...",
          "typeOptions": {
            "searchListMethod": "getGroups",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "12f0ca7d-b77f-4c4e-93d2-5cbdb4f464c6",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Plan",
      "name": "planId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The plan for the task to belong to",
      "required": true,
      "displayOptions": {
        "show": {
          "tasksFor": [
            "plan"
          ],
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "groupId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Plan...",
          "typeOptions": {
            "searchListMethod": "getPlans",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
        }
      ]
    },
    {
      "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": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "description": "The ID of the task to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assigned To",
          "name": "assignedTo",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "typeOptions": {
            "loadOptionsDependsOn": [
              "updateFields.groupId.value"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Member...",
              "typeOptions": {
                "searchListMethod": "getMembers",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "7e2f1174-e8ee-4859-b8b1-a8d1cc63d276",
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                    "errorMessage": "Not a valid Microsoft Teams Team ID"
                  }
                }
              ],
              "extractValue": {
                "type": "regex",
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
              }
            }
          ],
          "description": "Who the task should be assigned to",
          "hint": "Select 'Team' from options first",
          "required": false
        },
        {
          "displayName": "Bucket",
          "name": "bucketId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "typeOptions": {
            "loadOptionsDependsOn": [
              "updateFields.planId.value"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Bucket...",
              "typeOptions": {
                "searchListMethod": "getBuckets",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
            }
          ],
          "description": "The bucket for the task to belong to"
        },
        {
          "displayName": "Due Date Time",
          "name": "dueDateTime",
          "type": "string",
          "validateType": "dateTime",
          "default": "",
          "description": "Date and time at which the task is due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time."
        },
        {
          "displayName": "Team",
          "name": "groupId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "typeOptions": {
            "loadOptionsDependsOn": [
              "/groupSource"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Team...",
              "typeOptions": {
                "searchListMethod": "getGroups",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "12f0ca7d-b77f-4c4e-93d2-5cbdb4f464c6",
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                    "errorMessage": "Not a valid Microsoft Teams Team ID"
                  }
                }
              ],
              "extractValue": {
                "type": "regex",
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
              }
            }
          ]
        },
        {
          "displayName": "Percent Complete",
          "name": "percentComplete",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "default": 0,
          "placeholder": "e.g. 75",
          "description": "Percentage of task completion. When set to 100, the task is considered completed."
        },
        {
          "displayName": "Plan",
          "name": "planId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "typeOptions": {
            "loadOptionsDependsOn": [
              "updateFields.groupId.value"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Plan...",
              "typeOptions": {
                "searchListMethod": "getPlans",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
            }
          ],
          "description": "The plan for the task to belong to",
          "hint": "Select 'Team' from options first"
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "placeholder": "e.g. my task",
          "description": "Title of the task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a channel"
    },
    {
      "operation": "deleteChannel",
      "name": "Delete",
      "description": "Delete a channel"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a channel"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many channels"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a channel"
    }
  ]


node_type: nodes-base.microsoftTeamsTrigger
package_name: n8n-nodes-base
display_name: Microsoft Teams Trigger
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "microsoftTeamsOAuth2Api",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-06 10:26:56
description:
  Triggers workflows in n8n based on events from Microsoft Teams, such as new messages or team updates, using specified configurations.

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

  # Microsoft Teams Trigger node

  Use the Microsoft Teams Trigger node to respond to events in [Microsoft Teams](https://www.microsoft.com/en-us/microsoft-teams/group-chat-software) and integrate Microsoft Teams with other applications.

  On this page, you'll find a list of events the Microsoft Teams Trigger node can respond to and links to more resources.

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

  ## Events

  * **New Channel**
  * **New Channel Message**
  * **New Chat**
  * **New Chat Message**
  * **New Team Member**

  ## Related resources

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

  <!-- add a link to the node page on n8n's website. For example: https://n8n.io/integrations/356-gmail/ -->
  View [example workflows and related content](https://n8n.io/integrations/microsoft-teams-trigger/) on n8n's website.

  <!-- add a link to the service's documentation. This should usually go direct to the API docs -->
  Refer to the [Microsoft Teams documentation](https://learn.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0) for details about their API.

properties_schema:
  [
    {
      "displayName": "Trigger On",
      "name": "event",
      "type": "options",
      "default": "newChannelMessage",
      "description": "Select the event to trigger the workflow",
      "options": [
        {
          "name": "New Channel",
          "value": "newChannel",
          "description": "A new channel is created"
        },
        {
          "name": "New Channel Message",
          "value": "newChannelMessage",
          "description": "A message is posted to a channel"
        },
        {
          "name": "New Chat",
          "value": "newChat",
          "description": "A new chat is created"
        },
        {
          "name": "New Chat Message",
          "value": "newChatMessage",
          "description": "A message is posted to a chat"
        },
        {
          "name": "New Team Member",
          "value": "newTeamMember",
          "description": "A new member is added to a team"
        }
      ]
    },
    {
      "displayName": "Watch All Teams",
      "name": "watchAllTeams",
      "type": "boolean",
      "default": false,
      "description": "Whether to watch for the event in all the available teams",
      "displayOptions": {
        "show": {
          "event": [
            "newChannel",
            "newChannelMessage",
            "newTeamMember"
          ]
        }
      }
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select a team from the list, enter an ID or a URL",
      "required": true,
      "displayOptions": {
        "show": {
          "event": [
            "newChannel",
            "newChannelMessage",
            "newTeamMember"
          ],
          "watchAllTeams": [
            false
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a team...",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g., 61165b04-e4cc-4026-b43f-926b4e2a7182"
        },
        {
          "displayName": "By URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g., https://teams.microsoft.com/l/team/19%3A...groupId=your-team-id&tenantId=...",
          "extractValue": {
            "type": "regex",
            "regex": {}
          }
        }
      ]
    },
    {
      "displayName": "Watch All Channels",
      "name": "watchAllChannels",
      "type": "boolean",
      "default": false,
      "description": "Whether to watch for the event in all the available channels",
      "displayOptions": {
        "show": {
          "event": [
            "newChannelMessage"
          ],
          "watchAllTeams": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select a channel from the list, enter an ID or a URL",
      "required": true,
      "displayOptions": {
        "show": {
          "event": [
            "newChannelMessage"
          ],
          "watchAllTeams": [
            false
          ],
          "watchAllChannels": [
            false
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g., 19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        },
        {
          "displayName": "By URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g., https://teams.microsoft.com/l/channel/19%3A...@thread.tacv2/...",
          "extractValue": {
            "type": "regex",
            "regex": {}
          }
        }
      ]
    },
    {
      "displayName": "Watch All Chats",
      "name": "watchAllChats",
      "type": "boolean",
      "default": false,
      "description": "Whether to watch for the event in all the available chats",
      "displayOptions": {
        "show": {
          "event": [
            "newChatMessage"
          ]
        }
      }
    },
    {
      "displayName": "Chat",
      "name": "chatId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select a chat from the list, enter an ID or a URL",
      "required": true,
      "displayOptions": {
        "show": {
          "event": [
            "newChatMessage"
          ],
          "watchAllChats": [
            false
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a chat...",
          "typeOptions": {
            "searchListMethod": "getChats",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:7e2f1174-e8ee-4859-b8b1-a8d1cc63d276@unq.gbl.spaces"
        },
        {
          "displayName": "By URL",
          "name": "url",
          "type": "string",
          "placeholder": "https://teams.microsoft.com/_#/conversations/CHAT_ID",
          "extractValue": {
            "type": "regex",
            "regex": {}
          }
        }
      ]
    }
  ]


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

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

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-06 10:26:56
tool_variant_of: nodes-base.microsoftToDo
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft To Do node documentation
  description: Learn how to use the Microsoft To Do node in n8n. Follow technical documentation to integrate Microsoft To Do node into your workflows.
  contentType: [integration, reference]
  ---

  # Microsoft To Do node

  Use the Microsoft To Do node to automate work in Microsoft To Do, and integrate Microsoft To Do with other applications. n8n has built-in support for a wide range of Microsoft To Do features, including creating, updating, deleting, and getting linked resources, lists, and tasks. 

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

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

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

  ## Operations

  * Linked Resource
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * List
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * Task
      * Create
      * Delete
      * Get
      * Get All
      * Update

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Microsoft To Do"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "task",
      "options": [
        {
          "name": "Linked Resource",
          "value": "linkedResource"
        },
        {
          "name": "List",
          "value": "list"
        },
        {
          "name": "Task",
          "value": "task"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a linked resource"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a linked resource"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a linked resource"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many linked resources"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a linked resource"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Task List Name or ID",
      "name": "taskListId",
      "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": {
          "operation": [
            "create",
            "delete",
            "get",
            "getAll",
            "update"
          ],
          "resource": [
            "linkedResource"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTaskLists"
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create",
            "delete",
            "get",
            "getAll",
            "update"
          ],
          "resource": [
            "linkedResource"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "Field indicating title of the linked entity",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "linkedResource"
          ]
        }
      }
    },
    {
      "displayName": "Application Name",
      "name": "applicationName",
      "type": "string",
      "default": "",
      "description": "App name of the source that is sending the linked entity",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "linkedResource"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "External ID",
          "name": "externalId",
          "type": "string",
          "default": "",
          "description": "ID of the object that is associated with this task on the third-party/partner system"
        },
        {
          "displayName": "Web URL",
          "name": "webUrl",
          "type": "string",
          "default": "",
          "description": "Deeplink to the linked entity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Linked Resource ID",
      "name": "linkedResourceId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ],
          "operation": [
            "delete",
            "get",
            "update"
          ]
        }
      }
    },
    {
      "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": [
            "linkedResource"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Application Name",
          "name": "applicationName",
          "type": "string",
          "default": "",
          "description": "App name of the source that is sending the linked entity"
        },
        {
          "displayName": "Name",
          "name": "displayName",
          "type": "string",
          "default": "",
          "description": "Field indicating title of the linked entity"
        },
        {
          "displayName": "External ID",
          "name": "externalId",
          "type": "string",
          "default": "",
          "description": "ID of the object that is associated with this task on the third-party/partner system"
        },
        {
          "displayName": "Web URL",
          "name": "webUrl",
          "type": "string",
          "default": "",
          "description": "Deeplink to the linked entity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a task"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a task"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a task"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many tasks"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "List Name or ID",
      "name": "taskListId",
      "type": "options",
      "default": "",
      "description": "The identifier of the list, unique in the user's mailbox. 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": [
            "create"
          ],
          "resource": [
            "task"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTaskLists"
      }
    },
    {
      "displayName": "Subject",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "A brief description of the task",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "task"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Content",
          "name": "content",
          "type": "string",
          "default": "",
          "description": "The content of the task"
        },
        {
          "displayName": "Due",
          "name": "dueDateTime",
          "type": "dateTime",
          "default": "",
          "description": "The date in the specified time zone that the task is to be finished"
        },
        {
          "displayName": "Reminder",
          "name": "reminderDateTime",
          "type": "dateTime",
          "default": "",
          "description": "The date in the specified time zone that the task is to be reminded"
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "High",
              "value": "high"
            }
          ],
          "default": "normal",
          "description": "The importance of the task"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Not Started",
              "value": "notStarted"
            },
            {
              "name": "In Progress",
              "value": "inProgress"
            },
            {
              "name": "Completed",
              "value": "completed"
            },
            {
              "name": "Waiting On Others",
              "value": "waitingOnOthers"
            },
            {
              "name": "Deferred",
              "value": "deferred"
            }
          ],
          "default": "notStarted",
          "description": "Indicates the state or progress of the task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "List Name or ID",
      "name": "taskListId",
      "type": "options",
      "default": "",
      "description": "The identifier of the list, unique in the user's mailbox. 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": [
            "delete",
            "get",
            "getAll",
            "update"
          ],
          "resource": [
            "task"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTaskLists"
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete",
            "get",
            "update"
          ],
          "resource": [
            "task"
          ]
        }
      }
    },
    {
      "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": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Content",
          "name": "content",
          "type": "string",
          "default": "",
          "description": "The content of the task"
        },
        {
          "displayName": "Due Date Time",
          "name": "dueDateTime",
          "type": "dateTime",
          "default": "",
          "description": "The date in the specified time zone that the task is to be finished"
        },
        {
          "displayName": "Reminder",
          "name": "reminderDateTime",
          "type": "dateTime",
          "default": "",
          "description": "The date in the specified time zone that the task is to be reminded"
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "High",
              "value": "high"
            }
          ],
          "default": "normal",
          "description": "The importance of the task"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Not Started",
              "value": "notStarted"
            },
            {
              "name": "In Progress",
              "value": "inProgress"
            },
            {
              "name": "Completed",
              "value": "completed"
            },
            {
              "name": "Waiting On Others",
              "value": "waitingOnOthers"
            },
            {
              "name": "Deferred",
              "value": "deferred"
            }
          ],
          "default": "notStarted",
          "description": "Indicates the state or progress of the task"
        },
        {
          "displayName": "Subject",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "A brief description of the task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a list"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a list"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a list"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many lists"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a list"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "List Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "List display name",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The identifier of the list, unique in the user's mailbox",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete",
            "get",
            "update"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "New List Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "List display name",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "list"
          ]
        }
      }
    }
  ]

operations:
[cell repeats an earlier one in this file: 283 characters]


node_type: nodes-base.microsoftToDo
package_name: n8n-nodes-base
display_name: Microsoft To Do
description: Consume Microsoft To Do API.
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "microsoftToDoOAuth2Api",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-06 10:26:56
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft To Do node documentation
  description: Learn how to use the Microsoft To Do node in n8n. Follow technical documentation to integrate Microsoft To Do node into your workflows.
  contentType: [integration, reference]
  ---

  # Microsoft To Do node

  Use the Microsoft To Do node to automate work in Microsoft To Do, and integrate Microsoft To Do with other applications. n8n has built-in support for a wide range of Microsoft To Do features, including creating, updating, deleting, and getting linked resources, lists, and tasks. 

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

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

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

  ## Operations

  * Linked Resource
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * List
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * Task
      * Create
      * Delete
      * Get
      * Get All
      * Update

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "task",
      "options": [
        {
          "name": "Linked Resource",
          "value": "linkedResource"
        },
        {
          "name": "List",
          "value": "list"
        },
        {
          "name": "Task",
          "value": "task"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a linked resource"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a linked resource"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a linked resource"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many linked resources"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a linked resource"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Task List Name or ID",
      "name": "taskListId",
      "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": {
          "operation": [
            "create",
            "delete",
            "get",
            "getAll",
            "update"
          ],
          "resource": [
            "linkedResource"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTaskLists"
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create",
            "delete",
            "get",
            "getAll",
            "update"
          ],
          "resource": [
            "linkedResource"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "Field indicating title of the linked entity",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "linkedResource"
          ]
        }
      }
    },
    {
      "displayName": "Application Name",
      "name": "applicationName",
      "type": "string",
      "default": "",
      "description": "App name of the source that is sending the linked entity",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "linkedResource"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "External ID",
          "name": "externalId",
          "type": "string",
          "default": "",
          "description": "ID of the object that is associated with this task on the third-party/partner system"
        },
        {
          "displayName": "Web URL",
          "name": "webUrl",
          "type": "string",
          "default": "",
          "description": "Deeplink to the linked entity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Linked Resource ID",
      "name": "linkedResourceId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ],
          "operation": [
            "delete",
            "get",
            "update"
          ]
        }
      }
    },
    {
      "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": [
            "linkedResource"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Application Name",
          "name": "applicationName",
          "type": "string",
          "default": "",
          "description": "App name of the source that is sending the linked entity"
        },
        {
          "displayName": "Name",
          "name": "displayName",
          "type": "string",
          "default": "",
          "description": "Field indicating title of the linked entity"
        },
        {
          "displayName": "External ID",
          "name": "externalId",
          "type": "string",
          "default": "",
          "description": "ID of the object that is associated with this task on the third-party/partner system"
        },
        {
          "displayName": "Web URL",
          "name": "webUrl",
          "type": "string",
          "default": "",
          "description": "Deeplink to the linked entity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "linkedResource"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a task"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a task"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a task"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many tasks"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "List Name or ID",
      "name": "taskListId",
      "type": "options",
      "default": "",
      "description": "The identifier of the list, unique in the user's mailbox. 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": [
            "create"
          ],
          "resource": [
            "task"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTaskLists"
      }
    },
    {
      "displayName": "Subject",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "A brief description of the task",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "task"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Content",
          "name": "content",
          "type": "string",
          "default": "",
          "description": "The content of the task"
        },
        {
          "displayName": "Due",
          "name": "dueDateTime",
          "type": "dateTime",
          "default": "",
          "description": "The date in the specified time zone that the task is to be finished"
        },
        {
          "displayName": "Reminder",
          "name": "reminderDateTime",
          "type": "dateTime",
          "default": "",
          "description": "The date in the specified time zone that the task is to be reminded"
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "High",
              "value": "high"
            }
          ],
          "default": "normal",
          "description": "The importance of the task"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Not Started",
              "value": "notStarted"
            },
            {
              "name": "In Progress",
              "value": "inProgress"
            },
            {
              "name": "Completed",
              "value": "completed"
            },
            {
              "name": "Waiting On Others",
              "value": "waitingOnOthers"
            },
            {
              "name": "Deferred",
              "value": "deferred"
            }
          ],
          "default": "notStarted",
          "description": "Indicates the state or progress of the task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "List Name or ID",
      "name": "taskListId",
      "type": "options",
      "default": "",
      "description": "The identifier of the list, unique in the user's mailbox. 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": [
            "delete",
            "get",
            "getAll",
            "update"
          ],
          "resource": [
            "task"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTaskLists"
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete",
            "get",
            "update"
          ],
          "resource": [
            "task"
          ]
        }
      }
    },
    {
      "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": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Content",
          "name": "content",
          "type": "string",
          "default": "",
          "description": "The content of the task"
        },
        {
          "displayName": "Due Date Time",
          "name": "dueDateTime",
          "type": "dateTime",
          "default": "",
          "description": "The date in the specified time zone that the task is to be finished"
        },
        {
          "displayName": "Reminder",
          "name": "reminderDateTime",
          "type": "dateTime",
          "default": "",
          "description": "The date in the specified time zone that the task is to be reminded"
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "High",
              "value": "high"
            }
          ],
          "default": "normal",
          "description": "The importance of the task"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Not Started",
              "value": "notStarted"
            },
            {
              "name": "In Progress",
              "value": "inProgress"
            },
            {
              "name": "Completed",
              "value": "completed"
            },
            {
              "name": "Waiting On Others",
              "value": "waitingOnOthers"
            },
            {
              "name": "Deferred",
              "value": "deferred"
            }
          ],
          "default": "notStarted",
          "description": "Indicates the state or progress of the task"
        },
        {
          "displayName": "Subject",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "A brief description of the task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a list"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a list"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a list"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many lists"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a list"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "List Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "List display name",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The identifier of the list, unique in the user's mailbox",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete",
            "get",
            "update"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "New List Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "List display name",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "list"
          ]
        }
      }
    }
  ]

operations:
[cell repeats an earlier one in this file: 283 characters]


node_type: nodes-base.mindee
package_name: n8n-nodes-base
display_name: Mindee
description: Consume Mindee API
category: input
development_style: programmatic
version: 3
operations:
  [
  {
  "operation": "predict",
  "name": "Predict"
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-06 10:26:56
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Mindee node documentation
  description: Learn how to use the Mindee node in n8n. Follow technical documentation to integrate Mindee node into your workflows.
  contentType: [integration, reference]
  ---

  # Mindee node

  Use the Mindee node to automate work in Mindee, and integrate Mindee with other applications. n8n has built-in support for a wide range of Mindee features, including predicting invoices. 

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

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

  ## Operations

  - **Invoice**
      - Predict
  - **Receipt**
      - Predict

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "API Version",
      "name": "apiVersion",
      "type": "options",
      "default": 1,
      "description": "Which Mindee API Version to use",
      "options": [
        {
          "name": "1",
          "value": 1
        },
        {
          "name": "3",
          "value": 3
        },
        {
          "name": "4",
          "value": 4
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            1
          ]
        }
      }
    },
    {
      "displayName": "API Version",
      "name": "apiVersion",
      "type": "options",
      "default": 3,
      "description": "Which Mindee API Version to use",
      "options": [
        {
          "name": "1",
          "value": 1
        },
        {
          "name": "3",
          "value": 3
        },
        {
          "name": "4",
          "value": 4
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            2
          ]
        }
      }
    },
    {
      "displayName": "API Version",
      "name": "apiVersion",
      "type": "options",
      "default": 4,
      "description": "Which Mindee API Version to use",
      "options": [
        {
          "name": "1",
          "value": 1
        },
        {
          "name": "3",
          "value": 3
        },
        {
          "name": "4",
          "value": 4
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            3
          ]
        }
      }
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "receipt",
      "options": [
        {
          "name": "Invoice",
          "value": "invoice"
        },
        {
          "name": "Receipt",
          "value": "receipt"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "predict",
      "options": [
        {
          "name": "Predict",
          "value": "predict"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "predict"
          ],
          "resource": [
            "receipt",
            "invoice"
          ]
        }
      }
    },
    {
      "displayName": "RAW Data",
      "name": "rawData",
      "type": "boolean",
      "default": false,
      "description": "Whether to return the data exactly in the way it got received from the API"
    }
  ]

credentials_required:
  [
    {
      "name": "mindeeReceiptApi",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "receipt"
          ]
        }
      }
    },
    {
      "name": "mindeeInvoiceApi",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ]
        }
      }
    }
  ]


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

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

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-06 10:26:56
tool_variant_of: nodes-base.misp
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: MISP node documentation
  description: Learn how to use the MISP node in n8n. Follow technical documentation to integrate MISP node into your workflows.
  contentType: [integration, reference]
  ---

  # MISP node

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

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

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

  ## Operations

  * Attribute
      * Create
      * Delete
      * Get
      * Get All
  	* Search
      * Update
  * Event
      * Create
      * Delete
      * Get
      * Get All
      * Publish
  	* Search
      * Unpublish
      * Update
  * Event Tag
      * Add
      * Remove
  * Feed
      * Create
      * Disable
      * Enable
      * Get
      * Get All
      * Update
  * Galaxy
      * Delete
      * Get
      * Get All
  * Noticelist
      * Get
      * Get All
  * Object
  	* Search
  * Organisation
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * Tag
      * Create
      * Delete
      * Get All
      * Update
  * User
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * Warninglist
      * Get
      * Get All

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with MISP"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "attribute",
      "options": [
        {
          "name": "Attribute",
          "value": "attribute"
        },
        {
          "name": "Event",
          "value": "event"
        },
        {
          "name": "Event Tag",
          "value": "eventTag"
        },
        {
          "name": "Feed",
          "value": "feed"
        },
        {
          "name": "Galaxy",
          "value": "galaxy"
        },
        {
          "name": "Noticelist",
          "value": "noticelist"
        },
        {
          "name": "Object",
          "value": "object"
        },
        {
          "name": "Organisation",
          "value": "organisation"
        },
        {
          "name": "Tag",
          "value": "tag"
        },
        {
          "name": "User",
          "value": "user"
        },
        {
          "name": "Warninglist",
          "value": "warninglist"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an attribute"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an attribute"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an attribute"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many attributes"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Get a filtered list of attributes"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an attribute"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Event UUID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID of the event to attach the attribute to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "options",
      "default": "text",
      "options": [
        {
          "name": "Text",
          "value": "text"
        },
        {
          "name": "URL",
          "value": "url"
        },
        {
          "name": "Comment",
          "value": "comment"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Sharing Group Name or ID",
          "name": "sharing_group_id",
          "type": "options",
          "default": "",
          "description": "Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getSharingGroups"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Attribute ID",
      "name": "attributeId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the attribute",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Attribute ID",
      "name": "attributeId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the attribute",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "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": [
            "attribute"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Use JSON to Specify Fields",
      "name": "useJson",
      "type": "boolean",
      "default": false,
      "description": "Whether to use JSON to specify the fields for the search request",
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "JSON",
      "name": "jsonOutput",
      "type": "json",
      "default": "{\n  \"value\": \"search value\",\n  \"type\": \"text\"\n}\n",
      "description": "Get more info at {YOUR_BASE_URL_SPECIFIED_IN_CREDENTIALS}/api/openapi#operation/restSearchAttributes",
      "displayOptions": {
        "show": {
          "useJson": [
            true
          ],
          "resource": [
            "attribute"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "attribute"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Category",
          "name": "category",
          "type": "string",
          "placeholder": "e.g. Internal reference",
          "default": ""
        },
        {
          "displayName": "Deleted",
          "name": "deleted",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Search All",
          "name": "searchall",
          "type": "string",
          "description": "Search by matching any tag names, event descriptions, attribute values or attribute comments",
          "default": "",
          "displayOptions": {
            "hide": {
              "/resource": [
                "attribute"
              ]
            }
          }
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "placeholder": "e.g. tag1,tag2",
          "hint": "Comma-separated list of tags",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "placeholder": "e.g. text",
          "default": ""
        },
        {
          "displayName": "Published",
          "name": "published",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "attribute"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Attribute ID",
      "name": "attributeId",
      "type": "string",
      "default": "",
      "description": "ID of the attribute to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Sharing Group Name or ID",
          "name": "sharing_group_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>.",
          "typeOptions": {
            "loadOptionsMethod": "getSharingGroups"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an event"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an event"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an event"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many events"
        },
        {
          "name": "Publish",
          "value": "publish",
          "action": "Publish an event"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Get a filtered list of events"
        },
        {
          "name": "Unpublish",
          "value": "unpublish",
          "action": "Unpublish an event"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an event"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Name or ID",
      "name": "org_id",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrgs"
      }
    },
    {
      "displayName": "Information",
      "name": "information",
      "type": "string",
      "default": "",
      "description": "Information on the event - max 65535 characters",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Analysis",
          "name": "analysis",
          "type": "options",
          "default": 0,
          "description": "Analysis maturity level of the event",
          "options": [
            {
              "name": "Initial",
              "value": 0
            },
            {
              "name": "Ongoing",
              "value": 1
            },
            {
              "name": "Complete",
              "value": 2
            }
          ]
        },
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Sharing Group Name or ID",
          "name": "sharing_group_id",
          "type": "options",
          "default": "",
          "description": "Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getSharingGroups"
          }
        },
        {
          "displayName": "Threat Level ID",
          "name": "threat_level_id",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "High",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Undefined",
              "value": 4
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "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": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "publish"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "unpublish"
          ]
        }
      }
    },
    {
      "displayName": "Use JSON to Specify Fields",
      "name": "useJson",
      "type": "boolean",
      "default": false,
      "description": "Whether to use JSON to specify the fields for the search request",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "JSON",
      "name": "jsonOutput",
      "type": "json",
      "default": "{\n  \"value\": \"search value\",\n  \"type\": \"text\"\n}\n",
      "description": "Get more info at {YOUR_BASE_URL_SPECIFIED_IN_CREDENTIALS}/api/openapi#operation/restSearchAttributes",
      "displayOptions": {
        "show": {
          "useJson": [
            true
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Category",
          "name": "category",
          "type": "string",
          "placeholder": "e.g. Internal reference",
          "default": ""
        },
        {
          "displayName": "Deleted",
          "name": "deleted",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Search All",
          "name": "searchall",
          "type": "string",
          "description": "Search by matching any tag names, event descriptions, attribute values or attribute comments",
          "default": "",
          "displayOptions": {
            "hide": {
              "/resource": [
                "attribute"
              ]
            }
          }
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "placeholder": "e.g. tag1,tag2",
          "hint": "Comma-separated list of tags",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "placeholder": "e.g. text",
          "default": ""
        },
        {
          "displayName": "Published",
          "name": "published",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Analysis",
          "name": "analysis",
          "type": "options",
          "default": 0,
          "description": "Analysis maturity level of the event",
          "options": [
            {
              "name": "Initial",
              "value": 0
            },
            {
              "name": "Ongoing",
              "value": 1
            },
            {
              "name": "Complete",
              "value": 2
            }
          ]
        },
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Information",
          "name": "information",
          "type": "string",
          "default": "",
          "description": "Information on the event - max 65535 characters"
        },
        {
          "displayName": "Sharing Group Name or ID",
          "name": "sharing_group_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>.",
          "typeOptions": {
            "loadOptionsMethod": "getSharingGroups"
          }
        },
        {
          "displayName": "Threat Level ID",
          "name": "threat_level_id",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "High",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Undefined",
              "value": 4
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "action": "Add a tag to an event"
        },
        {
          "name": "Remove",
          "value": "remove",
          "action": "Remove a tag from an event"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "eventTag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "eventTag"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Tag Name or ID",
      "name": "tagId",
      "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": [
            "eventTag"
          ],
          "operation": [
            "add"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTags"
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "eventTag"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Tag Name or ID",
      "name": "tagId",
      "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": [
            "eventTag"
          ],
          "operation": [
            "remove"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTags"
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a feed"
        },
        {
          "name": "Disable",
          "value": "disable",
          "action": "Disable a feed"
        },
        {
          "name": "Enable",
          "value": "enable",
          "action": "Enable a feed"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a feed"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many feeds"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a feed"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Provider",
      "name": "provider",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Rules",
          "name": "json",
          "type": "string",
          "default": "",
          "description": "Filter rules for the feed"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Feed ID",
      "name": "feedId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the feed",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "disable"
          ]
        }
      }
    },
    {
      "displayName": "Feed ID",
      "name": "feedId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the feed",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "enable"
          ]
        }
      }
    },
    {
      "displayName": "Feed ID",
      "name": "feedId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the feed",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "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": [
            "feed"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Feed ID",
      "name": "feedId",
      "type": "string",
      "default": "",
      "description": "ID of the feed to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Provider",
          "name": "provider",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Rules",
          "name": "rules",
          "type": "json",
          "default": "",
          "description": "Filter rules for the feed"
        },
        {
          "displayName": "URL",
          "name": "url",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a galaxy"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a galaxy"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many galaxies"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "galaxy"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Galaxy ID",
      "name": "galaxyId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the galaxy",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "galaxy"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Galaxy ID",
      "name": "galaxyId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the galaxy",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "galaxy"
          ],
          "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": [
            "galaxy"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "galaxy"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get a noticelist"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many noticelists"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "noticelist"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Noticelist ID",
      "name": "noticelistId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the noticelist",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "noticelist"
          ],
          "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": [
            "noticelist"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "noticelist"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "search",
      "options": [
        {
          "name": "Search",
          "value": "search",
          "action": "Get a filtered list of objects"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "object"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Use JSON to Specify Fields",
      "name": "useJson",
      "type": "boolean",
      "default": false,
      "description": "Whether to use JSON to specify the fields for the search request",
      "displayOptions": {
        "show": {
          "resource": [
            "object"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "JSON",
      "name": "jsonOutput",
      "type": "json",
      "default": "{\n  \"value\": \"search value\",\n  \"type\": \"text\"\n}\n",
      "description": "Get more info at {YOUR_BASE_URL_SPECIFIED_IN_CREDENTIALS}/api/openapi#operation/restSearchAttributes",
      "displayOptions": {
        "show": {
          "useJson": [
            true
          ],
          "resource": [
            "object"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "object"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Category",
          "name": "category",
          "type": "string",
          "placeholder": "e.g. Internal reference",
          "default": ""
        },
        {
          "displayName": "Deleted",
          "name": "deleted",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Search All",
          "name": "searchall",
          "type": "string",
          "description": "Search by matching any tag names, event descriptions, attribute values or attribute comments",
          "default": "",
          "displayOptions": {
            "hide": {
              "/resource": [
                "attribute"
              ]
            }
          }
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "placeholder": "e.g. tag1,tag2",
          "hint": "Comma-separated list of tags",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "placeholder": "e.g. text",
          "default": ""
        },
        {
          "displayName": "Published",
          "name": "published",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "object"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an organization"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an organization"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an organization"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many organizations"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an organization"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Created by Email",
          "name": "created_by_email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Nationality",
          "name": "nationality",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Sector",
          "name": "sector",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "User Count",
          "name": "usercount",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Organisation ID",
      "name": "organisationId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the organisation",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Organisation ID",
      "name": "organisationId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the organisation",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "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": [
            "organisation"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Organisation ID",
      "name": "organisationId",
      "type": "string",
      "default": "",
      "description": "ID of the organisation to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Nationality",
          "name": "nationality",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Sector",
          "name": "sector",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a tag"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a tag"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many tags"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a tag"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Color",
          "description": "Hex color code for the tag",
          "name": "colour",
          "type": "color",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Tag ID",
      "name": "tagId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the attribute",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "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": [
            "tag"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Tag ID",
      "name": "tagId",
      "type": "string",
      "default": "",
      "description": "ID of the tag to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Color",
          "description": "Hex color code for the tag",
          "name": "colour",
          "type": "color",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a user"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a user"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a user"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many users"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Role ID",
      "name": "role_id",
      "type": "string",
      "default": "",
      "description": "Role IDs are available in the MISP dashboard at /roles/index",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "GPG Key",
          "name": "gpgkey",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Inviter Email or ID",
          "name": "invited_by",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getUsers"
          }
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getOrgs"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "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": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "description": "ID of the user to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "GPG Key",
          "name": "gpgkey",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Inviter Name or ID",
          "name": "invited_by",
          "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": "getUsers"
          }
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getOrgs"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get a warninglist"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many warninglists"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "warninglist"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Warninglist ID",
      "name": "warninglistId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the warninglist",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "warninglist"
          ],
          "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": [
            "warninglist"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "warninglist"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create"
    },
    {
      "operation": "delete",
      "name": "Delete"
    },
    {
      "operation": "get",
      "name": "Get"
    },
    {
      "operation": "getAll",
      "name": "Get Many"
    },
    {
      "operation": "search",
      "name": "Search"
    },
    {
      "operation": "update",
      "name": "Update"
    }
  ]


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

outputs:
  [
  "main"
  ]

updated_at: 2026-01-06 10:26:56
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: MISP node documentation
  description: Learn how to use the MISP node in n8n. Follow technical documentation to integrate MISP node into your workflows.
  contentType: [integration, reference]
  ---

  # MISP node

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

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

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

  ## Operations

  * Attribute
      * Create
      * Delete
      * Get
      * Get All
  	* Search
      * Update
  * Event
      * Create
      * Delete
      * Get
      * Get All
      * Publish
  	* Search
      * Unpublish
      * Update
  * Event Tag
      * Add
      * Remove
  * Feed
      * Create
      * Disable
      * Enable
      * Get
      * Get All
      * Update
  * Galaxy
      * Delete
      * Get
      * Get All
  * Noticelist
      * Get
      * Get All
  * Object
  	* Search
  * Organisation
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * Tag
      * Create
      * Delete
      * Get All
      * Update
  * User
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * Warninglist
      * Get
      * Get All

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "attribute",
      "options": [
        {
          "name": "Attribute",
          "value": "attribute"
        },
        {
          "name": "Event",
          "value": "event"
        },
        {
          "name": "Event Tag",
          "value": "eventTag"
        },
        {
          "name": "Feed",
          "value": "feed"
        },
        {
          "name": "Galaxy",
          "value": "galaxy"
        },
        {
          "name": "Noticelist",
          "value": "noticelist"
        },
        {
          "name": "Object",
          "value": "object"
        },
        {
          "name": "Organisation",
          "value": "organisation"
        },
        {
          "name": "Tag",
          "value": "tag"
        },
        {
          "name": "User",
          "value": "user"
        },
        {
          "name": "Warninglist",
          "value": "warninglist"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an attribute"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an attribute"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an attribute"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many attributes"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Get a filtered list of attributes"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an attribute"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Event UUID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID of the event to attach the attribute to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "options",
      "default": "text",
      "options": [
        {
          "name": "Text",
          "value": "text"
        },
        {
          "name": "URL",
          "value": "url"
        },
        {
          "name": "Comment",
          "value": "comment"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Sharing Group Name or ID",
          "name": "sharing_group_id",
          "type": "options",
          "default": "",
          "description": "Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getSharingGroups"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Attribute ID",
      "name": "attributeId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the attribute",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Attribute ID",
      "name": "attributeId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the attribute",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "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": [
            "attribute"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Use JSON to Specify Fields",
      "name": "useJson",
      "type": "boolean",
      "default": false,
      "description": "Whether to use JSON to specify the fields for the search request",
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "JSON",
      "name": "jsonOutput",
      "type": "json",
      "default": "{\n  \"value\": \"search value\",\n  \"type\": \"text\"\n}\n",
      "description": "Get more info at {YOUR_BASE_URL_SPECIFIED_IN_CREDENTIALS}/api/openapi#operation/restSearchAttributes",
      "displayOptions": {
        "show": {
          "useJson": [
            true
          ],
          "resource": [
            "attribute"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "attribute"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Category",
          "name": "category",
          "type": "string",
          "placeholder": "e.g. Internal reference",
          "default": ""
        },
        {
          "displayName": "Deleted",
          "name": "deleted",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Search All",
          "name": "searchall",
          "type": "string",
          "description": "Search by matching any tag names, event descriptions, attribute values or attribute comments",
          "default": "",
          "displayOptions": {
            "hide": {
              "/resource": [
                "attribute"
              ]
            }
          }
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "placeholder": "e.g. tag1,tag2",
          "hint": "Comma-separated list of tags",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "placeholder": "e.g. text",
          "default": ""
        },
        {
          "displayName": "Published",
          "name": "published",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "attribute"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Attribute ID",
      "name": "attributeId",
      "type": "string",
      "default": "",
      "description": "ID of the attribute to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Sharing Group Name or ID",
          "name": "sharing_group_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>.",
          "typeOptions": {
            "loadOptionsMethod": "getSharingGroups"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attribute"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an event"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an event"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an event"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many events"
        },
        {
          "name": "Publish",
          "value": "publish",
          "action": "Publish an event"
        },
        {
          "name": "Search",
          "value": "search",
          "action": "Get a filtered list of events"
        },
        {
          "name": "Unpublish",
          "value": "unpublish",
          "action": "Unpublish an event"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an event"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Organization Name or ID",
      "name": "org_id",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getOrgs"
      }
    },
    {
      "displayName": "Information",
      "name": "information",
      "type": "string",
      "default": "",
      "description": "Information on the event - max 65535 characters",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Analysis",
          "name": "analysis",
          "type": "options",
          "default": 0,
          "description": "Analysis maturity level of the event",
          "options": [
            {
              "name": "Initial",
              "value": 0
            },
            {
              "name": "Ongoing",
              "value": 1
            },
            {
              "name": "Complete",
              "value": 2
            }
          ]
        },
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Sharing Group Name or ID",
          "name": "sharing_group_id",
          "type": "options",
          "default": "",
          "description": "Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getSharingGroups"
          }
        },
        {
          "displayName": "Threat Level ID",
          "name": "threat_level_id",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "High",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Undefined",
              "value": 4
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "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": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "publish"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "unpublish"
          ]
        }
      }
    },
    {
      "displayName": "Use JSON to Specify Fields",
      "name": "useJson",
      "type": "boolean",
      "default": false,
      "description": "Whether to use JSON to specify the fields for the search request",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "JSON",
      "name": "jsonOutput",
      "type": "json",
      "default": "{\n  \"value\": \"search value\",\n  \"type\": \"text\"\n}\n",
      "description": "Get more info at {YOUR_BASE_URL_SPECIFIED_IN_CREDENTIALS}/api/openapi#operation/restSearchAttributes",
      "displayOptions": {
        "show": {
          "useJson": [
            true
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Category",
          "name": "category",
          "type": "string",
          "placeholder": "e.g. Internal reference",
          "default": ""
        },
        {
          "displayName": "Deleted",
          "name": "deleted",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Search All",
          "name": "searchall",
          "type": "string",
          "description": "Search by matching any tag names, event descriptions, attribute values or attribute comments",
          "default": "",
          "displayOptions": {
            "hide": {
              "/resource": [
                "attribute"
              ]
            }
          }
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "placeholder": "e.g. tag1,tag2",
          "hint": "Comma-separated list of tags",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "placeholder": "e.g. text",
          "default": ""
        },
        {
          "displayName": "Published",
          "name": "published",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Analysis",
          "name": "analysis",
          "type": "options",
          "default": 0,
          "description": "Analysis maturity level of the event",
          "options": [
            {
              "name": "Initial",
              "value": 0
            },
            {
              "name": "Ongoing",
              "value": 1
            },
            {
              "name": "Complete",
              "value": 2
            }
          ]
        },
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Information",
          "name": "information",
          "type": "string",
          "default": "",
          "description": "Information on the event - max 65535 characters"
        },
        {
          "displayName": "Sharing Group Name or ID",
          "name": "sharing_group_id",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Use only for when <code>Sharing Group</code> is selected in <code>Distribution</code>.",
          "typeOptions": {
            "loadOptionsMethod": "getSharingGroups"
          }
        },
        {
          "displayName": "Threat Level ID",
          "name": "threat_level_id",
          "type": "options",
          "default": 1,
          "options": [
            {
              "name": "High",
              "value": 1
            },
            {
              "name": "Medium",
              "value": 2
            },
            {
              "name": "Low",
              "value": 3
            },
            {
              "name": "Undefined",
              "value": 4
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "action": "Add a tag to an event"
        },
        {
          "name": "Remove",
          "value": "remove",
          "action": "Remove a tag from an event"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "eventTag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "eventTag"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Tag Name or ID",
      "name": "tagId",
      "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": [
            "eventTag"
          ],
          "operation": [
            "add"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTags"
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "eventTag"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Tag Name or ID",
      "name": "tagId",
      "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": [
            "eventTag"
          ],
          "operation": [
            "remove"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTags"
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a feed"
        },
        {
          "name": "Disable",
          "value": "disable",
          "action": "Disable a feed"
        },
        {
          "name": "Enable",
          "value": "enable",
          "action": "Enable a feed"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a feed"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many feeds"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a feed"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Provider",
      "name": "provider",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Rules",
          "name": "json",
          "type": "string",
          "default": "",
          "description": "Filter rules for the feed"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Feed ID",
      "name": "feedId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the feed",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "disable"
          ]
        }
      }
    },
    {
      "displayName": "Feed ID",
      "name": "feedId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the feed",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "enable"
          ]
        }
      }
    },
    {
      "displayName": "Feed ID",
      "name": "feedId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the feed",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "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": [
            "feed"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Feed ID",
      "name": "feedId",
      "type": "string",
      "default": "",
      "description": "ID of the feed to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Distribution",
          "name": "distribution",
          "type": "options",
          "default": 0,
          "description": "Who will be able to see this event once published",
          "options": [
            {
              "name": "All Communities",
              "value": 3
            },
            {
              "name": "Connected Communities",
              "value": 2
            },
            {
              "name": "Inherit Event",
              "value": 5
            },
            {
              "name": "Sharing Group",
              "value": 4
            },
            {
              "name": "This Community Only",
              "value": 1
            },
            {
              "name": "Your Organization Only",
              "value": 0
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Provider",
          "name": "provider",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Rules",
          "name": "rules",
          "type": "json",
          "default": "",
          "description": "Filter rules for the feed"
        },
        {
          "displayName": "URL",
          "name": "url",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "feed"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a galaxy"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a galaxy"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many galaxies"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "galaxy"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Galaxy ID",
      "name": "galaxyId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the galaxy",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "galaxy"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Galaxy ID",
      "name": "galaxyId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the galaxy",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "galaxy"
          ],
          "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": [
            "galaxy"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "galaxy"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get a noticelist"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many noticelists"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "noticelist"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Noticelist ID",
      "name": "noticelistId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the noticelist",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "noticelist"
          ],
          "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": [
            "noticelist"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "noticelist"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "search",
      "options": [
        {
          "name": "Search",
          "value": "search",
          "action": "Get a filtered list of objects"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "object"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Use JSON to Specify Fields",
      "name": "useJson",
      "type": "boolean",
      "default": false,
      "description": "Whether to use JSON to specify the fields for the search request",
      "displayOptions": {
        "show": {
          "resource": [
            "object"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "JSON",
      "name": "jsonOutput",
      "type": "json",
      "default": "{\n  \"value\": \"search value\",\n  \"type\": \"text\"\n}\n",
      "description": "Get more info at {YOUR_BASE_URL_SPECIFIED_IN_CREDENTIALS}/api/openapi#operation/restSearchAttributes",
      "displayOptions": {
        "show": {
          "useJson": [
            true
          ],
          "resource": [
            "object"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "object"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Category",
          "name": "category",
          "type": "string",
          "placeholder": "e.g. Internal reference",
          "default": ""
        },
        {
          "displayName": "Deleted",
          "name": "deleted",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Search All",
          "name": "searchall",
          "type": "string",
          "description": "Search by matching any tag names, event descriptions, attribute values or attribute comments",
          "default": "",
          "displayOptions": {
            "hide": {
              "/resource": [
                "attribute"
              ]
            }
          }
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "placeholder": "e.g. tag1,tag2",
          "hint": "Comma-separated list of tags",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "placeholder": "e.g. text",
          "default": ""
        },
        {
          "displayName": "Published",
          "name": "published",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "useJson": [
            false
          ],
          "resource": [
            "object"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an organization"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an organization"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an organization"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many organizations"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an organization"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Created by Email",
          "name": "created_by_email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Nationality",
          "name": "nationality",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Sector",
          "name": "sector",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "User Count",
          "name": "usercount",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Organisation ID",
      "name": "organisationId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the organisation",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Organisation ID",
      "name": "organisationId",
      "type": "string",
      "default": "",
      "description": "UUID or numeric ID of the organisation",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "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": [
            "organisation"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Organisation ID",
      "name": "organisationId",
      "type": "string",
      "default": "",
      "description": "ID of the organisation to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Nationality",
          "name": "nationality",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Sector",
          "name": "sector",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organisation"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a tag"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a tag"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many tags"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a tag"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Color",
          "description": "Hex color code for the tag",
          "name": "colour",
          "type": "color",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Tag ID",
      "name": "tagId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the attribute",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "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": [
            "tag"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Tag ID",
      "name": "tagId",
      "type": "string",
      "default": "",
      "description": "ID of the tag to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Color",
          "description": "Hex color code for the tag",
          "name": "colour",
          "type": "color",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a user"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a user"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a user"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many users"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Role ID",
      "name": "role_id",
      "type": "string",
      "default": "",
      "description": "Role IDs are available in the MISP dashboard at /roles/index",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "GPG Key",
          "name": "gpgkey",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Inviter Email or ID",
          "name": "invited_by",
          "type": "options",
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getUsers"
          }
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getOrgs"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "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": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "User ID",
      "name": "userId",
      "type": "string",
      "default": "",
      "description": "ID of the user to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "GPG Key",
          "name": "gpgkey",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Inviter Name or ID",
          "name": "invited_by",
          "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": "getUsers"
          }
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getOrgs"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get a warninglist"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many warninglists"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "warninglist"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Warninglist ID",
      "name": "warninglistId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the warninglist",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "warninglist"
          ],
          "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": [
            "warninglist"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "warninglist"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create"
    },
    {
      "operation": "delete",
      "name": "Delete"
    },
    {
      "operation": "get",
      "name": "Get"
    },
    {
      "operation": "getAll",
      "name": "Get Many"
    },
    {
      "operation": "search",
      "name": "Search"
    },
    {
      "operation": "update",
      "name": "Update"
    }
  ]


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

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

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-06 10:26:56
tool_variant_of: nodes-base.mistralAi
properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Mistral AI"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "document",
      "options": [
        {
          "name": "Document",
          "value": "document"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "extractText",
      "options": [
        {
          "name": "Extract Text",
          "value": "extractText",
          "description": "Extract text from document using OCR",
          "action": "Extract text"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "document"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Model",
      "name": "model",
      "type": "options",
      "default": "mistral-ocr-latest",
      "description": "The OCR model to use",
      "options": [
        {
          "name": "mistral-ocr-latest",
          "value": "mistral-ocr-latest"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "document"
          ],
          "operation": [
            "extractText"
          ]
        }
      }
    },
    {
      "displayName": "Document Type",
      "name": "documentType",
      "type": "options",
      "default": "document_url",
      "description": "The type of document to process",
      "options": [
        {
          "name": "Document",
          "value": "document_url"
        },
        {
          "name": "Image",
          "value": "image_url"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "document"
          ],
          "operation": [
            "extractText"
          ]
        }
      }
    },
    {
      "displayName": "Input Type",
      "name": "inputType",
      "type": "options",
      "default": "binary",
      "description": "How the document will be provided",
      "options": [
        {
          "name": "Binary Data",
          "value": "binary"
        },
        {
          "name": "URL",
          "value": "url"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "document"
          ],
          "operation": [
            "extractText"
          ]
        }
      }
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryProperty",
      "type": "string",
      "default": "data",
      "description": "Name of the input binary field that contains the file to process",
      "required": true,
      "displayOptions": {
        "show": {
          "inputType": [
            "binary"
          ],
          "resource": [
            "document"
          ],
          "operation": [
            "extractText"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "URL of the document or image to process",
      "required": true,
      "displayOptions": {
        "show": {
          "inputType": [
            "url"
          ],
          "resource": [
            "document"
          ],
          "operation": [
            "extractText"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Enable Batch Processing",
          "name": "batch",
          "type": "boolean",
          "description": "Whether to process multiple documents in a single API call (more cost-efficient)",
          "default": false
        },
        {
          "displayName": "Batch Size",
          "name": "batchSize",
          "type": "number",
          "description": "Maximum number of documents to process in a single batch",
          "default": 50,
          "typeOptions": {
            "maxValue": 2048
          },
          "required": true,
          "displayOptions": {
            "show": {
              "batch": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Delete Files After Processing",
          "name": "deleteFiles",
          "type": "boolean",
          "default": true,
          "description": "Whether to delete the files on Mistral Cloud after processing",
          "displayOptions": {
            "show": {
              "batch": [
                true
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "document"
          ],
          "operation": [
            "extractText"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "extractText",
      "name": "Extract Text",
      "description": "Extract text from document using OCR"
    }
  ]


