# nodes

node_type: nodes-base.microsoftExcel
package_name: n8n-nodes-base
display_name: Microsoft Excel 365
description: Consume Microsoft Excel API
category: input
development_style: programmatic
version: 2.1
credentials_required:
  [
  {
  "name": "microsoftExcelOAuth2Api",
  "required": true
  }
  ]

updated_at: 2025-06-23 20:51:55
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft Excel 365 node documentation
  description: Learn how to use the Microsoft Excel node in n8n. Follow technical documentation to integrate Microsoft Excel node into your workflows.
  contentType: [integration, reference]
  priority: high
  ---

  # Microsoft Excel 365 node

  Use the Microsoft Excel node to automate work in Microsoft Excel, and integrate Microsoft Excel with other applications. n8n has built-in support for a wide range of Microsoft Excel features, including adding and retrieving lists of table data, and workbooks, as well as getting worksheets. 

  On this page, you'll find a list of operations the Microsoft Excel 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

  * Table
      * Adds rows to the end of the table
      * Retrieve a list of table columns
      * Retrieve a list of table rows
      * Looks for a specific column value and then returns the matching row
  * Workbook
      * Adds a new worksheet to the workbook.
      * Get data of all workbooks
  * Worksheet
      * Get all worksheets
      * Get worksheet content

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "This node connects to the Microsoft 365 cloud platform. Use the 'Extract from File' and 'Convert to File' nodes to directly manipulate spreadsheet files (.xls, .csv, etc). <a href=\"https://n8n.io/workflows/890-read-in-an-excel-spreadsheet-file/\" target=\"_blank\">More info</a>.",
      "name": "notice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "workbook",
      "options": [
        {
          "name": "Table",
          "value": "table",
          "description": "Represents an Excel table"
        },
        {
          "name": "Workbook",
          "value": "workbook",
          "description": "A workbook is the top level object which contains one or more worksheets"
        },
        {
          "name": "Sheet",
          "value": "worksheet",
          "description": "A sheet is a grid of cells which can contain data, tables, charts, etc"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "append",
      "options": [
        {
          "name": "Append",
          "value": "append",
          "description": "Add rows to the end of the table",
          "action": "Append rows to table"
        },
        {
          "name": "Convert to Range",
          "value": "convertToRange",
          "description": "Convert a table to a range",
          "action": "Convert to range"
        },
        {
          "name": "Create",
          "value": "addTable",
          "description": "Add a table based on range",
          "action": "Create a table"
        },
        {
          "name": "Delete",
          "value": "deleteTable",
          "description": "Delete a table",
          "action": "Delete a table"
        },
        {
          "name": "Get Columns",
          "value": "getColumns",
          "description": "Retrieve a list of table columns",
          "action": "Get columns"
        },
        {
          "name": "Get Rows",
          "value": "getRows",
          "description": "Retrieve a list of table rows",
          "action": "Get rows"
        },
        {
          "name": "Lookup",
          "value": "lookup",
          "description": "Look for rows that match a given value in a column",
          "action": "Lookup a column"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Data Mode",
      "name": "dataMode",
      "type": "options",
      "default": "define",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "autoMap",
          "description": "Use when node input properties match destination column names"
        },
        {
          "name": "Map Each Column Below",
          "value": "define",
          "description": "Set the value for each destination column"
        },
        {
          "name": "Raw",
          "value": "raw",
          "description": "Send raw data as JSON"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Data",
      "name": "data",
      "type": "json",
      "default": "",
      "description": "Raw values for the specified range as array of string arrays in JSON format",
      "required": true,
      "displayOptions": {
        "show": {
          "dataMode": [
            "raw"
          ],
          "resource": [
            "table"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Values to Send",
      "name": "fieldsUi",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "typeOptions": {
                "loadOptionsDependsOn": [
                  "table.value",
                  "worksheet.value",
                  "workbook.value"
                ],
                "loadOptionsMethod": "getTableColumns"
              },
              "default": ""
            },
            {
              "displayName": "Value",
              "name": "fieldValue",
              "type": "string",
              "default": "",
              "requiresDataPath": "single"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "dataMode": [
            "define"
          ],
          "resource": [
            "table"
          ],
          "operation": [
            "append"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Index",
          "name": "index",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Specifies the relative position of the new row. If not defined, the addition happens at the end. Any row below the inserted row will be shifted downwards. First row index is 0."
        },
        {
          "displayName": "RAW Data",
          "name": "rawData",
          "type": "boolean",
          "default": 0,
          "description": "Whether the data should be returned RAW instead of parsed into keys according to their header"
        },
        {
          "displayName": "Data Property",
          "name": "dataProperty",
          "type": "string",
          "default": "data",
          "required": true,
          "displayOptions": {
            "show": {
              "rawData": [
                true
              ]
            }
          },
          "description": "The name of the property into which to write the RAW data"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "addTable"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "addTable"
          ]
        }
      }
    },
    {
      "displayName": "Select Range",
      "name": "selectRange",
      "type": "options",
      "default": "auto",
      "options": [
        {
          "name": "Automatically",
          "value": "auto",
          "description": "The whole used range on the selected sheet will be converted into a table"
        },
        {
          "name": "Manually",
          "value": "manual",
          "description": "Select a range that will be converted into a table"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "addTable"
          ]
        }
      }
    },
    {
      "displayName": "Range",
      "name": "range",
      "type": "string",
      "default": "",
      "description": "The range of cells that will be converted to a table",
      "displayOptions": {
        "show": {
          "selectRange": [
            "manual"
          ],
          "resource": [
            "table"
          ],
          "operation": [
            "addTable"
          ]
        }
      }
    },
    {
      "displayName": "Has Headers",
      "name": "hasHeaders",
      "type": "boolean",
      "default": true,
      "description": "Whether the range has column labels. When this property set to false Excel will automatically generate header shifting the data down by one row.",
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "addTable"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "convertToRange"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "convertToRange"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "convertToRange"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "deleteTable"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "deleteTable"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "deleteTable"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "getColumns"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "getColumns"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "getColumns"
          ]
        }
      }
    },
    {
      "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": [
            "table"
          ],
          "operation": [
            "getColumns"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "table"
          ],
          "operation": [
            "getColumns"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "RAW Data",
      "name": "rawData",
      "type": "boolean",
      "default": false,
      "description": "Whether the data should be returned RAW instead of parsed into keys according to their header",
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "getColumns"
          ]
        }
      }
    },
    {
      "displayName": "Data Property",
      "name": "dataProperty",
      "type": "string",
      "default": "data",
      "description": "The name of the property into which to write the RAW data",
      "displayOptions": {
        "show": {
          "rawData": [
            true
          ],
          "resource": [
            "table"
          ],
          "operation": [
            "getColumns"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "A comma-separated list of the fields to include in the response"
        }
      ],
      "displayOptions": {
        "show": {
          "rawData": [
            true
          ],
          "resource": [
            "table"
          ],
          "operation": [
            "getColumns"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "getRows"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "getRows"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "getRows"
          ]
        }
      }
    },
    {
      "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": [
            "table"
          ],
          "operation": [
            "getRows"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "table"
          ],
          "operation": [
            "getRows"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "RAW Data",
      "name": "rawData",
      "type": "boolean",
      "default": false,
      "description": "Whether the data should be returned RAW instead of parsed into keys according to their header",
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "getRows"
          ]
        }
      }
    },
    {
      "displayName": "Data Property",
      "name": "dataProperty",
      "type": "string",
      "default": "data",
      "description": "The name of the property into which to write the RAW data",
      "displayOptions": {
        "show": {
          "rawData": [
            true
          ],
          "resource": [
            "table"
          ],
          "operation": [
            "getRows"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "A comma-separated list of the fields to include in the response",
          "displayOptions": {
            "show": {
              "/rawData": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Column Names or IDs",
          "name": "column",
          "type": "multiOptions",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsDependsOn": [
              "table.value",
              "worksheet.value",
              "workbook.value"
            ],
            "loadOptionsMethod": "getTableColumns"
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/rawData": [
                false
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "getRows"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "lookup"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "lookup"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "lookup"
          ]
        }
      }
    },
    {
      "displayName": "Lookup Column",
      "name": "lookupColumn",
      "type": "string",
      "default": "",
      "description": "The name of the column in which to look for value",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "lookup"
          ]
        }
      }
    },
    {
      "displayName": "Lookup Value",
      "name": "lookupValue",
      "type": "string",
      "default": "",
      "description": "The value to look for in column",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "lookup"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return All Matches",
          "name": "returnAllMatches",
          "type": "boolean",
          "default": false,
          "description": "By default only the first result gets returned. If options gets set all found matches get returned."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "table"
          ],
          "operation": [
            "lookup"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Add Sheet",
          "value": "addWorksheet",
          "description": "Add a new sheet to the workbook",
          "action": "Add a sheet to a workbook"
        },
        {
          "name": "Delete",
          "value": "deleteWorkbook",
          "description": "Delete workbook",
          "action": "Delete workbook"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get workbooks",
          "action": "Get workbooks"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "workbook"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "workbook"
          ],
          "operation": [
            "addWorksheet"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The name of the sheet to be added. The name should be unique. If not specified, Excel will determine the name of the new worksheet."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "workbook"
          ],
          "operation": [
            "addWorksheet"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "workbook"
          ],
          "operation": [
            "deleteWorkbook"
          ]
        }
      }
    },
    {
      "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": [
            "workbook"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "workbook"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "A comma-separated list of the fields to include in the response"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "workbook"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Append",
          "value": "append",
          "description": "Append data to sheet",
          "action": "Append data to sheet"
        },
        {
          "name": "Append or Update",
          "value": "upsert",
          "description": "Append a new row or update the current one if it already exists (upsert)",
          "action": "Append or update a sheet"
        },
        {
          "name": "Clear",
          "value": "clear",
          "description": "Clear sheet",
          "action": "Clear sheet"
        },
        {
          "name": "Delete",
          "value": "deleteWorksheet",
          "description": "Delete sheet",
          "action": "Delete sheet"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get a list of sheets",
          "action": "Get sheets"
        },
        {
          "name": "Get Rows",
          "value": "readRows",
          "description": "Retrieve a list of sheet rows",
          "action": "Get rows from sheet"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update rows of a sheet or sheet range",
          "action": "Update sheet"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Data Mode",
      "name": "dataMode",
      "type": "options",
      "default": "define",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "autoMap",
          "description": "Use when node input properties match destination column names"
        },
        {
          "name": "Map Each Column Below",
          "value": "define",
          "description": "Set the value for each destination column"
        },
        {
          "name": "Raw",
          "value": "raw",
          "description": "Send raw data as JSON"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Data",
      "name": "data",
      "type": "json",
      "default": "",
      "description": "Raw values for the specified range as array of string arrays in JSON format",
      "required": true,
      "displayOptions": {
        "show": {
          "dataMode": [
            "raw"
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Values to Send",
      "name": "fieldsUi",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "typeOptions": {
                "loadOptionsDependsOn": [
                  "worksheet.value"
                ],
                "loadOptionsMethod": "getWorksheetColumnRow"
              },
              "default": ""
            },
            {
              "displayName": "Value",
              "name": "fieldValue",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "dataMode": [
            "define"
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "append"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "RAW Data",
          "name": "rawData",
          "type": "boolean",
          "default": 0,
          "description": "Whether the data should be returned RAW instead of parsed into keys according to their header"
        },
        {
          "displayName": "Data Property",
          "name": "dataProperty",
          "type": "string",
          "default": "data",
          "required": true,
          "displayOptions": {
            "show": {
              "rawData": [
                true
              ]
            }
          },
          "description": "The name of the property into which to write the RAW data"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "append"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "clear"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "clear"
          ]
        }
      }
    },
    {
      "displayName": "Apply To",
      "name": "applyTo",
      "type": "options",
      "default": "All",
      "options": [
        {
          "name": "All",
          "value": "All",
          "description": "Clear data in cells and remove all formatting"
        },
        {
          "name": "Formats",
          "value": "Formats",
          "description": "Clear formatting(e.g. font size, color) of cells"
        },
        {
          "name": "Contents",
          "value": "Contents",
          "description": "Clear data contained in cells"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "clear"
          ]
        }
      }
    },
    {
      "displayName": "Select a Range",
      "name": "useRange",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "clear"
          ]
        }
      }
    },
    {
      "displayName": "Range",
      "name": "range",
      "type": "string",
      "default": "",
      "description": "The sheet range that would be cleared, specified using a A1-style notation",
      "displayOptions": {
        "show": {
          "useRange": [
            true
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "clear"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "deleteWorksheet"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "deleteWorksheet"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "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": [
            "worksheet"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "A comma-separated list of the fields to include in the response"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "readRows"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "readRows"
          ]
        }
      }
    },
    {
      "displayName": "Select a Range",
      "name": "useRange",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "readRows"
          ]
        }
      }
    },
    {
      "displayName": "Range",
      "name": "range",
      "type": "string",
      "default": "",
      "description": "The sheet range to read the data from specified using a A1-style notation, has to be specific e.g A1:B5, generic ranges like A:B are not supported",
      "displayOptions": {
        "show": {
          "useRange": [
            true
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "readRows"
          ]
        }
      }
    },
    {
      "displayName": "Header Row",
      "name": "keyRow",
      "type": "number",
      "default": 0,
      "description": "Relative to selected 'Range', first row index is 0",
      "displayOptions": {
        "show": {
          "useRange": [
            true
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "readRows"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0
      }
    },
    {
      "displayName": "First Data Row",
      "name": "dataStartRow",
      "type": "number",
      "default": 1,
      "description": "Relative to selected 'Range', first row index is 0",
      "displayOptions": {
        "show": {
          "useRange": [
            true
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "readRows"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "RAW Data",
          "name": "rawData",
          "type": "boolean",
          "default": 0,
          "description": "Whether the data should be returned RAW instead of parsed into keys according to their header"
        },
        {
          "displayName": "Data Property",
          "name": "dataProperty",
          "type": "string",
          "default": "data",
          "required": true,
          "displayOptions": {
            "show": {
              "rawData": [
                true
              ]
            }
          },
          "description": "The name of the property into which to write the RAW data"
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "Fields the response will containt. Multiple can be added separated by ,.",
          "displayOptions": {
            "show": {
              "rawData": [
                true
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "readRows"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Select a Range",
      "name": "useRange",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Range",
      "name": "range",
      "type": "string",
      "default": "",
      "description": "The sheet range to read the data from specified using a A1-style notation, has to be specific e.g A1:B5, generic ranges like A:B are not supported. Leave blank to use whole used range in the sheet.",
      "displayOptions": {
        "show": {
          "dataMode": [
            "autoMap",
            "define"
          ],
          "useRange": [
            true
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Range",
      "name": "range",
      "type": "string",
      "default": "",
      "description": "The sheet range to read the data from specified using a A1-style notation",
      "displayOptions": {
        "show": {
          "dataMode": [
            "raw"
          ],
          "useRange": [
            true
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Data Mode",
      "name": "dataMode",
      "type": "options",
      "default": "define",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "autoMap",
          "description": "Use when node input properties match destination column names"
        },
        {
          "name": "Map Each Column Below",
          "value": "define",
          "description": "Set the value for each destination column"
        },
        {
          "name": "Raw",
          "value": "raw",
          "description": "Send raw data as JSON, the whole selected range would be updated with the new values"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Data",
      "name": "data",
      "type": "json",
      "default": "",
      "description": "Raw values for the specified range as array of string arrays in JSON format. Should match the specified range: one array item for each row.",
      "required": true,
      "displayOptions": {
        "show": {
          "dataMode": [
            "raw"
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Column to match on",
      "name": "columnToMatchOn",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "displayOptions": {
        "show": {
          "dataMode": [
            "autoMap",
            "define"
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "worksheet.value",
          "workbook.value",
          "range"
        ],
        "loadOptionsMethod": "getWorksheetColumnRow"
      }
    },
    {
      "displayName": "Value of Column to Match On",
      "name": "valueToMatchOn",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "dataMode": [
            "define"
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Values to Send",
      "name": "fieldsUi",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "typeOptions": {
                "loadOptionsDependsOn": [
                  "columnToMatchOn",
                  "range"
                ],
                "loadOptionsMethod": "getWorksheetColumnRowSkipColumnToMatchOn"
              },
              "default": ""
            },
            {
              "displayName": "Value",
              "name": "fieldValue",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "dataMode": [
            "define"
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "RAW Data",
          "name": "rawData",
          "type": "boolean",
          "default": 0,
          "description": "Whether the data should be returned RAW instead of parsed into keys according to their header"
        },
        {
          "displayName": "Data Property",
          "name": "dataProperty",
          "type": "string",
          "default": "data",
          "required": true,
          "displayOptions": {
            "show": {
              "rawData": [
                true
              ]
            }
          },
          "description": "The name of the property into which to write the RAW data"
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "Fields the response will containt. Multiple can be added separated by ,.",
          "displayOptions": {
            "show": {
              "rawData": [
                true
              ]
            }
          }
        },
        {
          "displayName": "Update All Matches",
          "name": "updateAll",
          "type": "boolean",
          "default": false,
          "description": "Whether to update all matching rows or just the first match",
          "displayOptions": {
            "hide": {
              "/dataMode": [
                "raw"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Workbook",
      "name": "workbook",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Sheet",
      "name": "worksheet",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Select a Range",
      "name": "useRange",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Range",
      "name": "range",
      "type": "string",
      "default": "",
      "description": "The sheet range to read the data from specified using a A1-style notation, has to be specific e.g A1:B5, generic ranges like A:B are not supported. Leave blank to use whole used range in the sheet.",
      "displayOptions": {
        "show": {
          "dataMode": [
            "autoMap",
            "define"
          ],
          "useRange": [
            true
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Data Mode",
      "name": "dataMode",
      "type": "options",
      "default": "define",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "autoMap",
          "description": "Use when node input properties match destination column names"
        },
        {
          "name": "Map Each Column Below",
          "value": "define",
          "description": "Set the value for each destination column"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Column to match on",
      "name": "columnToMatchOn",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "displayOptions": {
        "show": {
          "dataMode": [
            "autoMap",
            "define"
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "worksheet.value",
          "workbook.value",
          "range"
        ],
        "loadOptionsMethod": "getWorksheetColumnRow"
      }
    },
    {
      "displayName": "Value of Column to Match On",
      "name": "valueToMatchOn",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "dataMode": [
            "define"
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Values to Send",
      "name": "fieldsUi",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Field",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "typeOptions": {
                "loadOptionsDependsOn": [
                  "columnToMatchOn",
                  "range"
                ],
                "loadOptionsMethod": "getWorksheetColumnRowSkipColumnToMatchOn"
              },
              "default": ""
            },
            {
              "displayName": "Value",
              "name": "fieldValue",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "dataMode": [
            "define"
          ],
          "resource": [
            "worksheet"
          ],
          "operation": [
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Append After Selected Range",
          "name": "appendAfterSelectedRange",
          "type": "boolean",
          "default": false,
          "description": "Whether to append data after the selected range or used range",
          "displayOptions": {
            "show": {
              "/dataMode": [
                "autoMap",
                "define"
              ],
              "/useRange": [
                true
              ]
            }
          }
        },
        {
          "displayName": "RAW Data",
          "name": "rawData",
          "type": "boolean",
          "default": 0,
          "description": "Whether the data should be returned RAW instead of parsed into keys according to their header"
        },
        {
          "displayName": "Data Property",
          "name": "dataProperty",
          "type": "string",
          "default": "data",
          "required": true,
          "displayOptions": {
            "show": {
              "rawData": [
                true
              ]
            }
          },
          "description": "The name of the property into which to write the RAW data"
        },
        {
          "displayName": "Update All Matches",
          "name": "updateAll",
          "type": "boolean",
          "default": false,
          "description": "Whether to update all matching rows or just the first match"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "worksheet"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "append",
      "name": "Append",
      "description": "Add rows to the end of the table"
    },
    {
      "operation": "convertToRange",
      "name": "Convert to Range",
      "description": "Convert a table to a range"
    },
    {
      "operation": "addTable",
      "name": "Create",
      "description": "Add a table based on range"
    },
    {
      "operation": "deleteTable",
      "name": "Delete",
      "description": "Delete a table"
    },
    {
      "operation": "getColumns",
      "name": "Get Columns",
      "description": "Retrieve a list of table columns"
    },
    {
      "operation": "getRows",
      "name": "Get Rows",
      "description": "Retrieve a list of table rows"
    },
    {
      "operation": "lookup",
      "name": "Lookup",
      "description": "Look for rows that match a given value in a column"
    }
  ]


node_type: nodes-base.microsoftGraphSecurity
package_name: n8n-nodes-base
display_name: Microsoft Graph Security
description: Consume the Microsoft Graph Security API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "microsoftGraphSecurityOAuth2Api",
  "required": true
  }
  ]

updated_at: 2025-06-23 20:51:55
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft Graph Security node documentation
  description: Learn how to use the Microsoft Graph Security node in n8n. Follow technical documentation to integrate Microsoft Graph Security node into your workflows.
  contentType: [integration, reference]
  ---

  # Microsoft Graph Security node

  Use the Microsoft Graph Security node to automate work in Microsoft Graph Security, and integrate Microsoft Graph Security with other applications. n8n has built-in support for a wide range of Microsoft Graph Security features, including getting, and updating scores, and profiles. 

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

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

  ## Operations

  * Secure Score
      * Get
      * Get All
  * Secure Score Control Profile
      * 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-graph-security') ]]

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "secureScore",
      "options": [
        {
          "name": "Secure Score",
          "value": "secureScore"
        },
        {
          "name": "Secure Score Control Profile",
          "value": "secureScoreControlProfile"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get a secure score"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many secure scores"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "secureScore"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Secure Score ID",
      "name": "secureScoreId",
      "type": "string",
      "default": "",
      "description": "ID of the secure score to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "secureScore"
          ],
          "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": [
            "secureScore"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "secureScore"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query Parameter",
          "name": "filter",
          "description": "<a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter\">Query parameter</a> to filter results by",
          "type": "string",
          "default": "",
          "placeholder": "currentScore eq 13"
        },
        {
          "displayName": "Include Control Scores",
          "name": "includeControlScores",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "secureScore"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get a secure score control profile"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many secure score control profiles"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a secure score control profile"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "secureScoreControlProfile"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Secure Score Control Profile ID",
      "name": "secureScoreControlProfileId",
      "type": "string",
      "default": "",
      "description": "ID of the secure score control profile to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "secureScoreControlProfile"
          ],
          "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": [
            "secureScoreControlProfile"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "secureScoreControlProfile"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query Parameter",
          "name": "filter",
          "description": "<a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter\">Query parameter</a> to filter results by",
          "type": "string",
          "default": "",
          "placeholder": "startsWith(id, 'AATP')"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "secureScoreControlProfile"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Secure Score Control Profile ID",
      "name": "secureScoreControlProfileId",
      "type": "string",
      "default": "",
      "description": "ID of the secure score control profile to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "secureScoreControlProfile"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Provider",
      "name": "provider",
      "type": "string",
      "default": "",
      "description": "Name of the provider of the security product or service",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "secureScoreControlProfile"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Vendor",
      "name": "vendor",
      "type": "string",
      "default": "",
      "description": "Name of the vendor of the security product or service",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "secureScoreControlProfile"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "State",
          "name": "state",
          "type": "options",
          "default": "Default",
          "description": "Analyst driven setting on the control",
          "options": [
            {
              "name": "Default",
              "value": "Default"
            },
            {
              "name": "Ignored",
              "value": "Ignored"
            },
            {
              "name": "Third Party",
              "value": "ThirdParty"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "secureScoreControlProfile"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "get",
      "name": "Get"
    },
    {
      "operation": "getAll",
      "name": "Get Many"
    }
  ]


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

updated_at: 2025-06-23 20:51:55
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft OneDrive node documentation
  description: Learn how to use the Microsoft OneDrive node in n8n. Follow technical documentation to integrate Microsoft OneDrive node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Microsoft OneDrive node

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

  On this page, you'll find a list of operations the Microsoft OneDrive 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

  * File
      * Copy a file
      * Delete a file
      * Download a file
      * Get a file
      * Rename a file
      * Search a file
      * Share a file
      * Upload a file up to 4MB in size
  * Folder
      * Create a folder
      * Delete a folder
      * Get Children (get items inside a folder)
      * Rename a folder
      * Search a folder
      * Share a folder

  ## Templates and examples

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

  ## Related resources

  Refer to [Microsoft's OneDrive API documentation](https://learn.microsoft.com/en-us/onedrive/developer/rest-api/){:target=_blank .external-link} for more information about the service.

  ## Find the folder ID

  To perform operations on folders, you need to supply the ID. You can find this:

  * In the URL of the folder
  * By searching for it using the node. You need to do this if using MS 365 (where OneDrive uses SharePoint behind the scenes):
  	1. Select **Resource** > **Folder**.
  	2. Select **Operation** > **Search**.
  	3. In **Query**, enter the folder name.
  	4. Select **Execute step**. n8n runs the query and returns data about the folder, including an `id` field containing the folder ID.

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "file",
      "options": [
        {
          "name": "File",
          "value": "file"
        },
        {
          "name": "Folder",
          "value": "folder"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "upload",
      "options": [
        {
          "name": "Copy",
          "value": "copy",
          "description": "Copy a file",
          "action": "Copy a file"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a file",
          "action": "Delete a file"
        },
        {
          "name": "Download",
          "value": "download",
          "description": "Download a file",
          "action": "Download a file"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a file",
          "action": "Get a file"
        },
        {
          "name": "Rename",
          "value": "rename",
          "description": "Rename a file",
          "action": "Rename a file"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search a file",
          "action": "Search a file"
        },
        {
          "name": "Share",
          "value": "share",
          "description": "Share a file",
          "action": "Share a file"
        },
        {
          "name": "Upload",
          "value": "upload",
          "description": "Upload a file up to 4MB in size",
          "action": "Upload a file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "copy"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The new name for the copy. If this isn't provided, the same name will be used as the original."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "copy"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Parent Reference",
      "name": "parentReference",
      "type": "collection",
      "default": {},
      "description": "Reference to the parent item the copy will be created in <a href=\"https://docs.microsoft.com/en-us/onedrive/developer/rest-api/resources/itemreference?view=odsp-graph-online\"> Details </a>",
      "options": [
        {
          "displayName": "Drive ID",
          "name": "driveId",
          "type": "string",
          "default": "",
          "description": "Identifier of the drive instance that contains the item"
        },
        {
          "displayName": "Drive Type",
          "name": "driveType",
          "type": "string",
          "default": "",
          "description": "Identifies the type of drive"
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "default": "",
          "description": "Identifier of the item in the drive"
        },
        {
          "displayName": "List ID",
          "name": "listId",
          "type": "string",
          "default": "",
          "description": "Identifier of the list"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The name of the item being referenced"
        },
        {
          "displayName": "Path",
          "name": "path",
          "type": "string",
          "default": "",
          "description": "Path that can be used to navigate to the item"
        },
        {
          "displayName": "Share ID",
          "name": "shareId",
          "type": "string",
          "default": "",
          "description": "Identifier for a shared resource that can be accessed via the Shares API"
        },
        {
          "displayName": "Site ID",
          "name": "siteId",
          "type": "string",
          "default": "",
          "description": "Identifier of the site"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "copy"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "description": "Field ID",
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "download"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Put Output File in Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "download"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "description": "Field ID",
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Item ID",
      "name": "itemId",
      "type": "string",
      "default": "",
      "description": "ID of the file",
      "displayOptions": {
        "show": {
          "operation": [
            "rename"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "New Name",
      "name": "newName",
      "type": "string",
      "default": "",
      "description": "New name for file",
      "displayOptions": {
        "show": {
          "operation": [
            "rename"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content.",
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "share"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "options",
      "default": "",
      "description": "The type of sharing link to create",
      "options": [
        {
          "name": "View",
          "value": "view"
        },
        {
          "name": "Edit",
          "value": "edit"
        },
        {
          "name": "Embed",
          "value": "embed"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "share"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Scope",
      "name": "scope",
      "type": "options",
      "default": "",
      "description": "The type of sharing link to create",
      "options": [
        {
          "name": "Anonymous",
          "value": "anonymous"
        },
        {
          "name": "Organization",
          "value": "organization"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "share"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File Name",
      "name": "fileName",
      "type": "string",
      "default": "",
      "description": "The name the file should be saved as",
      "displayOptions": {
        "show": {
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Parent ID",
      "name": "parentId",
      "type": "string",
      "default": "",
      "description": "ID of the parent folder that will contain the file",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Binary File",
      "name": "binaryData",
      "type": "boolean",
      "default": false,
      "description": "Whether the data to upload should be taken from binary field",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File Content",
      "name": "fileContent",
      "type": "string",
      "default": "",
      "description": "The text content of the file",
      "required": true,
      "displayOptions": {
        "show": {
          "binaryData": [
            false
          ],
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "binaryData": [
            true
          ],
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getChildren",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a folder",
          "action": "Create a folder"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a folder",
          "action": "Delete a folder"
        },
        {
          "name": "Get Children",
          "value": "getChildren",
          "description": "Get items inside a folder",
          "action": "Get items in a folder"
        },
        {
          "name": "Rename",
          "value": "rename",
          "description": "Rename a folder",
          "action": "Rename a folder"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search a folder",
          "action": "Search a folder"
        },
        {
          "name": "Share",
          "value": "share",
          "description": "Share a folder",
          "action": "Share a folder"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name or path of the folder",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "folder"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Parent Folder ID",
          "name": "parentFolderId",
          "type": "string",
          "default": "",
          "description": "ID of the folder you want to crate the new folder in"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "folder"
          ]
        }
      }
    },
    {
      "displayName": "Folder ID",
      "name": "folderId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "delete",
            "getChildren"
          ],
          "resource": [
            "folder"
          ]
        }
      }
    },
    {
      "displayName": "Item ID",
      "name": "itemId",
      "type": "string",
      "default": "",
      "description": "ID of the folder",
      "displayOptions": {
        "show": {
          "operation": [
            "rename"
          ],
          "resource": [
            "folder"
          ]
        }
      }
    },
    {
      "displayName": "New Name",
      "name": "newName",
      "type": "string",
      "default": "",
      "description": "New name for folder",
      "displayOptions": {
        "show": {
          "operation": [
            "rename"
          ],
          "resource": [
            "folder"
          ]
        }
      }
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content.",
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "resource": [
            "folder"
          ]
        }
      }
    },
    {
      "displayName": "Folder ID",
      "name": "folderId",
      "type": "string",
      "default": "",
      "description": "File ID",
      "displayOptions": {
        "show": {
          "operation": [
            "share"
          ],
          "resource": [
            "folder"
          ]
        }
      }
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "options",
      "default": "",
      "description": "The type of sharing link to create",
      "options": [
        {
          "name": "View",
          "value": "view"
        },
        {
          "name": "Edit",
          "value": "edit"
        },
        {
          "name": "Embed",
          "value": "embed"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "share"
          ],
          "resource": [
            "folder"
          ]
        }
      }
    },
    {
      "displayName": "Scope",
      "name": "scope",
      "type": "options",
      "default": "",
      "description": "The type of sharing link to create",
      "options": [
        {
          "name": "Anonymous",
          "value": "anonymous"
        },
        {
          "name": "Organization",
          "value": "organization"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "share"
          ],
          "resource": [
            "folder"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "copy",
      "name": "Copy",
      "description": "Copy a file"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a file"
    },
    {
      "operation": "download",
      "name": "Download",
      "description": "Download a file"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a file"
    },
    {
      "operation": "rename",
      "name": "Rename",
      "description": "Rename a file"
    },
    {
      "operation": "search",
      "name": "Search",
      "description": "Search a file"
    },
    {
      "operation": "share",
      "name": "Share",
      "description": "Share a file"
    },
    {
      "operation": "upload",
      "name": "Upload",
      "description": "Upload a file up to 4MB in size"
    }
  ]


node_type: nodes-base.microsoftOneDriveTrigger
package_name: n8n-nodes-base
display_name: Microsoft OneDrive Trigger
description: Trigger for Microsoft OneDrive API.
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "microsoftOneDriveOAuth2Api",
  "required": true
  }
  ]

updated_at: 2025-06-23 20:51:55
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft OneDrive Trigger node documentation
  description: Learn how to use the Microsoft OneDrive Trigger node in n8n. Follow technical documentation to integrate Microsoft OneDrive Trigger node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Microsoft OneDrive Trigger node

  Use the Microsoft OneDrive Trigger node to respond to events in [Microsoft OneDrive](https://www.microsoft.com/en-us/microsoft-365/onedrive/online-cloud-storage){:target=_blank .external-link} and integrate Microsoft OneDrive with other applications. n8n has built-in support for file and folder events in OneDrive.

  On this page, you'll find a list of events the Microsoft OneDrive 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).
  ///

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

  ## Events

  * On File Created
  * On File Updated
  * On Folder Created
  * On Folder Updates

  ## Related resources

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

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

  Refer to [Microsoft's OneDrive API documentation](https://learn.microsoft.com/en-us/onedrive/developer/rest-api/){:target=_blank .external-link} for more information about the service.

properties_schema:
  [
    {
      "displayName": "Trigger On",
      "name": "event",
      "type": "options",
      "default": "fileCreated",
      "options": [
        {
          "name": "File Created",
          "value": "fileCreated",
          "description": "When a new file is created"
        },
        {
          "name": "File Updated",
          "value": "fileUpdated",
          "description": "When an existing file is modified"
        },
        {
          "name": "Folder Created",
          "value": "folderCreated",
          "description": "When a new folder is created"
        },
        {
          "name": "Folder Updated",
          "value": "folderUpdated",
          "description": "When an existing folder is modified"
        }
      ]
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data"
    },
    {
      "displayName": "Watch Folder",
      "name": "watchFolder",
      "type": "boolean",
      "default": false,
      "description": "Whether to watch for the created file in a given folder, rather than the entire OneDrive",
      "displayOptions": {
        "show": {
          "event": [
            "fileCreated"
          ]
        }
      }
    },
    {
      "displayName": "Watch",
      "name": "watch",
      "type": "options",
      "default": "anyFile",
      "description": "How to select which file to watch",
      "options": [
        {
          "name": "Any File",
          "value": "anyFile",
          "description": "Watch for updated files in the entire OneDrive"
        },
        {
          "name": "Inside a Folder",
          "value": "selectedFolder",
          "description": "Watch for updated files inside a selected folder"
        },
        {
          "name": "A Selected File",
          "value": "selectedFile",
          "description": "Watch a specific file for updates"
        }
      ],
      "displayOptions": {
        "show": {
          "event": [
            "fileUpdated"
          ]
        }
      }
    },
    {
      "displayName": "Watch Folder",
      "name": "watchFolder",
      "type": "boolean",
      "default": false,
      "description": "Whether to watch for the created folder in a given folder, rather than the entire OneDrive",
      "displayOptions": {
        "show": {
          "event": [
            "folderCreated"
          ]
        }
      }
    },
    {
      "displayName": "Watch",
      "name": "watch",
      "type": "options",
      "default": "anyFolder",
      "description": "How to select which folder to watch",
      "options": [
        {
          "name": "Any Folder",
          "value": "anyFolder",
          "description": "Watch for updated folders in the entire OneDrive"
        },
        {
          "name": "Inside a Folder",
          "value": "selectedFolder",
          "description": "Watch for updated folders inside a selected folder"
        },
        {
          "name": "A Selected Folder",
          "value": "oneSelectedFolder",
          "description": "Watch a specific folder for updates"
        }
      ],
      "displayOptions": {
        "show": {
          "event": [
            "folderUpdated"
          ]
        }
      }
    },
    {
      "displayName": "File",
      "name": "fileId",
      "type": "resourceLocator",
      "default": {
        "mode": "id",
        "value": ""
      },
      "description": "The file to operate on. The 'By URL' option only accepts URLs that start with 'https://onedrive.live.com'.",
      "required": true,
      "displayOptions": {
        "show": {
          "event": [
            "fileUpdated"
          ],
          "watch": [
            "selectedFile"
          ]
        }
      }
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "id",
        "value": "",
        "cachedResultName": ""
      },
      "description": "The folder to operate on. The 'By URL' option only accepts URLs that start with 'https://onedrive.live.com'.",
      "required": true,
      "displayOptions": {
        "show": {
          "watch": [
            "selectedFolder",
            "oneSelectedFolder"
          ]
        }
      }
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "id",
        "value": "",
        "cachedResultName": ""
      },
      "description": "The folder to operate on. The 'By URL' option only accepts URLs that start with 'https://onedrive.live.com'.",
      "required": true,
      "displayOptions": {
        "show": {
          "watchFolder": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Watch Nested Folders",
          "name": "folderChild",
          "type": "boolean",
          "default": false,
          "description": "Whether to look for modified files/folders in all nested folders, rather than only direct descendants"
        }
      ],
      "displayOptions": {
        "show": {
          "watch": [
            "selectedFolder"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Watch Nested Folders",
          "name": "folderChild",
          "type": "boolean",
          "default": false,
          "description": "Whether to look for modified files/folders in all nested folders, rather than only direct descendants"
        }
      ],
      "displayOptions": {
        "show": {
          "watchFolder": [
            true
          ]
        }
      }
    }
  ]


node_type: nodes-base.microsoftOutlook
package_name: n8n-nodes-base
display_name: Microsoft Outlook
description: Consume Microsoft Outlook API
category: transform
development_style: programmatic
version: 2
credentials_required:
  [
  {
  "name": "microsoftOutlookOAuth2Api",
  "required": true
  }
  ]

updated_at: 2025-06-23 20:51:55
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft Outlook node documentation
  description: Learn how to use the Microsoft Outlook node in n8n. Follow technical documentation to integrate Microsoft Outlook node into your workflows.
  contentType: [integration, reference]
  priority: high
  ---

  # Microsoft Outlook node

  Use the Microsoft Outlook node to automate work in Microsoft Outlook, and integrate Microsoft Outlook with other applications. n8n has built-in support for a wide range of Microsoft Outlook features, including creating, updating, deleting, and getting folders, messages, and drafts. 

  On this page, you'll find a list of operations the Microsoft Outlook 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

  * Calendar
  	* Create
  	* Delete
  	* Get
  	* Get Many
  	* Update
  * Contact
  	* Create
  	* Delete
  	* Get
  	* Get Many
  	* Update
  * Draft
  	* Create
  	* Delete
  	* Get
  	* Send
  	* Update
  * Event
  	* Create
  	* Delete
  	* Get
  	* Get Many
  	* Update
  * Folder
  	* Create
  	* Delete
  	* Get
  	* Get Many
  	* Update
  * Folder Message
      * Get Many
  * Message
  	* Delete
  	* Get
  	* Get Many
  	* Move
  	* Reply
  	* Send
  	* Send and Wait for Response
  	* Update
  * Message Attachment
  	* Add
  	* Download
  	* Get
  	* Get Many

  --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-outlook') ]]

  ## Related resources

  Refer to [Outlook's API documentation](https://learn.microsoft.com/en-us/outlook/rest/get-started){: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": "message",
      "options": [
        {
          "name": "Calendar",
          "value": "calendar"
        },
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "Draft",
          "value": "draft"
        },
        {
          "name": "Event",
          "value": "event"
        },
        {
          "name": "Folder",
          "value": "folder"
        },
        {
          "name": "Folder Message",
          "value": "folderMessage"
        },
        {
          "name": "Message",
          "value": "message"
        },
        {
          "name": "Message Attachment",
          "value": "messageAttachment"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new calendar",
          "action": "Create a calendar"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a calendar",
          "action": "Delete a calendar"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a calendar",
          "action": "Get a calendar"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "List and search calendars",
          "action": "Get many calendars"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a calendar",
          "action": "Update a calendar"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the calendar to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Calendar Group",
          "name": "calendarGroup",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getCalendarGroups"
          },
          "default": [],
          "description": "If set, the calendar will be created in the specified calendar group. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Color",
          "name": "color",
          "type": "options",
          "default": "lightBlue",
          "options": [
            {
              "name": "Light Blue",
              "value": "lightBlue"
            },
            {
              "name": "Light Brown",
              "value": "lightBrown"
            },
            {
              "name": "Light Gray",
              "value": "lightGray"
            },
            {
              "name": "Light Green",
              "value": "lightGreen"
            },
            {
              "name": "Light Orange",
              "value": "lightOrange"
            },
            {
              "name": "Light Pink",
              "value": "lightPink"
            },
            {
              "name": "Light Red",
              "value": "lightRed"
            },
            {
              "name": "Light Teal",
              "value": "lightTeal"
            },
            {
              "name": "Light Yellow",
              "value": "lightYellow"
            }
          ],
          "description": "Specify the color to distinguish the calendar from the others"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "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": [
            "calendar"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "calendar"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query",
          "name": "custom",
          "type": "string",
          "default": "",
          "placeholder": "e.g. canShare eq true",
          "hint": "Search query to filter calendars. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Color",
          "name": "color",
          "type": "options",
          "default": "lightBlue",
          "options": [
            {
              "name": "Light Blue",
              "value": "lightBlue"
            },
            {
              "name": "Light Brown",
              "value": "lightBrown"
            },
            {
              "name": "Light Gray",
              "value": "lightGray"
            },
            {
              "name": "Light Green",
              "value": "lightGreen"
            },
            {
              "name": "Light Orange",
              "value": "lightOrange"
            },
            {
              "name": "Light Pink",
              "value": "lightPink"
            },
            {
              "name": "Light Red",
              "value": "lightRed"
            },
            {
              "name": "Light Teal",
              "value": "lightTeal"
            },
            {
              "name": "Light Yellow",
              "value": "lightYellow"
            }
          ],
          "description": "Specify the color to distinguish the calendar from the others"
        },
        {
          "displayName": "Default Calendar",
          "name": "isDefaultCalendar",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "placeholder": "e.g. My Calendar",
          "description": "The name of the calendar"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new contact",
          "action": "Create a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "List and search contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "First Name",
      "name": "givenName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "surname",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assistant Name",
          "name": "assistantName",
          "type": "string",
          "default": "",
          "description": "The name of the contact's assistant"
        },
        {
          "displayName": "Birthday",
          "name": "birthday",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Business Address",
          "name": "businessAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Business Home Page",
          "name": "businessHomePage",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Business Phones",
          "name": "businessPhones",
          "type": "string",
          "description": "Comma-separated list of business phone numbers",
          "default": ""
        },
        {
          "displayName": "Categories",
          "name": "categories",
          "description": "Comma-separated list of categories associated with the contact",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Children",
          "name": "children",
          "description": "Comma-separated list of names of the contact's children",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Company Name",
          "name": "companyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Display Name",
          "name": "displayName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email Address",
          "name": "emailAddresses",
          "type": "fixedCollection",
          "placeholder": "Add Email",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Email",
              "name": "values",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address",
                  "name": "address",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "File As",
          "name": "fileAs",
          "type": "string",
          "default": "",
          "description": "The name the contact is filed under"
        },
        {
          "displayName": "Home Address",
          "name": "homeAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Home Phones",
          "name": "homePhones",
          "type": "string",
          "default": "",
          "hint": "Multiple phones can be added separated by ,"
        },
        {
          "displayName": "Instant Messaging Addresses",
          "name": "imAddresses",
          "description": "The contact's instant messaging (IM) addresses",
          "type": "string",
          "default": "",
          "hint": "Multiple addresses can be added separated by ,"
        },
        {
          "displayName": "Initials",
          "name": "initials",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "jobTitle",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "description": "The name of the contact's manager"
        },
        {
          "displayName": "Middle Name",
          "name": "middleName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "givenName",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/operation": [
                "update"
              ]
            }
          }
        },
        {
          "displayName": "Nickname",
          "name": "nickName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Office Location",
          "name": "officeLocation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Other Address",
          "name": "otherAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Personal Notes",
          "name": "personalNotes",
          "type": "string",
          "default": "",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          }
        },
        {
          "displayName": "Profession",
          "name": "profession",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Spouse Name",
          "name": "spouseName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Surname",
          "name": "surname",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Contact",
      "name": "contactId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Contact",
      "name": "contactId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "birthday",
          "value": "birthday"
        },
        {
          "name": "fileAs",
          "value": "fileAs"
        },
        {
          "name": "displayName",
          "value": "displayName"
        },
        {
          "name": "givenName",
          "value": "givenName"
        },
        {
          "name": "initials",
          "value": "initials"
        },
        {
          "name": "middleName",
          "value": "middleName"
        },
        {
          "name": "nickName",
          "value": "nickName"
        },
        {
          "name": "surname",
          "value": "surname"
        },
        {
          "name": "title",
          "value": "title"
        },
        {
          "name": "yomiGivenName",
          "value": "yomiGivenName"
        },
        {
          "name": "yomiSurname",
          "value": "yomiSurname"
        },
        {
          "name": "yomiCompanyName",
          "value": "yomiCompanyName"
        },
        {
          "name": "generation",
          "value": "generation"
        },
        {
          "name": "imAddresses",
          "value": "imAddresses"
        },
        {
          "name": "jobTitle",
          "value": "jobTitle"
        },
        {
          "name": "companyName",
          "value": "companyName"
        },
        {
          "name": "department",
          "value": "department"
        },
        {
          "name": "officeLocation",
          "value": "officeLocation"
        },
        {
          "name": "profession",
          "value": "profession"
        },
        {
          "name": "businessHomePage",
          "value": "businessHomePage"
        },
        {
          "name": "assistantName",
          "value": "assistantName"
        },
        {
          "name": "manager",
          "value": "manager"
        },
        {
          "name": "homePhones",
          "value": "homePhones"
        },
        {
          "name": "mobilePhone",
          "value": "mobilePhone"
        },
        {
          "name": "businessPhones",
          "value": "businessPhones"
        },
        {
          "name": "spouseName",
          "value": "spouseName"
        },
        {
          "name": "personalNotes",
          "value": "personalNotes"
        },
        {
          "name": "children",
          "value": "children"
        },
        {
          "name": "emailAddresses",
          "value": "emailAddresses"
        },
        {
          "name": "homeAddress",
          "value": "homeAddress"
        },
        {
          "name": "businessAddress",
          "value": "businessAddress"
        },
        {
          "name": "otherAddress",
          "value": "otherAddress"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "contact"
          ],
          "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": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "birthday",
          "value": "birthday"
        },
        {
          "name": "fileAs",
          "value": "fileAs"
        },
        {
          "name": "displayName",
          "value": "displayName"
        },
        {
          "name": "givenName",
          "value": "givenName"
        },
        {
          "name": "initials",
          "value": "initials"
        },
        {
          "name": "middleName",
          "value": "middleName"
        },
        {
          "name": "nickName",
          "value": "nickName"
        },
        {
          "name": "surname",
          "value": "surname"
        },
        {
          "name": "title",
          "value": "title"
        },
        {
          "name": "yomiGivenName",
          "value": "yomiGivenName"
        },
        {
          "name": "yomiSurname",
          "value": "yomiSurname"
        },
        {
          "name": "yomiCompanyName",
          "value": "yomiCompanyName"
        },
        {
          "name": "generation",
          "value": "generation"
        },
        {
          "name": "imAddresses",
          "value": "imAddresses"
        },
        {
          "name": "jobTitle",
          "value": "jobTitle"
        },
        {
          "name": "companyName",
          "value": "companyName"
        },
        {
          "name": "department",
          "value": "department"
        },
        {
          "name": "officeLocation",
          "value": "officeLocation"
        },
        {
          "name": "profession",
          "value": "profession"
        },
        {
          "name": "businessHomePage",
          "value": "businessHomePage"
        },
        {
          "name": "assistantName",
          "value": "assistantName"
        },
        {
          "name": "manager",
          "value": "manager"
        },
        {
          "name": "homePhones",
          "value": "homePhones"
        },
        {
          "name": "mobilePhone",
          "value": "mobilePhone"
        },
        {
          "name": "businessPhones",
          "value": "businessPhones"
        },
        {
          "name": "spouseName",
          "value": "spouseName"
        },
        {
          "name": "personalNotes",
          "value": "personalNotes"
        },
        {
          "name": "children",
          "value": "children"
        },
        {
          "name": "emailAddresses",
          "value": "emailAddresses"
        },
        {
          "name": "homeAddress",
          "value": "homeAddress"
        },
        {
          "name": "businessAddress",
          "value": "businessAddress"
        },
        {
          "name": "otherAddress",
          "value": "otherAddress"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query",
          "name": "custom",
          "type": "string",
          "default": "",
          "placeholder": "e.g. displayName eq 'John Doe'",
          "hint": "Search query to filter contacts. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
        },
        {
          "displayName": "Email Address",
          "name": "emailAddress",
          "type": "string",
          "default": "",
          "description": "If contacts that you want to retrieve have multiple email addresses, you can enter them separated by commas"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Contact",
      "name": "contactId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assistant Name",
          "name": "assistantName",
          "type": "string",
          "default": "",
          "description": "The name of the contact's assistant"
        },
        {
          "displayName": "Birthday",
          "name": "birthday",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Business Address",
          "name": "businessAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Business Home Page",
          "name": "businessHomePage",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Business Phones",
          "name": "businessPhones",
          "type": "string",
          "description": "Comma-separated list of business phone numbers",
          "default": ""
        },
        {
          "displayName": "Categories",
          "name": "categories",
          "description": "Comma-separated list of categories associated with the contact",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Children",
          "name": "children",
          "description": "Comma-separated list of names of the contact's children",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Company Name",
          "name": "companyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Display Name",
          "name": "displayName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email Address",
          "name": "emailAddresses",
          "type": "fixedCollection",
          "placeholder": "Add Email",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Email",
              "name": "values",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address",
                  "name": "address",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "File As",
          "name": "fileAs",
          "type": "string",
          "default": "",
          "description": "The name the contact is filed under"
        },
        {
          "displayName": "Home Address",
          "name": "homeAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Home Phones",
          "name": "homePhones",
          "type": "string",
          "default": "",
          "hint": "Multiple phones can be added separated by ,"
        },
        {
          "displayName": "Instant Messaging Addresses",
          "name": "imAddresses",
          "description": "The contact's instant messaging (IM) addresses",
          "type": "string",
          "default": "",
          "hint": "Multiple addresses can be added separated by ,"
        },
        {
          "displayName": "Initials",
          "name": "initials",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "jobTitle",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "description": "The name of the contact's manager"
        },
        {
          "displayName": "Middle Name",
          "name": "middleName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "givenName",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/operation": [
                "update"
              ]
            }
          }
        },
        {
          "displayName": "Nickname",
          "name": "nickName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Office Location",
          "name": "officeLocation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Other Address",
          "name": "otherAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Personal Notes",
          "name": "personalNotes",
          "type": "string",
          "default": "",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          }
        },
        {
          "displayName": "Profession",
          "name": "profession",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Spouse Name",
          "name": "spouseName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Surname",
          "name": "surname",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new email draft",
          "action": "Create a draft"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an email draft",
          "action": "Delete a draft"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an email draft",
          "action": "Get a draft"
        },
        {
          "name": "Send",
          "value": "send",
          "description": "Send an existing email draft",
          "action": "Send a draft"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an email draft",
          "action": "Update a draft"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "The subject of the message",
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "bodyContent",
      "type": "string",
      "default": "",
      "description": "Message body content",
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments",
          "name": "attachments",
          "type": "fixedCollection",
          "placeholder": "Add Attachment",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "name": "attachments",
              "displayName": "Attachment",
              "values": [
                {
                  "displayName": "Input Data Field Name",
                  "name": "binaryPropertyName",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. data",
                  "hint": "The name of the input field containing the binary file data to be attached"
                }
              ]
            }
          ]
        },
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "From",
          "name": "from",
          "description": "The owner of the mailbox from which the message is sent. Must correspond to the actual mailbox used.",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "placeholder": "e.g. replyto@example.com",
          "default": ""
        },
        {
          "displayName": "To",
          "name": "toRecipients",
          "description": "Comma-separated list of email addresses of recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Draft",
      "name": "draftId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Draft",
      "name": "draftId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "bccRecipients",
          "value": "bccRecipients"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "ccRecipients",
          "value": "ccRecipients"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "conversationId",
          "value": "conversationId"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "flag",
          "value": "flag"
        },
        {
          "name": "from",
          "value": "from"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "inferenceClassification",
          "value": "inferenceClassification"
        },
        {
          "name": "internetMessageId",
          "value": "internetMessageId"
        },
        {
          "name": "isDeliveryReceiptRequested",
          "value": "isDeliveryReceiptRequested"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isRead",
          "value": "isRead"
        },
        {
          "name": "isReadReceiptRequested",
          "value": "isReadReceiptRequested"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "receivedDateTime",
          "value": "receivedDateTime"
        },
        {
          "name": "replyTo",
          "value": "replyTo"
        },
        {
          "name": "sender",
          "value": "sender"
        },
        {
          "name": "sentDateTime",
          "value": "sentDateTime"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "toRecipients",
          "value": "toRecipients"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "draft"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments Prefix",
          "name": "attachmentsPrefix",
          "type": "string",
          "default": "attachment_",
          "description": "Prefix for name of the output fields to put the binary files data in. An index starting from 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."
        },
        {
          "displayName": "Download Attachments",
          "name": "downloadAttachments",
          "type": "boolean",
          "default": false,
          "description": "Whether the message's attachments will be downloaded and included in the output"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Draft",
      "name": "draftId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "to",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of email addresses of recipients",
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Draft",
      "name": "draftId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "From",
          "name": "from",
          "description": "The owner of the mailbox from which the message is sent. Must correspond to the actual mailbox used.",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Is Read",
          "name": "isRead",
          "description": "Whether the message must be marked as read",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Message",
          "name": "bodyContent",
          "description": "Message body content",
          "type": "string",
          "typeOptions": {
            "rows": 2
          },
          "default": ""
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "placeholder": "e.g. replyto@example.com",
          "default": ""
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "description": "The subject of the message",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "To",
          "name": "toRecipients",
          "description": "Comma-separated list of email addresses of recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new event",
          "action": "Create an event"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an event",
          "action": "Delete an event"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an event",
          "action": "Get an event"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "List and search events",
          "action": "Get many events"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an event",
          "action": "Update an event"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Start",
      "name": "startDateTime",
      "type": "dateTime",
      "default": "2025-06-23T22:51:51.753+02:00",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "End",
      "name": "endDateTime",
      "type": "dateTime",
      "default": "2025-06-23T23:21:51.753+02:00",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Categories",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "Description",
          "name": "body",
          "type": "string",
          "typeOptions": {
            "rows": 2
          },
          "default": ""
        },
        {
          "displayName": "Description Preview",
          "name": "bodyPreview",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Hide Attendees",
          "name": "hideAttendees",
          "type": "boolean",
          "default": false,
          "description": "Whether to allow each attendee to only see themselves in the meeting request and meeting tracking list"
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "High",
              "value": "high"
            }
          ],
          "default": "normal"
        },
        {
          "displayName": "Is All Day",
          "name": "isAllDay",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Cancelled",
          "name": "isCancelled",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Draft",
          "name": "isDraft",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Online Meeting",
          "name": "isOnlineMeeting",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Sensitivity",
          "name": "sensitivity",
          "type": "options",
          "default": "normal",
          "options": [
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "Personal",
              "value": "personal"
            },
            {
              "name": "Private",
              "value": "private"
            },
            {
              "name": "Confidential",
              "value": "confidential"
            }
          ]
        },
        {
          "displayName": "Show As",
          "name": "showAs",
          "type": "options",
          "default": "free",
          "options": [
            {
              "name": "Busy",
              "value": "busy"
            },
            {
              "name": "Free",
              "value": "free"
            },
            {
              "name": "Oof",
              "value": "oof"
            },
            {
              "name": "Tentative",
              "value": "tentative"
            },
            {
              "name": "Working Elsewhere",
              "value": "workingElsewhere"
            }
          ]
        },
        {
          "displayName": "Timezone",
          "name": "timeZone",
          "type": "options",
          "default": "UTC",
          "options": [
            {
              "name": "Africa/Abidjan",
              "value": "Africa/Abidjan"
            },
            {
              "name": "Africa/Accra",
              "value": "Africa/Accra"
            },
            {
              "name": "Africa/Addis_Ababa",
              "value": "Africa/Addis_Ababa"
            },
            {
              "name": "Africa/Algiers",
              "value": "Africa/Algiers"
            },
            {
              "name": "Africa/Asmara",
              "value": "Africa/Asmara"
            },
            {
              "name": "Africa/Asmera",
              "value": "Africa/Asmera"
            },
            {
              "name": "Africa/Bamako",
              "value": "Africa/Bamako"
            },
            {
              "name": "Africa/Bangui",
              "value": "Africa/Bangui"
            },
            {
              "name": "Africa/Banjul",
              "value": "Africa/Banjul"
            },
            {
              "name": "Africa/Bissau",
              "value": "Africa/Bissau"
            },
            {
              "name": "Africa/Blantyre",
              "value": "Africa/Blantyre"
            },
            {
              "name": "Africa/Brazzaville",
              "value": "Africa/Brazzaville"
            },
            {
              "name": "Africa/Bujumbura",
              "value": "Africa/Bujumbura"
            },
            {
              "name": "Africa/Cairo",
              "value": "Africa/Cairo"
            },
            {
              "name": "Africa/Casablanca",
              "value": "Africa/Casablanca"
            },
            {
              "name": "Africa/Ceuta",
              "value": "Africa/Ceuta"
            },
            {
              "name": "Africa/Conakry",
              "value": "Africa/Conakry"
            },
            {
              "name": "Africa/Dakar",
              "value": "Africa/Dakar"
            },
            {
              "name": "Africa/Dar_es_Salaam",
              "value": "Africa/Dar_es_Salaam"
            },
            {
              "name": "Africa/Djibouti",
              "value": "Africa/Djibouti"
            },
            {
              "name": "Africa/Douala",
              "value": "Africa/Douala"
            },
            {
              "name": "Africa/El_Aaiun",
              "value": "Africa/El_Aaiun"
            },
            {
              "name": "Africa/Freetown",
              "value": "Africa/Freetown"
            },
            {
              "name": "Africa/Gaborone",
              "value": "Africa/Gaborone"
            },
            {
              "name": "Africa/Harare",
              "value": "Africa/Harare"
            },
            {
              "name": "Africa/Johannesburg",
              "value": "Africa/Johannesburg"
            },
            {
              "name": "Africa/Juba",
              "value": "Africa/Juba"
            },
            {
              "name": "Africa/Kampala",
              "value": "Africa/Kampala"
            },
            {
              "name": "Africa/Khartoum",
              "value": "Africa/Khartoum"
            },
            {
              "name": "Africa/Kigali",
              "value": "Africa/Kigali"
            },
            {
              "name": "Africa/Kinshasa",
              "value": "Africa/Kinshasa"
            },
            {
              "name": "Africa/Lagos",
              "value": "Africa/Lagos"
            },
            {
              "name": "Africa/Libreville",
              "value": "Africa/Libreville"
            },
            {
              "name": "Africa/Lome",
              "value": "Africa/Lome"
            },
            {
              "name": "Africa/Luanda",
              "value": "Africa/Luanda"
            },
            {
              "name": "Africa/Lubumbashi",
              "value": "Africa/Lubumbashi"
            },
            {
              "name": "Africa/Lusaka",
              "value": "Africa/Lusaka"
            },
            {
              "name": "Africa/Malabo",
              "value": "Africa/Malabo"
            },
            {
              "name": "Africa/Maputo",
              "value": "Africa/Maputo"
            },
            {
              "name": "Africa/Maseru",
              "value": "Africa/Maseru"
            },
            {
              "name": "Africa/Mbabane",
              "value": "Africa/Mbabane"
            },
            {
              "name": "Africa/Mogadishu",
              "value": "Africa/Mogadishu"
            },
            {
              "name": "Africa/Monrovia",
              "value": "Africa/Monrovia"
            },
            {
              "name": "Africa/Nairobi",
              "value": "Africa/Nairobi"
            },
            {
              "name": "Africa/Ndjamena",
              "value": "Africa/Ndjamena"
            },
            {
              "name": "Africa/Niamey",
              "value": "Africa/Niamey"
            },
            {
              "name": "Africa/Nouakchott",
              "value": "Africa/Nouakchott"
            },
            {
              "name": "Africa/Ouagadougou",
              "value": "Africa/Ouagadougou"
            },
            {
              "name": "Africa/Porto-Novo",
              "value": "Africa/Porto-Novo"
            },
            {
              "name": "Africa/Sao_Tome",
              "value": "Africa/Sao_Tome"
            },
            {
              "name": "Africa/Timbuktu",
              "value": "Africa/Timbuktu"
            },
            {
              "name": "Africa/Tripoli",
              "value": "Africa/Tripoli"
            },
            {
              "name": "Africa/Tunis",
              "value": "Africa/Tunis"
            },
            {
              "name": "Africa/Windhoek",
              "value": "Africa/Windhoek"
            },
            {
              "name": "America/Adak",
              "value": "America/Adak"
            },
            {
              "name": "America/Anchorage",
              "value": "America/Anchorage"
            },
            {
              "name": "America/Anguilla",
              "value": "America/Anguilla"
            },
            {
              "name": "America/Antigua",
              "value": "America/Antigua"
            },
            {
              "name": "America/Araguaina",
              "value": "America/Araguaina"
            },
            {
              "name": "America/Argentina/Buenos_Aires",
              "value": "America/Argentina/Buenos_Aires"
            },
            {
              "name": "America/Argentina/Catamarca",
              "value": "America/Argentina/Catamarca"
            },
            {
              "name": "America/Argentina/ComodRivadavia",
              "value": "America/Argentina/ComodRivadavia"
            },
            {
              "name": "America/Argentina/Cordoba",
              "value": "America/Argentina/Cordoba"
            },
            {
              "name": "America/Argentina/Jujuy",
              "value": "America/Argentina/Jujuy"
            },
            {
              "name": "America/Argentina/La_Rioja",
              "value": "America/Argentina/La_Rioja"
            },
            {
              "name": "America/Argentina/Mendoza",
              "value": "America/Argentina/Mendoza"
            },
            {
              "name": "America/Argentina/Rio_Gallegos",
              "value": "America/Argentina/Rio_Gallegos"
            },
            {
              "name": "America/Argentina/Salta",
              "value": "America/Argentina/Salta"
            },
            {
              "name": "America/Argentina/San_Juan",
              "value": "America/Argentina/San_Juan"
            },
            {
              "name": "America/Argentina/San_Luis",
              "value": "America/Argentina/San_Luis"
            },
            {
              "name": "America/Argentina/Tucuman",
              "value": "America/Argentina/Tucuman"
            },
            {
              "name": "America/Argentina/Ushuaia",
              "value": "America/Argentina/Ushuaia"
            },
            {
              "name": "America/Aruba",
              "value": "America/Aruba"
            },
            {
              "name": "America/Asuncion",
              "value": "America/Asuncion"
            },
            {
              "name": "America/Atikokan",
              "value": "America/Atikokan"
            },
            {
              "name": "America/Atka",
              "value": "America/Atka"
            },
            {
              "name": "America/Bahia",
              "value": "America/Bahia"
            },
            {
              "name": "America/Bahia_Banderas",
              "value": "America/Bahia_Banderas"
            },
            {
              "name": "America/Barbados",
              "value": "America/Barbados"
            },
            {
              "name": "America/Belem",
              "value": "America/Belem"
            },
            {
              "name": "America/Belize",
              "value": "America/Belize"
            },
            {
              "name": "America/Blanc-Sablon",
              "value": "America/Blanc-Sablon"
            },
            {
              "name": "America/Boa_Vista",
              "value": "America/Boa_Vista"
            },
            {
              "name": "America/Bogota",
              "value": "America/Bogota"
            },
            {
              "name": "America/Boise",
              "value": "America/Boise"
            },
            {
              "name": "America/Buenos_Aires",
              "value": "America/Buenos_Aires"
            },
            {
              "name": "America/Cambridge_Bay",
              "value": "America/Cambridge_Bay"
            },
            {
              "name": "America/Campo_Grande",
              "value": "America/Campo_Grande"
            },
            {
              "name": "America/Cancun",
              "value": "America/Cancun"
            },
            {
              "name": "America/Caracas",
              "value": "America/Caracas"
            },
            {
              "name": "America/Catamarca",
              "value": "America/Catamarca"
            },
            {
              "name": "America/Cayenne",
              "value": "America/Cayenne"
            },
            {
              "name": "America/Cayman",
              "value": "America/Cayman"
            },
            {
              "name": "America/Chicago",
              "value": "America/Chicago"
            },
            {
              "name": "America/Chihuahua",
              "value": "America/Chihuahua"
            },
            {
              "name": "America/Coral_Harbour",
              "value": "America/Coral_Harbour"
            },
            {
              "name": "America/Cordoba",
              "value": "America/Cordoba"
            },
            {
              "name": "America/Costa_Rica",
              "value": "America/Costa_Rica"
            },
            {
              "name": "America/Creston",
              "value": "America/Creston"
            },
            {
              "name": "America/Cuiaba",
              "value": "America/Cuiaba"
            },
            {
              "name": "America/Curacao",
              "value": "America/Curacao"
            },
            {
              "name": "America/Danmarkshavn",
              "value": "America/Danmarkshavn"
            },
            {
              "name": "America/Dawson",
              "value": "America/Dawson"
            },
            {
              "name": "America/Dawson_Creek",
              "value": "America/Dawson_Creek"
            },
            {
              "name": "America/Denver",
              "value": "America/Denver"
            },
            {
              "name": "America/Detroit",
              "value": "America/Detroit"
            },
            {
              "name": "America/Dominica",
              "value": "America/Dominica"
            },
            {
              "name": "America/Edmonton",
              "value": "America/Edmonton"
            },
            {
              "name": "America/Eirunepe",
              "value": "America/Eirunepe"
            },
            {
              "name": "America/El_Salvador",
              "value": "America/El_Salvador"
            },
            {
              "name": "America/Ensenada",
              "value": "America/Ensenada"
            },
            {
              "name": "America/Fort_Nelson",
              "value": "America/Fort_Nelson"
            },
            {
              "name": "America/Fort_Wayne",
              "value": "America/Fort_Wayne"
            },
            {
              "name": "America/Fortaleza",
              "value": "America/Fortaleza"
            },
            {
              "name": "America/Glace_Bay",
              "value": "America/Glace_Bay"
            },
            {
              "name": "America/Godthab",
              "value": "America/Godthab"
            },
            {
              "name": "America/Goose_Bay",
              "value": "America/Goose_Bay"
            },
            {
              "name": "America/Grand_Turk",
              "value": "America/Grand_Turk"
            },
            {
              "name": "America/Grenada",
              "value": "America/Grenada"
            },
            {
              "name": "America/Guadeloupe",
              "value": "America/Guadeloupe"
            },
            {
              "name": "America/Guatemala",
              "value": "America/Guatemala"
            },
            {
              "name": "America/Guayaquil",
              "value": "America/Guayaquil"
            },
            {
              "name": "America/Guyana",
              "value": "America/Guyana"
            },
            {
              "name": "America/Halifax",
              "value": "America/Halifax"
            },
            {
              "name": "America/Havana",
              "value": "America/Havana"
            },
            {
              "name": "America/Hermosillo",
              "value": "America/Hermosillo"
            },
            {
              "name": "America/Indiana/Indianapolis",
              "value": "America/Indiana/Indianapolis"
            },
            {
              "name": "America/Indiana/Knox",
              "value": "America/Indiana/Knox"
            },
            {
              "name": "America/Indiana/Marengo",
              "value": "America/Indiana/Marengo"
            },
            {
              "name": "America/Indiana/Petersburg",
              "value": "America/Indiana/Petersburg"
            },
            {
              "name": "America/Indiana/Tell_City",
              "value": "America/Indiana/Tell_City"
            },
            {
              "name": "America/Indiana/Vevay",
              "value": "America/Indiana/Vevay"
            },
            {
              "name": "America/Indiana/Vincennes",
              "value": "America/Indiana/Vincennes"
            },
            {
              "name": "America/Indiana/Winamac",
              "value": "America/Indiana/Winamac"
            },
            {
              "name": "America/Indianapolis",
              "value": "America/Indianapolis"
            },
            {
              "name": "America/Inuvik",
              "value": "America/Inuvik"
            },
            {
              "name": "America/Iqaluit",
              "value": "America/Iqaluit"
            },
            {
              "name": "America/Jamaica",
              "value": "America/Jamaica"
            },
            {
              "name": "America/Jujuy",
              "value": "America/Jujuy"
            },
            {
              "name": "America/Juneau",
              "value": "America/Juneau"
            },
            {
              "name": "America/Kentucky/Louisville",
              "value": "America/Kentucky/Louisville"
            },
            {
              "name": "America/Kentucky/Monticello",
              "value": "America/Kentucky/Monticello"
            },
            {
              "name": "America/Knox_IN",
              "value": "America/Knox_IN"
            },
            {
              "name": "America/Kralendijk",
              "value": "America/Kralendijk"
            },
            {
              "name": "America/La_Paz",
              "value": "America/La_Paz"
            },
            {
              "name": "America/Lima",
              "value": "America/Lima"
            },
            {
              "name": "America/Los_Angeles",
              "value": "America/Los_Angeles"
            },
            {
              "name": "America/Louisville",
              "value": "America/Louisville"
            },
            {
              "name": "America/Lower_Princes",
              "value": "America/Lower_Princes"
            },
            {
              "name": "America/Maceio",
              "value": "America/Maceio"
            },
            {
              "name": "America/Managua",
              "value": "America/Managua"
            },
            {
              "name": "America/Manaus",
              "value": "America/Manaus"
            },
            {
              "name": "America/Marigot",
              "value": "America/Marigot"
            },
            {
              "name": "America/Martinique",
              "value": "America/Martinique"
            },
            {
              "name": "America/Matamoros",
              "value": "America/Matamoros"
            },
            {
              "name": "America/Mazatlan",
              "value": "America/Mazatlan"
            },
            {
              "name": "America/Mendoza",
              "value": "America/Mendoza"
            },
            {
              "name": "America/Menominee",
              "value": "America/Menominee"
            },
            {
              "name": "America/Merida",
              "value": "America/Merida"
            },
            {
              "name": "America/Metlakatla",
              "value": "America/Metlakatla"
            },
            {
              "name": "America/Mexico_City",
              "value": "America/Mexico_City"
            },
            {
              "name": "America/Miquelon",
              "value": "America/Miquelon"
            },
            {
              "name": "America/Moncton",
              "value": "America/Moncton"
            },
            {
              "name": "America/Monterrey",
              "value": "America/Monterrey"
            },
            {
              "name": "America/Montevideo",
              "value": "America/Montevideo"
            },
            {
              "name": "America/Montreal",
              "value": "America/Montreal"
            },
            {
              "name": "America/Montserrat",
              "value": "America/Montserrat"
            },
            {
              "name": "America/Nassau",
              "value": "America/Nassau"
            },
            {
              "name": "America/New_York",
              "value": "America/New_York"
            },
            {
              "name": "America/Nipigon",
              "value": "America/Nipigon"
            },
            {
              "name": "America/Nome",
              "value": "America/Nome"
            },
            {
              "name": "America/Noronha",
              "value": "America/Noronha"
            },
            {
              "name": "America/North_Dakota/Beulah",
              "value": "America/North_Dakota/Beulah"
            },
            {
              "name": "America/North_Dakota/Center",
              "value": "America/North_Dakota/Center"
            },
            {
              "name": "America/North_Dakota/New_Salem",
              "value": "America/North_Dakota/New_Salem"
            },
            {
              "name": "America/Nuuk",
              "value": "America/Nuuk"
            },
            {
              "name": "America/Ojinaga",
              "value": "America/Ojinaga"
            },
            {
              "name": "America/Panama",
              "value": "America/Panama"
            },
            {
              "name": "America/Pangnirtung",
              "value": "America/Pangnirtung"
            },
            {
              "name": "America/Paramaribo",
              "value": "America/Paramaribo"
            },
            {
              "name": "America/Phoenix",
              "value": "America/Phoenix"
            },
            {
              "name": "America/Port-au-Prince",
              "value": "America/Port-au-Prince"
            },
            {
              "name": "America/Port_of_Spain",
              "value": "America/Port_of_Spain"
            },
            {
              "name": "America/Porto_Acre",
              "value": "America/Porto_Acre"
            },
            {
              "name": "America/Porto_Velho",
              "value": "America/Porto_Velho"
            },
            {
              "name": "America/Puerto_Rico",
              "value": "America/Puerto_Rico"
            },
            {
              "name": "America/Punta_Arenas",
              "value": "America/Punta_Arenas"
            },
            {
              "name": "America/Rainy_River",
              "value": "America/Rainy_River"
            },
            {
              "name": "America/Rankin_Inlet",
              "value": "America/Rankin_Inlet"
            },
            {
              "name": "America/Recife",
              "value": "America/Recife"
            },
            {
              "name": "America/Regina",
              "value": "America/Regina"
            },
            {
              "name": "America/Resolute",
              "value": "America/Resolute"
            },
            {
              "name": "America/Rio_Branco",
              "value": "America/Rio_Branco"
            },
            {
              "name": "America/Rosario",
              "value": "America/Rosario"
            },
            {
              "name": "America/Santa_Isabel",
              "value": "America/Santa_Isabel"
            },
            {
              "name": "America/Santarem",
              "value": "America/Santarem"
            },
            {
              "name": "America/Santiago",
              "value": "America/Santiago"
            },
            {
              "name": "America/Santo_Domingo",
              "value": "America/Santo_Domingo"
            },
            {
              "name": "America/Sao_Paulo",
              "value": "America/Sao_Paulo"
            },
            {
              "name": "America/Scoresbysund",
              "value": "America/Scoresbysund"
            },
            {
              "name": "America/Shiprock",
              "value": "America/Shiprock"
            },
            {
              "name": "America/Sitka",
              "value": "America/Sitka"
            },
            {
              "name": "America/St_Barthelemy",
              "value": "America/St_Barthelemy"
            },
            {
              "name": "America/St_Johns",
              "value": "America/St_Johns"
            },
            {
              "name": "America/St_Kitts",
              "value": "America/St_Kitts"
            },
            {
              "name": "America/St_Lucia",
              "value": "America/St_Lucia"
            },
            {
              "name": "America/St_Thomas",
              "value": "America/St_Thomas"
            },
            {
              "name": "America/St_Vincent",
              "value": "America/St_Vincent"
            },
            {
              "name": "America/Swift_Current",
              "value": "America/Swift_Current"
            },
            {
              "name": "America/Tegucigalpa",
              "value": "America/Tegucigalpa"
            },
            {
              "name": "America/Thule",
              "value": "America/Thule"
            },
            {
              "name": "America/Thunder_Bay",
              "value": "America/Thunder_Bay"
            },
            {
              "name": "America/Tijuana",
              "value": "America/Tijuana"
            },
            {
              "name": "America/Toronto",
              "value": "America/Toronto"
            },
            {
              "name": "America/Tortola",
              "value": "America/Tortola"
            },
            {
              "name": "America/Vancouver",
              "value": "America/Vancouver"
            },
            {
              "name": "America/Virgin",
              "value": "America/Virgin"
            },
            {
              "name": "America/Whitehorse",
              "value": "America/Whitehorse"
            },
            {
              "name": "America/Winnipeg",
              "value": "America/Winnipeg"
            },
            {
              "name": "America/Yakutat",
              "value": "America/Yakutat"
            },
            {
              "name": "America/Yellowknife",
              "value": "America/Yellowknife"
            },
            {
              "name": "Antarctica/Casey",
              "value": "Antarctica/Casey"
            },
            {
              "name": "Antarctica/Davis",
              "value": "Antarctica/Davis"
            },
            {
              "name": "Antarctica/DumontDUrville",
              "value": "Antarctica/DumontDUrville"
            },
            {
              "name": "Antarctica/Macquarie",
              "value": "Antarctica/Macquarie"
            },
            {
              "name": "Antarctica/Mawson",
              "value": "Antarctica/Mawson"
            },
            {
              "name": "Antarctica/McMurdo",
              "value": "Antarctica/McMurdo"
            },
            {
              "name": "Antarctica/Palmer",
              "value": "Antarctica/Palmer"
            },
            {
              "name": "Antarctica/Rothera",
              "value": "Antarctica/Rothera"
            },
            {
              "name": "Antarctica/South_Pole",
              "value": "Antarctica/South_Pole"
            },
            {
              "name": "Antarctica/Syowa",
              "value": "Antarctica/Syowa"
            },
            {
              "name": "Antarctica/Troll",
              "value": "Antarctica/Troll"
            },
            {
              "name": "Antarctica/Vostok",
              "value": "Antarctica/Vostok"
            },
            {
              "name": "Arctic/Longyearbyen",
              "value": "Arctic/Longyearbyen"
            },
            {
              "name": "Asia/Aden",
              "value": "Asia/Aden"
            },
            {
              "name": "Asia/Almaty",
              "value": "Asia/Almaty"
            },
            {
              "name": "Asia/Amman",
              "value": "Asia/Amman"
            },
            {
              "name": "Asia/Anadyr",
              "value": "Asia/Anadyr"
            },
            {
              "name": "Asia/Aqtau",
              "value": "Asia/Aqtau"
            },
            {
              "name": "Asia/Aqtobe",
              "value": "Asia/Aqtobe"
            },
            {
              "name": "Asia/Ashgabat",
              "value": "Asia/Ashgabat"
            },
            {
              "name": "Asia/Ashkhabad",
              "value": "Asia/Ashkhabad"
            },
            {
              "name": "Asia/Atyrau",
              "value": "Asia/Atyrau"
            },
            {
              "name": "Asia/Baghdad",
              "value": "Asia/Baghdad"
            },
            {
              "name": "Asia/Bahrain",
              "value": "Asia/Bahrain"
            },
            {
              "name": "Asia/Baku",
              "value": "Asia/Baku"
            },
            {
              "name": "Asia/Bangkok",
              "value": "Asia/Bangkok"
            },
            {
              "name": "Asia/Barnaul",
              "value": "Asia/Barnaul"
            },
            {
              "name": "Asia/Beirut",
              "value": "Asia/Beirut"
            },
            {
              "name": "Asia/Bishkek",
              "value": "Asia/Bishkek"
            },
            {
              "name": "Asia/Brunei",
              "value": "Asia/Brunei"
            },
            {
              "name": "Asia/Calcutta",
              "value": "Asia/Calcutta"
            },
            {
              "name": "Asia/Chita",
              "value": "Asia/Chita"
            },
            {
              "name": "Asia/Choibalsan",
              "value": "Asia/Choibalsan"
            },
            {
              "name": "Asia/Chongqing",
              "value": "Asia/Chongqing"
            },
            {
              "name": "Asia/Chungking",
              "value": "Asia/Chungking"
            },
            {
              "name": "Asia/Colombo",
              "value": "Asia/Colombo"
            },
            {
              "name": "Asia/Dacca",
              "value": "Asia/Dacca"
            },
            {
              "name": "Asia/Damascus",
              "value": "Asia/Damascus"
            },
            {
              "name": "Asia/Dhaka",
              "value": "Asia/Dhaka"
            },
            {
              "name": "Asia/Dili",
              "value": "Asia/Dili"
            },
            {
              "name": "Asia/Dubai",
              "value": "Asia/Dubai"
            },
            {
              "name": "Asia/Dushanbe",
              "value": "Asia/Dushanbe"
            },
            {
              "name": "Asia/Famagusta",
              "value": "Asia/Famagusta"
            },
            {
              "name": "Asia/Gaza",
              "value": "Asia/Gaza"
            },
            {
              "name": "Asia/Harbin",
              "value": "Asia/Harbin"
            },
            {
              "name": "Asia/Hebron",
              "value": "Asia/Hebron"
            },
            {
              "name": "Asia/Ho_Chi_Minh",
              "value": "Asia/Ho_Chi_Minh"
            },
            {
              "name": "Asia/Hong_Kong",
              "value": "Asia/Hong_Kong"
            },
            {
              "name": "Asia/Hovd",
              "value": "Asia/Hovd"
            },
            {
              "name": "Asia/Irkutsk",
              "value": "Asia/Irkutsk"
            },
            {
              "name": "Asia/Istanbul",
              "value": "Asia/Istanbul"
            },
            {
              "name": "Asia/Jakarta",
              "value": "Asia/Jakarta"
            },
            {
              "name": "Asia/Jayapura",
              "value": "Asia/Jayapura"
            },
            {
              "name": "Asia/Jerusalem",
              "value": "Asia/Jerusalem"
            },
            {
              "name": "Asia/Kabul",
              "value": "Asia/Kabul"
            },
            {
              "name": "Asia/Kamchatka",
              "value": "Asia/Kamchatka"
            },
            {
              "name": "Asia/Karachi",
              "value": "Asia/Karachi"
            },
            {
              "name": "Asia/Kashgar",
              "value": "Asia/Kashgar"
            },
            {
              "name": "Asia/Kathmandu",
              "value": "Asia/Kathmandu"
            },
            {
              "name": "Asia/Katmandu",
              "value": "Asia/Katmandu"
            },
            {
              "name": "Asia/Khandyga",
              "value": "Asia/Khandyga"
            },
            {
              "name": "Asia/Kolkata",
              "value": "Asia/Kolkata"
            },
            {
              "name": "Asia/Krasnoyarsk",
              "value": "Asia/Krasnoyarsk"
            },
            {
              "name": "Asia/Kuala_Lumpur",
              "value": "Asia/Kuala_Lumpur"
            },
            {
              "name": "Asia/Kuching",
              "value": "Asia/Kuching"
            },
            {
              "name": "Asia/Kuwait",
              "value": "Asia/Kuwait"
            },
            {
              "name": "Asia/Macao",
              "value": "Asia/Macao"
            },
            {
              "name": "Asia/Macau",
              "value": "Asia/Macau"
            },
            {
              "name": "Asia/Magadan",
              "value": "Asia/Magadan"
            },
            {
              "name": "Asia/Makassar",
              "value": "Asia/Makassar"
            },
            {
              "name": "Asia/Manila",
              "value": "Asia/Manila"
            },
            {
              "name": "Asia/Muscat",
              "value": "Asia/Muscat"
            },
            {
              "name": "Asia/Nicosia",
              "value": "Asia/Nicosia"
            },
            {
              "name": "Asia/Novokuznetsk",
              "value": "Asia/Novokuznetsk"
            },
            {
              "name": "Asia/Novosibirsk",
              "value": "Asia/Novosibirsk"
            },
            {
              "name": "Asia/Omsk",
              "value": "Asia/Omsk"
            },
            {
              "name": "Asia/Oral",
              "value": "Asia/Oral"
            },
            {
              "name": "Asia/Phnom_Penh",
              "value": "Asia/Phnom_Penh"
            },
            {
              "name": "Asia/Pontianak",
              "value": "Asia/Pontianak"
            },
            {
              "name": "Asia/Pyongyang",
              "value": "Asia/Pyongyang"
            },
            {
              "name": "Asia/Qatar",
              "value": "Asia/Qatar"
            },
            {
              "name": "Asia/Qostanay",
              "value": "Asia/Qostanay"
            },
            {
              "name": "Asia/Qyzylorda",
              "value": "Asia/Qyzylorda"
            },
            {
              "name": "Asia/Rangoon",
              "value": "Asia/Rangoon"
            },
            {
              "name": "Asia/Riyadh",
              "value": "Asia/Riyadh"
            },
            {
              "name": "Asia/Saigon",
              "value": "Asia/Saigon"
            },
            {
              "name": "Asia/Sakhalin",
              "value": "Asia/Sakhalin"
            },
            {
              "name": "Asia/Samarkand",
              "value": "Asia/Samarkand"
            },
            {
              "name": "Asia/Seoul",
              "value": "Asia/Seoul"
            },
            {
              "name": "Asia/Shanghai",
              "value": "Asia/Shanghai"
            },
            {
              "name": "Asia/Singapore",
              "value": "Asia/Singapore"
            },
            {
              "name": "Asia/Srednekolymsk",
              "value": "Asia/Srednekolymsk"
            },
            {
              "name": "Asia/Taipei",
              "value": "Asia/Taipei"
            },
            {
              "name": "Asia/Tashkent",
              "value": "Asia/Tashkent"
            },
            {
              "name": "Asia/Tbilisi",
              "value": "Asia/Tbilisi"
            },
            {
              "name": "Asia/Tehran",
              "value": "Asia/Tehran"
            },
            {
              "name": "Asia/Tel_Aviv",
              "value": "Asia/Tel_Aviv"
            },
            {
              "name": "Asia/Thimbu",
              "value": "Asia/Thimbu"
            },
            {
              "name": "Asia/Thimphu",
              "value": "Asia/Thimphu"
            },
            {
              "name": "Asia/Tokyo",
              "value": "Asia/Tokyo"
            },
            {
              "name": "Asia/Tomsk",
              "value": "Asia/Tomsk"
            },
            {
              "name": "Asia/Ujung_Pandang",
              "value": "Asia/Ujung_Pandang"
            },
            {
              "name": "Asia/Ulaanbaatar",
              "value": "Asia/Ulaanbaatar"
            },
            {
              "name": "Asia/Ulan_Bator",
              "value": "Asia/Ulan_Bator"
            },
            {
              "name": "Asia/Urumqi",
              "value": "Asia/Urumqi"
            },
            {
              "name": "Asia/Ust-Nera",
              "value": "Asia/Ust-Nera"
            },
            {
              "name": "Asia/Vientiane",
              "value": "Asia/Vientiane"
            },
            {
              "name": "Asia/Vladivostok",
              "value": "Asia/Vladivostok"
            },
            {
              "name": "Asia/Yakutsk",
              "value": "Asia/Yakutsk"
            },
            {
              "name": "Asia/Yangon",
              "value": "Asia/Yangon"
            },
            {
              "name": "Asia/Yekaterinburg",
              "value": "Asia/Yekaterinburg"
            },
            {
              "name": "Asia/Yerevan",
              "value": "Asia/Yerevan"
            },
            {
              "name": "Atlantic/Azores",
              "value": "Atlantic/Azores"
            },
            {
              "name": "Atlantic/Bermuda",
              "value": "Atlantic/Bermuda"
            },
            {
              "name": "Atlantic/Canary",
              "value": "Atlantic/Canary"
            },
            {
              "name": "Atlantic/Cape_Verde",
              "value": "Atlantic/Cape_Verde"
            },
            {
              "name": "Atlantic/Faeroe",
              "value": "Atlantic/Faeroe"
            },
            {
              "name": "Atlantic/Faroe",
              "value": "Atlantic/Faroe"
            },
            {
              "name": "Atlantic/Jan_Mayen",
              "value": "Atlantic/Jan_Mayen"
            },
            {
              "name": "Atlantic/Madeira",
              "value": "Atlantic/Madeira"
            },
            {
              "name": "Atlantic/Reykjavik",
              "value": "Atlantic/Reykjavik"
            },
            {
              "name": "Atlantic/South_Georgia",
              "value": "Atlantic/South_Georgia"
            },
            {
              "name": "Atlantic/St_Helena",
              "value": "Atlantic/St_Helena"
            },
            {
              "name": "Atlantic/Stanley",
              "value": "Atlantic/Stanley"
            },
            {
              "name": "Australia/ACT",
              "value": "Australia/ACT"
            },
            {
              "name": "Australia/Adelaide",
              "value": "Australia/Adelaide"
            },
            {
              "name": "Australia/Brisbane",
              "value": "Australia/Brisbane"
            },
            {
              "name": "Australia/Broken_Hill",
              "value": "Australia/Broken_Hill"
            },
            {
              "name": "Australia/Canberra",
              "value": "Australia/Canberra"
            },
            {
              "name": "Australia/Currie",
              "value": "Australia/Currie"
            },
            {
              "name": "Australia/Darwin",
              "value": "Australia/Darwin"
            },
            {
              "name": "Australia/Eucla",
              "value": "Australia/Eucla"
            },
            {
              "name": "Australia/Hobart",
              "value": "Australia/Hobart"
            },
            {
              "name": "Australia/LHI",
              "value": "Australia/LHI"
            },
            {
              "name": "Australia/Lindeman",
              "value": "Australia/Lindeman"
            },
            {
              "name": "Australia/Lord_Howe",
              "value": "Australia/Lord_Howe"
            },
            {
              "name": "Australia/Melbourne",
              "value": "Australia/Melbourne"
            },
            {
              "name": "Australia/NSW",
              "value": "Australia/NSW"
            },
            {
              "name": "Australia/North",
              "value": "Australia/North"
            },
            {
              "name": "Australia/Perth",
              "value": "Australia/Perth"
            },
            {
              "name": "Australia/Queensland",
              "value": "Australia/Queensland"
            },
            {
              "name": "Australia/South",
              "value": "Australia/South"
            },
            {
              "name": "Australia/Sydney",
              "value": "Australia/Sydney"
            },
            {
              "name": "Australia/Tasmania",
              "value": "Australia/Tasmania"
            },
            {
              "name": "Australia/Victoria",
              "value": "Australia/Victoria"
            },
            {
              "name": "Australia/West",
              "value": "Australia/West"
            },
            {
              "name": "Australia/Yancowinna",
              "value": "Australia/Yancowinna"
            },
            {
              "name": "Brazil/Acre",
              "value": "Brazil/Acre"
            },
            {
              "name": "Brazil/DeNoronha",
              "value": "Brazil/DeNoronha"
            },
            {
              "name": "Brazil/East",
              "value": "Brazil/East"
            },
            {
              "name": "Brazil/West",
              "value": "Brazil/West"
            },
            {
              "name": "CET",
              "value": "CET"
            },
            {
              "name": "CST6CDT",
              "value": "CST6CDT"
            },
            {
              "name": "Canada/Atlantic",
              "value": "Canada/Atlantic"
            },
            {
              "name": "Canada/Central",
              "value": "Canada/Central"
            },
            {
              "name": "Canada/Eastern",
              "value": "Canada/Eastern"
            },
            {
              "name": "Canada/Mountain",
              "value": "Canada/Mountain"
            },
            {
              "name": "Canada/Newfoundland",
              "value": "Canada/Newfoundland"
            },
            {
              "name": "Canada/Pacific",
              "value": "Canada/Pacific"
            },
            {
              "name": "Canada/Saskatchewan",
              "value": "Canada/Saskatchewan"
            },
            {
              "name": "Canada/Yukon",
              "value": "Canada/Yukon"
            },
            {
              "name": "Chile/Continental",
              "value": "Chile/Continental"
            },
            {
              "name": "Chile/EasterIsland",
              "value": "Chile/EasterIsland"
            },
            {
              "name": "Cuba",
              "value": "Cuba"
            },
            {
              "name": "EET",
              "value": "EET"
            },
            {
              "name": "EST",
              "value": "EST"
            },
            {
              "name": "EST5EDT",
              "value": "EST5EDT"
            },
            {
              "name": "Egypt",
              "value": "Egypt"
            },
            {
              "name": "Eire",
              "value": "Eire"
            },
            {
              "name": "Etc/GMT",
              "value": "Etc/GMT"
            },
            {
              "name": "Etc/GMT+0",
              "value": "Etc/GMT+0"
            },
            {
              "name": "Etc/GMT+1",
              "value": "Etc/GMT+1"
            },
            {
              "name": "Etc/GMT+10",
              "value": "Etc/GMT+10"
            },
            {
              "name": "Etc/GMT+11",
              "value": "Etc/GMT+11"
            },
            {
              "name": "Etc/GMT+12",
              "value": "Etc/GMT+12"
            },
            {
              "name": "Etc/GMT+2",
              "value": "Etc/GMT+2"
            },
            {
              "name": "Etc/GMT+3",
              "value": "Etc/GMT+3"
            },
            {
              "name": "Etc/GMT+4",
              "value": "Etc/GMT+4"
            },
            {
              "name": "Etc/GMT+5",
              "value": "Etc/GMT+5"
            },
            {
              "name": "Etc/GMT+6",
              "value": "Etc/GMT+6"
            },
            {
              "name": "Etc/GMT+7",
              "value": "Etc/GMT+7"
            },
            {
              "name": "Etc/GMT+8",
              "value": "Etc/GMT+8"
            },
            {
              "name": "Etc/GMT+9",
              "value": "Etc/GMT+9"
            },
            {
              "name": "Etc/GMT-0",
              "value": "Etc/GMT-0"
            },
            {
              "name": "Etc/GMT-1",
              "value": "Etc/GMT-1"
            },
            {
              "name": "Etc/GMT-10",
              "value": "Etc/GMT-10"
            },
            {
              "name": "Etc/GMT-11",
              "value": "Etc/GMT-11"
            },
            {
              "name": "Etc/GMT-12",
              "value": "Etc/GMT-12"
            },
            {
              "name": "Etc/GMT-13",
              "value": "Etc/GMT-13"
            },
            {
              "name": "Etc/GMT-14",
              "value": "Etc/GMT-14"
            },
            {
              "name": "Etc/GMT-2",
              "value": "Etc/GMT-2"
            },
            {
              "name": "Etc/GMT-3",
              "value": "Etc/GMT-3"
            },
            {
              "name": "Etc/GMT-4",
              "value": "Etc/GMT-4"
            },
            {
              "name": "Etc/GMT-5",
              "value": "Etc/GMT-5"
            },
            {
              "name": "Etc/GMT-6",
              "value": "Etc/GMT-6"
            },
            {
              "name": "Etc/GMT-7",
              "value": "Etc/GMT-7"
            },
            {
              "name": "Etc/GMT-8",
              "value": "Etc/GMT-8"
            },
            {
              "name": "Etc/GMT-9",
              "value": "Etc/GMT-9"
            },
            {
              "name": "Etc/GMT0",
              "value": "Etc/GMT0"
            },
            {
              "name": "Etc/Greenwich",
              "value": "Etc/Greenwich"
            },
            {
              "name": "Etc/UCT",
              "value": "Etc/UCT"
            },
            {
              "name": "Etc/UTC",
              "value": "Etc/UTC"
            },
            {
              "name": "Etc/Universal",
              "value": "Etc/Universal"
            },
            {
              "name": "Etc/Zulu",
              "value": "Etc/Zulu"
            },
            {
              "name": "Europe/Amsterdam",
              "value": "Europe/Amsterdam"
            },
            {
              "name": "Europe/Andorra",
              "value": "Europe/Andorra"
            },
            {
              "name": "Europe/Astrakhan",
              "value": "Europe/Astrakhan"
            },
            {
              "name": "Europe/Athens",
              "value": "Europe/Athens"
            },
            {
              "name": "Europe/Belfast",
              "value": "Europe/Belfast"
            },
            {
              "name": "Europe/Belgrade",
              "value": "Europe/Belgrade"
            },
            {
              "name": "Europe/Berlin",
              "value": "Europe/Berlin"
            },
            {
              "name": "Europe/Bratislava",
              "value": "Europe/Bratislava"
            },
            {
              "name": "Europe/Brussels",
              "value": "Europe/Brussels"
            },
            {
              "name": "Europe/Bucharest",
              "value": "Europe/Bucharest"
            },
            {
              "name": "Europe/Budapest",
              "value": "Europe/Budapest"
            },
            {
              "name": "Europe/Busingen",
              "value": "Europe/Busingen"
            },
            {
              "name": "Europe/Chisinau",
              "value": "Europe/Chisinau"
            },
            {
              "name": "Europe/Copenhagen",
              "value": "Europe/Copenhagen"
            },
            {
              "name": "Europe/Dublin",
              "value": "Europe/Dublin"
            },
            {
              "name": "Europe/Gibraltar",
              "value": "Europe/Gibraltar"
            },
            {
              "name": "Europe/Guernsey",
              "value": "Europe/Guernsey"
            },
            {
              "name": "Europe/Helsinki",
              "value": "Europe/Helsinki"
            },
            {
              "name": "Europe/Isle_of_Man",
              "value": "Europe/Isle_of_Man"
            },
            {
              "name": "Europe/Istanbul",
              "value": "Europe/Istanbul"
            },
            {
              "name": "Europe/Jersey",
              "value": "Europe/Jersey"
            },
            {
              "name": "Europe/Kaliningrad",
              "value": "Europe/Kaliningrad"
            },
            {
              "name": "Europe/Kiev",
              "value": "Europe/Kiev"
            },
            {
              "name": "Europe/Kirov",
              "value": "Europe/Kirov"
            },
            {
              "name": "Europe/Kyiv",
              "value": "Europe/Kyiv"
            },
            {
              "name": "Europe/Lisbon",
              "value": "Europe/Lisbon"
            },
            {
              "name": "Europe/Ljubljana",
              "value": "Europe/Ljubljana"
            },
            {
              "name": "Europe/London",
              "value": "Europe/London"
            },
            {
              "name": "Europe/Luxembourg",
              "value": "Europe/Luxembourg"
            },
            {
              "name": "Europe/Madrid",
              "value": "Europe/Madrid"
            },
            {
              "name": "Europe/Malta",
              "value": "Europe/Malta"
            },
            {
              "name": "Europe/Mariehamn",
              "value": "Europe/Mariehamn"
            },
            {
              "name": "Europe/Minsk",
              "value": "Europe/Minsk"
            },
            {
              "name": "Europe/Monaco",
              "value": "Europe/Monaco"
            },
            {
              "name": "Europe/Moscow",
              "value": "Europe/Moscow"
            },
            {
              "name": "Europe/Nicosia",
              "value": "Europe/Nicosia"
            },
            {
              "name": "Europe/Oslo",
              "value": "Europe/Oslo"
            },
            {
              "name": "Europe/Paris",
              "value": "Europe/Paris"
            },
            {
              "name": "Europe/Podgorica",
              "value": "Europe/Podgorica"
            },
            {
              "name": "Europe/Prague",
              "value": "Europe/Prague"
            },
            {
              "name": "Europe/Riga",
              "value": "Europe/Riga"
            },
            {
              "name": "Europe/Rome",
              "value": "Europe/Rome"
            },
            {
              "name": "Europe/Samara",
              "value": "Europe/Samara"
            },
            {
              "name": "Europe/San_Marino",
              "value": "Europe/San_Marino"
            },
            {
              "name": "Europe/Sarajevo",
              "value": "Europe/Sarajevo"
            },
            {
              "name": "Europe/Saratov",
              "value": "Europe/Saratov"
            },
            {
              "name": "Europe/Simferopol",
              "value": "Europe/Simferopol"
            },
            {
              "name": "Europe/Skopje",
              "value": "Europe/Skopje"
            },
            {
              "name": "Europe/Sofia",
              "value": "Europe/Sofia"
            },
            {
              "name": "Europe/Stockholm",
              "value": "Europe/Stockholm"
            },
            {
              "name": "Europe/Tallinn",
              "value": "Europe/Tallinn"
            },
            {
              "name": "Europe/Tirane",
              "value": "Europe/Tirane"
            },
            {
              "name": "Europe/Tiraspol",
              "value": "Europe/Tiraspol"
            },
            {
              "name": "Europe/Ulyanovsk",
              "value": "Europe/Ulyanovsk"
            },
            {
              "name": "Europe/Uzhgorod",
              "value": "Europe/Uzhgorod"
            },
            {
              "name": "Europe/Vaduz",
              "value": "Europe/Vaduz"
            },
            {
              "name": "Europe/Vatican",
              "value": "Europe/Vatican"
            },
            {
              "name": "Europe/Vienna",
              "value": "Europe/Vienna"
            },
            {
              "name": "Europe/Vilnius",
              "value": "Europe/Vilnius"
            },
            {
              "name": "Europe/Volgograd",
              "value": "Europe/Volgograd"
            },
            {
              "name": "Europe/Warsaw",
              "value": "Europe/Warsaw"
            },
            {
              "name": "Europe/Zagreb",
              "value": "Europe/Zagreb"
            },
            {
              "name": "Europe/Zaporozhye",
              "value": "Europe/Zaporozhye"
            },
            {
              "name": "Europe/Zurich",
              "value": "Europe/Zurich"
            },
            {
              "name": "GB",
              "value": "GB"
            },
            {
              "name": "GB-Eire",
              "value": "GB-Eire"
            },
            {
              "name": "GMT",
              "value": "GMT"
            },
            {
              "name": "GMT+0",
              "value": "GMT+0"
            },
            {
              "name": "GMT-0",
              "value": "GMT-0"
            },
            {
              "name": "GMT0",
              "value": "GMT0"
            },
            {
              "name": "Greenwich",
              "value": "Greenwich"
            },
            {
              "name": "HST",
              "value": "HST"
            },
            {
              "name": "Hongkong",
              "value": "Hongkong"
            },
            {
              "name": "Iceland",
              "value": "Iceland"
            },
            {
              "name": "Indian/Antananarivo",
              "value": "Indian/Antananarivo"
            },
            {
              "name": "Indian/Chagos",
              "value": "Indian/Chagos"
            },
            {
              "name": "Indian/Christmas",
              "value": "Indian/Christmas"
            },
            {
              "name": "Indian/Cocos",
              "value": "Indian/Cocos"
            },
            {
              "name": "Indian/Comoro",
              "value": "Indian/Comoro"
            },
            {
              "name": "Indian/Kerguelen",
              "value": "Indian/Kerguelen"
            },
            {
              "name": "Indian/Mahe",
              "value": "Indian/Mahe"
            },
            {
              "name": "Indian/Maldives",
              "value": "Indian/Maldives"
            },
            {
              "name": "Indian/Mauritius",
              "value": "Indian/Mauritius"
            },
            {
              "name": "Indian/Mayotte",
              "value": "Indian/Mayotte"
            },
            {
              "name": "Indian/Reunion",
              "value": "Indian/Reunion"
            },
            {
              "name": "Iran",
              "value": "Iran"
            },
            {
              "name": "Israel",
              "value": "Israel"
            },
            {
              "name": "Jamaica",
              "value": "Jamaica"
            },
            {
              "name": "Japan",
              "value": "Japan"
            },
            {
              "name": "Kwajalein",
              "value": "Kwajalein"
            },
            {
              "name": "Libya",
              "value": "Libya"
            },
            {
              "name": "MET",
              "value": "MET"
            },
            {
              "name": "MST",
              "value": "MST"
            },
            {
              "name": "MST7MDT",
              "value": "MST7MDT"
            },
            {
              "name": "Mexico/BajaNorte",
              "value": "Mexico/BajaNorte"
            },
            {
              "name": "Mexico/BajaSur",
              "value": "Mexico/BajaSur"
            },
            {
              "name": "Mexico/General",
              "value": "Mexico/General"
            },
            {
              "name": "NZ",
              "value": "NZ"
            },
            {
              "name": "NZ-CHAT",
              "value": "NZ-CHAT"
            },
            {
              "name": "Navajo",
              "value": "Navajo"
            },
            {
              "name": "PRC",
              "value": "PRC"
            },
            {
              "name": "PST8PDT",
              "value": "PST8PDT"
            },
            {
              "name": "Pacific/Apia",
              "value": "Pacific/Apia"
            },
            {
              "name": "Pacific/Auckland",
              "value": "Pacific/Auckland"
            },
            {
              "name": "Pacific/Bougainville",
              "value": "Pacific/Bougainville"
            },
            {
              "name": "Pacific/Chatham",
              "value": "Pacific/Chatham"
            },
            {
              "name": "Pacific/Chuuk",
              "value": "Pacific/Chuuk"
            },
            {
              "name": "Pacific/Easter",
              "value": "Pacific/Easter"
            },
            {
              "name": "Pacific/Efate",
              "value": "Pacific/Efate"
            },
            {
              "name": "Pacific/Enderbury",
              "value": "Pacific/Enderbury"
            },
            {
              "name": "Pacific/Fakaofo",
              "value": "Pacific/Fakaofo"
            },
            {
              "name": "Pacific/Fiji",
              "value": "Pacific/Fiji"
            },
            {
              "name": "Pacific/Funafuti",
              "value": "Pacific/Funafuti"
            },
            {
              "name": "Pacific/Galapagos",
              "value": "Pacific/Galapagos"
            },
            {
              "name": "Pacific/Gambier",
              "value": "Pacific/Gambier"
            },
            {
              "name": "Pacific/Guadalcanal",
              "value": "Pacific/Guadalcanal"
            },
            {
              "name": "Pacific/Guam",
              "value": "Pacific/Guam"
            },
            {
              "name": "Pacific/Honolulu",
              "value": "Pacific/Honolulu"
            },
            {
              "name": "Pacific/Johnston",
              "value": "Pacific/Johnston"
            },
            {
              "name": "Pacific/Kanton",
              "value": "Pacific/Kanton"
            },
            {
              "name": "Pacific/Kiritimati",
              "value": "Pacific/Kiritimati"
            },
            {
              "name": "Pacific/Kosrae",
              "value": "Pacific/Kosrae"
            },
            {
              "name": "Pacific/Kwajalein",
              "value": "Pacific/Kwajalein"
            },
            {
              "name": "Pacific/Majuro",
              "value": "Pacific/Majuro"
            },
            {
              "name": "Pacific/Marquesas",
              "value": "Pacific/Marquesas"
            },
            {
              "name": "Pacific/Midway",
              "value": "Pacific/Midway"
            },
            {
              "name": "Pacific/Nauru",
              "value": "Pacific/Nauru"
            },
            {
              "name": "Pacific/Niue",
              "value": "Pacific/Niue"
            },
            {
              "name": "Pacific/Norfolk",
              "value": "Pacific/Norfolk"
            },
            {
              "name": "Pacific/Noumea",
              "value": "Pacific/Noumea"
            },
            {
              "name": "Pacific/Pago_Pago",
              "value": "Pacific/Pago_Pago"
            },
            {
              "name": "Pacific/Palau",
              "value": "Pacific/Palau"
            },
            {
              "name": "Pacific/Pitcairn",
              "value": "Pacific/Pitcairn"
            },
            {
              "name": "Pacific/Pohnpei",
              "value": "Pacific/Pohnpei"
            },
            {
              "name": "Pacific/Ponape",
              "value": "Pacific/Ponape"
            },
            {
              "name": "Pacific/Port_Moresby",
              "value": "Pacific/Port_Moresby"
            },
            {
              "name": "Pacific/Rarotonga",
              "value": "Pacific/Rarotonga"
            },
            {
              "name": "Pacific/Saipan",
              "value": "Pacific/Saipan"
            },
            {
              "name": "Pacific/Samoa",
              "value": "Pacific/Samoa"
            },
            {
              "name": "Pacific/Tahiti",
              "value": "Pacific/Tahiti"
            },
            {
              "name": "Pacific/Tarawa",
              "value": "Pacific/Tarawa"
            },
            {
              "name": "Pacific/Tongatapu",
              "value": "Pacific/Tongatapu"
            },
            {
              "name": "Pacific/Truk",
              "value": "Pacific/Truk"
            },
            {
              "name": "Pacific/Wake",
              "value": "Pacific/Wake"
            },
            {
              "name": "Pacific/Wallis",
              "value": "Pacific/Wallis"
            },
            {
              "name": "Pacific/Yap",
              "value": "Pacific/Yap"
            },
            {
              "name": "Poland",
              "value": "Poland"
            },
            {
              "name": "Portugal",
              "value": "Portugal"
            },
            {
              "name": "ROC",
              "value": "ROC"
            },
            {
              "name": "ROK",
              "value": "ROK"
            },
            {
              "name": "Singapore",
              "value": "Singapore"
            },
            {
              "name": "Turkey",
              "value": "Turkey"
            },
            {
              "name": "UCT",
              "value": "UCT"
            },
            {
              "name": "US/Alaska",
              "value": "US/Alaska"
            },
            {
              "name": "US/Aleutian",
              "value": "US/Aleutian"
            },
            {
              "name": "US/Arizona",
              "value": "US/Arizona"
            },
            {
              "name": "US/Central",
              "value": "US/Central"
            },
            {
              "name": "US/East-Indiana",
              "value": "US/East-Indiana"
            },
            {
              "name": "US/Eastern",
              "value": "US/Eastern"
            },
            {
              "name": "US/Hawaii",
              "value": "US/Hawaii"
            },
            {
              "name": "US/Indiana-Starke",
              "value": "US/Indiana-Starke"
            },
            {
              "name": "US/Michigan",
              "value": "US/Michigan"
            },
            {
              "name": "US/Mountain",
              "value": "US/Mountain"
            },
            {
              "name": "US/Pacific",
              "value": "US/Pacific"
            },
            {
              "name": "US/Samoa",
              "value": "US/Samoa"
            },
            {
              "name": "UTC",
              "value": "UTC"
            },
            {
              "name": "Universal",
              "value": "Universal"
            },
            {
              "name": "W-SU",
              "value": "W-SU"
            },
            {
              "name": "WET",
              "value": "WET"
            },
            {
              "name": "Zulu",
              "value": "Zulu"
            }
          ]
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "default": "singleInstance",
          "options": [
            {
              "name": "Single Instance",
              "value": "singleInstance"
            },
            {
              "name": "Occurrence",
              "value": "occurrence"
            },
            {
              "name": "Exception",
              "value": "exception"
            },
            {
              "name": "Series Master",
              "value": "seriesMaster"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Event",
      "name": "eventId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "calendarId.value"
        ]
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Event",
      "name": "eventId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "calendarId.value"
        ]
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "allowNewTimeProposals",
          "value": "allowNewTimeProposals"
        },
        {
          "name": "attendees",
          "value": "attendees"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "end",
          "value": "end"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "hideAttendees",
          "value": "hideAttendees"
        },
        {
          "name": "iCalUId",
          "value": "iCalUId"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "isAllDay",
          "value": "isAllDay"
        },
        {
          "name": "isCancelled",
          "value": "isCancelled"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isOnlineMeeting",
          "value": "isOnlineMeeting"
        },
        {
          "name": "isOrganizer",
          "value": "isOrganizer"
        },
        {
          "name": "isReminderOn",
          "value": "isReminderOn"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "location",
          "value": "location"
        },
        {
          "name": "locations",
          "value": "locations"
        },
        {
          "name": "onlineMeeting",
          "value": "onlineMeeting"
        },
        {
          "name": "onlineMeetingProvider",
          "value": "onlineMeetingProvider"
        },
        {
          "name": "onlineMeetingUrl",
          "value": "onlineMeetingUrl"
        },
        {
          "name": "organizer",
          "value": "organizer"
        },
        {
          "name": "originalEndTimeZone",
          "value": "originalEndTimeZone"
        },
        {
          "name": "originalStartTimeZone",
          "value": "originalStartTimeZone"
        },
        {
          "name": "recurrence",
          "value": "recurrence"
        },
        {
          "name": "reminderMinutesBeforeStart",
          "value": "reminderMinutesBeforeStart"
        },
        {
          "name": "responseRequested",
          "value": "responseRequested"
        },
        {
          "name": "responseStatus",
          "value": "responseStatus"
        },
        {
          "name": "sensitivity",
          "value": "sensitivity"
        },
        {
          "name": "seriesMasterId",
          "value": "seriesMasterId"
        },
        {
          "name": "showAs",
          "value": "showAs"
        },
        {
          "name": "start",
          "value": "start"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "transactionId",
          "value": "transactionId"
        },
        {
          "name": "type",
          "value": "type"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "From All Calendars",
      "name": "fromAllCalendars",
      "type": "boolean",
      "default": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "fromAllCalendars": [
            false
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "allowNewTimeProposals",
          "value": "allowNewTimeProposals"
        },
        {
          "name": "attendees",
          "value": "attendees"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "end",
          "value": "end"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "hideAttendees",
          "value": "hideAttendees"
        },
        {
          "name": "iCalUId",
          "value": "iCalUId"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "isAllDay",
          "value": "isAllDay"
        },
        {
          "name": "isCancelled",
          "value": "isCancelled"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isOnlineMeeting",
          "value": "isOnlineMeeting"
        },
        {
          "name": "isOrganizer",
          "value": "isOrganizer"
        },
        {
          "name": "isReminderOn",
          "value": "isReminderOn"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "location",
          "value": "location"
        },
        {
          "name": "locations",
          "value": "locations"
        },
        {
          "name": "onlineMeeting",
          "value": "onlineMeeting"
        },
        {
          "name": "onlineMeetingProvider",
          "value": "onlineMeetingProvider"
        },
        {
          "name": "onlineMeetingUrl",
          "value": "onlineMeetingUrl"
        },
        {
          "name": "organizer",
          "value": "organizer"
        },
        {
          "name": "originalEndTimeZone",
          "value": "originalEndTimeZone"
        },
        {
          "name": "originalStartTimeZone",
          "value": "originalStartTimeZone"
        },
        {
          "name": "recurrence",
          "value": "recurrence"
        },
        {
          "name": "reminderMinutesBeforeStart",
          "value": "reminderMinutesBeforeStart"
        },
        {
          "name": "responseRequested",
          "value": "responseRequested"
        },
        {
          "name": "responseStatus",
          "value": "responseStatus"
        },
        {
          "name": "sensitivity",
          "value": "sensitivity"
        },
        {
          "name": "seriesMasterId",
          "value": "seriesMasterId"
        },
        {
          "name": "showAs",
          "value": "showAs"
        },
        {
          "name": "start",
          "value": "start"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "transactionId",
          "value": "transactionId"
        },
        {
          "name": "type",
          "value": "type"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query",
          "name": "custom",
          "type": "string",
          "default": "",
          "placeholder": "e.g. contains(subject,'Hello')",
          "hint": "Search query to filter events. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Event",
      "name": "eventId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "calendarId.value"
        ]
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Categories",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "Description",
          "name": "body",
          "type": "string",
          "typeOptions": {
            "rows": 2
          },
          "default": ""
        },
        {
          "displayName": "Description Preview",
          "name": "bodyPreview",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "End",
          "name": "end",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Hide Attendees",
          "name": "hideAttendees",
          "type": "boolean",
          "default": false,
          "description": "Whether to allow each attendee to only see themselves in the meeting request and meeting tracking list"
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "type": "options",
          "default": "low",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "High",
              "value": "high"
            }
          ]
        },
        {
          "displayName": "Is All Day",
          "name": "isAllDay",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Cancelled",
          "name": "isCancelled",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Draft",
          "name": "isDraft",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Online Meeting",
          "name": "isOnlineMeeting",
          "type": "boolean",
          "default": true
        },
        {
          "displayName": "Sensitivity",
          "name": "sensitivity",
          "type": "options",
          "default": "normal",
          "options": [
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "Personal",
              "value": "personal"
            },
            {
              "name": "Private",
              "value": "private"
            },
            {
              "name": "Confidential",
              "value": "confidential"
            }
          ]
        },
        {
          "displayName": "Show As",
          "name": "showAs",
          "type": "options",
          "default": "free",
          "options": [
            {
              "name": "Busy",
              "value": "busy"
            },
            {
              "name": "Free",
              "value": "free"
            },
            {
              "name": "Oof",
              "value": "oof"
            },
            {
              "name": "Tentative",
              "value": "tentative"
            },
            {
              "name": "Working Elsewhere",
              "value": "workingElsewhere"
            }
          ]
        },
        {
          "displayName": "Start",
          "name": "start",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Timezone",
          "name": "timeZone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "subject",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "default": "singleInstance",
          "options": [
            {
              "name": "Single Instance",
              "value": "singleInstance"
            },
            {
              "name": "Occurrence",
              "value": "occurrence"
            },
            {
              "name": "Exception",
              "value": "exception"
            },
            {
              "name": "Series Master",
              "value": "seriesMaster"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a mail folder in the root folder of the user's mailbox",
          "action": "Create a folder"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a folder",
          "action": "Delete a folder"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a folder",
          "action": "Get a folder"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many folders",
          "action": "Get many folders"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a folder",
          "action": "Update a folder"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "Name of the folder",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Parent Folder",
          "name": "folderId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a folder...",
              "typeOptions": {
                "searchListMethod": "searchFolders",
                "searchable": true
              }
            },
            {
              "displayName": "Link",
              "name": "url",
              "type": "string",
              "placeholder": "e.g. https://outlook.office365.com/mail/AAMkADlhOT...AAA%3D",
              "extractValue": {
                "type": "regex",
                "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)"
              },
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)",
                    "errorMessage": "Not a valid Outlook Folder URL"
                  }
                }
              ]
            },
            {
              "displayName": "ID",
              "name": "id",
              "type": "string",
              "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "description": "The fields to add to the output",
          "options": [
            {
              "name": "Child Folder Count",
              "value": "childFolderCount"
            },
            {
              "name": "Display Name",
              "value": "displayName"
            },
            {
              "name": "Is Hidden",
              "value": "isHidden"
            },
            {
              "name": "Parent Folder ID",
              "value": "parentFolderId"
            },
            {
              "name": "Total Item Count",
              "value": "totalItemCount"
            },
            {
              "name": "Unread Item Count",
              "value": "unreadItemCount"
            }
          ],
          "default": []
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "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": [
            "folder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "folder"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query",
          "name": "filter",
          "type": "string",
          "default": "",
          "placeholder": "e.g. displayName eq 'My Folder'",
          "hint": "Search query to filter folders. <a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter\">More info</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "description": "The fields to add to the output",
          "options": [
            {
              "name": "Child Folder Count",
              "value": "childFolderCount"
            },
            {
              "name": "Display Name",
              "value": "displayName"
            },
            {
              "name": "Is Hidden",
              "value": "isHidden"
            },
            {
              "name": "Parent Folder ID",
              "value": "parentFolderId"
            },
            {
              "name": "Total Item Count",
              "value": "totalItemCount"
            },
            {
              "name": "Unread Item Count",
              "value": "unreadItemCount"
            }
          ],
          "default": []
        },
        {
          "displayName": "Include Child Folders",
          "name": "includeChildFolders",
          "type": "boolean",
          "default": false,
          "description": "Whether to include child folders in the response"
        },
        {
          "displayName": "Parent Folder",
          "name": "folderId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a folder...",
              "typeOptions": {
                "searchListMethod": "searchFolders",
                "searchable": true
              }
            },
            {
              "displayName": "Link",
              "name": "url",
              "type": "string",
              "placeholder": "e.g. https://outlook.office365.com/mail/AAMkADlhOT...AAA%3D",
              "extractValue": {
                "type": "regex",
                "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)"
              },
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)",
                    "errorMessage": "Not a valid Outlook Folder URL"
                  }
                }
              ]
            },
            {
              "displayName": "ID",
              "name": "id",
              "type": "string",
              "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
            }
          ],
          "description": "The folder you want to search in"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "Name of the folder",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieves the messages in a folder",
          "action": "Get many folder messages"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ],
          "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": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "bccRecipients",
          "value": "bccRecipients"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "ccRecipients",
          "value": "ccRecipients"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "conversationId",
          "value": "conversationId"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "flag",
          "value": "flag"
        },
        {
          "name": "from",
          "value": "from"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "inferenceClassification",
          "value": "inferenceClassification"
        },
        {
          "name": "internetMessageId",
          "value": "internetMessageId"
        },
        {
          "name": "isDeliveryReceiptRequested",
          "value": "isDeliveryReceiptRequested"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isRead",
          "value": "isRead"
        },
        {
          "name": "isReadReceiptRequested",
          "value": "isReadReceiptRequested"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "receivedDateTime",
          "value": "receivedDateTime"
        },
        {
          "name": "replyTo",
          "value": "replyTo"
        },
        {
          "name": "sender",
          "value": "sender"
        },
        {
          "name": "sentDateTime",
          "value": "sentDateTime"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "toRecipients",
          "value": "toRecipients"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fetching a lot of messages may take a long time. Consider using filters to speed things up",
      "name": "filtersNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "returnAll": [
            true
          ],
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filtersUI",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Filter By",
              "name": "filterBy",
              "type": "options",
              "options": [
                {
                  "name": "Filters",
                  "value": "filters"
                },
                {
                  "name": "Search",
                  "value": "search"
                }
              ],
              "default": "filters"
            },
            {
              "displayName": "Search",
              "name": "search",
              "type": "string",
              "default": "",
              "placeholder": "e.g. automation",
              "description": "Only return messages that contains search term. Without specific message properties, the search is carried out on the default search properties of from, subject, and body. <a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#search-parameter target=\"_blank\">More info</a>.",
              "displayOptions": {
                "show": {
                  "filterBy": [
                    "search"
                  ]
                }
              }
            },
            {
              "displayName": "Filters",
              "name": "filters",
              "type": "collection",
              "placeholder": "Add Filter",
              "default": {},
              "displayOptions": {
                "show": {
                  "filterBy": [
                    "filters"
                  ]
                }
              },
              "options": [
                {
                  "displayName": "Filter Query",
                  "name": "custom",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. isRead eq false",
                  "hint": "Search query to filter messages. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
                },
                {
                  "displayName": "Has Attachments",
                  "name": "hasAttachments",
                  "type": "boolean",
                  "default": false
                },
                {
                  "displayName": "Read Status",
                  "name": "readStatus",
                  "type": "options",
                  "default": "unread",
                  "hint": "Filter messages by whether they have been read or not",
                  "options": [
                    {
                      "name": "Unread and read messages",
                      "value": "both"
                    },
                    {
                      "name": "Unread messages only",
                      "value": "unread"
                    },
                    {
                      "name": "Read messages only",
                      "value": "read"
                    }
                  ]
                },
                {
                  "displayName": "Received After",
                  "name": "receivedAfter",
                  "type": "dateTime",
                  "default": "",
                  "description": "Get all messages received after the specified date. In an expression you can set date using string in ISO format or a timestamp in miliseconds."
                },
                {
                  "displayName": "Received Before",
                  "name": "receivedBefore",
                  "type": "dateTime",
                  "default": "",
                  "description": "Get all messages received before the specified date. In an expression you can set date using string in ISO format or a timestamp in miliseconds."
                },
                {
                  "displayName": "Sender",
                  "name": "sender",
                  "type": "string",
                  "default": "",
                  "description": "Sender name or email to filter by"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments Prefix",
          "name": "attachmentsPrefix",
          "type": "string",
          "default": "attachment_",
          "description": "Prefix for name of the output fields to put the binary files data in. An index starting from 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."
        },
        {
          "displayName": "Download Attachments",
          "name": "downloadAttachments",
          "type": "boolean",
          "default": false,
          "description": "Whether the message's attachments will be downloaded and included in the output"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a message",
          "action": "Delete a message"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a single message",
          "action": "Get a message"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "List and search messages",
          "action": "Get many messages"
        },
        {
          "name": "Move",
          "value": "move",
          "description": "Move a message to a folder",
          "action": "Move a message"
        },
        {
          "name": "Reply",
          "value": "reply",
          "description": "Create a reply to a message",
          "action": "Reply to a message"
        },
        {
          "name": "Send",
          "value": "send",
          "description": "Send a message",
          "action": "Send a message"
        },
        {
          "name": "Send and Wait for Response",
          "value": "sendAndWait",
          "description": "Send a message and wait for response",
          "action": "Send message and wait for response"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a message",
          "action": "Update a message"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "bccRecipients",
          "value": "bccRecipients"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "ccRecipients",
          "value": "ccRecipients"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "conversationId",
          "value": "conversationId"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "flag",
          "value": "flag"
        },
        {
          "name": "from",
          "value": "from"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "inferenceClassification",
          "value": "inferenceClassification"
        },
        {
          "name": "internetMessageId",
          "value": "internetMessageId"
        },
        {
          "name": "isDeliveryReceiptRequested",
          "value": "isDeliveryReceiptRequested"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isRead",
          "value": "isRead"
        },
        {
          "name": "isReadReceiptRequested",
          "value": "isReadReceiptRequested"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "receivedDateTime",
          "value": "receivedDateTime"
        },
        {
          "name": "replyTo",
          "value": "replyTo"
        },
        {
          "name": "sender",
          "value": "sender"
        },
        {
          "name": "sentDateTime",
          "value": "sentDateTime"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "toRecipients",
          "value": "toRecipients"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments Prefix",
          "name": "attachmentsPrefix",
          "type": "string",
          "default": "attachment_",
          "description": "Prefix for name of the output fields to put the binary files data in. An index starting from 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."
        },
        {
          "displayName": "Download Attachments",
          "name": "downloadAttachments",
          "type": "boolean",
          "default": false,
          "description": "Whether the message's attachments will be downloaded and included in the output"
        },
        {
          "displayName": "Get MIME Content",
          "name": "getMimeContent",
          "type": "fixedCollection",
          "default": {
            "values": {
              "binaryPropertyName": "data"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Put Output in Field",
                  "name": "binaryPropertyName",
                  "type": "string",
                  "default": "",
                  "hint": "The name of the output field to put the binary file data in"
                },
                {
                  "displayName": "File Name",
                  "name": "outputFileName",
                  "type": "string",
                  "placeholder": "message",
                  "default": "",
                  "description": "Optional name of the output file, if not set message ID is used"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "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": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "bccRecipients",
          "value": "bccRecipients"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "ccRecipients",
          "value": "ccRecipients"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "conversationId",
          "value": "conversationId"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "flag",
          "value": "flag"
        },
        {
          "name": "from",
          "value": "from"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "inferenceClassification",
          "value": "inferenceClassification"
        },
        {
          "name": "internetMessageId",
          "value": "internetMessageId"
        },
        {
          "name": "isDeliveryReceiptRequested",
          "value": "isDeliveryReceiptRequested"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isRead",
          "value": "isRead"
        },
        {
          "name": "isReadReceiptRequested",
          "value": "isReadReceiptRequested"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "receivedDateTime",
          "value": "receivedDateTime"
        },
        {
          "name": "replyTo",
          "value": "replyTo"
        },
        {
          "name": "sender",
          "value": "sender"
        },
        {
          "name": "sentDateTime",
          "value": "sentDateTime"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "toRecipients",
          "value": "toRecipients"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fetching a lot of messages may take a long time. Consider using filters to speed things up",
      "name": "filtersNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "returnAll": [
            true
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filtersUI",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Filter By",
              "name": "filterBy",
              "type": "options",
              "options": [
                {
                  "name": "Filters",
                  "value": "filters"
                },
                {
                  "name": "Search",
                  "value": "search"
                }
              ],
              "default": "filters"
            },
            {
              "displayName": "Search",
              "name": "search",
              "type": "string",
              "default": "",
              "placeholder": "e.g. automation",
              "description": "Only return messages that contains search term. Without specific message properties, the search is carried out on the default search properties of from, subject, and body. <a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#search-parameter target=\"_blank\">More info</a>.",
              "displayOptions": {
                "show": {
                  "filterBy": [
                    "search"
                  ]
                }
              }
            },
            {
              "displayName": "Filters",
              "name": "filters",
              "type": "collection",
              "placeholder": "Add Filter",
              "default": {},
              "displayOptions": {
                "show": {
                  "filterBy": [
                    "filters"
                  ]
                }
              },
              "options": [
                {
                  "displayName": "Filter Query",
                  "name": "custom",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. isRead eq false",
                  "hint": "Search query to filter messages. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
                },
                {
                  "displayName": "Has Attachments",
                  "name": "hasAttachments",
                  "type": "boolean",
                  "default": false
                },
                {
                  "displayName": "Folders to Exclude",
                  "name": "foldersToExclude",
                  "type": "multiOptions",
                  "typeOptions": {
                    "loadOptionsMethod": "getFolders"
                  },
                  "default": [],
                  "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
                },
                {
                  "displayName": "Folders to Include",
                  "name": "foldersToInclude",
                  "type": "multiOptions",
                  "typeOptions": {
                    "loadOptionsMethod": "getFolders"
                  },
                  "default": [],
                  "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
                },
                {
                  "displayName": "Read Status",
                  "name": "readStatus",
                  "type": "options",
                  "default": "unread",
                  "hint": "Filter messages by whether they have been read or not",
                  "options": [
                    {
                      "name": "Unread and read messages",
                      "value": "both"
                    },
                    {
                      "name": "Unread messages only",
                      "value": "unread"
                    },
                    {
                      "name": "Read messages only",
                      "value": "read"
                    }
                  ]
                },
                {
                  "displayName": "Received After",
                  "name": "receivedAfter",
                  "type": "dateTime",
                  "default": "",
                  "description": "Get all messages received after the specified date. In an expression you can set date using string in ISO format or a timestamp in miliseconds."
                },
                {
                  "displayName": "Received Before",
                  "name": "receivedBefore",
                  "type": "dateTime",
                  "default": "",
                  "description": "Get all messages received before the specified date. In an expression you can set date using string in ISO format or a timestamp in miliseconds."
                },
                {
                  "displayName": "Sender",
                  "name": "sender",
                  "type": "string",
                  "default": "",
                  "description": "Sender name or email to filter by"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments Prefix",
          "name": "attachmentsPrefix",
          "type": "string",
          "default": "attachment_",
          "description": "Prefix for name of the output fields to put the binary files data in. An index starting from 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."
        },
        {
          "displayName": "Download Attachments",
          "name": "downloadAttachments",
          "type": "boolean",
          "default": false,
          "description": "Whether the message's attachments will be downloaded and included in the output"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "move"
          ]
        }
      }
    },
    {
      "displayName": "Parent Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "move"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      }
    },
    {
      "displayName": "Reply to Sender Only",
      "name": "replyToSenderOnly",
      "type": "boolean",
      "default": false,
      "description": "Whether to reply to the sender only or to the entire list of recipients",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "Message body content",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments",
          "name": "attachments",
          "type": "fixedCollection",
          "placeholder": "Add Attachment",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "name": "attachments",
              "displayName": "Attachment",
              "values": [
                {
                  "displayName": "Input Data Field Name",
                  "name": "binaryPropertyName",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. data",
                  "hint": "The name of the input field containing the binary file data to be attached"
                }
              ]
            }
          ]
        },
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "From",
          "name": "from",
          "description": "The owner of the mailbox from which the message is sent. Must correspond to the actual mailbox used.",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "To",
          "name": "toRecipients",
          "description": "Comma-separated list of email addresses of recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "description": "The subject of the message",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "replyToSenderOnly": [
            true
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Save as Draft",
          "name": "saveAsDraft",
          "description": "Whether to save the message as a draft. If false, the message is sent immediately.",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "toRecipients",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of email addresses of recipients",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "The subject of the message",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "bodyContent",
      "type": "string",
      "default": "",
      "description": "Message body content",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments",
          "name": "attachments",
          "type": "fixedCollection",
          "placeholder": "Add Attachment",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "name": "attachments",
              "displayName": "Attachment",
              "values": [
                {
                  "displayName": "Input Data Field Name",
                  "name": "binaryPropertyName",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. data",
                  "hint": "The name of the input field containing the binary file data to be attached"
                }
              ]
            }
          ]
        },
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "From",
          "name": "from",
          "description": "The owner of the mailbox from which the message is sent. Must correspond to the actual mailbox used.",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Save To Sent Items",
          "name": "saveToSentItems",
          "description": "Whether to save the message in Sent Items",
          "type": "boolean",
          "default": true
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "toRecipients",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of email addresses of recipients",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Response Type",
      "name": "responseType",
      "type": "options",
      "default": "approval",
      "options": [
        {
          "name": "Approval",
          "value": "approval",
          "description": "User can approve/disapprove from within the message"
        },
        {
          "name": "Free Text",
          "value": "freeText",
          "description": "User can submit a response via a form"
        },
        {
          "name": "Custom Form",
          "value": "customForm",
          "description": "User can submit a response via a custom form"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Define Form",
      "name": "defineForm",
      "type": "options",
      "default": "fields",
      "options": [
        {
          "name": "Using Fields Below",
          "value": "fields"
        },
        {
          "name": "Using JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Form Fields",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n   {\n      \"fieldLabel\":\"Name\",\n      \"placeholder\":\"enter you name\",\n      \"requiredField\":true\n   },\n   {\n      \"fieldLabel\":\"Age\",\n      \"fieldType\":\"number\",\n      \"placeholder\":\"enter your age\"\n   },\n   {\n      \"fieldLabel\":\"Email\",\n      \"fieldType\":\"email\",\n      \"requiredField\":true\n   }\n]",
      "displayOptions": {
        "show": {
          "defineForm": [
            "json"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown List",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Text",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "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": "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"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true
      }
    },
    {
      "displayName": "Approval Options",
      "name": "approvalOptions",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Type of Approval",
              "name": "approvalType",
              "type": "options",
              "placeholder": "Add option",
              "default": "single",
              "options": [
                {
                  "name": "Approve Only",
                  "value": "single"
                },
                {
                  "name": "Approve and Disapprove",
                  "value": "double"
                }
              ]
            },
            {
              "displayName": "Approve Button Label",
              "name": "approveLabel",
              "type": "string",
              "default": "Approve",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Approve Button Style",
              "name": "buttonApprovalStyle",
              "type": "options",
              "default": "primary",
              "options": [
                {
                  "name": "Primary",
                  "value": "primary"
                },
                {
                  "name": "Secondary",
                  "value": "secondary"
                }
              ],
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Label",
              "name": "disapproveLabel",
              "type": "string",
              "default": "Decline",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Style",
              "name": "buttonDisapprovalStyle",
              "type": "options",
              "default": "secondary",
              "options": [
                {
                  "name": "Primary",
                  "value": "primary"
                },
                {
                  "name": "Secondary",
                  "value": "secondary"
                }
              ],
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Message Button Label",
          "name": "messageButtonLabel",
          "type": "string",
          "default": "Respond"
        },
        {
          "displayName": "Response Form Title",
          "name": "responseFormTitle",
          "description": "Title of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Description",
          "name": "responseFormDescription",
          "description": "Description of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Button Label",
          "name": "responseFormButtonLabel",
          "type": "string",
          "default": "Submit"
        },
        {
          "displayName": "Response Form Custom Styling",
          "name": "responseFormCustomCss",
          "type": "string",
          "typeOptions": {
            "rows": 10,
            "editor": "cssEditor"
          },
          "default": ":root {\n\t--font-family: 'Open Sans', sans-serif;\n\t--font-weight-normal: 400;\n\t--font-weight-bold: 600;\n\t--font-size-body: 12px;\n\t--font-size-label: 14px;\n\t--font-size-test-notice: 12px;\n\t--font-size-input: 14px;\n\t--font-size-header: 20px;\n\t--font-size-paragraph: 14px;\n\t--font-size-link: 12px;\n\t--font-size-error: 12px;\n\t--font-size-html-h1: 28px;\n\t--font-size-html-h2: 20px;\n\t--font-size-html-h3: 16px;\n\t--font-size-html-h4: 14px;\n\t--font-size-html-h5: 12px;\n\t--font-size-html-h6: 10px;\n\t--font-size-subheader: 14px;\n\n\t/* Colors */\n\t--color-background: #fbfcfe;\n\t--color-test-notice-text: #e6a23d;\n\t--color-test-notice-bg: #fefaf6;\n\t--color-test-notice-border: #f6dcb7;\n\t--color-card-bg: #ffffff;\n\t--color-card-border: #dbdfe7;\n\t--color-card-shadow: rgba(99, 77, 255, 0.06);\n\t--color-link: #7e8186;\n\t--color-header: #525356;\n\t--color-label: #555555;\n\t--color-input-border: #dbdfe7;\n\t--color-input-text: #71747A;\n\t--color-focus-border: rgb(90, 76, 194);\n\t--color-submit-btn-bg: #ff6d5a;\n\t--color-submit-btn-text: #ffffff;\n\t--color-error: #ea1f30;\n\t--color-required: #ff6d5a;\n\t--color-clear-button-bg: #7e8186;\n\t--color-html-text: #555;\n\t--color-html-link: #ff6d5a;\n\t--color-header-subtext: #7e8186;\n\n\t/* Border Radii */\n\t--border-radius-card: 8px;\n\t--border-radius-input: 6px;\n\t--border-radius-clear-btn: 50%;\n\t--card-border-radius: 8px;\n\n\t/* Spacing */\n\t--padding-container-top: 24px;\n\t--padding-card: 24px;\n\t--padding-test-notice-vertical: 12px;\n\t--padding-test-notice-horizontal: 24px;\n\t--margin-bottom-card: 16px;\n\t--padding-form-input: 12px;\n\t--card-padding: 24px;\n\t--card-margin-bottom: 16px;\n\n\t/* Dimensions */\n\t--container-width: 448px;\n\t--submit-btn-height: 48px;\n\t--checkbox-size: 18px;\n\n\t/* Others */\n\t--box-shadow-card: 0px 4px 16px 0px var(--color-card-shadow);\n\t--opacity-placeholder: 0.5;\n}",
          "description": "Override default styling of the response form with CSS"
        },
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "freeText",
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Folder",
          "name": "folderId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a folder...",
              "typeOptions": {
                "searchListMethod": "searchFolders",
                "searchable": true
              }
            },
            {
              "displayName": "Link",
              "name": "url",
              "type": "string",
              "placeholder": "e.g. https://outlook.office365.com/mail/AAMkADlhOT...AAA%3D",
              "extractValue": {
                "type": "regex",
                "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)"
              },
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)",
                    "errorMessage": "Not a valid Outlook Folder URL"
                  }
                }
              ]
            },
            {
              "displayName": "ID",
              "name": "id",
              "type": "string",
              "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
            }
          ]
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Is Read",
          "name": "isRead",
          "description": "Whether the message must be marked as read",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Message",
          "name": "bodyContent",
          "description": "Message body content",
          "type": "string",
          "typeOptions": {
            "rows": 2
          },
          "default": ""
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "To",
          "name": "toRecipients",
          "description": "Comma-separated list of email addresses of recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "description": "The subject of the message",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add an attachment to a message",
          "action": "Add an attachment"
        },
        {
          "name": "Download",
          "value": "download",
          "description": "Download an attachment from a message",
          "action": "Download an attachment"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve information about an attachment of a message",
          "action": "Get an attachment"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve information about the attachments of a message",
          "action": "Get many attachments"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Input Data Field Name",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "File Name",
          "name": "fileName",
          "description": "Filename of the attachment. If not set will the file-name of the binary property be used, if it exists.",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "download"
          ]
        }
      }
    },
    {
      "displayName": "Attachment",
      "name": "attachmentId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "download"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "messageId.value"
        ]
      }
    },
    {
      "displayName": "Put Output in Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "download"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Attachment",
      "name": "attachmentId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "messageId.value"
        ]
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "description": "The fields to add to the output",
          "default": [],
          "options": [
            {
              "name": "contentType",
              "value": "contentType"
            },
            {
              "name": "isInline",
              "value": "isInline"
            },
            {
              "name": "lastModifiedDateTime",
              "value": "lastModifiedDateTime"
            },
            {
              "name": "name",
              "value": "name"
            },
            {
              "name": "size",
              "value": "size"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "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": [
            "messageAttachment"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "description": "The fields to add to the output",
          "default": [],
          "options": [
            {
              "name": "contentType",
              "value": "contentType"
            },
            {
              "name": "isInline",
              "value": "isInline"
            },
            {
              "name": "lastModifiedDateTime",
              "value": "lastModifiedDateTime"
            },
            {
              "name": "name",
              "value": "name"
            },
            {
              "name": "size",
              "value": "size"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new calendar"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a calendar"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Retrieve a calendar"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "List and search calendars"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a calendar"
    }
  ]


node_type: nodes-base.microsoftOutlookTrigger
package_name: n8n-nodes-base
display_name: Microsoft Outlook Trigger
description: Fetches emails from Microsoft Outlook and starts the workflow on specified polling intervals.
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "microsoftOutlookOAuth2Api",
  "required": true
  }
  ]

updated_at: 2025-06-23 20:51:55
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft Outlook Trigger node documentation
  description: Learn how to use the Microsoft Outlook Trigger node in n8n. Follow technical documentation to integrate Microsoft Outlook Trigger node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Microsoft Outlook Trigger node

  Use the Microsoft Outlook Trigger node to respond to events in [Microsoft Outlook](https://www.microsoft.com/en-us/microsoft-365/outlook/email-and-calendar-software-microsoft-outlook){:target=_blank .external-link} and integrate Microsoft Outlook with other applications.

  On this page, you'll find a list of events the Microsoft Outlook 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).
  ///
  ///  note  | Examples and templates
  For usage examples and templates to help you get started, refer to n8n's [Microsoft Outlook integrations](https://n8n.io/integrations/microsoft-outlook-trigger/){:target=_blank .external-link} page.
  ///

  ## Events

  * Message Received

  ## Related resources

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

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

properties_schema:
  [
    {
      "displayName": "Trigger On",
      "name": "event",
      "type": "options",
      "default": "messageReceived",
      "options": [
        {
          "name": "Message Received",
          "value": "messageReceived"
        }
      ]
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ]
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "bccRecipients",
          "value": "bccRecipients"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "ccRecipients",
          "value": "ccRecipients"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "conversationId",
          "value": "conversationId"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "flag",
          "value": "flag"
        },
        {
          "name": "from",
          "value": "from"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "inferenceClassification",
          "value": "inferenceClassification"
        },
        {
          "name": "internetMessageId",
          "value": "internetMessageId"
        },
        {
          "name": "isDeliveryReceiptRequested",
          "value": "isDeliveryReceiptRequested"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isRead",
          "value": "isRead"
        },
        {
          "name": "isReadReceiptRequested",
          "value": "isReadReceiptRequested"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "receivedDateTime",
          "value": "receivedDateTime"
        },
        {
          "name": "replyTo",
          "value": "replyTo"
        },
        {
          "name": "sender",
          "value": "sender"
        },
        {
          "name": "sentDateTime",
          "value": "sentDateTime"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "toRecipients",
          "value": "toRecipients"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query",
          "name": "custom",
          "type": "string",
          "default": "",
          "placeholder": "e.g. isRead eq false",
          "hint": "Search query to filter messages. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
        },
        {
          "displayName": "Has Attachments",
          "name": "hasAttachments",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Folders to Exclude",
          "name": "foldersToExclude",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getFolders"
          },
          "default": [],
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
        },
        {
          "displayName": "Folders to Include",
          "name": "foldersToInclude",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getFolders"
          },
          "default": [],
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
        },
        {
          "displayName": "Read Status",
          "name": "readStatus",
          "type": "options",
          "default": "unread",
          "hint": "Filter messages by whether they have been read or not",
          "options": [
            {
              "name": "Unread and read messages",
              "value": "both"
            },
            {
              "name": "Unread messages only",
              "value": "unread"
            },
            {
              "name": "Read messages only",
              "value": "read"
            }
          ]
        },
        {
          "displayName": "Sender",
          "name": "sender",
          "type": "string",
          "default": "",
          "description": "Sender name or email to filter by"
        }
      ]
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments Prefix",
          "name": "attachmentsPrefix",
          "type": "string",
          "default": "attachment_",
          "description": "Prefix for name of the output fields to put the binary files data in. An index starting from 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."
        },
        {
          "displayName": "Download Attachments",
          "name": "downloadAttachments",
          "type": "boolean",
          "default": false,
          "description": "Whether the message's attachments will be downloaded and included in the output"
        }
      ]
    }
  ]


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

updated_at: 2025-06-23 20:51:55
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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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.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
updated_at: 2025-06-23 20:51:55
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
updated_at: 2025-06-23 20:51:55
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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "displayName": "Blob",
      "name": "blob",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Blob to be deleted",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "displayName": "Blob",
      "name": "blob",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Blob to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "blob"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "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"
          ]
        }
      }
    }
  ]


