# nodes

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

outputs:
  [
  "main"
  ]

updated_at: 2025-12-08 21:01:56
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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a calendar...",
          "typeOptions": {
            "searchListMethod": "searchCalendars",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a calendar...",
          "typeOptions": {
            "searchListMethod": "searchCalendars",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a calendar...",
          "typeOptions": {
            "searchListMethod": "searchCalendars",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a contact...",
          "typeOptions": {
            "searchListMethod": "searchContacts",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Contact",
      "name": "contactId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a contact...",
          "typeOptions": {
            "searchListMethod": "searchContacts",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a contact...",
          "typeOptions": {
            "searchListMethod": "searchContacts",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a draft...",
          "typeOptions": {
            "searchListMethod": "searchDrafts",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Draft",
      "name": "draftId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a draft...",
          "typeOptions": {
            "searchListMethod": "searchDrafts",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a draft...",
          "typeOptions": {
            "searchListMethod": "searchDrafts",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a draft...",
          "typeOptions": {
            "searchListMethod": "searchDrafts",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a calendar...",
          "typeOptions": {
            "searchListMethod": "searchCalendars",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Title",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Start",
      "name": "startDateTime",
      "type": "dateTime",
      "default": "2025-12-08T22:01:53.463+01:00",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "End",
      "name": "endDateTime",
      "type": "dateTime",
      "default": "2025-12-08T22:31:53.463+01: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/Ciudad_Juarez",
              "value": "America/Ciudad_Juarez"
            },
            {
              "name": "America/Coral_Harbour",
              "value": "America/Coral_Harbour"
            },
            {
              "name": "America/Cordoba",
              "value": "America/Cordoba"
            },
            {
              "name": "America/Costa_Rica",
              "value": "America/Costa_Rica"
            },
            {
              "name": "America/Coyhaique",
              "value": "America/Coyhaique"
            },
            {
              "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a calendar...",
          "typeOptions": {
            "searchListMethod": "searchCalendars",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Event",
      "name": "eventId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "calendarId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a event...",
          "typeOptions": {
            "searchListMethod": "searchEvents",
            "searchable": true
          }
        },
        {
          "displayName": "Link",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://outlook.office365.com/calendar/item/AAMkADlhOTA0M...UAAA%3D",
          "extractValue": {
            "type": "regex",
            "regex": "https:\\/\\/outlook\\.office365\\.com\\/calendar\\/item\\/([A-Za-z0-9%]+)(?:\\/.*|)"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/outlook\\.office365\\.com\\/calendar\\/item\\/([A-Za-z0-9%]+)(?:\\/.*|)",
                "errorMessage": "Not a valid Outlook Event URL"
              }
            }
          ]
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a calendar...",
          "typeOptions": {
            "searchListMethod": "searchCalendars",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Event",
      "name": "eventId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "calendarId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a event...",
          "typeOptions": {
            "searchListMethod": "searchEvents",
            "searchable": true
          }
        },
        {
          "displayName": "Link",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://outlook.office365.com/calendar/item/AAMkADlhOTA0M...UAAA%3D",
          "extractValue": {
            "type": "regex",
            "regex": "https:\\/\\/outlook\\.office365\\.com\\/calendar\\/item\\/([A-Za-z0-9%]+)(?:\\/.*|)"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/outlook\\.office365\\.com\\/calendar\\/item\\/([A-Za-z0-9%]+)(?:\\/.*|)",
                "errorMessage": "Not a valid Outlook Event URL"
              }
            }
          ]
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a calendar...",
          "typeOptions": {
            "searchListMethod": "searchCalendars",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a calendar...",
          "typeOptions": {
            "searchListMethod": "searchCalendars",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Event",
      "name": "eventId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "calendarId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a event...",
          "typeOptions": {
            "searchListMethod": "searchEvents",
            "searchable": true
          }
        },
        {
          "displayName": "Link",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://outlook.office365.com/calendar/item/AAMkADlhOTA0M...UAAA%3D",
          "extractValue": {
            "type": "regex",
            "regex": "https:\\/\\/outlook\\.office365\\.com\\/calendar\\/item\\/([A-Za-z0-9%]+)(?:\\/.*|)"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/outlook\\.office365\\.com\\/calendar\\/item\\/([A-Za-z0-9%]+)(?:\\/.*|)",
                "errorMessage": "Not a valid Outlook Event URL"
              }
            }
          ]
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "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": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "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": "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"
          ]
        }
      },
      "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": "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"
          ]
        }
      },
      "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": "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a message...",
          "typeOptions": {
            "searchListMethod": "searchMessages",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a message...",
          "typeOptions": {
            "searchListMethod": "searchMessages",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a message...",
          "typeOptions": {
            "searchListMethod": "searchMessages",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Parent Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "move"
          ]
        }
      },
      "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": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a message...",
          "typeOptions": {
            "searchListMethod": "searchMessages",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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 your name\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Age\",\n    \"fieldType\": \"number\",\n    \"placeholder\": \"enter your age\"\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Textarea\",\n    \"fieldType\": \"textarea\"\n  },\n  {\n    \"fieldLabel\": \"Dropdown Options\",\n    \"fieldType\": \"dropdown\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    },\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Checkboxes\",\n    \"fieldType\": \"checkbox\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Radio\",\n    \"fieldType\": \"radio\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"placeholder\": \"me@mail.con\"\n  },\n  {\n    \"fieldLabel\": \"File\",\n    \"fieldType\": \"file\",\n    \"multipleFiles\": true,\n    \"acceptFileTypes\": \".jpg, .png\"\n  },\n  {\n    \"fieldLabel\": \"Number\",\n    \"fieldType\": \"number\"\n  },\n  {\n    \"fieldLabel\": \"Password\",\n    \"fieldType\": \"password\"\n  }\n]\n",
      "displayOptions": {
        "show": {
          "defineForm": [
            "json"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true
      }
    },
    {
      "displayName": "Approval Options",
      "name": "approvalOptions",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Type of Approval",
              "name": "approvalType",
              "type": "options",
              "placeholder": "Add option",
              "default": "single",
              "options": [
                {
                  "name": "Approve Only",
                  "value": "single"
                },
                {
                  "name": "Approve and Disapprove",
                  "value": "double"
                }
              ]
            },
            {
              "displayName": "Approve Button Label",
              "name": "approveLabel",
              "type": "string",
              "default": "Approve",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Approve Button Style",
              "name": "buttonApprovalStyle",
              "type": "options",
              "default": "primary",
              "options": [
                {
                  "name": "Primary",
                  "value": "primary"
                },
                {
                  "name": "Secondary",
                  "value": "secondary"
                }
              ],
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Label",
              "name": "disapproveLabel",
              "type": "string",
              "default": "Decline",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Style",
              "name": "buttonDisapprovalStyle",
              "type": "options",
              "default": "secondary",
              "options": [
                {
                  "name": "Primary",
                  "value": "primary"
                },
                {
                  "name": "Secondary",
                  "value": "secondary"
                }
              ],
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Message Button Label",
          "name": "messageButtonLabel",
          "type": "string",
          "default": "Respond"
        },
        {
          "displayName": "Response Form Title",
          "name": "responseFormTitle",
          "description": "Title of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Description",
          "name": "responseFormDescription",
          "description": "Description of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Button Label",
          "name": "responseFormButtonLabel",
          "type": "string",
          "default": "Submit"
        },
        {
          "displayName": "Response Form Custom Styling",
          "name": "responseFormCustomCss",
          "type": "string",
          "typeOptions": {
            "rows": 10,
            "editor": "cssEditor"
          },
          "default": ":root {\n\t--font-family: 'Open Sans', sans-serif;\n\t--font-weight-normal: 400;\n\t--font-weight-bold: 600;\n\t--font-size-body: 12px;\n\t--font-size-label: 14px;\n\t--font-size-test-notice: 12px;\n\t--font-size-input: 14px;\n\t--font-size-header: 20px;\n\t--font-size-paragraph: 14px;\n\t--font-size-link: 12px;\n\t--font-size-error: 12px;\n\t--font-size-html-h1: 28px;\n\t--font-size-html-h2: 20px;\n\t--font-size-html-h3: 16px;\n\t--font-size-html-h4: 14px;\n\t--font-size-html-h5: 12px;\n\t--font-size-html-h6: 10px;\n\t--font-size-subheader: 14px;\n\n\t/* Colors */\n\t--color-background: #fbfcfe;\n\t--color-test-notice-text: #e6a23d;\n\t--color-test-notice-bg: #fefaf6;\n\t--color-test-notice-border: #f6dcb7;\n\t--color-card-bg: #ffffff;\n\t--color-card-border: #dbdfe7;\n\t--color-card-shadow: rgba(99, 77, 255, 0.06);\n\t--color-link: #7e8186;\n\t--color-header: #525356;\n\t--color-label: #555555;\n\t--color-input-border: #dbdfe7;\n\t--color-input-text: #71747A;\n\t--color-focus-border: rgb(90, 76, 194);\n\t--color-submit-btn-bg: #ff6d5a;\n\t--color-submit-btn-text: #ffffff;\n\t--color-error: #ea1f30;\n\t--color-required: #ff6d5a;\n\t--color-clear-button-bg: #7e8186;\n\t--color-html-text: #555;\n\t--color-html-link: #ff6d5a;\n\t--color-header-subtext: #7e8186;\n\n\t/* Border Radii */\n\t--border-radius-card: 8px;\n\t--border-radius-input: 6px;\n\t--border-radius-clear-btn: 50%;\n\t--card-border-radius: 8px;\n\n\t/* Spacing */\n\t--padding-container-top: 24px;\n\t--padding-card: 24px;\n\t--padding-test-notice-vertical: 12px;\n\t--padding-test-notice-horizontal: 24px;\n\t--margin-bottom-card: 16px;\n\t--padding-form-input: 12px;\n\t--card-padding: 24px;\n\t--card-margin-bottom: 16px;\n\n\t/* Dimensions */\n\t--container-width: 448px;\n\t--submit-btn-height: 48px;\n\t--checkbox-size: 18px;\n\n\t/* Others */\n\t--box-shadow-card: 0px 4px 16px 0px var(--color-card-shadow);\n\t--opacity-placeholder: 0.5;\n}",
          "description": "Override default styling of the response form with CSS"
        },
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "freeText",
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a message...",
          "typeOptions": {
            "searchListMethod": "searchMessages",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a message...",
          "typeOptions": {
            "searchListMethod": "searchMessages",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a message...",
          "typeOptions": {
            "searchListMethod": "searchMessages",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Attachment",
      "name": "attachmentId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "download"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "messageId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a attachment...",
          "typeOptions": {
            "searchListMethod": "searchAttachments",
            "searchable": false
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a message...",
          "typeOptions": {
            "searchListMethod": "searchMessages",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "displayName": "Attachment",
      "name": "attachmentId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "messageId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a attachment...",
          "typeOptions": {
            "searchListMethod": "searchAttachments",
            "searchable": false
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a message...",
          "typeOptions": {
            "searchListMethod": "searchMessages",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
        }
      ]
    },
    {
      "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
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-12-08 21:01:56
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
  }
  ]

outputs:
  [
  "main"
  ]

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

  # Microsoft SharePoint node

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

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

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


  ## Operations

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

  ## Templates and examples

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

  ## Related resources

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

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

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


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

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

  # Microsoft SQL node

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

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

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

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

  ## Operations

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

  ## Templates and examples

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

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

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

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


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

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

  # Azure Storage node

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

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

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


  ## Operations

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

  ## Templates and examples

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

  ## Related resources

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

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

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

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

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


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

outputs:
  [
  "main"
  ]

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

  # Microsoft Teams node

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

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

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

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

  ## Operations

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

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

  ## Templates and examples

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

  ## Related resources

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "channel",
      "options": [
        {
          "name": "Channel",
          "value": "channel"
        },
        {
          "name": "Channel Message",
          "value": "channelMessage"
        },
        {
          "name": "Chat Message",
          "value": "chatMessage"
        },
        {
          "name": "Task",
          "value": "task"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a channel",
          "action": "Create channel"
        },
        {
          "name": "Delete",
          "value": "deleteChannel",
          "description": "Delete a channel",
          "action": "Delete channel"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a channel",
          "action": "Get channel"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many channels",
          "action": "Get many channels"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a channel",
          "action": "Update channel"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "New Channel Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the new channel you want to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the channel",
          "typeOptions": {
            "rows": 2
          }
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Private",
              "value": "private"
            },
            {
              "name": "Standard",
              "value": "standard"
            }
          ],
          "default": "standard",
          "description": "Standard: Accessible to everyone on the team. Private: Accessible only to a specific group of people within the team."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "deleteChannel"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "deleteChannel"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "channel"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the channel",
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the channel",
          "typeOptions": {
            "rows": 2
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channel"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a message in a channel",
          "action": "Create message"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many messages from a channel",
          "action": "Get many messages"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "options",
      "default": "text",
      "description": "Whether the message is plain text or HTML",
      "options": [
        {
          "name": "Text",
          "value": "text"
        },
        {
          "name": "HTML",
          "value": "html"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "The content of the message to be sent",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Link to Workflow",
          "name": "includeLinkToWorkflow",
          "type": "boolean",
          "default": true,
          "description": "Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending messages."
        },
        {
          "displayName": "Reply to ID",
          "name": "makeReply",
          "type": "string",
          "default": "",
          "placeholder": "e.g. 1673348720590",
          "description": "An optional ID of the message you want to reply to. The message ID is the number before \"?tenantId\" in the message URL."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Team",
      "name": "teamId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the team from the list, by URL, or by ID (the ID is the \"groupId\" parameter in the URL you get from \"Get a link to the team\")",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "e.g. My Team",
          "typeOptions": {
            "searchListMethod": "getTeams",
            "searchable": true
          }
        },
        {
          "displayName": "From URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://teams.microsoft.com/l/team/19%3AP8l9gXd6oqlgq…",
          "extractValue": {
            "type": "regex",
            "regex": "groupId=([a-f0-9-]+)\\&"
          },
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https:\\/\\/teams.microsoft.com\\/.*groupId=[a-f0-9-]+\\&.*",
                "errorMessage": "Not a valid Microsoft Teams URL"
              }
            }
          ]
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 61165b04-e4cc-4026-b43f-926b4e2a7182",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Channel",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the channel from the list, by URL, or by ID (the ID is the \"threadId\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "teamId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:-xlxyqXNSCxpI1SDzgQ_L9ZvzSR26pgphq1BJ9y7QJE1@thread.tacv2"
        }
      ]
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "channelMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a message in a chat",
          "action": "Create chat message"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a message from a chat",
          "action": "Get chat message"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many messages from a chat",
          "action": "Get many chat messages"
        },
        {
          "name": "Send and Wait for Response",
          "value": "sendAndWait",
          "description": "Send a message and wait for response",
          "action": "Send message and wait for response"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Chat",
      "name": "chatId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the chat from the list, by URL, or by ID (find the chat ID after \"conversations/\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Chat...",
          "typeOptions": {
            "searchListMethod": "getChats",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:7e2f1174-e8ee-4859-b8b1-a8d1cc63d276_0c5cfdbb-596f-4d39-b557-5d9516c94107@unq.gbl.spaces",
          "url": "=https://teams.microsoft.com/l/chat/{{encodeURIComponent($value)}}/0"
        }
      ]
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "options",
      "default": "text",
      "description": "Whether the message is plain text or HTML",
      "options": [
        {
          "name": "Text",
          "value": "text"
        },
        {
          "name": "HTML",
          "value": "html"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "The content of the message to be sent",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Other options to set",
      "options": [
        {
          "displayName": "Include Link to Workflow",
          "name": "includeLinkToWorkflow",
          "type": "boolean",
          "default": true,
          "description": "Whether to append a link to this workflow at the end of the message. This is helpful if you have many workflows sending messages."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Chat",
      "name": "chatId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the chat from the list, by URL, or by ID (find the chat ID after \"conversations/\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Chat...",
          "typeOptions": {
            "searchListMethod": "getChats",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:7e2f1174-e8ee-4859-b8b1-a8d1cc63d276_0c5cfdbb-596f-4d39-b557-5d9516c94107@unq.gbl.spaces",
          "url": "=https://teams.microsoft.com/l/chat/{{encodeURIComponent($value)}}/0"
        }
      ]
    },
    {
      "displayName": "Message ID",
      "name": "messageId",
      "type": "string",
      "default": "",
      "description": "The ID of the message to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Chat",
      "name": "chatId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the chat from the list, by URL, or by ID (find the chat ID after \"conversations/\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Chat...",
          "typeOptions": {
            "searchListMethod": "getChats",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:7e2f1174-e8ee-4859-b8b1-a8d1cc63d276_0c5cfdbb-596f-4d39-b557-5d9516c94107@unq.gbl.spaces",
          "url": "=https://teams.microsoft.com/l/chat/{{encodeURIComponent($value)}}/0"
        }
      ]
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Chat",
      "name": "chatId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the chat from the list, by URL, or by ID (find the chat ID after \"conversations/\" in the URL)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Chat...",
          "typeOptions": {
            "searchListMethod": "getChats",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "19:7e2f1174-e8ee-4859-b8b1-a8d1cc63d276_0c5cfdbb-596f-4d39-b557-5d9516c94107@unq.gbl.spaces",
          "url": "=https://teams.microsoft.com/l/chat/{{encodeURIComponent($value)}}/0"
        }
      ]
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Response Type",
      "name": "responseType",
      "type": "options",
      "default": "approval",
      "options": [
        {
          "name": "Approval",
          "value": "approval",
          "description": "User can approve/disapprove from within the message"
        },
        {
          "name": "Free Text",
          "value": "freeText",
          "description": "User can submit a response via a form"
        },
        {
          "name": "Custom Form",
          "value": "customForm",
          "description": "User can submit a response via a custom form"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Define Form",
      "name": "defineForm",
      "type": "options",
      "default": "fields",
      "options": [
        {
          "name": "Using Fields Below",
          "value": "fields"
        },
        {
          "name": "Using JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "customForm"
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Form Fields",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n  {\n    \"fieldLabel\": \"Name\",\n    \"placeholder\": \"enter your name\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Age\",\n    \"fieldType\": \"number\",\n    \"placeholder\": \"enter your age\"\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Textarea\",\n    \"fieldType\": \"textarea\"\n  },\n  {\n    \"fieldLabel\": \"Dropdown Options\",\n    \"fieldType\": \"dropdown\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    },\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Checkboxes\",\n    \"fieldType\": \"checkbox\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Radio\",\n    \"fieldType\": \"radio\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"placeholder\": \"me@mail.con\"\n  },\n  {\n    \"fieldLabel\": \"File\",\n    \"fieldType\": \"file\",\n    \"multipleFiles\": true,\n    \"acceptFileTypes\": \".jpg, .png\"\n  },\n  {\n    \"fieldLabel\": \"Number\",\n    \"fieldType\": \"number\"\n  },\n  {\n    \"fieldLabel\": \"Password\",\n    \"fieldType\": \"password\"\n  }\n]\n",
      "displayOptions": {
        "show": {
          "defineForm": [
            "json"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true
      }
    },
    {
      "displayName": "Approval Options",
      "name": "approvalOptions",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Type of Approval",
              "name": "approvalType",
              "type": "options",
              "placeholder": "Add option",
              "default": "single",
              "options": [
                {
                  "name": "Approve Only",
                  "value": "single"
                },
                {
                  "name": "Approve and Disapprove",
                  "value": "double"
                }
              ]
            },
            {
              "displayName": "Approve Button Label",
              "name": "approveLabel",
              "type": "string",
              "default": "✓ Approve",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Label",
              "name": "disapproveLabel",
              "type": "string",
              "default": "✗ Decline",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Message Button Label",
          "name": "messageButtonLabel",
          "type": "string",
          "default": "Respond"
        },
        {
          "displayName": "Response Form Title",
          "name": "responseFormTitle",
          "description": "Title of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Description",
          "name": "responseFormDescription",
          "description": "Description of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Button Label",
          "name": "responseFormButtonLabel",
          "type": "string",
          "default": "Submit"
        },
        {
          "displayName": "Response Form Custom Styling",
          "name": "responseFormCustomCss",
          "type": "string",
          "typeOptions": {
            "rows": 10,
            "editor": "cssEditor"
          },
          "default": ":root {\n\t--font-family: 'Open Sans', sans-serif;\n\t--font-weight-normal: 400;\n\t--font-weight-bold: 600;\n\t--font-size-body: 12px;\n\t--font-size-label: 14px;\n\t--font-size-test-notice: 12px;\n\t--font-size-input: 14px;\n\t--font-size-header: 20px;\n\t--font-size-paragraph: 14px;\n\t--font-size-link: 12px;\n\t--font-size-error: 12px;\n\t--font-size-html-h1: 28px;\n\t--font-size-html-h2: 20px;\n\t--font-size-html-h3: 16px;\n\t--font-size-html-h4: 14px;\n\t--font-size-html-h5: 12px;\n\t--font-size-html-h6: 10px;\n\t--font-size-subheader: 14px;\n\n\t/* Colors */\n\t--color-background: #fbfcfe;\n\t--color-test-notice-text: #e6a23d;\n\t--color-test-notice-bg: #fefaf6;\n\t--color-test-notice-border: #f6dcb7;\n\t--color-card-bg: #ffffff;\n\t--color-card-border: #dbdfe7;\n\t--color-card-shadow: rgba(99, 77, 255, 0.06);\n\t--color-link: #7e8186;\n\t--color-header: #525356;\n\t--color-label: #555555;\n\t--color-input-border: #dbdfe7;\n\t--color-input-text: #71747A;\n\t--color-focus-border: rgb(90, 76, 194);\n\t--color-submit-btn-bg: #ff6d5a;\n\t--color-submit-btn-text: #ffffff;\n\t--color-error: #ea1f30;\n\t--color-required: #ff6d5a;\n\t--color-clear-button-bg: #7e8186;\n\t--color-html-text: #555;\n\t--color-html-link: #ff6d5a;\n\t--color-header-subtext: #7e8186;\n\n\t/* Border Radii */\n\t--border-radius-card: 8px;\n\t--border-radius-input: 6px;\n\t--border-radius-clear-btn: 50%;\n\t--card-border-radius: 8px;\n\n\t/* Spacing */\n\t--padding-container-top: 24px;\n\t--padding-card: 24px;\n\t--padding-test-notice-vertical: 12px;\n\t--padding-test-notice-horizontal: 24px;\n\t--margin-bottom-card: 16px;\n\t--padding-form-input: 12px;\n\t--card-padding: 24px;\n\t--card-margin-bottom: 16px;\n\n\t/* Dimensions */\n\t--container-width: 448px;\n\t--submit-btn-height: 48px;\n\t--checkbox-size: 18px;\n\n\t/* Others */\n\t--box-shadow-card: 0px 4px 16px 0px var(--color-card-shadow);\n\t--opacity-placeholder: 0.5;\n}",
          "description": "Override default styling of the response form with CSS"
        },
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether the workflow will automatically resume execution after the specified limit type",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "freeText",
            "customForm"
          ],
          "resource": [
            "chatMessage"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a task",
          "action": "Create task"
        },
        {
          "name": "Delete",
          "value": "deleteTask",
          "description": "Delete a task",
          "action": "Delete task"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a task",
          "action": "Get task"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many tasks",
          "action": "Get many tasks"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a task",
          "action": "Update task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Team",
      "name": "groupId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "groupSource"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Team...",
          "typeOptions": {
            "searchListMethod": "getGroups",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "12f0ca7d-b77f-4c4e-93d2-5cbdb4f464c6",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Plan",
      "name": "planId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The plan for the task to belong to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "groupId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Plan...",
          "typeOptions": {
            "searchListMethod": "getPlans",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
        }
      ]
    },
    {
      "displayName": "Bucket",
      "name": "bucketId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The bucket for the task to belong to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "planId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Bucket...",
          "typeOptions": {
            "searchListMethod": "getBuckets",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
        }
      ]
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Title of the task",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assigned To",
          "name": "assignedTo",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "typeOptions": {
            "loadOptionsDependsOn": [
              "groupId.balue"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Member...",
              "typeOptions": {
                "searchListMethod": "getMembers",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "7e2f1174-e8ee-4859-b8b1-a8d1cc63d276",
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                    "errorMessage": "Not a valid Microsoft Teams Team ID"
                  }
                }
              ],
              "extractValue": {
                "type": "regex",
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
              }
            }
          ],
          "description": "Who the task should be assigned to"
        },
        {
          "displayName": "Due Date Time",
          "name": "dueDateTime",
          "type": "string",
          "validateType": "dateTime",
          "default": "",
          "description": "Date and time at which the task is due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time."
        },
        {
          "displayName": "Percent Complete",
          "name": "percentComplete",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "default": 0,
          "placeholder": "e.g. 75",
          "description": "Percentage of task completion. When set to 100, the task is considered completed."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "description": "The ID of the task to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "deleteTask"
          ]
        }
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "description": "The ID of the task to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Tasks For",
      "name": "tasksFor",
      "type": "options",
      "default": "member",
      "description": "Whether to retrieve the tasks for a user or for a plan",
      "options": [
        {
          "name": "Group Member",
          "value": "member",
          "description": "Tasks assigned to group member"
        },
        {
          "name": "Plan",
          "value": "plan",
          "description": "Tasks in group plan"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Team",
      "name": "groupId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "groupSource"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Team...",
          "typeOptions": {
            "searchListMethod": "getGroups",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "12f0ca7d-b77f-4c4e-93d2-5cbdb4f464c6",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                "errorMessage": "Not a valid Microsoft Teams Team ID"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
          }
        }
      ]
    },
    {
      "displayName": "Plan",
      "name": "planId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The plan for the task to belong to",
      "required": true,
      "displayOptions": {
        "show": {
          "tasksFor": [
            "plan"
          ],
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "groupId.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a Plan...",
          "typeOptions": {
            "searchListMethod": "getPlans",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
        }
      ]
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "task"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Task ID",
      "name": "taskId",
      "type": "string",
      "default": "",
      "description": "The ID of the task to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assigned To",
          "name": "assignedTo",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "typeOptions": {
            "loadOptionsDependsOn": [
              "updateFields.groupId.value"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Member...",
              "typeOptions": {
                "searchListMethod": "getMembers",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "7e2f1174-e8ee-4859-b8b1-a8d1cc63d276",
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                    "errorMessage": "Not a valid Microsoft Teams Team ID"
                  }
                }
              ],
              "extractValue": {
                "type": "regex",
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
              }
            }
          ],
          "description": "Who the task should be assigned to",
          "hint": "Select 'Team' from options first",
          "required": false
        },
        {
          "displayName": "Bucket",
          "name": "bucketId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "typeOptions": {
            "loadOptionsDependsOn": [
              "updateFields.planId.value"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Bucket...",
              "typeOptions": {
                "searchListMethod": "getBuckets",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
            }
          ],
          "description": "The bucket for the task to belong to"
        },
        {
          "displayName": "Due Date Time",
          "name": "dueDateTime",
          "type": "string",
          "validateType": "dateTime",
          "default": "",
          "description": "Date and time at which the task is due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time."
        },
        {
          "displayName": "Team",
          "name": "groupId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "typeOptions": {
            "loadOptionsDependsOn": [
              "/groupSource"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Team...",
              "typeOptions": {
                "searchListMethod": "getGroups",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "12f0ca7d-b77f-4c4e-93d2-5cbdb4f464c6",
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})[ \t]*",
                    "errorMessage": "Not a valid Microsoft Teams Team ID"
                  }
                }
              ],
              "extractValue": {
                "type": "regex",
                "regex": "^([0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})"
              }
            }
          ]
        },
        {
          "displayName": "Percent Complete",
          "name": "percentComplete",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "default": 0,
          "placeholder": "e.g. 75",
          "description": "Percentage of task completion. When set to 100, the task is considered completed."
        },
        {
          "displayName": "Plan",
          "name": "planId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "typeOptions": {
            "loadOptionsDependsOn": [
              "updateFields.groupId.value"
            ]
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a Plan...",
              "typeOptions": {
                "searchListMethod": "getPlans",
                "searchable": true
              }
            },
            {
              "displayName": "By ID",
              "name": "id",
              "type": "string",
              "placeholder": "rl1HYb0cUEiHPc7zgB_KWWUAA7Of"
            }
          ],
          "description": "The plan for the task to belong to",
          "hint": "Select 'Team' from options first"
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "placeholder": "e.g. my task",
          "description": "Title of the task"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "task"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

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


