# nodes

node_type: nodes-base.mautic
package_name: n8n-nodes-base
display_name: Mautic
description: Consume Mautic API
category: output
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2025-10-10 11:39:53
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Mautic node documentation
  description: Learn how to use the Mautic node in n8n. Follow technical documentation to integrate Mautic node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Mautic node

  Use the Mautic node to automate work in Mautic, and integrate Mautic with other applications. n8n has built-in support for a wide range of Mautic features, including creating, updating, deleting, and getting companies, and contacts, as well as adding and removing campaign contacts. 

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

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

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

  ## Operations

  * Campaign Contact
      * Add contact to a campaign
      * Remove contact from a campaign
  * Company
      * Create a new company
      * Delete a company
      * Get data of a company
      * Get data of all companies
      * Update a company
  * Company Contact
      * Add contact to a company
      * Remove a contact from a company
  * Contact
      * Create a new contact
      * Delete a contact
      * Edit contact's points
      * Add/remove contacts from/to the don't contact list
      * Get data of a contact
      * Get data of all contacts
      * Send email to contact
      * Update a contact
  * Contact Segment
      * Add contact to a segment
      * Remove contact from a segment
  * Segment Email
      * Send

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "credentials",
      "options": [
        {
          "name": "Credentials",
          "value": "credentials"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "contact",
      "options": [
        {
          "name": "Campaign Contact",
          "value": "campaignContact",
          "description": "Add/remove contacts to/from a campaign"
        },
        {
          "name": "Company",
          "value": "company",
          "description": "Create or modify a company"
        },
        {
          "name": "Company Contact",
          "value": "companyContact",
          "description": "Add/remove contacts to/from a company"
        },
        {
          "name": "Contact",
          "value": "contact",
          "description": "Create & modify contacts"
        },
        {
          "name": "Contact Segment",
          "value": "contactSegment",
          "description": "Add/remove contacts to/from a segment"
        },
        {
          "name": "Segment Email",
          "value": "segmentEmail",
          "description": "Send an email"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new company",
          "action": "Create a company"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a company",
          "action": "Delete a company"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a company",
          "action": "Get a company"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many companies",
          "action": "Get many companies"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a company",
          "action": "Update a company"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Company Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the company to create",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "addressUi",
          "placeholder": "Address",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "default": {},
          "options": [
            {
              "name": "addressValues",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "Address Line 1",
                  "name": "address1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 2",
                  "name": "address2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zipCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Annual Revenue",
          "name": "annualRevenue",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Company Email",
          "name": "companyEmail",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "placeholder": "Add Custom Fields",
          "description": "Adds a custom fields to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "customFieldValues",
              "displayName": "Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCompanyFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "fieldValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Fax",
          "name": "fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Industry Name or ID",
          "name": "industry",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getIndustries"
          },
          "default": ""
        },
        {
          "displayName": "Is Published",
          "name": "isPublished",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Number of Employees",
          "name": "numberOfEmpoyees",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Overwrite With Blank",
          "name": "overwriteWithBlank",
          "type": "boolean",
          "default": false,
          "description": "Whether empty values are set to fields. Otherwise empty values are skipped."
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Company ID",
      "name": "companyId",
      "type": "string",
      "default": "",
      "description": "The ID of the company to update",
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "company"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "addressUi",
          "placeholder": "Address",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "default": {},
          "options": [
            {
              "name": "addressValues",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "Address Line 1",
                  "name": "address1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 2",
                  "name": "address2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zipCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Annual Revenue",
          "name": "annualRevenue",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Company Email",
          "name": "companyEmail",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Company Name",
          "name": "name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "placeholder": "Add Custom Fields",
          "description": "Adds a custom fields to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "customFieldValues",
              "displayName": "Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCompanyFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "fieldValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Fax",
          "name": "fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Industry Name or ID",
          "name": "industry",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getIndustries"
          },
          "default": ""
        },
        {
          "displayName": "Is Published",
          "name": "isPublished",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Number of Employees",
          "name": "numberOfEmpoyees",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Overwrite With Blank",
          "name": "overwriteWithBlank",
          "type": "boolean",
          "default": false,
          "description": "Whether empty values are set to fields. Otherwise, empty values are skipped."
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Company ID",
      "name": "companyId",
      "type": "string",
      "default": "",
      "description": "The ID of the company to return",
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "company"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "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": [
            "company"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 30,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 30
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Order Direction",
          "name": "orderByDir",
          "type": "options",
          "options": [
            {
              "name": "ASC",
              "value": "asc"
            },
            {
              "name": "DESC",
              "value": "desc"
            }
          ],
          "default": "",
          "description": "Sort direction: asc or desc"
        },
        {
          "displayName": "Order By Name or ID",
          "name": "orderBy",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getCompanyFields"
          },
          "default": "",
          "description": "Column to sort by. Can use any column listed in the response. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Search",
          "name": "search",
          "type": "string",
          "default": "",
          "description": "String or search command to filter entities by"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Company ID",
      "name": "companyId",
      "type": "string",
      "default": "",
      "description": "The ID of the company to delete",
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "company"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new contact",
          "action": "Create a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Edit Contact Points",
          "value": "editContactPoint",
          "description": "Edit contact's points",
          "action": "Edit a contact's points"
        },
        {
          "name": "Edit Do Not Contact List",
          "value": "editDoNotContactList",
          "description": "Add/remove contacts from/to the do not contact list",
          "action": "Add/remove contacts from/to the do not contact list"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Send Email",
          "value": "sendEmail",
          "description": "Send email to contact",
          "action": "Send email to a contact"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "Email address of the contact",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "First Name",
      "name": "firstName",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "lastName",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Primary Company Name or ID",
      "name": "company",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getCompanies"
      }
    },
    {
      "displayName": "Position",
      "name": "position",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Body",
      "name": "bodyJson",
      "type": "json",
      "default": "",
      "description": "Contact parameters",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ],
          "jsonParameters": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "addressUi",
          "placeholder": "Address",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "default": {},
          "options": [
            {
              "name": "addressValues",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "Address Line 1",
                  "name": "address1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 2",
                  "name": "address2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zipCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "B2B or B2C",
          "name": "b2bOrb2c",
          "type": "options",
          "options": [
            {
              "name": "B2B",
              "value": "B2B"
            },
            {
              "name": "B2C",
              "value": "B2C"
            }
          ],
          "default": ""
        },
        {
          "displayName": "CRM ID",
          "name": "crmId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "placeholder": "Add Custom Fields",
          "description": "Adds a custom fields to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "customFieldValues",
              "displayName": "Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getContactFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "fieldValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fax",
          "name": "fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Has Purchased",
          "name": "hasPurchased",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "IP Address",
          "name": "ipAddress",
          "type": "string",
          "default": "",
          "description": "IP address to associate with the contact"
        },
        {
          "displayName": "Last Active",
          "name": "lastActive",
          "type": "dateTime",
          "default": "",
          "description": "Date/time in UTC;"
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Owner ID",
          "name": "ownerId",
          "type": "string",
          "default": "",
          "description": "ID of a Mautic user to assign this contact to"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Prospect or Customer",
          "name": "prospectOrCustomer",
          "type": "options",
          "options": [
            {
              "name": "Prospect",
              "value": "Prospect"
            },
            {
              "name": "Customer",
              "value": "Customer"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Sandbox",
          "name": "sandbox",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Stage Name or ID",
          "name": "stage",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getStages"
          },
          "default": ""
        },
        {
          "displayName": "Tag Names or IDs",
          "name": "tags",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getTags"
          },
          "default": []
        },
        {
          "displayName": "Social Media",
          "name": "socialMediaUi",
          "placeholder": "Social Media",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "default": {},
          "options": [
            {
              "name": "socialMediaValues",
              "displayName": "Social Media",
              "values": [
                {
                  "displayName": "Facebook",
                  "name": "facebook",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Foursquare",
                  "name": "foursquare",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Instagram",
                  "name": "instagram",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "LinkedIn",
                  "name": "linkedIn",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Skype",
                  "name": "skype",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Twitter",
                  "name": "twitter",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Website",
          "name": "website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Body",
          "name": "bodyJson",
          "type": "json",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                true
              ]
            }
          },
          "default": "",
          "description": "Contact parameters"
        },
        {
          "displayName": "Address",
          "name": "addressUi",
          "placeholder": "Address",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": {},
          "options": [
            {
              "name": "addressValues",
              "displayName": "Address",
              "values": [
                {
                  "displayName": "Address Line 1",
                  "name": "address1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address Line 2",
                  "name": "address2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "zipCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "B2B or B2C",
          "name": "b2bOrb2c",
          "type": "options",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "options": [
            {
              "name": "B2B",
              "value": "B2B"
            },
            {
              "name": "B2C",
              "value": "B2C"
            }
          ],
          "default": ""
        },
        {
          "displayName": "CRM ID",
          "name": "crmId",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "Custom Fields",
          "name": "customFieldsUi",
          "placeholder": "Add Custom Fields",
          "description": "Adds a custom fields to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "customFieldValues",
              "displayName": "Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getContactFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "fieldValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": "",
          "description": "Email address of the contact"
        },
        {
          "displayName": "Fax",
          "name": "fax",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "firstName",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "Has Purchased",
          "name": "hasPurchased",
          "type": "boolean",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": false
        },
        {
          "displayName": "IP Address",
          "name": "ipAddress",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": "",
          "description": "IP address to associate with the contact"
        },
        {
          "displayName": "Last Active",
          "name": "lastActive",
          "type": "dateTime",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": "",
          "description": "Date/time in UTC;"
        },
        {
          "displayName": "Last Name",
          "name": "lastName",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": "",
          "description": "LastName"
        },
        {
          "displayName": "Mobile",
          "name": "mobile",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "Owner ID",
          "name": "ownerId",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": "",
          "description": "ID of a Mautic user to assign this contact to"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "Position",
          "name": "position",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "Primary Company Name or ID",
          "name": "company",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCompanies"
          },
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "Prospect or Customer",
          "name": "prospectOrCustomer",
          "type": "options",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "options": [
            {
              "name": "Prospect",
              "value": "Prospect"
            },
            {
              "name": "Customer",
              "value": "Customer"
            }
          ],
          "default": ""
        },
        {
          "displayName": "Sandbox",
          "name": "sandbox",
          "type": "boolean",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": false
        },
        {
          "displayName": "Stage Name or ID",
          "name": "stage",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "typeOptions": {
            "loadOptionsMethod": "getStages"
          },
          "default": ""
        },
        {
          "displayName": "Tag Names or IDs",
          "name": "tags",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "typeOptions": {
            "loadOptionsMethod": "getTags"
          },
          "default": []
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "Social Media",
          "name": "socialMediaUi",
          "placeholder": "Social Media",
          "type": "fixedCollection",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "typeOptions": {
            "multipleValues": false
          },
          "default": {},
          "options": [
            {
              "name": "socialMediaValues",
              "displayName": "Social Media",
              "values": [
                {
                  "displayName": "Facebook",
                  "name": "facebook",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Foursquare",
                  "name": "foursquare",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Instagram",
                  "name": "instagram",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "LinkedIn",
                  "name": "linkedIn",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Skype",
                  "name": "skype",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Twitter",
                  "name": "twitter",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Website",
          "name": "website",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "IP Address",
          "name": "ipAddress",
          "type": "string",
          "displayOptions": {
            "show": {
              "/jsonParameters": [
                false
              ]
            }
          },
          "default": "",
          "description": "IP address to associate with the contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "editDoNotContactList"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Action",
      "name": "action",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "action": "Add a contact"
        },
        {
          "name": "Remove",
          "value": "remove",
          "action": "Remove a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "editDoNotContactList"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Channel",
      "name": "channel",
      "type": "options",
      "default": "email",
      "options": [
        {
          "name": "Email",
          "value": "email"
        },
        {
          "name": "SMS",
          "value": "sms"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "editDoNotContactList"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Reason To Do Not Contact",
          "name": "reason",
          "type": "options",
          "options": [
            {
              "name": "Unsubscribed",
              "value": "1"
            },
            {
              "name": "Bounced",
              "value": "2"
            },
            {
              "name": "Manual",
              "value": "3"
            }
          ],
          "default": "3"
        },
        {
          "displayName": "Comments",
          "name": "comments",
          "type": "string",
          "default": "",
          "description": "A text describing details of Do Not Contact entry"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "editDoNotContactList"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "editContactPoint"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Action",
      "name": "action",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "action": "Add a contact"
        },
        {
          "name": "Remove",
          "value": "remove",
          "action": "Remove a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "editContactPoint"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Points",
      "name": "points",
      "type": "number",
      "default": 0,
      "displayOptions": {
        "show": {
          "operation": [
            "editContactPoint"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "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": 30,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 30
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Search",
          "name": "search",
          "type": "string",
          "displayOptions": {
            "show": {
              "/resource": [
                "contact"
              ],
              "/operation": [
                "getAll"
              ]
            }
          },
          "default": "",
          "description": "String or search command to filter entities by"
        },
        {
          "displayName": "Order By",
          "name": "orderBy",
          "type": "string",
          "displayOptions": {
            "show": {
              "/resource": [
                "contact"
              ],
              "/operation": [
                "getAll"
              ]
            }
          },
          "default": "",
          "description": "Column to sort by. Can use any column listed in the response."
        },
        {
          "displayName": "Order By Dir",
          "name": "orderByDir",
          "type": "options",
          "displayOptions": {
            "show": {
              "/resource": [
                "contact"
              ],
              "/operation": [
                "getAll"
              ]
            }
          },
          "default": "",
          "options": [
            {
              "name": "ASC",
              "value": "asc"
            },
            {
              "name": "DESC",
              "value": "desc"
            }
          ],
          "description": "Sort direction: ASC or DESC"
        },
        {
          "displayName": "Published Only",
          "name": "publishedOnly",
          "type": "boolean",
          "displayOptions": {
            "show": {
              "/resource": [
                "contact"
              ],
              "/operation": [
                "getAll"
              ]
            }
          },
          "default": false,
          "description": "Whether to return currently published entities"
        },
        {
          "displayName": "Minimal",
          "name": "minimal",
          "type": "boolean",
          "displayOptions": {
            "show": {
              "/resource": [
                "contact"
              ],
              "/operation": [
                "getAll"
              ]
            }
          },
          "default": false,
          "description": "Whether to return array of entities without additional lists in it"
        },
        {
          "displayName": "RAW Data",
          "name": "rawData",
          "type": "boolean",
          "default": true,
          "description": "By default only the data of the fields get returned. If this options gets set the RAW response with all data gets returned."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        },
        "hide": {
          "operation": [
            "sendEmail",
            "editDoNotContactList",
            "editContactPoint"
          ]
        }
      }
    },
    {
      "displayName": "Campaign Email Name or ID",
      "name": "campaignEmailId",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "sendEmail"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getCampaignEmails"
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "sendEmail"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add contact to a segment",
          "action": "Add a contact to a segment"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove contact from a segment",
          "action": "Remove a contact from a segment"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contactSegment"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contactSegment"
          ],
          "operation": [
            "add",
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Segment Name or ID",
      "name": "segmentId",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contactSegment"
          ],
          "operation": [
            "add",
            "remove"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSegments"
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add contact to a campaign",
          "action": "Add a campaign contact"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove contact from a campaign",
          "action": "Remove a campaign contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "campaignContact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "campaignContact"
          ],
          "operation": [
            "add",
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Campaign Name or ID",
      "name": "campaignId",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "campaignContact"
          ],
          "operation": [
            "add",
            "remove"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getCampaigns"
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add contact to a company",
          "action": "Add a company contact"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove a contact from a company",
          "action": "Remove a company contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "companyContact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "description": "The ID of the contact",
      "displayOptions": {
        "show": {
          "resource": [
            "companyContact"
          ],
          "operation": [
            "add",
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Company ID",
      "name": "companyId",
      "type": "string",
      "default": "",
      "description": "The ID of the company",
      "displayOptions": {
        "show": {
          "resource": [
            "companyContact"
          ],
          "operation": [
            "add",
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "action": "Send an email to a segment"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "segmentEmail"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Segment Email Name or ID",
      "name": "segmentEmailId",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "segmentEmail"
          ],
          "operation": [
            "send"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSegmentEmails"
      }
    }
  ]

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

credentials_required:
  [
    {
      "name": "mauticApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "credentials"
          ]
        }
      }
    },
    {
      "name": "mauticOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    }
  ]


node_type: nodes-base.mauticTrigger
package_name: n8n-nodes-base
display_name: Mautic Trigger
description: Handle Mautic events via webhooks
category: trigger
development_style: programmatic
version: 1
operations: []
outputs:
  [
  "main"
  ]

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

  # Mautic Trigger node

  [Mautic](https://www.mautic.org/){:target=_blank .external-link} is an open-source marketing automation software that helps online businesses automate their repetitive marketing tasks such as lead generation, contact scoring, contact segmentation, and marketing campaigns.

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

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

  ## Related resources

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "credentials",
      "options": [
        {
          "name": "Credentials",
          "value": "credentials"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Event Names or IDs",
      "name": "events",
      "type": "multiOptions",
      "default": [],
      "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "required": true,
      "typeOptions": {
        "loadOptionsMethod": "getEvents"
      }
    },
    {
      "displayName": "Events Order",
      "name": "eventsOrder",
      "type": "options",
      "default": "ASC",
      "description": "Order direction for queued events in one webhook. Can be “DESC” or “ASC”.",
      "options": [
        {
          "name": "ASC",
          "value": "ASC"
        },
        {
          "name": "DESC",
          "value": "DESC"
        }
      ]
    }
  ]

credentials_required:
  [
    {
      "name": "mauticApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "credentials"
          ]
        }
      }
    },
    {
      "name": "mauticOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    }
  ]


node_type: nodes-base.medium
package_name: n8n-nodes-base
display_name: Medium
description: Consume Medium API
category: output
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "create",
  "name": "Create",
  "description": "Create a post"
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-10-10 11:39:53
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Medium node documentation
  description: Learn how to use the Medium node in n8n. Follow technical documentation to integrate Medium node into your workflows.
  contentType: [integration, reference]
  ---

  # Medium node

  Use the Medium node to automate work in Medium, and integrate Medium with other applications. n8n has built-in support for a wide range of Medium features, including creating posts, and getting publications. 

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

  /// warning | Medium API no longer supported
  Medium has stopped supporting the Medium API. The Medium node still appears within n8n, but you won't be able to configure new API keys to authenticate with.

  Refer to [Medium credentials](/integrations/builtin/credentials/medium.md) for guidance on setting up existing API keys.
  ///

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


  ## Operations

  * Post
      * Create a post
  * Publication
      * Get all publications

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "accessToken",
      "options": [
        {
          "name": "Access Token",
          "value": "accessToken"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "post",
      "options": [
        {
          "name": "Post",
          "value": "post"
        },
        {
          "name": "Publication",
          "value": "publication"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a post",
          "action": "Create a post"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "post"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Publication",
      "name": "publication",
      "type": "boolean",
      "default": false,
      "description": "Whether you are posting for a publication",
      "displayOptions": {
        "show": {
          "resource": [
            "post"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Publication Name or ID",
      "name": "publicationId",
      "type": "options",
      "default": "",
      "description": "Publication IDs. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "post"
          ],
          "operation": [
            "create"
          ],
          "publication": [
            true
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getPublications"
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Title of the post. Max Length : 100 characters.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "post"
          ]
        }
      }
    },
    {
      "displayName": "Content Format",
      "name": "contentFormat",
      "type": "options",
      "default": "",
      "description": "The format of the content to be posted",
      "options": [
        {
          "name": "HTML",
          "value": "html"
        },
        {
          "name": "Markdown",
          "value": "markdown"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "post"
          ]
        }
      }
    },
    {
      "displayName": "Content",
      "name": "content",
      "type": "string",
      "default": "",
      "description": "The body of the post, in a valid semantic HTML fragment, or Markdown",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "post"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Canonical Url",
          "name": "canonicalUrl",
          "type": "string",
          "default": "",
          "description": "The original home of this content, if it was originally published elsewhere"
        },
        {
          "displayName": "License",
          "name": "license",
          "type": "options",
          "default": "all-rights-reserved",
          "options": [
            {
              "name": "all-rights-reserved",
              "value": "all-rights-reserved"
            },
            {
              "name": "cc-40-by",
              "value": "cc-40-by"
            },
            {
              "name": "cc-40-by-nc",
              "value": "cc-40-by-nc"
            },
            {
              "name": "cc-40-by-nc-nd",
              "value": "cc-40-by-nc-nd"
            },
            {
              "name": "cc-40-by-nc-sa",
              "value": "cc-40-by-nc-sa"
            },
            {
              "name": "cc-40-by-nd",
              "value": "cc-40-by-nd"
            },
            {
              "name": "cc-40-by-sa",
              "value": "cc-40-by-sa"
            },
            {
              "name": "cc-40-zero",
              "value": "cc-40-zero"
            },
            {
              "name": "public-domain",
              "value": "public-domain"
            }
          ],
          "description": "License of the post"
        },
        {
          "displayName": "Notify Followers",
          "name": "notifyFollowers",
          "type": "boolean",
          "default": false,
          "description": "Whether to notify followers that the user has published"
        },
        {
          "displayName": "Publish Status",
          "name": "publishStatus",
          "default": "public",
          "type": "options",
          "options": [
            {
              "name": "Public",
              "value": "public"
            },
            {
              "name": "Draft",
              "value": "draft"
            },
            {
              "name": "Unlisted",
              "value": "unlisted"
            }
          ],
          "description": "The status of the post"
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "default": "",
          "placeholder": "open-source,mlh,fellowship",
          "description": "Comma-separated strings to be used as tags for post classification. Max allowed tags: 5. Max tag length: 25 characters."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "post"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "publication",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many publications",
          "action": "Get many publications"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "publication"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "publication"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "publication"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 200
      }
    }
  ]

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


node_type: nodes-base.merge
package_name: n8n-nodes-base
display_name: Merge
description: Merges data of multiple streams once data from both is available
category: transform
development_style: programmatic
version: 3.2
operations: []
credentials_required: []
outputs:
  [
  "main"
  ]

updated_at: 2025-10-10 11:39:53
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Merge
  description: Documentation for the Merge node in n8n, a workflow automation platform. Includes guidance on usage, and links to examples.
  contentType: [integration, reference]
  priority: critical
  ---

  # Merge

  Use the Merge node to combine data from multiple streams, once data of all streams is available.

  /// note | Major changes in 0.194.0
  The n8n team overhauled this node in n8n 0.194.0. This document reflects the latest version of the node. If you're using an older version of n8n, you can find the previous version of this document [here](https://github.com/n8n-io/n8n-docs/blob/4ff688642cc9ee7ca7d00987847bf4e4515da59d/docs/integrations/builtin/core-nodes/n8n-nodes-base.merge.md){:target=_blank .external-link}.
  ///

  /// note | Minor changes in 1.49.0
  n8n version 1.49.0 introduced the option to add more than two inputs. Older versions only support up to two inputs. If you're running an older version and want to combine multiple inputs in these versions, use the [Code node](https://deploy-preview-2225--n8n-docs.netlify.app/code/code-node/).

  The **Mode > SQL Query** feature was also added in n8n version 1.49.0 and isn't available in older versions.
  ///

  ## Node parameters

  You can specify how the Merge node should combine data from different data streams by choosing a **Mode**: 

  ### Append

  Keep data from all inputs. Choose a **Number of Inputs** to output items of each input, one after another. The node waits for the execution of all connected inputs. 

  <figure markdown="span">
  ![Sample Append mode inputs and output. Two separate data sources are on the left, one with items A, B, C and one with items D, E, F. The final data source combines both and lists A, B, C, D, E, F.](/_images/integrations/builtin/core-nodes/merge/append-diagram.png)
  <figcaption>Append mode inputs and output</figcaption>
  </figure>

  ### Combine

  Combine data from two inputs. Select an option in **Combine By** to determine how you want to merge the input data.

  #### Matching Fields

  Compare items by field values. Enter the fields you want to compare in **Fields to Match**. 

  n8n's default behavior is to keep matching items. You can change this using the **Output Type** setting:

  * **Keep Matches**: Merge items that match. This is like an inner join.
  * **Keep Non-Matches**: Merge items that don't match.
  * **Keep Everything**: Merge items together that do match and include items that don't match. This is like an outer join.
  * **Enrich Input 1**: Keep all data from Input 1, and add matching data from Input 2. This is like a left join.
  * **Enrich Input 2**: Keep all data from Input 2, and add matching data from Input 1. This is like a right join.

  <figure markdown="span">
  ![Sample Combine mode inputs and output. Two separate data sources are on the left. The final data source combines these data sources by matching fields.](/_images/integrations/builtin/core-nodes/merge/merge-by-field-diagram.png)
  <figcaption>Combine by Matching Fields mode inputs and output</figcaption>
  </figure>


  #### Position

  Combine items based on their order. The item at index 0 in Input 1 merges with the item at index 0 in Input 2, and so on.

  <figure markdown="span">
  ![Sample Combine mode inputs and output. Two separate data sources are on the left. The final data source combines these data sources by index position.](/_images/integrations/builtin/core-nodes/merge/merge-by-position-diagram.png)
  <figcaption>Combine by Position mode inputs and output</figcaption>
  </figure>


  #### All Possible Combinations

  Output all possible item combinations, while merging fields with the same name.

  <figure markdown="span">
  ![Sample Combine mode inputs and output. Two separate data sources are on the left. The final data source combines these data sources by all possible combinations.](/_images/integrations/builtin/core-nodes/merge/multiplex-diagram.png)
  <figcaption>Combine by All Possible Combinations mode inputs and output</figcaption>
  </figure>

  #### Combine mode options

  When merging data by **Mode > Combine**, you can set these **Options**:

  * **Clash Handling**: Choose how to merge when data streams clash, or when there are sub-fields. Refer to [Clash handling](#clash-handling) for details.
  * **Fuzzy Compare**: Whether to tolerate type differences when comparing fields (enabled), or not (disabled, default). For example, when you enable this, n8n treats `"3"` and `3` as the same.
  * **Disable Dot Notation**: This prevents accessing child fields using `parent.child` in the field name.
  * **Multiple Matches**: Choose how n8n handles multiple matches when comparing data streams.
      * **Include All Matches**: Output multiple items if there are multiple matches, one for each match.
      * **Include First Match Only**: Keep the first item per match and discard the remaining multiple matches.
  * **Include Any Unpaired Items**: Choose whether to keep or discard unpaired items when merging by position. The default behavior is to leave out the items without a match. 

  ##### Clash Handling

  --8<-- "_snippets/integrations/builtin/core-nodes/merge/field-value-clash.md"

  ### SQL Query

  Write a custom SQL Query to merge the data. 

  Example: 
  ```sql
  SELECT * FROM input1 LEFT JOIN input2 ON input1.name = input2.id
  ```

  Data from previous nodes are available as tables and you can use them in the SQL query as input1, input2, input3, and so on, based on their order. Refer to [AlaSQL GitHub page](https://github.com/alasql/alasql/wiki/Supported-SQL-statements){:target=_blank .external-link} for a full list of supported SQL statements. 

  ### Choose Branch

  Choose which input to keep. This option always waits until the data from both inputs is available. You can choose to **Output**:

  * The **Input 1 Data**
  * The **Input 2 Data**
  * **A Single, Empty Item**

  The node outputs the data from the chosen input, without changing it.

  ## Templates and examples

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

  ## Merging data streams with uneven numbers of items

  The items passed into Input 1 of the Merge node will take precedence. For example, if the Merge node receives five items in Input 1 and 10 items in Input 2, it only processes five items. The remaining five items from Input 2 aren't processed.

  ## Branch execution with If and Merge nodes

  --8<-- "_snippets/integrations/builtin/core-nodes/merge/if-merge-branch-execution.md"


  ## Try it out: A step by step example

  Create a workflow with some example input data to try out the Merge node.

  ### Set up sample data using the Code nodes

  1. Add a Code node to the canvas and connect it to the Start node.
  2. Paste the following JavaScript code snippet in the **JavaScript Code** field:
  ```js
  return [
    {
      json: {
        name: 'Stefan',
        language: 'de',
      }
    },
    {
      json: {
        name: 'Jim',
        language: 'en',
      }
    },
    {
      json: {
        name: 'Hans',
        language: 'de',
      }
    }
  ];
  ```
  3. Add a second Code node, and connect it to the Start node.
  4. Paste the following JavaScript code snippet in the **JavaScript Code** field:
  ```js
  return [
  	  {
      json: {
        greeting: 'Hello',
        language: 'en',
      }
    },
    {
      json: {
        greeting: 'Hallo',
        language: 'de',
      }
    }
  ];
  ```

  ### Try out different merge modes

  Add the Merge node. Connect the first Code node to **Input 1**, and the second Code node to **Input 2**. Run the workflow to load data into the Merge node.

  The final workflow should look like this:

  [[ workflowDemo("https://api.n8n.io/workflows/templates/655") ]]

  Now try different options in **Mode** to see how it affects the output data.

  #### Append

  Select **Mode** > **Append**, then select **Execute step**.

  Your output in table view should look like this:
  <!-- vale off -->
  | **name** | **language** | **greeting** |
  | --- | --- | --- |
  | Stefan | de |  |
  | Jim | en |  |
  | Hans | de |  |
  |   | en | Hello |
  |   | de | Hallo |
  <!-- vale on -->

  #### Combine by Matching Fields

  You can merge these two data inputs so that each person gets the correct greeting for their language.

  1. Select **Mode** > **Combine**.
  2. Select **Combine by** > **Matching Fields**.
  3. In both **Input 1 Field** and **Input 2 Field**, enter `language`. This tells n8n to combine the data by matching the values in the `language` field in each data set.
  4. Select **Execute step**.

  Your output in table view should look like this:
  <!-- vale off -->

  | **name** | **language** | **greeting** |
  | --- | --- | --- |
  | Stefan | de | Hallo |
  | Jim | en | Hello  |
  | Hans | de | Hallo |
  <!-- vale on -->

  #### Combine by Position

  Select **Mode** > **Combine**, **Combine by** > **Position**, then select **Execute step**.

  Your output in table view should look like this:
  <!-- vale off -->
  | **name** | **language** | **greeting** |
  | --- | --- | --- |
  | Stefan | en | Hello |
  | Jim | de | Hallo  |
  <!-- vale on -->

  ##### Keep unpaired items

  If you want to keep all items, select **Add Option** > **Include Any Unpaired Items**, then turn on **Include Any Unpaired Items**.

  Your output in table view should look like this:
  <!-- vale off -->
  | **name** | **language** | **greeting** |
  | --- | --- | --- |
  | Stefan | en | Hello |
  | Jim | de | Hallo  |
  | Hans | de |  |
  <!-- vale on -->

  #### Combine by All Possible Combinations 

  Select **Mode** > **Combine**, **Combine by** > **All Possible Combinations**, then select **Execute step**.

  Your output in table view should look like this:
  <!-- vale off -->
  | **name** | **language** | **greeting** |
  | --- | --- | --- |
  | Stefan | en | Hello |
  | Stefan | de | Hallo |
  | Jim | en | Hello  |
  | Jim | de | Hallo |
  | Hans | en | Hello |
  | Hans | de | Hallo |
  <!-- vale on -->

properties_schema:
  [
    {
      "displayName": "Mode",
      "name": "mode",
      "type": "options",
      "default": "append",
      "description": "How input data should be merged",
      "options": [
        {
          "name": "Append",
          "value": "append",
          "description": "Output items of each input, one after the other"
        },
        {
          "name": "Combine",
          "value": "combine",
          "description": "Merge matching items together"
        },
        {
          "name": "SQL Query",
          "value": "combineBySql",
          "description": "Write a query to do the merge"
        },
        {
          "name": "Choose Branch",
          "value": "chooseBranch",
          "description": "Output data from a specific branch, without modifying it"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Combine By",
      "name": "combineBy",
      "type": "options",
      "default": "combineByFields",
      "description": "How input data should be merged",
      "options": [
        {
          "name": "Matching Fields",
          "value": "combineByFields",
          "description": "Combine items with the same field values"
        },
        {
          "name": "Position",
          "value": "combineByPosition",
          "description": "Combine items based on their order"
        },
        {
          "name": "All Possible Combinations",
          "value": "combineAll",
          "description": "Every pairing of every two items (cross join)"
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "combine"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Number of Inputs",
      "name": "numberInputs",
      "type": "options",
      "default": 2,
      "description": "The number of data inputs you want to merge. The node waits for all connected inputs to be executed.",
      "options": [
        {
          "name": "2",
          "value": 2
        },
        {
          "name": "3",
          "value": 3
        },
        {
          "name": "4",
          "value": 4
        },
        {
          "name": "5",
          "value": 5
        },
        {
          "name": "6",
          "value": 6
        },
        {
          "name": "7",
          "value": 7
        },
        {
          "name": "8",
          "value": 8
        },
        {
          "name": "9",
          "value": 9
        },
        {
          "name": "10",
          "value": 10
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "append"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Clash Handling",
          "name": "clashHandling",
          "type": "fixedCollection",
          "default": {
            "values": {
              "resolveClash": "preferLast",
              "mergeMode": "deepMerge",
              "overrideEmpty": false
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "When Field Values Clash",
                  "name": "resolveClash",
                  "type": "options",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getResolveClashOptions",
                    "loadOptionsDependsOn": [
                      "numberInputs"
                    ]
                  }
                },
                {
                  "displayName": "Merging Nested Fields",
                  "name": "mergeMode",
                  "type": "options",
                  "default": "deepMerge",
                  "options": [
                    {
                      "name": "Deep Merge",
                      "value": "deepMerge",
                      "description": "Merge at every level of nesting"
                    },
                    {
                      "name": "Shallow Merge",
                      "value": "shallowMerge",
                      "description": "Merge at the top level only (all nested fields will come from the same input)"
                    }
                  ],
                  "hint": "How to merge when there are sub-fields below the top-level ones",
                  "displayOptions": {
                    "show": {
                      "resolveClash": [
                        {
                          "_cnd": {
                            "not": "addSuffix"
                          }
                        }
                      ]
                    }
                  }
                },
                {
                  "displayName": "Minimize Empty Fields",
                  "name": "overrideEmpty",
                  "type": "boolean",
                  "default": false,
                  "description": "Whether to override the preferred input version for a field if it is empty and the other version isn't. Here 'empty' means undefined, null or an empty string.",
                  "displayOptions": {
                    "show": {
                      "resolveClash": [
                        {
                          "_cnd": {
                            "not": "addSuffix"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "Fuzzy Compare",
          "name": "fuzzyCompare",
          "type": "boolean",
          "default": false,
          "description": "Whether to tolerate small type differences when comparing fields. E.g. the number 3 and the string '3' are treated as the same."
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields To Match Have Different Names",
      "name": "advanced",
      "type": "boolean",
      "default": false,
      "description": "Whether name(s) of field to match are different in input 1 and input 2",
      "displayOptions": {
        "show": {
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineByFields"
          ]
        }
      }
    },
    {
      "displayName": "Fields to Match",
      "name": "fieldsToMatchString",
      "type": "string",
      "default": "",
      "description": "Specify the fields to use for matching input items",
      "displayOptions": {
        "show": {
          "advanced": [
            false
          ],
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineByFields"
          ]
        }
      }
    },
    {
      "displayName": "Fields to Match",
      "name": "mergeByFields",
      "type": "fixedCollection",
      "default": {
        "values": [
          {
            "field1": "",
            "field2": ""
          }
        ]
      },
      "description": "Specify the fields to use for matching input items",
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Input 1 Field",
              "name": "field1",
              "type": "string",
              "default": "",
              "placeholder": "e.g. id",
              "hint": "Drag or type the input field name",
              "requiresDataPath": "single"
            },
            {
              "displayName": "Input 2 Field",
              "name": "field2",
              "type": "string",
              "default": "",
              "placeholder": "e.g. id",
              "hint": "Drag or type the input field name",
              "requiresDataPath": "single"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "advanced": [
            true
          ],
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineByFields"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Output Type",
      "name": "joinMode",
      "type": "options",
      "default": "keepMatches",
      "description": "How to select the items to send to output",
      "options": [
        {
          "name": "Keep Matches",
          "value": "keepMatches",
          "description": "Items that match, merged together (inner join)"
        },
        {
          "name": "Keep Non-Matches",
          "value": "keepNonMatches",
          "description": "Items that don't match"
        },
        {
          "name": "Keep Everything",
          "value": "keepEverything",
          "description": "Items that match merged together, plus items that don't match (outer join)"
        },
        {
          "name": "Enrich Input 1",
          "value": "enrichInput1",
          "description": "All of input 1, with data from input 2 added in (left join)"
        },
        {
          "name": "Enrich Input 2",
          "value": "enrichInput2",
          "description": "All of input 2, with data from input 1 added in (right join)"
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineByFields"
          ]
        }
      }
    },
    {
      "displayName": "Output Data From",
      "name": "outputDataFrom",
      "type": "options",
      "default": "both",
      "options": [
        {
          "name": "Both Inputs Merged Together",
          "value": "both"
        },
        {
          "name": "Input 1",
          "value": "input1"
        },
        {
          "name": "Input 2",
          "value": "input2"
        }
      ],
      "displayOptions": {
        "show": {
          "joinMode": [
            "keepMatches"
          ],
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineByFields"
          ]
        }
      }
    },
    {
      "displayName": "Output Data From",
      "name": "outputDataFrom",
      "type": "options",
      "default": "both",
      "options": [
        {
          "name": "Both Inputs Appended Together",
          "value": "both"
        },
        {
          "name": "Input 1",
          "value": "input1"
        },
        {
          "name": "Input 2",
          "value": "input2"
        }
      ],
      "displayOptions": {
        "show": {
          "joinMode": [
            "keepNonMatches"
          ],
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineByFields"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Clash Handling",
          "name": "clashHandling",
          "type": "fixedCollection",
          "default": {
            "values": {
              "resolveClash": "preferLast",
              "mergeMode": "deepMerge",
              "overrideEmpty": false
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "When Field Values Clash",
                  "name": "resolveClash",
                  "type": "options",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getResolveClashOptions",
                    "loadOptionsDependsOn": [
                      "numberInputs"
                    ]
                  }
                },
                {
                  "displayName": "Merging Nested Fields",
                  "name": "mergeMode",
                  "type": "options",
                  "default": "deepMerge",
                  "options": [
                    {
                      "name": "Deep Merge",
                      "value": "deepMerge",
                      "description": "Merge at every level of nesting"
                    },
                    {
                      "name": "Shallow Merge",
                      "value": "shallowMerge",
                      "description": "Merge at the top level only (all nested fields will come from the same input)"
                    }
                  ],
                  "hint": "How to merge when there are sub-fields below the top-level ones",
                  "displayOptions": {
                    "show": {
                      "resolveClash": [
                        {
                          "_cnd": {
                            "not": "addSuffix"
                          }
                        }
                      ]
                    }
                  }
                },
                {
                  "displayName": "Minimize Empty Fields",
                  "name": "overrideEmpty",
                  "type": "boolean",
                  "default": false,
                  "description": "Whether to override the preferred input version for a field if it is empty and the other version isn't. Here 'empty' means undefined, null or an empty string.",
                  "displayOptions": {
                    "show": {
                      "resolveClash": [
                        {
                          "_cnd": {
                            "not": "addSuffix"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          ],
          "displayOptions": {
            "hide": {
              "/joinMode": [
                "keepMatches",
                "keepNonMatches"
              ]
            }
          }
        },
        {
          "displayName": "Clash Handling",
          "name": "clashHandling",
          "type": "fixedCollection",
          "default": {
            "values": {
              "resolveClash": "preferLast",
              "mergeMode": "deepMerge",
              "overrideEmpty": false
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "When Field Values Clash",
                  "name": "resolveClash",
                  "type": "options",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getResolveClashOptions",
                    "loadOptionsDependsOn": [
                      "numberInputs"
                    ]
                  }
                },
                {
                  "displayName": "Merging Nested Fields",
                  "name": "mergeMode",
                  "type": "options",
                  "default": "deepMerge",
                  "options": [
                    {
                      "name": "Deep Merge",
                      "value": "deepMerge",
                      "description": "Merge at every level of nesting"
                    },
                    {
                      "name": "Shallow Merge",
                      "value": "shallowMerge",
                      "description": "Merge at the top level only (all nested fields will come from the same input)"
                    }
                  ],
                  "hint": "How to merge when there are sub-fields below the top-level ones",
                  "displayOptions": {
                    "show": {
                      "resolveClash": [
                        {
                          "_cnd": {
                            "not": "addSuffix"
                          }
                        }
                      ]
                    }
                  }
                },
                {
                  "displayName": "Minimize Empty Fields",
                  "name": "overrideEmpty",
                  "type": "boolean",
                  "default": false,
                  "description": "Whether to override the preferred input version for a field if it is empty and the other version isn't. Here 'empty' means undefined, null or an empty string.",
                  "displayOptions": {
                    "show": {
                      "resolveClash": [
                        {
                          "_cnd": {
                            "not": "addSuffix"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          ],
          "displayOptions": {
            "show": {
              "/joinMode": [
                "keepMatches"
              ],
              "/outputDataFrom": [
                "both"
              ]
            }
          }
        },
        {
          "displayName": "Disable Dot Notation",
          "name": "disableDotNotation",
          "type": "boolean",
          "default": false,
          "description": "Whether to disallow referencing child fields using `parent.child` in the field name"
        },
        {
          "displayName": "Fuzzy Compare",
          "name": "fuzzyCompare",
          "type": "boolean",
          "default": false,
          "description": "Whether to tolerate small type differences when comparing fields. E.g. the number 3 and the string '3' are treated as the same."
        },
        {
          "displayName": "Multiple Matches",
          "name": "multipleMatches",
          "type": "options",
          "default": "all",
          "options": [
            {
              "name": "Include All Matches",
              "value": "all",
              "description": "Output multiple items if there are multiple matches"
            },
            {
              "name": "Include First Match Only",
              "value": "first",
              "description": "Only ever output a single item per match"
            }
          ],
          "displayOptions": {
            "show": {
              "/joinMode": [
                "keepMatches"
              ],
              "/outputDataFrom": [
                "both"
              ]
            }
          }
        },
        {
          "displayName": "Multiple Matches",
          "name": "multipleMatches",
          "type": "options",
          "default": "all",
          "options": [
            {
              "name": "Include All Matches",
              "value": "all",
              "description": "Output multiple items if there are multiple matches"
            },
            {
              "name": "Include First Match Only",
              "value": "first",
              "description": "Only ever output a single item per match"
            }
          ],
          "displayOptions": {
            "show": {
              "/joinMode": [
                "enrichInput1",
                "enrichInput2",
                "keepEverything"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineByFields"
          ]
        }
      }
    },
    {
      "displayName": "Number of Inputs",
      "name": "numberInputs",
      "type": "options",
      "default": 2,
      "description": "The number of data inputs you want to merge. The node waits for all connected inputs to be executed.",
      "options": [
        {
          "name": "2",
          "value": 2
        },
        {
          "name": "3",
          "value": 3
        },
        {
          "name": "4",
          "value": 4
        },
        {
          "name": "5",
          "value": 5
        },
        {
          "name": "6",
          "value": 6
        },
        {
          "name": "7",
          "value": 7
        },
        {
          "name": "8",
          "value": 8
        },
        {
          "name": "9",
          "value": 9
        },
        {
          "name": "10",
          "value": 10
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "combineBySql"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "SELECT * FROM input1 LEFT JOIN input2 ON input1.name = input2.id",
      "description": "Input data available as tables with corresponding number, e.g. input1, input2",
      "required": true,
      "displayOptions": {
        "show": {
          "mode": [
            "combineBySql"
          ]
        }
      },
      "typeOptions": {
        "rows": 5,
        "editor": "sqlEditor"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Empty Query Result",
          "name": "emptyQueryResult",
          "type": "options",
          "description": "What to return if the query executed successfully but returned no results",
          "options": [
            {
              "name": "Success",
              "value": "success"
            },
            {
              "name": "Empty Result",
              "value": "empty"
            }
          ],
          "default": "empty"
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            3.2
          ],
          "mode": [
            "combineBySql"
          ]
        }
      }
    },
    {
      "displayName": "Number of Inputs",
      "name": "numberInputs",
      "type": "options",
      "default": 2,
      "description": "The number of data inputs you want to merge. The node waits for all connected inputs to be executed.",
      "options": [
        {
          "name": "2",
          "value": 2
        },
        {
          "name": "3",
          "value": 3
        },
        {
          "name": "4",
          "value": 4
        },
        {
          "name": "5",
          "value": 5
        },
        {
          "name": "6",
          "value": 6
        },
        {
          "name": "7",
          "value": 7
        },
        {
          "name": "8",
          "value": 8
        },
        {
          "name": "9",
          "value": 9
        },
        {
          "name": "10",
          "value": 10
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineByPosition"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Clash Handling",
          "name": "clashHandling",
          "type": "fixedCollection",
          "default": {
            "values": {
              "resolveClash": "addSuffix"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "When Field Values Clash",
                  "name": "resolveClash",
                  "type": "options",
                  "default": "",
                  "typeOptions": {
                    "loadOptionsMethod": "getResolveClashOptions",
                    "loadOptionsDependsOn": [
                      "numberInputs"
                    ]
                  }
                },
                {
                  "displayName": "Merging Nested Fields",
                  "name": "mergeMode",
                  "type": "options",
                  "default": "deepMerge",
                  "options": [
                    {
                      "name": "Deep Merge",
                      "value": "deepMerge",
                      "description": "Merge at every level of nesting"
                    },
                    {
                      "name": "Shallow Merge",
                      "value": "shallowMerge",
                      "description": "Merge at the top level only (all nested fields will come from the same input)"
                    }
                  ],
                  "hint": "How to merge when there are sub-fields below the top-level ones",
                  "displayOptions": {
                    "show": {
                      "resolveClash": [
                        {
                          "_cnd": {
                            "not": "addSuffix"
                          }
                        }
                      ]
                    }
                  }
                },
                {
                  "displayName": "Minimize Empty Fields",
                  "name": "overrideEmpty",
                  "type": "boolean",
                  "default": false,
                  "description": "Whether to override the preferred input version for a field if it is empty and the other version isn't. Here 'empty' means undefined, null or an empty string.",
                  "displayOptions": {
                    "show": {
                      "resolveClash": [
                        {
                          "_cnd": {
                            "not": "addSuffix"
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "Include Any Unpaired Items",
          "name": "includeUnpaired",
          "type": "boolean",
          "default": false,
          "description": "Whether unpaired items should be included in the result when there are differing numbers of items among the inputs"
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "combine"
          ],
          "combineBy": [
            "combineByPosition"
          ]
        }
      }
    },
    {
      "displayName": "Number of Inputs",
      "name": "numberInputs",
      "type": "options",
      "default": 2,
      "description": "The number of data inputs you want to merge. The node waits for all connected inputs to be executed.",
      "options": [
        {
          "name": "2",
          "value": 2
        },
        {
          "name": "3",
          "value": 3
        },
        {
          "name": "4",
          "value": 4
        },
        {
          "name": "5",
          "value": 5
        },
        {
          "name": "6",
          "value": 6
        },
        {
          "name": "7",
          "value": 7
        },
        {
          "name": "8",
          "value": 8
        },
        {
          "name": "9",
          "value": 9
        },
        {
          "name": "10",
          "value": 10
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "chooseBranch"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Output Type",
      "name": "chooseBranchMode",
      "type": "options",
      "default": "waitForAll",
      "options": [
        {
          "name": "Wait for All Inputs to Arrive",
          "value": "waitForAll"
        }
      ],
      "displayOptions": {
        "show": {
          "mode": [
            "chooseBranch"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "specifiedInput",
      "options": [
        {
          "name": "Data of Specified Input",
          "value": "specifiedInput"
        },
        {
          "name": "A Single, Empty Item",
          "value": "empty"
        }
      ],
      "displayOptions": {
        "show": {
          "chooseBranchMode": [
            "waitForAll"
          ],
          "mode": [
            "chooseBranch"
          ]
        }
      }
    },
    {
      "displayName": "Use Data of Input",
      "name": "useDataOfInput",
      "type": "options",
      "default": 1,
      "description": "The number of the input to use data of",
      "displayOptions": {
        "show": {
          "output": [
            "specifiedInput"
          ],
          "mode": [
            "chooseBranch"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "loadOptionsMethod": "getInputs",
        "loadOptionsDependsOn": [
          "numberInputs"
        ]
      }
    }
  ]


node_type: nodes-base.messageBird
package_name: n8n-nodes-base
display_name: MessageBird
description: Sends SMS via MessageBird
category: output
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "messageBirdApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-10-10 11:39:53
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: MessageBird node documentation
  description: Learn how to use the MessageBird node in n8n. Follow technical documentation to integrate MessageBird node into your workflows.
  contentType: [integration, reference]
  ---

  # MessageBird node

  Use the MessageBird node to automate work in MessageBird, and integrate MessageBird with other applications. n8n has built-in support for a wide range of MessageBird features, including sending messages, and getting balances. 

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

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

  ## Operations

  * SMS
      * Send text messages (SMS)
  * Balance
      * Get the balance

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "sms",
      "options": [
        {
          "name": "SMS",
          "value": "sms"
        },
        {
          "name": "Balance",
          "value": "balance"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Send text messages (SMS)",
          "action": "Send an SMS"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "sms"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get the balance",
          "action": "Get the current balance"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "balance"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "From",
      "name": "originator",
      "type": "string",
      "default": "",
      "description": "The number from which to send the message",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "recipients",
      "type": "string",
      "default": "",
      "description": "All recipients separated by commas",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "The message to be send",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Created Date-Time",
          "name": "createdDatetime",
          "type": "dateTime",
          "default": "",
          "description": "The date and time of the creation of the message in RFC3339 format (Y-m-dTH:i:sP)"
        },
        {
          "displayName": "Datacoding",
          "name": "datacoding",
          "type": "options",
          "options": [
            {
              "name": "Auto",
              "value": "auto"
            },
            {
              "name": "Plain",
              "value": "plain"
            },
            {
              "name": "Unicode",
              "value": "unicode"
            }
          ],
          "default": "",
          "description": "Using unicode will limit the maximum number of characters to 70 instead of 160"
        },
        {
          "displayName": "Gateway",
          "name": "gateway",
          "type": "number",
          "default": "",
          "description": "The SMS route that is used to send the message"
        },
        {
          "displayName": "Group IDs",
          "name": "groupIds",
          "placeholder": "1,2",
          "type": "string",
          "default": "",
          "description": "Group IDs separated by commas, If provided recipients can be omitted"
        },
        {
          "displayName": "Message Type",
          "name": "mclass",
          "type": "options",
          "placeholder": "Permissible values from 0-3",
          "options": [
            {
              "name": "Flash",
              "value": 1
            },
            {
              "name": "Normal",
              "value": 0
            }
          ],
          "default": 1,
          "description": "Indicated the message type. 1 is a normal message, 0 is a flash message."
        },
        {
          "displayName": "Reference",
          "name": "reference",
          "type": "string",
          "default": "",
          "description": "A client reference"
        },
        {
          "displayName": "Report Url",
          "name": "reportUrl",
          "type": "string",
          "default": "",
          "description": "The status report URL to be used on a per-message basis. Reference is required for a status report webhook to be sent."
        },
        {
          "displayName": "Scheduled Date-Time",
          "name": "scheduledDatetime",
          "type": "dateTime",
          "default": "",
          "description": "The scheduled date and time of the message in RFC3339 format (Y-m-dTH:i:sP)"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Binary",
              "value": "binary"
            },
            {
              "name": "Flash",
              "value": "flash"
            },
            {
              "name": "SMS",
              "value": "sms"
            }
          ],
          "default": "",
          "description": "The type of message. Values can be: sms, binary, or flash."
        },
        {
          "displayName": "Type Details",
          "name": "typeDetails",
          "type": "string",
          "default": "",
          "description": "A hash with extra information. Is only used when a binary message is sent."
        },
        {
          "displayName": "Validity",
          "name": "validity",
          "type": "number",
          "default": 1,
          "typeOptions": {
            "minValue": 1
          },
          "description": "The amount of seconds that the message is valid"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "send",
      "name": "Send",
      "description": "Send text messages (SMS)"
    }
  ]


node_type: nodes-base.metabase
package_name: n8n-nodes-base
display_name: Metabase
description: Use the Metabase API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "metabaseApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-10-10 11:39:53
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Metabase node documentation
  description: Learn how to use the Metabase node in n8n. Follow technical documentation to integrate Metabase node into your workflows.
  contentType: [integration, reference]
  ---

  # Metabase node

  Use the Metabase node to automate work in Metabase, and integrate Metabase with other applications. n8n has built-in support for a wide range of Metabase features, including adding, and getting alerts, databases, metrics, and questions. 

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

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

  ## Operations

  * Alert
      * Get
      * Get All
  * Database
      * Add
      * Get All
      * Get Fields
  * Metric
      * Get
      * Get All
  * Question
      * Get
      * Get All
      * Result Data

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "questions",
      "options": [
        {
          "name": "Alert",
          "value": "alerts"
        },
        {
          "name": "Database",
          "value": "databases"
        },
        {
          "name": "Metric",
          "value": "metrics"
        },
        {
          "name": "Question",
          "value": "questions"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a specific question",
          "routing": {
            "request": {
              "method": "GET",
              "url": "={{\"/api/card/\" + $parameter.questionId}}"
            }
          },
          "action": "Get a questions"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many questions",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/api/card/"
            }
          },
          "action": "Get many questions"
        },
        {
          "name": "Result Data",
          "value": "resultData",
          "description": "Return the result of the question to a specific file format",
          "routing": {
            "request": {
              "method": "POST",
              "url": "={{\"/api/card/\" + $parameter.questionId + \"/query/\" + $parameter.format}}",
              "returnFullResponse": true,
              "encoding": "arraybuffer"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Get the results from a question"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "questions"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Question ID",
      "name": "questionId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "questions"
          ],
          "operation": [
            "get",
            "resultData"
          ]
        }
      }
    },
    {
      "displayName": "Format",
      "name": "format",
      "type": "options",
      "default": "csv",
      "options": [
        {
          "name": "CSV",
          "value": "csv"
        },
        {
          "name": "JSON",
          "value": "json"
        },
        {
          "name": "XLSX",
          "value": "xlsx"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "questions"
          ],
          "operation": [
            "resultData"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a specific metric",
          "routing": {
            "request": {
              "method": "GET",
              "url": "={{\"/api/metric/\" + $parameter.metricId}}",
              "returnFullResponse": true
            }
          },
          "action": "Get a metric"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many metrics",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/api/metric/"
            }
          },
          "action": "Get many metrics"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "metrics"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Metric ID",
      "name": "metricId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "metrics"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Add",
          "value": "addNewDatasource",
          "description": "Add a new datasource to the metabase instance",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/api/database"
            }
          },
          "action": "Add a databases"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many databases",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/api/database/"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                }
              ]
            }
          },
          "action": "Get many databases"
        },
        {
          "name": "Get Fields",
          "value": "getFields",
          "description": "Get fields from database",
          "routing": {
            "request": {
              "method": "GET",
              "url": "={{\"/api/database/\" + $parameter.databaseId + \"/fields\"}}"
            }
          },
          "action": "Get Fields a databases"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Database ID",
      "name": "databaseId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "getFields"
          ]
        }
      }
    },
    {
      "displayName": "Engine",
      "name": "engine",
      "type": "options",
      "default": "postgres",
      "options": [
        {
          "name": "H2",
          "value": "h2"
        },
        {
          "name": "MongoDB",
          "value": "mongo"
        },
        {
          "name": "Mysql",
          "value": "mysql"
        },
        {
          "name": "PostgreSQL",
          "value": "postgres"
        },
        {
          "name": "Redshift",
          "value": "redshift"
        },
        {
          "name": "Sqlite",
          "value": "sqlite"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "addNewDatasource"
          ]
        }
      }
    },
    {
      "displayName": "Host",
      "name": "host",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "addNewDatasource"
          ],
          "engine": [
            "postgres",
            "redshift",
            "mysql",
            "mongo"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "addNewDatasource"
          ]
        }
      }
    },
    {
      "displayName": "Port",
      "name": "port",
      "type": "number",
      "default": 5432,
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "addNewDatasource"
          ],
          "engine": [
            "postgres",
            "redshift",
            "mysql",
            "mongo"
          ]
        }
      }
    },
    {
      "displayName": "User",
      "name": "user",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "addNewDatasource"
          ],
          "engine": [
            "postgres",
            "redshift",
            "mysql",
            "mongo"
          ]
        }
      }
    },
    {
      "displayName": "Password",
      "name": "password",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "addNewDatasource"
          ],
          "engine": [
            "postgres",
            "redshift",
            "mysql",
            "mongo"
          ]
        }
      },
      "typeOptions": {
        "password": true
      }
    },
    {
      "displayName": "Database Name",
      "name": "dbName",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "addNewDatasource"
          ],
          "engine": [
            "postgres",
            "redshift",
            "mysql",
            "mongo"
          ]
        }
      }
    },
    {
      "displayName": "File Path",
      "name": "filePath",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "addNewDatasource"
          ],
          "engine": [
            "h2",
            "sqlite"
          ]
        }
      }
    },
    {
      "displayName": "Full Sync",
      "name": "fullSync",
      "type": "boolean",
      "default": true,
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "addNewDatasource"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "databases"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get specific alert",
          "routing": {
            "request": {
              "method": "GET",
              "url": "={{\"/api/alert/\" + $parameter.alertId}}"
            }
          },
          "action": "Get an alert"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many alerts",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/api/alert/"
            }
          },
          "action": "Get many alerts"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alerts"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Alert ID",
      "name": "alertId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alerts"
          ],
          "operation": [
            "get"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a specific question"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many questions"
    },
    {
      "operation": "resultData",
      "name": "Result Data",
      "description": "Return the result of the question to a specific file format"
    }
  ]


node_type: nodes-base.azureCosmosDb
package_name: n8n-nodes-base
display_name: Azure Cosmos DB
description: Interact with Azure Cosmos DB API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "microsoftAzureCosmosDbSharedKeyApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-10-10 11:39:53
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Azure Cosmos DB node documentation
  description: Learn how to use the Azure Cosmos DB node in n8n. Follow technical documentation to integrate Azure Cosmos DB node into your workflows.
  contentType: [integration, reference]
  ---

  # Azure Cosmos DB node

  Use the Azure Cosmos DB node to automate work in Azure Cosmos DB and integrate Azure Cosmos DB with other applications. n8n has built-in support for a wide range of Azure Cosmos DB features, which includes creating, getting, updating, and deleting containers and items.

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

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


  ## Operations

  * **Container**:
  	* **Create**
  	* **Delete**
  	* **Get**
  	* **Get Many**
  * **Item**:
  	* **Create**
  	* **Delete**
  	* **Get**
  	* **Get Many**
  	* **Execute Query**
  	* **Update**

  ## Templates and examples

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

  ## Related resources

  <!-- vale Vale.Spelling = NO -->
  Refer to [Azure Cosmos DB's documentation](https://learn.microsoft.com/en-us/rest/api/cosmos-db/) for more information about the service.
  <!-- vale Vale.Spelling = YES -->

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "container",
      "options": [
        {
          "name": "Container",
          "value": "container"
        },
        {
          "name": "Item",
          "value": "item"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a container",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/colls"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Create container"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a container",
          "routing": {
            "request": {
              "method": "DELETE",
              "url": "=/colls/{{ $parameter[\"container\"] }}"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"deleted\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Delete container"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a container",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/colls/{{ $parameter[\"container\"] }}"
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Get container"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve a list of containers",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/colls"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "DocumentCollections"
                  }
                },
                null
              ]
            }
          },
          "action": "Get many containers"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "ID",
      "name": "containerCreate",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the new container",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Partition Key",
      "name": "partitionKey",
      "type": "json",
      "default": "{\n\t\"paths\": [\n\t\t\"/id\"\n\t],\n\t\"kind\": \"Hash\",\n\t\"version\": 2\n}",
      "description": "The partition key is used to automatically distribute data across partitions for scalability. Choose a property in your JSON document that has a wide range of values and evenly distributes request volume.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Indexing Policy",
          "name": "indexingPolicy",
          "default": "{\n\t\"indexingMode\": \"consistent\",\n\t\"automatic\": true,\n\t\"includedPaths\": [\n\t\t{\n\t\t\t\"path\": \"/*\"\n\t\t}\n\t],\n\t\"excludedPaths\": []\n}",
          "description": "This value is used to configure indexing policy",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "type": "json"
        },
        {
          "displayName": "Max RU/s (for Autoscale)",
          "name": "maxThroughput",
          "default": 1000,
          "description": "The user specified autoscale max RU/s",
          "displayOptions": {
            "hide": {
              "/additionalFields.offerThroughput": [
                {
                  "_cnd": {
                    "exists": true
                  }
                }
              ]
            }
          },
          "routing": {
            "request": {
              "headers": {
                "x-ms-cosmos-offer-autopilot-setting": "={{ $value }}"
              }
            }
          },
          "type": "number",
          "typeOptions": {
            "minValue": 1000
          }
        },
        {
          "displayName": "Manual Throughput RU/s",
          "name": "offerThroughput",
          "default": 400,
          "description": "The user specified manual throughput (RU/s) for the collection expressed in units of 100 request units per second",
          "displayOptions": {
            "hide": {
              "/additionalFields.maxThroughput": [
                {
                  "_cnd": {
                    "exists": true
                  }
                }
              ]
            }
          },
          "routing": {
            "request": {
              "headers": {
                "x-ms-offer-throughput": "={{ $value }}"
              }
            }
          },
          "type": "number",
          "typeOptions": {
            "minValue": 400
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container you want to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container you want to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "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": {
          "returnAll": [
            false
          ],
          "resource": [
            "container"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "container"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new item",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            },
            "request": {
              "method": "POST",
              "url": "=/colls/{{ $parameter[\"container\"] }}/docs",
              "headers": {
                "x-ms-documentdb-is-upsert": "True"
              }
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Create item"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an existing item",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            },
            "request": {
              "method": "DELETE",
              "url": "=/colls/{{ $parameter[\"container\"] }}/docs/{{ $parameter[\"item\"] }}"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"deleted\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Delete item"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an item",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            },
            "request": {
              "method": "GET",
              "url": "=/colls/{{ $parameter[\"container\"]}}/docs/{{$parameter[\"item\"]}}",
              "headers": {
                "x-ms-documentdb-is-upsert": "True"
              }
            },
            "output": {
              "postReceive": [
                null,
                null
              ]
            }
          },
          "action": "Get item"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve a list of items",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/colls/{{ $parameter[\"container\"] }}/docs"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "Documents"
                  }
                },
                null
              ]
            }
          },
          "action": "Get many items"
        },
        {
          "name": "Execute Query",
          "value": "query",
          "routing": {
            "request": {
              "method": "POST",
              "url": "=/colls/{{ $parameter[\"container\"] }}/docs",
              "headers": {
                "Content-Type": "application/query+json",
                "x-ms-documentdb-isquery": "True",
                "x-ms-documentdb-query-enablecrosspartition": "True"
              }
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "Documents"
                  }
                },
                null
              ]
            }
          },
          "action": "Query items"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an existing item",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            },
            "request": {
              "method": "PUT",
              "url": "=/colls/{{ $parameter[\"container\"] }}/docs/{{ $parameter[\"item\"] }}",
              "headers": {
                "Content-Type": "application/json-patch+json"
              }
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Update item"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container you want to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Item Contents",
      "name": "customProperties",
      "type": "json",
      "default": "{\n\t\"id\": \"replace_with_new_document_id\"\n}",
      "description": "The item contents as a JSON object",
      "required": true,
      "displayOptions": {
        "hide": {
          "container": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container you want to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Item",
      "name": "item",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the item to be deleted",
      "required": true,
      "displayOptions": {
        "hide": {
          "container": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Partition Key",
          "name": "partitionKey",
          "default": "",
          "hint": "Only required if a custom partition key is set for the container",
          "type": "string"
        }
      ],
      "displayOptions": {
        "hide": {
          "container": [
            ""
          ],
          "item": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container you want to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Item",
      "name": "item",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the item you want to retrieve",
      "required": true,
      "displayOptions": {
        "hide": {
          "container": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "hide": {
          "container": [
            ""
          ],
          "item": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Partition Key",
          "name": "partitionKey",
          "default": "",
          "hint": "Only required if a custom partition key is set for the container",
          "type": "string"
        }
      ],
      "displayOptions": {
        "hide": {
          "container": [
            ""
          ],
          "item": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container you want to use",
      "required": true,
      "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": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container you want to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "query"
          ]
        }
      }
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The SQL query to execute. Use $1, $2, $3, etc., to reference the 'Query Parameters' set in the options below.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "query"
          ]
        }
      },
      "typeOptions": {
        "editor": "sqlEditor",
        "sqlDialect": "StandardSQL"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "query"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Query Options",
          "name": "queryOptions",
          "values": [
            {
              "displayName": "Query Parameters",
              "name": "queryParameters",
              "default": "",
              "description": "Comma-separated list of values used as query parameters. Use $1, $2, $3, etc., in your query.",
              "hint": "Reference them in your query as $1, $2, $3…",
              "placeholder": "e.g. value1,value2,value3",
              "routing": {
                "send": {
                  "preSend": [
                    null
                  ]
                }
              },
              "type": "string"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "query"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Container",
      "name": "container",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the container you want to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Item",
      "name": "item",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "Select the item to be updated",
      "required": true,
      "displayOptions": {
        "hide": {
          "container": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Item Contents",
      "name": "customProperties",
      "type": "json",
      "default": "{}",
      "description": "The item contents as a JSON object",
      "required": true,
      "displayOptions": {
        "hide": {
          "container": [
            ""
          ],
          "item": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Partition Key",
          "name": "partitionKey",
          "type": "string",
          "hint": "Only required if a custom partition key is set for the container",
          "default": ""
        }
      ],
      "displayOptions": {
        "hide": {
          "container": [
            ""
          ],
          "item": [
            ""
          ]
        },
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a container"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a container"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Retrieve a container"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Retrieve a list of containers"
    }
  ]


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

outputs:
  [
  "main"
  ]

updated_at: 2025-10-10 11:39:53
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft Dynamics CRM node documentation
  description: Learn how to use the Microsoft Dynamics CRM node in n8n. Follow technical documentation to integrate Microsoft Dynamics CRM node into your workflows.
  contentType: [integration, reference]
  ---

  # Microsoft Dynamics CRM node

  Use the Microsoft Dynamics CRM node to automate work in Microsoft Dynamics CRM, and integrate Microsoft Dynamics CRM with other applications. n8n has built-in support for  creating, updating, deleting, and getting Microsoft Dynamics CRM accounts. 

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

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

  ## Operations

  * Account
      * Create
      * Delete
      * Get
      * Get All
      * Update

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "account",
      "options": [
        {
          "name": "Account",
          "value": "account"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an account"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an account"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an account"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many accounts"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an account"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Company or business name",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account Category Name or ID",
          "name": "accountcategorycode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getAccountCategories"
          },
          "default": "",
          "description": "Category to indicate whether the customer account is standard or preferred. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Account Rating Name or ID",
          "name": "accountratingcode",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getAccountRatingCodes"
          },
          "default": ""
        },
        {
          "displayName": "Address",
          "name": "addresses",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Address Field",
          "options": [
            {
              "displayName": "Address Fields",
              "name": "address",
              "values": [
                {
                  "displayName": "Address Type Name or ID",
                  "name": "addresstypecode",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "typeOptions": {
                    "loadOptionsMethod": "getAddressTypes"
                  },
                  "default": ""
                },
                {
                  "displayName": "Line1",
                  "name": "line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line2",
                  "name": "line2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line3",
                  "name": "line3",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State or Province",
                  "name": "stateorprovince",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postalcode",
                  "name": "postalcode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Primary Contact Name",
                  "name": "primarycontactname",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Telephone1",
                  "name": "telephone1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Telephone2",
                  "name": "telephone2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Fax",
                  "name": "fax",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Business Type Name or ID",
          "name": "businesstypecode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getBusinessTypes"
          },
          "default": "",
          "description": "The legal designation or other business type of the account for contracts or reporting purposes. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Customer Size Name or ID",
          "name": "customersizecode",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCustomerSizeCodes"
          },
          "default": ""
        },
        {
          "displayName": "Customer Type Name or ID",
          "name": "customertypecode",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCustomerTypeCodes"
          },
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Additional information to describe the account, such as an excerpt from the company’s website"
        },
        {
          "displayName": "Email Address 1",
          "name": "emailaddress1",
          "type": "string",
          "default": "",
          "description": "The primary email address for the account"
        },
        {
          "displayName": "Email Address 2",
          "name": "emailaddress2",
          "type": "string",
          "default": "",
          "description": "The secondary email address for the account"
        },
        {
          "displayName": "Email Address 3",
          "name": "emailaddress3",
          "type": "string",
          "default": "",
          "description": "Alternate email address for the account"
        },
        {
          "displayName": "Fax",
          "name": "fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "FTP site URL",
          "name": "ftpsiteurl",
          "type": "string",
          "default": "",
          "description": "URL for the account’s FTP site to enable users to access data and share documents"
        },
        {
          "displayName": "Industry Name or ID",
          "name": "industrycode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIndustryCodes"
          },
          "default": "",
          "description": "The account’s primary industry for use in marketing segmentation and demographic analysis. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/resource": [
                "account"
              ],
              "/operation": [
                "update"
              ]
            }
          },
          "description": "Company o business name"
        },
        {
          "displayName": "Credit Limit",
          "name": "creditlimit",
          "type": "number",
          "default": "",
          "description": "Credit limit of the account. This is a useful reference when you address invoice and accounting issues with the customer."
        },
        {
          "displayName": "Number Of Employees",
          "name": "numberofemployees",
          "type": "number",
          "default": 0,
          "description": "Number of employees that work at the account for use in marketing segmentation and demographic analysis"
        },
        {
          "displayName": "Payment Terms Name or ID",
          "name": "paymenttermscode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPaymentTermsCodes"
          },
          "default": "",
          "description": "The payment terms to indicate when the customer needs to pay the total amount. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Preferred Appointment Day Name or ID",
          "name": "preferredappointmentdaycode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPreferredAppointmentDayCodes"
          },
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
        },
        {
          "displayName": "Preferred Appointment Time Name or ID",
          "name": "preferredappointmenttimecode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPreferredAppointmentTimeCodes"
          },
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
        },
        {
          "displayName": "Preferred Contact Method Name or ID",
          "name": "preferredcontactmethodcode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPreferredContactMethodCodes"
          },
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
        },
        {
          "displayName": "Primary Satori ID",
          "name": "primarysatoriid",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Twitter ID",
          "name": "primarytwitterid",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Revenue",
          "name": "revenue",
          "type": "number",
          "default": "",
          "description": "The annual revenue for the account, used as an indicator in financial performance analysis"
        },
        {
          "displayName": "Shares Outstanding",
          "name": "sharesoutstanding",
          "type": "number",
          "default": "",
          "description": "The number of shares available to the public for the account. This number is used as an indicator in financial performance analysis."
        },
        {
          "displayName": "Shipping Method Name or ID",
          "name": "shippingmethodcode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getShippingMethodCodes"
          },
          "default": "",
          "description": "Shipping method for deliveries sent to the account’s address to designate the preferred carrier or other delivery option. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "SIC",
          "name": "sic",
          "type": "string",
          "default": "",
          "description": "The Standard Industrial Classification (SIC) code that indicates the account’s primary industry of business, for use in marketing segmentation and demographic analysis"
        },
        {
          "displayName": "Stage ID",
          "name": "stageid",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Stock Exchange",
          "name": "stockexchange",
          "type": "string",
          "default": "",
          "description": "The stock exchange at which the account is listed to track their stock and financial performance of the company"
        },
        {
          "displayName": "Telephone 1",
          "name": "telephone1",
          "type": "string",
          "default": "",
          "description": "The main phone number for this account"
        },
        {
          "displayName": "Telephone 2",
          "name": "telephone2",
          "type": "string",
          "default": "",
          "description": "The second phone number for this account"
        },
        {
          "displayName": "Telephone 3",
          "name": "telephone3",
          "type": "string",
          "default": "",
          "description": "The third phone number for this account"
        },
        {
          "displayName": "Territory Name or ID",
          "name": "territorycode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getTerritoryCodes"
          },
          "default": "",
          "description": "Region or territory for the account for use in segmentation and analysis. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Ticker Symbol",
          "name": "tickersymbol",
          "type": "string",
          "default": "",
          "description": "Type the stock exchange symbol for the account to track financial performance of the company. You can click the code entered in this field to access the latest trading information from MSN Money."
        },
        {
          "displayName": "Website URL",
          "name": "websiteurl",
          "type": "string",
          "default": "",
          "description": "The account’s website URL to get quick details about the company profile"
        },
        {
          "displayName": "Yomi Name",
          "name": "yominame",
          "type": "string",
          "default": "",
          "description": "The phonetic spelling of the company name, if specified in Japanese, to make sure the name is pronounced correctly in phone calls and other communications"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Account ID",
      "name": "accountId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "delete",
            "get",
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 10
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Field Names or IDs",
          "name": "returnFields",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getAccountFields"
          },
          "default": []
        },
        {
          "displayName": "Expand Field Names or IDs",
          "name": "expandFields",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getExpandableAccountFields"
          },
          "default": []
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "get",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "description": "Query to filter the results. Check <a href=\"https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/query-data-web-api#filter-results\" target=\"_blank\">filters</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account Category Name or ID",
          "name": "accountcategorycode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getAccountCategories"
          },
          "default": "",
          "description": "Category to indicate whether the customer account is standard or preferred. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Account Rating Name or ID",
          "name": "accountratingcode",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getAccountRatingCodes"
          },
          "default": ""
        },
        {
          "displayName": "Address",
          "name": "addresses",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Address Field",
          "options": [
            {
              "displayName": "Address Fields",
              "name": "address",
              "values": [
                {
                  "displayName": "Address Type Name or ID",
                  "name": "addresstypecode",
                  "type": "options",
                  "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
                  "typeOptions": {
                    "loadOptionsMethod": "getAddressTypes"
                  },
                  "default": ""
                },
                {
                  "displayName": "Line1",
                  "name": "line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line2",
                  "name": "line2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line3",
                  "name": "line3",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State or Province",
                  "name": "stateorprovince",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postalcode",
                  "name": "postalcode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Primary Contact Name",
                  "name": "primarycontactname",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Telephone1",
                  "name": "telephone1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Telephone2",
                  "name": "telephone2",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Fax",
                  "name": "fax",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Business Type Name or ID",
          "name": "businesstypecode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getBusinessTypes"
          },
          "default": "",
          "description": "The legal designation or other business type of the account for contracts or reporting purposes. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Customer Size Name or ID",
          "name": "customersizecode",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCustomerSizeCodes"
          },
          "default": ""
        },
        {
          "displayName": "Customer Type Name or ID",
          "name": "customertypecode",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCustomerTypeCodes"
          },
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Additional information to describe the account, such as an excerpt from the company’s website"
        },
        {
          "displayName": "Email Address 1",
          "name": "emailaddress1",
          "type": "string",
          "default": "",
          "description": "The primary email address for the account"
        },
        {
          "displayName": "Email Address 2",
          "name": "emailaddress2",
          "type": "string",
          "default": "",
          "description": "The secondary email address for the account"
        },
        {
          "displayName": "Email Address 3",
          "name": "emailaddress3",
          "type": "string",
          "default": "",
          "description": "Alternate email address for the account"
        },
        {
          "displayName": "Fax",
          "name": "fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "FTP site URL",
          "name": "ftpsiteurl",
          "type": "string",
          "default": "",
          "description": "URL for the account’s FTP site to enable users to access data and share documents"
        },
        {
          "displayName": "Industry Name or ID",
          "name": "industrycode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getIndustryCodes"
          },
          "default": "",
          "description": "The account’s primary industry for use in marketing segmentation and demographic analysis. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/resource": [
                "account"
              ],
              "/operation": [
                "update"
              ]
            }
          },
          "description": "Company o business name"
        },
        {
          "displayName": "Credit Limit",
          "name": "creditlimit",
          "type": "number",
          "default": "",
          "description": "Credit limit of the account. This is a useful reference when you address invoice and accounting issues with the customer."
        },
        {
          "displayName": "Number Of Employees",
          "name": "numberofemployees",
          "type": "number",
          "default": 0,
          "description": "Number of employees that work at the account for use in marketing segmentation and demographic analysis"
        },
        {
          "displayName": "Payment Terms Name or ID",
          "name": "paymenttermscode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPaymentTermsCodes"
          },
          "default": "",
          "description": "The payment terms to indicate when the customer needs to pay the total amount. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Preferred Appointment Day Name or ID",
          "name": "preferredappointmentdaycode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPreferredAppointmentDayCodes"
          },
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
        },
        {
          "displayName": "Preferred Appointment Time Name or ID",
          "name": "preferredappointmenttimecode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPreferredAppointmentTimeCodes"
          },
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
        },
        {
          "displayName": "Preferred Contact Method Name or ID",
          "name": "preferredcontactmethodcode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPreferredContactMethodCodes"
          },
          "default": "",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
        },
        {
          "displayName": "Primary Satori ID",
          "name": "primarysatoriid",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Twitter ID",
          "name": "primarytwitterid",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Revenue",
          "name": "revenue",
          "type": "number",
          "default": "",
          "description": "The annual revenue for the account, used as an indicator in financial performance analysis"
        },
        {
          "displayName": "Shares Outstanding",
          "name": "sharesoutstanding",
          "type": "number",
          "default": "",
          "description": "The number of shares available to the public for the account. This number is used as an indicator in financial performance analysis."
        },
        {
          "displayName": "Shipping Method Name or ID",
          "name": "shippingmethodcode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getShippingMethodCodes"
          },
          "default": "",
          "description": "Shipping method for deliveries sent to the account’s address to designate the preferred carrier or other delivery option. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "SIC",
          "name": "sic",
          "type": "string",
          "default": "",
          "description": "The Standard Industrial Classification (SIC) code that indicates the account’s primary industry of business, for use in marketing segmentation and demographic analysis"
        },
        {
          "displayName": "Stage ID",
          "name": "stageid",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Stock Exchange",
          "name": "stockexchange",
          "type": "string",
          "default": "",
          "description": "The stock exchange at which the account is listed to track their stock and financial performance of the company"
        },
        {
          "displayName": "Telephone 1",
          "name": "telephone1",
          "type": "string",
          "default": "",
          "description": "The main phone number for this account"
        },
        {
          "displayName": "Telephone 2",
          "name": "telephone2",
          "type": "string",
          "default": "",
          "description": "The second phone number for this account"
        },
        {
          "displayName": "Telephone 3",
          "name": "telephone3",
          "type": "string",
          "default": "",
          "description": "The third phone number for this account"
        },
        {
          "displayName": "Territory Name or ID",
          "name": "territorycode",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getTerritoryCodes"
          },
          "default": "",
          "description": "Region or territory for the account for use in segmentation and analysis. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Ticker Symbol",
          "name": "tickersymbol",
          "type": "string",
          "default": "",
          "description": "Type the stock exchange symbol for the account to track financial performance of the company. You can click the code entered in this field to access the latest trading information from MSN Money."
        },
        {
          "displayName": "Website URL",
          "name": "websiteurl",
          "type": "string",
          "default": "",
          "description": "The account’s website URL to get quick details about the company profile"
        },
        {
          "displayName": "Yomi Name",
          "name": "yominame",
          "type": "string",
          "default": "",
          "description": "The phonetic spelling of the company name, if specified in Japanese, to make sure the name is pronounced correctly in phone calls and other communications"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Field Names or IDs",
          "name": "returnFields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getAccountFields"
          },
          "default": [],
          "description": "Fields the response will include. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "create",
            "update"
          ]
        }
      }
    }
  ]

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


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

outputs:
  [
  "main"
  ]

updated_at: 2025-10-10 11:39:53
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Microsoft Entra ID node documentation
  description: Learn how to use the Microsoft Entra ID node in n8n. Follow technical documentation to integrate Microsoft Entra ID node into your workflows.
  contentType: [integration, reference]
  ---

  # Microsoft Entra ID node

  Use the Microsoft Entra ID node to automate work in Microsoft Entra ID and integrate Microsoft Entra ID with other applications. n8n has built-in support for a wide range of Microsoft Entra ID features, which includes creating, getting, updating, and deleting users and groups, as well as adding users to and removing them from groups.

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

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


  ## Operations

  * **Group**
  	* **Create**: Create a new group
  	* **Delete**: Delete an existing group
  	* **Get**: Retrieve data for a specific group
  	* **Get Many**: Retrieve a list of groups
  	* **Update**: Update a group
  * **User**
  	* **Create**: Create a new user
  	* **Delete**: Delete an existing user
  	* **Get**: Retrieve data for a specific user
  	* **Get Many**: Retrieve a list of users
  	* **Update**: Update a user
  	* **Add to Group**: Add user to a group
  	* **Remove from Group**: Remove user from a group

  ## Templates and examples

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

  ## Related resources

  <!-- vale from-microsoft.We = NO -->
  Refer to [Microsoft Entra ID's documentation](https://learn.microsoft.com/en-us/graph/api/resources/identity-network-access-overview?view=graph-rest-1.0){:target=_blank .external-link} for more information about the service.
  <!-- vale from-microsoft.We = YES -->

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

  ## Common issues

  Here are some common errors and issues with the Microsoft Entra ID node and steps to resolve or troubleshoot them.

  ### Updating the Allow External Senders and Auto Subscribe New Members options fails

  You can't update the **Allow External Senders** and **Auto Subscribe New Members** options directly after creating a new group. You must wait after creating a group before you can change the values of these options.

  When designing workflows that use multiple Microsoft Entra ID nodes to first create groups and then update these options, add a [Wait](/integrations/builtin/core-nodes/n8n-nodes-base.wait.md) node between the two operations. A Wait node configured to pause for at least two seconds allows time for the group to fully initialize. After the wait, the update operation can complete without erroring.

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "user",
      "options": [
        {
          "name": "Group",
          "value": "group"
        },
        {
          "name": "User",
          "value": "user"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a group",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "POST",
              "url": "/groups"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Create group"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a group",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "DELETE",
              "url": "=/groups/{{ $parameter[\"group\"] }}"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"deleted\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Delete group"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve data for a specific group",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "GET",
              "url": "=/groups/{{ $parameter[\"group\"] }}"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Get group"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve a list of groups",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "GET",
              "url": "/groups"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "value"
                  }
                }
              ]
            }
          },
          "action": "Get many groups"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a group",
          "routing": {
            "request": {
              "ignoreHttpStatusErrors": true,
              "method": "PATCH",
              "url": "=/groups/{{ $parameter[\"group\"] }}"
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"updated\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Update group"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Group Type",
      "name": "groupType",
      "type": "options",
      "default": "",
      "options": [
        {
          "name": "Microsoft 365",
          "value": "Unified"
        },
        {
          "name": "Security",
          "value": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Group Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "The name to display in the address book for the group",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Group Email Address",
      "name": "mailNickname",
      "type": "string",
      "default": "",
      "description": "The mail alias for the group. Only enter the local-part without the domain.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Mail Enabled",
      "name": "mailEnabled",
      "type": "boolean",
      "default": false,
      "description": "Whether the group is mail-enabled",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "create"
          ],
          "groupType": [
            "Unified"
          ]
        }
      }
    },
    {
      "displayName": "Membership Type",
      "name": "membershipType",
      "type": "options",
      "default": "",
      "options": [
        {
          "name": "Assigned",
          "value": "",
          "description": "Lets you add specific users as members of a group and have unique permissions"
        },
        {
          "name": "Dynamic",
          "value": "DynamicMembership",
          "description": "Lets you use rules to automatically add and remove users as members"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Security Enabled",
      "name": "securityEnabled",
      "type": "boolean",
      "default": true,
      "description": "Whether the group is a security group",
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "create"
          ],
          "groupType": [
            "Unified"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assignable to Role",
          "name": "isAssignableToRole",
          "default": false,
          "description": "Whether Microsoft Entra roles can be assigned to the group",
          "displayOptions": {
            "hide": {
              "/membershipType": [
                "DynamicMembership"
              ]
            }
          },
          "routing": {
            "send": {
              "property": "isAssignableToRole",
              "type": "body",
              "preSend": [
                null
              ]
            }
          },
          "type": "boolean",
          "validateType": "boolean"
        },
        {
          "displayName": "Description",
          "name": "description",
          "default": "",
          "description": "Description for the group",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Membership Rule",
          "name": "membershipRule",
          "default": "",
          "description": "The <a href=\"https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership\">dynamic membership rules</a>",
          "displayOptions": {
            "show": {
              "/membershipType": [
                "DynamicMembership"
              ]
            }
          },
          "placeholder": "e.g. user.department -eq \"Marketing\"",
          "routing": {
            "send": {
              "property": "membershipRule",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Membership Rule Processing State",
          "name": "membershipRuleProcessingState",
          "default": "On",
          "description": "Indicates whether the dynamic membership processing is on or paused",
          "displayOptions": {
            "show": {
              "/membershipType": [
                "DynamicMembership"
              ]
            }
          },
          "options": [
            {
              "name": "On",
              "value": "On"
            },
            {
              "name": "Paused",
              "value": "Paused"
            }
          ],
          "routing": {
            "send": {
              "property": "membershipRuleProcessingState",
              "type": "body"
            }
          },
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Preferred Data Location",
          "name": "preferredDataLocation",
          "default": "",
          "description": "A property set for the group that Office 365 services use to provision the corresponding data-at-rest resources (mailbox, OneDrive, groups sites, and so on)",
          "displayOptions": {
            "show": {
              "/groupType": [
                "Unified"
              ]
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Unique Name",
          "name": "uniqueName",
          "default": "",
          "description": "The unique identifier for the group, can only be updated if null, and is immutable once set",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Visibility",
          "name": "visibility",
          "default": "Public",
          "description": "Specifies the visibility of the group",
          "options": [
            {
              "name": "Private",
              "value": "Private"
            },
            {
              "name": "Public",
              "value": "Public"
            }
          ],
          "type": "options",
          "validateType": "options"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Group to Delete",
      "name": "group",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Group to Get",
      "name": "group",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple",
          "routing": {
            "send": {
              "property": "$select",
              "type": "query",
              "value": "id,createdDateTime,description,displayName,mail,mailEnabled,mailNickname,securityEnabled,securityIdentifier,visibility"
            }
          }
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Selected Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "get"
          ],
          "output": [
            "fields"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getGroupProperties"
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Members",
          "name": "includeMembers",
          "default": false,
          "routing": {
            "send": {
              "property": "$expand",
              "type": "query",
              "value": "={{ $value ? \"members($select=id,accountEnabled,createdDateTime,displayName,employeeId,mail,securityIdentifier,userPrincipalName,userType)\" : undefined }}"
            }
          },
          "type": "boolean",
          "validateType": "boolean"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "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": [
            "group"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filter",
      "name": "filter",
      "type": "string",
      "default": "",
      "description": "<a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter\">Query parameter</a> to filter results by",
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple",
          "routing": {
            "send": {
              "property": "$select",
              "type": "query",
              "value": "id,createdDateTime,description,displayName,mail,mailEnabled,mailNickname,securityEnabled,securityIdentifier,visibility"
            }
          }
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Selected Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "getAll"
          ],
          "output": [
            "fields"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getGroupPropertiesGetAll"
      }
    },
    {
      "displayName": "Group to Update",
      "name": "group",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Allow External Senders",
          "name": "allowExternalSenders",
          "default": false,
          "description": "Whether people external to the organization can send messages to the group. Wait a few seconds before editing this field in a newly created group.",
          "type": "boolean",
          "validateType": "boolean"
        },
        {
          "displayName": "Auto Subscribe New Members",
          "name": "autoSubscribeNewMembers",
          "default": false,
          "description": "Whether new members added to the group will be auto-subscribed to receive email notifications. Wait a few seconds before editing this field in a newly created group.",
          "type": "boolean",
          "validateType": "boolean"
        },
        {
          "displayName": "Description",
          "name": "description",
          "default": "",
          "description": "Description for the group",
          "routing": {
            "send": {
              "property": "description",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Group Name",
          "name": "displayName",
          "default": "",
          "description": "The name to display in the address book for the group",
          "routing": {
            "send": {
              "property": "displayName",
              "type": "body",
              "preSend": [
                null
              ]
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Group Email Address",
          "name": "mailNickname",
          "default": "",
          "description": "The mail alias for the group. Only enter the local-part without the domain.",
          "placeholder": "e.g. alias",
          "routing": {
            "send": {
              "property": "mailNickname",
              "type": "body",
              "preSend": [
                null
              ]
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Membership Rule",
          "name": "membershipRule",
          "default": "",
          "description": "The <a href=\"https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership\">dynamic membership rules</a>",
          "placeholder": "e.g. user.department -eq \"Marketing\"",
          "routing": {
            "send": {
              "property": "membershipRule",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Membership Rule Processing State",
          "name": "membershipRuleProcessingState",
          "default": "On",
          "description": "Indicates whether the dynamic membership processing is on or paused",
          "options": [
            {
              "name": "On",
              "value": "On"
            },
            {
              "name": "Paused",
              "value": "Paused"
            }
          ],
          "routing": {
            "send": {
              "property": "membershipRuleProcessingState",
              "type": "body"
            }
          },
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Preferred Data Location",
          "name": "preferredDataLocation",
          "default": "",
          "description": "A property set for the group that Office 365 services use to provision the corresponding data-at-rest resources (mailbox, OneDrive, groups sites, and so on)",
          "routing": {
            "send": {
              "property": "preferredDataLocation",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Security Enabled",
          "name": "securityEnabled",
          "default": true,
          "description": "Whether the group is a security group",
          "routing": {
            "send": {
              "property": "securityEnabled",
              "type": "body"
            }
          },
          "type": "boolean",
          "validateType": "boolean"
        },
        {
          "displayName": "Unique Name",
          "name": "uniqueName",
          "default": "",
          "description": "The unique identifier for the group, can only be updated if null, and is immutable once set",
          "routing": {
            "send": {
              "property": "uniqueName",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Visibility",
          "name": "visibility",
          "default": "Public",
          "description": "Specifies the visibility of the group",
          "options": [
            {
              "name": "Private",
              "value": "Private"
            },
            {
              "name": "Public",
              "value": "Public"
            }
          ],
          "routing": {
            "send": {
              "property": "visibility",
              "type": "body"
            }
          },
          "type": "options",
          "validateType": "options"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "group"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Add to Group",
          "value": "addGroup",
          "description": "Add user to group",
          "routing": {
            "request": {
              "method": "POST",
              "url": "=/groups/{{ $parameter[\"group\"] }}/members/$ref",
              "ignoreHttpStatusErrors": true
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"added\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Add user to group"
        },
        {
          "name": "Create",
          "value": "create",
          "description": "Create a user",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/users",
              "ignoreHttpStatusErrors": true
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Create user"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a user",
          "routing": {
            "request": {
              "method": "DELETE",
              "url": "=/users/{{ $parameter[\"user\"] }}",
              "ignoreHttpStatusErrors": true
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"deleted\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Delete user"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve data for a specific user",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/users/{{ $parameter[\"user\"] }}",
              "ignoreHttpStatusErrors": true
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Get user"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve a list of users",
          "routing": {
            "request": {
              "method": "GET",
              "url": "/users",
              "ignoreHttpStatusErrors": true
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "value"
                  }
                }
              ]
            }
          },
          "action": "Get many users"
        },
        {
          "name": "Remove from Group",
          "value": "removeGroup",
          "description": "Remove user from group",
          "routing": {
            "request": {
              "method": "DELETE",
              "url": "=/groups/{{ $parameter[\"group\"] }}/members/{{ $parameter[\"user\"] }}/$ref",
              "ignoreHttpStatusErrors": true
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"removed\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Remove user from group"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a user",
          "routing": {
            "request": {
              "method": "PATCH",
              "url": "=/users/{{ $parameter[\"user\"] }}",
              "ignoreHttpStatusErrors": true
            },
            "output": {
              "postReceive": [
                null,
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"updated\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Update user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Group",
      "name": "group",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "addGroup"
          ]
        }
      }
    },
    {
      "displayName": "User to Add",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "addGroup"
          ]
        }
      }
    },
    {
      "displayName": "Account Enabled",
      "name": "accountEnabled",
      "type": "boolean",
      "default": true,
      "description": "Whether the account is enabled",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Display Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "The name to display in the address book for the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "User Principal Name",
      "name": "userPrincipalName",
      "type": "string",
      "default": "",
      "description": "The user principal name (UPN)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Mail Nickname",
      "name": "mailNickname",
      "type": "string",
      "default": "",
      "description": "The mail alias for the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Password",
      "name": "password",
      "type": "string",
      "default": "",
      "description": "The password for the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "password": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "About Me",
          "name": "aboutMe",
          "default": "",
          "description": "A freeform text entry field for the user to describe themselves",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Age Group",
          "name": "ageGroup",
          "default": "Adult",
          "description": "Sets the age group of the user",
          "options": [
            {
              "name": "Adult",
              "value": "Adult"
            },
            {
              "name": "Minor",
              "value": "Minor"
            },
            {
              "name": "Not Adult",
              "value": "NotAdult"
            }
          ],
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Birthday",
          "name": "birthday",
          "default": "",
          "description": "The birthday of the user",
          "type": "dateTime",
          "validateType": "dateTime"
        },
        {
          "displayName": "Business Phone",
          "name": "businessPhones",
          "default": "",
          "description": "The telephone number for the user",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "City",
          "name": "city",
          "default": "",
          "description": "The city in which the user is located",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Company Name",
          "name": "companyName",
          "default": "",
          "description": "The name of the company associated with the user",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Consent Provided",
          "name": "consentProvidedForMinor",
          "default": "Denied",
          "description": "Specifies if consent is provided for minors",
          "options": [
            {
              "name": "Denied",
              "value": "Denied"
            },
            {
              "name": "Granted",
              "value": "Granted"
            },
            {
              "name": "Not Required",
              "value": "NotRequired"
            }
          ],
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Country",
          "name": "country",
          "default": "",
          "description": "The country/region of the user",
          "placeholder": "e.g. US",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Department",
          "name": "department",
          "default": "",
          "description": "The department name where the user works",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Employee ID",
          "name": "employeeId",
          "default": "",
          "description": "Employee identifier assigned by the organization",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Employee Type",
          "name": "employeeType",
          "default": "",
          "description": "Defines enterprise worker type",
          "placeholder": "e.g. Contractor",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Employee Hire Date",
          "name": "employeeHireDate",
          "default": "",
          "description": "The hire date of the user",
          "placeholder": "e.g. 2014-01-01T00:00:00Z",
          "type": "dateTime",
          "validateType": "dateTime"
        },
        {
          "displayName": "Employee Leave Date",
          "name": "employeeLeaveDateTime",
          "default": "",
          "description": "The date and time when the user left or will leave the organization",
          "placeholder": "e.g. 2014-01-01T00:00:00Z",
          "type": "dateTime",
          "validateType": "dateTime"
        },
        {
          "displayName": "Employee Organization Data",
          "name": "employeeOrgData",
          "default": {},
          "description": "Represents organization data (for example, division and costCenter) associated with a user",
          "options": [
            {
              "displayName": "Employee Organization Data",
              "name": "employeeOrgValues",
              "values": [
                {
                  "displayName": "Cost Center",
                  "name": "costCenter",
                  "description": "The cost center associated with the user",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Division",
                  "name": "division",
                  "description": "The name of the division in which the user works",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ],
          "type": "fixedCollection",
          "validateType": "string"
        },
        {
          "displayName": "First Name",
          "name": "givenName",
          "default": "",
          "description": "The given name (first name) of the user",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Force Change Password",
          "name": "forceChangePassword",
          "default": "forceChangePasswordNextSignIn",
          "description": "Whether the user must change their password on the next sign-in",
          "options": [
            {
              "name": "Next Sign In",
              "value": "forceChangePasswordNextSignIn"
            },
            {
              "name": "Next Sign In with MFA",
              "value": "forceChangePasswordNextSignInWithMfa"
            }
          ],
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Interests",
          "name": "interests",
          "default": [],
          "description": "A list for the user to describe their interests",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Job Title",
          "name": "jobTitle",
          "default": "",
          "description": "The user's job title",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Last Name",
          "name": "surname",
          "default": "",
          "description": "The user's last name (family name)",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Mail",
          "name": "mail",
          "default": "",
          "description": "The SMTP address for the user",
          "placeholder": "e.g. jeff@contoso.com",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "default": "",
          "description": "The primary cellular telephone number for the user",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "My Site",
          "name": "mySite",
          "default": "",
          "description": "The URL for the user's personal site",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Office Location",
          "name": "officeLocation",
          "default": "",
          "description": "The office location for the user",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "On Premises Immutable ID",
          "name": "onPremisesImmutableId",
          "default": "",
          "description": "This property is used to associate an on-premises Active Directory user account to their Microsoft Entra user object",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Other Emails",
          "name": "otherMails",
          "default": [],
          "description": "Additional email addresses for the user",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Password Policies",
          "name": "passwordPolicies",
          "default": [],
          "description": "Specifies password policies",
          "options": [
            {
              "name": "Disable Password Expiration",
              "value": "DisablePasswordExpiration"
            },
            {
              "name": "Disable Strong Password",
              "value": "DisableStrongPassword"
            }
          ],
          "type": "multiOptions"
        },
        {
          "displayName": "Past Projects",
          "name": "pastProjects",
          "default": [],
          "description": "A list of past projects the user has worked on",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Postal Code",
          "name": "postalCode",
          "default": "",
          "description": "The postal code for the user's address",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Preferred Language",
          "name": "preferredLanguage",
          "default": "",
          "description": "User's preferred language in ISO 639-1 code",
          "placeholder": "e.g. en-US",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Responsibilities",
          "name": "responsibilities",
          "default": [],
          "description": "A list of responsibilities the user has",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Schools Attended",
          "name": "schools",
          "default": [],
          "description": "A list of schools the user attended",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Skills",
          "name": "skills",
          "default": [],
          "description": "A list of skills the user possesses",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "State",
          "name": "state",
          "default": "",
          "description": "The state or province of the user's address",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Street Address",
          "name": "streetAddress",
          "default": "",
          "description": "The street address of the user's place of business",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Usage Location",
          "name": "usageLocation",
          "default": "",
          "description": "Two-letter country code where the user is located",
          "placeholder": "e.g. US",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "User Type",
          "name": "userType",
          "default": "Guest",
          "description": "Classifies the user type",
          "options": [
            {
              "name": "Guest",
              "value": "Guest"
            },
            {
              "name": "Member",
              "value": "Member"
            }
          ],
          "type": "options",
          "validateType": "options"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "User to Delete",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "User to Get",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple",
          "routing": {
            "send": {
              "property": "$select",
              "type": "query",
              "value": "id,createdDateTime,displayName,userPrincipalName,mail,mailNickname,securityIdentifier"
            }
          }
        },
        {
          "name": "Raw",
          "value": "raw",
          "routing": {
            "send": {
              "property": "$select",
              "type": "query",
              "value": "id,accountEnabled,ageGroup,assignedLicenses,assignedPlans,authorizationInfo,businessPhones,city,companyName,consentProvidedForMinor,country,createdDateTime,creationType,customSecurityAttributes,deletedDateTime,department,displayName,employeeHireDate,employeeId,employeeLeaveDateTime,employeeOrgData,employeeType,externalUserState,externalUserStateChangeDateTime,faxNumber,givenName,identities,imAddresses,isManagementRestricted,isResourceAccount,jobTitle,lastPasswordChangeDateTime,legalAgeGroupClassification,licenseAssignmentStates,mail,mailNickname,mobilePhone,officeLocation,onPremisesDistinguishedName,onPremisesDomainName,onPremisesExtensionAttributes,onPremisesImmutableId,onPremisesLastSyncDateTime,onPremisesProvisioningErrors,onPremisesSamAccountName,onPremisesSecurityIdentifier,onPremisesSyncEnabled,onPremisesUserPrincipalName,otherMails,passwordPolicies,passwordProfile,postalCode,preferredDataLocation,preferredLanguage,provisionedPlans,proxyAddresses,securityIdentifier,serviceProvisioningErrors,showInAddressList,signInSessionsValidFromDateTime,state,streetAddress,surname,usageLocation,userPrincipalName,userType"
            }
          }
        },
        {
          "name": "Selected Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ],
          "output": [
            "fields"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getUserProperties"
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filter",
      "name": "filter",
      "type": "string",
      "default": "",
      "description": "<a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter\">Query parameter</a> to filter results by",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple",
          "routing": {
            "send": {
              "property": "$select",
              "type": "query",
              "value": "id,createdDateTime,displayName,userPrincipalName,mail,mailNickname,securityIdentifier"
            }
          }
        },
        {
          "name": "Raw",
          "value": "raw",
          "routing": {
            "send": {
              "property": "$select",
              "type": "query",
              "value": "id,accountEnabled,ageGroup,assignedLicenses,assignedPlans,authorizationInfo,businessPhones,city,companyName,consentProvidedForMinor,country,createdDateTime,creationType,customSecurityAttributes,deletedDateTime,department,displayName,employeeHireDate,employeeId,employeeLeaveDateTime,employeeOrgData,employeeType,externalUserState,externalUserStateChangeDateTime,faxNumber,givenName,identities,imAddresses,isManagementRestricted,isResourceAccount,jobTitle,lastPasswordChangeDateTime,legalAgeGroupClassification,licenseAssignmentStates,mail,mailNickname,mobilePhone,officeLocation,onPremisesDistinguishedName,onPremisesDomainName,onPremisesExtensionAttributes,onPremisesImmutableId,onPremisesLastSyncDateTime,onPremisesProvisioningErrors,onPremisesSamAccountName,onPremisesSecurityIdentifier,onPremisesSyncEnabled,onPremisesUserPrincipalName,otherMails,passwordPolicies,passwordProfile,postalCode,preferredDataLocation,preferredLanguage,provisionedPlans,proxyAddresses,securityIdentifier,serviceProvisioningErrors,showInAddressList,signInSessionsValidFromDateTime,state,streetAddress,surname,usageLocation,userPrincipalName,userType"
            }
          }
        },
        {
          "name": "Selected Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ],
          "output": [
            "fields"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getUserPropertiesGetAll"
      }
    },
    {
      "displayName": "Group",
      "name": "group",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "removeGroup"
          ]
        }
      }
    },
    {
      "displayName": "User to Remove",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "removeGroup"
          ]
        }
      }
    },
    {
      "displayName": "User to Update",
      "name": "user",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "About Me",
          "name": "aboutMe",
          "default": "",
          "description": "A freeform text entry field for the user to describe themselves",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Account Enabled",
          "name": "accountEnabled",
          "default": true,
          "description": "Whether the account is enabled",
          "routing": {
            "send": {
              "property": "accountEnabled",
              "type": "body"
            }
          },
          "type": "boolean",
          "validateType": "boolean"
        },
        {
          "displayName": "Age Group",
          "name": "ageGroup",
          "default": "Adult",
          "description": "Sets the age group of the user",
          "options": [
            {
              "name": "Adult",
              "value": "Adult"
            },
            {
              "name": "Minor",
              "value": "Minor"
            },
            {
              "name": "Not Adult",
              "value": "NotAdult"
            }
          ],
          "routing": {
            "send": {
              "property": "ageGroup",
              "type": "body"
            }
          },
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Birthday",
          "name": "birthday",
          "default": "",
          "description": "The birthday of the user",
          "type": "dateTime",
          "validateType": "dateTime"
        },
        {
          "displayName": "Business Phone",
          "name": "businessPhones",
          "default": "",
          "description": "The telephone number for the user",
          "routing": {
            "send": {
              "property": "businessPhones",
              "type": "body",
              "value": "={{ $value ? [$value] : [] }}"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "City",
          "name": "city",
          "default": "",
          "description": "The city in which the user is located",
          "routing": {
            "send": {
              "property": "city",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Company Name",
          "name": "companyName",
          "default": "",
          "description": "The name of the company associated with the user",
          "routing": {
            "send": {
              "property": "companyName",
              "type": "body",
              "preSend": [
                null
              ]
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Consent Provided",
          "name": "consentProvidedForMinor",
          "default": "Denied",
          "description": "Specifies if consent is provided for minors",
          "options": [
            {
              "name": "Denied",
              "value": "Denied"
            },
            {
              "name": "Granted",
              "value": "Granted"
            },
            {
              "name": "Not Required",
              "value": "NotRequired"
            }
          ],
          "routing": {
            "send": {
              "property": "consentProvidedForMinor",
              "type": "body"
            }
          },
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Country",
          "name": "country",
          "default": "",
          "description": "The country/region of the user",
          "placeholder": "e.g. US",
          "routing": {
            "send": {
              "property": "country",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Department",
          "name": "department",
          "default": "",
          "description": "The department name where the user works",
          "routing": {
            "send": {
              "property": "department",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Display Name",
          "name": "displayName",
          "default": "",
          "description": "The name to display in the address book for the user",
          "routing": {
            "send": {
              "property": "displayName",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Employee ID",
          "name": "employeeId",
          "default": "",
          "description": "Employee identifier assigned by the organization",
          "routing": {
            "send": {
              "property": "employeeId",
              "type": "body",
              "preSend": [
                null
              ]
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Employee Type",
          "name": "employeeType",
          "default": "",
          "description": "Defines enterprise worker type",
          "placeholder": "e.g. Contractor",
          "routing": {
            "send": {
              "property": "employeeType",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "First Name",
          "name": "givenName",
          "default": "",
          "description": "The given name (first name) of the user",
          "routing": {
            "send": {
              "property": "givenName",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Employee Hire Date",
          "name": "employeeHireDate",
          "default": "",
          "description": "The hire date of the user",
          "placeholder": "e.g. 2014-01-01T00:00:00Z",
          "routing": {
            "send": {
              "property": "employeeHireDate",
              "type": "body",
              "value": "={{ $value?.toUTC().toISO() }}"
            }
          },
          "type": "dateTime",
          "validateType": "dateTime"
        },
        {
          "displayName": "Employee Leave Date",
          "name": "employeeLeaveDateTime",
          "default": "",
          "description": "The date and time when the user left or will leave the organization",
          "placeholder": "e.g. 2014-01-01T00:00:00Z",
          "routing": {
            "send": {
              "property": "employeeLeaveDateTime",
              "type": "body",
              "value": "={{ $value?.toUTC().toISO() }}"
            }
          },
          "type": "dateTime",
          "validateType": "dateTime"
        },
        {
          "displayName": "Employee Organization Data",
          "name": "employeeOrgData",
          "default": {},
          "description": "Represents organization data (for example, division and costCenter) associated with a user",
          "options": [
            {
              "displayName": "Employee Organization Data",
              "name": "employeeOrgValues",
              "values": [
                {
                  "displayName": "Cost Center",
                  "name": "costCenter",
                  "description": "The cost center associated with the user",
                  "routing": {
                    "send": {
                      "property": "employeeOrgData.costCenter",
                      "type": "body"
                    }
                  },
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Division",
                  "name": "division",
                  "description": "The name of the division in which the user works",
                  "routing": {
                    "send": {
                      "property": "employeeOrgData.division",
                      "type": "body"
                    }
                  },
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ],
          "type": "fixedCollection",
          "validateType": "string"
        },
        {
          "displayName": "Force Change Password",
          "name": "forceChangePassword",
          "default": "forceChangePasswordNextSignIn",
          "description": "Whether the user must change their password on the next sign-in",
          "options": [
            {
              "name": "Next Sign In",
              "value": "forceChangePasswordNextSignIn"
            },
            {
              "name": "Next Sign In with MFA",
              "value": "forceChangePasswordNextSignInWithMfa"
            }
          ],
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "type": "options",
          "validateType": "options"
        },
        {
          "displayName": "Interests",
          "name": "interests",
          "default": [],
          "description": "A list for the user to describe their interests",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Job Title",
          "name": "jobTitle",
          "default": "",
          "description": "The user's job title",
          "routing": {
            "send": {
              "property": "jobTitle",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Last Name",
          "name": "surname",
          "default": "",
          "description": "The user's last name (family name)",
          "routing": {
            "send": {
              "property": "surname",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Mail",
          "name": "mail",
          "default": "",
          "description": "The SMTP address for the user",
          "placeholder": "e.g. jeff@contoso.com",
          "routing": {
            "send": {
              "property": "mail",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Mail Nickname",
          "name": "mailNickname",
          "default": "",
          "description": "The mail alias for the user",
          "routing": {
            "send": {
              "property": "mailNickname",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "default": "",
          "description": "The primary cellular telephone number for the user",
          "routing": {
            "send": {
              "property": "mobilePhone",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "My Site",
          "name": "mySite",
          "default": "",
          "description": "The URL for the user's personal site",
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Office Location",
          "name": "officeLocation",
          "default": "",
          "description": "The office location for the user",
          "routing": {
            "send": {
              "property": "officeLocation",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "On Premises Immutable ID",
          "name": "onPremisesImmutableId",
          "default": "",
          "description": "This property is used to associate an on-premises Active Directory user account to their Microsoft Entra user object",
          "routing": {
            "send": {
              "property": "onPremisesImmutableId",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Other Emails",
          "name": "otherMails",
          "default": [],
          "description": "Additional email addresses for the user",
          "routing": {
            "send": {
              "property": "otherMails",
              "type": "body"
            }
          },
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Password",
          "name": "password",
          "default": "",
          "description": "The password for the user. The password must satisfy minimum requirements as specified by the passwordPolicies property.",
          "routing": {
            "send": {
              "property": "passwordProfile.password",
              "type": "body"
            }
          },
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "validateType": "string"
        },
        {
          "displayName": "Password Policies",
          "name": "passwordPolicies",
          "default": [],
          "description": "Specifies password policies",
          "options": [
            {
              "name": "Disable Password Expiration",
              "value": "DisablePasswordExpiration"
            },
            {
              "name": "Disable Strong Password",
              "value": "DisableStrongPassword"
            }
          ],
          "routing": {
            "send": {
              "property": "passwordPolicies",
              "type": "body",
              "value": "={{ $value?.join(\",\") }}"
            }
          },
          "type": "multiOptions"
        },
        {
          "displayName": "Past Projects",
          "name": "pastProjects",
          "default": [],
          "description": "A list of past projects the user has worked on",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Postal Code",
          "name": "postalCode",
          "default": "",
          "description": "The postal code for the user's address",
          "routing": {
            "send": {
              "property": "postalCode",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Preferred Language",
          "name": "preferredLanguage",
          "default": "",
          "description": "User's preferred language in ISO 639-1 code",
          "placeholder": "e.g. en-US",
          "routing": {
            "send": {
              "property": "preferredLanguage",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Responsibilities",
          "name": "responsibilities",
          "default": [],
          "description": "A list of responsibilities the user has",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Schools Attended",
          "name": "schools",
          "default": [],
          "description": "A list of schools the user attended",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "Skills",
          "name": "skills",
          "default": [],
          "description": "A list of skills the user possesses",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "validateType": "array"
        },
        {
          "displayName": "State",
          "name": "state",
          "default": "",
          "description": "The state or province of the user's address",
          "routing": {
            "send": {
              "property": "state",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Street Address",
          "name": "streetAddress",
          "default": "",
          "description": "The street address of the user's place of business",
          "routing": {
            "send": {
              "property": "streetAddress",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "Usage Location",
          "name": "usageLocation",
          "default": "",
          "description": "Two-letter country code where the user is located",
          "placeholder": "e.g. US",
          "routing": {
            "send": {
              "property": "usageLocation",
              "type": "body"
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "User Principal Name",
          "name": "userPrincipalName",
          "default": "",
          "description": "The user principal name (UPN)",
          "placeholder": "e.g. AdeleV@contoso.com",
          "routing": {
            "send": {
              "property": "userPrincipalName",
              "type": "body",
              "preSend": [
                null
              ]
            }
          },
          "type": "string",
          "validateType": "string"
        },
        {
          "displayName": "User Type",
          "name": "userType",
          "default": "Guest",
          "description": "Classifies the user type",
          "options": [
            {
              "name": "Guest",
              "value": "Guest"
            },
            {
              "name": "Member",
              "value": "Member"
            }
          ],
          "routing": {
            "send": {
              "property": "userType",
              "type": "body"
            }
          },
          "type": "options",
          "validateType": "options"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a group"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a group"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Retrieve data for a specific group"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Retrieve a list of groups"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a group"
    }
  ]


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

outputs:
  [
  "main"
  ]

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

  # Microsoft Excel 365 node

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

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

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

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

  ## Operations

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

  ## Templates and examples

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

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

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

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


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

outputs:
  [
  "main"
  ]

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

  # Microsoft Graph Security node

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

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

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

  ## Operations

  * Secure Score
      * Get
      * Get All
  * Secure Score Control Profile
      * Get
      * Get All
      * Update

  ## Templates and examples

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

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

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

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


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

outputs:
  [
  "main"
  ]

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

  # Microsoft OneDrive node

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

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

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

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

  ## Operations

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

  ## Templates and examples

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

  ## Related resources

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

  ## Find the folder ID

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

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

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

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


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

outputs:
  [
  "main"
  ]

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

  # Microsoft OneDrive Trigger node

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

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

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

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

  ## Events

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

  ## Related resources

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

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

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

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


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

outputs:
  [
  "main"
  ]

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

  # Microsoft Outlook node

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

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

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

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

  ## Operations

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

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

  ## Templates and examples

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

  ## Related resources

  Refer to [Outlook's API documentation](https://learn.microsoft.com/en-us/outlook/rest/get-started){:target=_blank .external-link} for more information about the service.

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "message",
      "options": [
        {
          "name": "Calendar",
          "value": "calendar"
        },
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "Draft",
          "value": "draft"
        },
        {
          "name": "Event",
          "value": "event"
        },
        {
          "name": "Folder",
          "value": "folder"
        },
        {
          "name": "Folder Message",
          "value": "folderMessage"
        },
        {
          "name": "Message",
          "value": "message"
        },
        {
          "name": "Message Attachment",
          "value": "messageAttachment"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new calendar",
          "action": "Create a calendar"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a calendar",
          "action": "Delete a calendar"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a calendar",
          "action": "Get a calendar"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "List and search calendars",
          "action": "Get many calendars"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a calendar",
          "action": "Update a calendar"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the calendar to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Calendar Group",
          "name": "calendarGroup",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getCalendarGroups"
          },
          "default": [],
          "description": "If set, the calendar will be created in the specified calendar group. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Color",
          "name": "color",
          "type": "options",
          "default": "lightBlue",
          "options": [
            {
              "name": "Light Blue",
              "value": "lightBlue"
            },
            {
              "name": "Light Brown",
              "value": "lightBrown"
            },
            {
              "name": "Light Gray",
              "value": "lightGray"
            },
            {
              "name": "Light Green",
              "value": "lightGreen"
            },
            {
              "name": "Light Orange",
              "value": "lightOrange"
            },
            {
              "name": "Light Pink",
              "value": "lightPink"
            },
            {
              "name": "Light Red",
              "value": "lightRed"
            },
            {
              "name": "Light Teal",
              "value": "lightTeal"
            },
            {
              "name": "Light Yellow",
              "value": "lightYellow"
            }
          ],
          "description": "Specify the color to distinguish the calendar from the others"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "calendar"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query",
          "name": "custom",
          "type": "string",
          "default": "",
          "placeholder": "e.g. canShare eq true",
          "hint": "Search query to filter calendars. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Color",
          "name": "color",
          "type": "options",
          "default": "lightBlue",
          "options": [
            {
              "name": "Light Blue",
              "value": "lightBlue"
            },
            {
              "name": "Light Brown",
              "value": "lightBrown"
            },
            {
              "name": "Light Gray",
              "value": "lightGray"
            },
            {
              "name": "Light Green",
              "value": "lightGreen"
            },
            {
              "name": "Light Orange",
              "value": "lightOrange"
            },
            {
              "name": "Light Pink",
              "value": "lightPink"
            },
            {
              "name": "Light Red",
              "value": "lightRed"
            },
            {
              "name": "Light Teal",
              "value": "lightTeal"
            },
            {
              "name": "Light Yellow",
              "value": "lightYellow"
            }
          ],
          "description": "Specify the color to distinguish the calendar from the others"
        },
        {
          "displayName": "Default Calendar",
          "name": "isDefaultCalendar",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "placeholder": "e.g. My Calendar",
          "description": "The name of the calendar"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "calendar"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new contact",
          "action": "Create a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "List and search contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "First Name",
      "name": "givenName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "surname",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assistant Name",
          "name": "assistantName",
          "type": "string",
          "default": "",
          "description": "The name of the contact's assistant"
        },
        {
          "displayName": "Birthday",
          "name": "birthday",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Business Address",
          "name": "businessAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Business Home Page",
          "name": "businessHomePage",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Business Phones",
          "name": "businessPhones",
          "type": "string",
          "description": "Comma-separated list of business phone numbers",
          "default": ""
        },
        {
          "displayName": "Categories",
          "name": "categories",
          "description": "Comma-separated list of categories associated with the contact",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Children",
          "name": "children",
          "description": "Comma-separated list of names of the contact's children",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Company Name",
          "name": "companyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Display Name",
          "name": "displayName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email Address",
          "name": "emailAddresses",
          "type": "fixedCollection",
          "placeholder": "Add Email",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Email",
              "name": "values",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address",
                  "name": "address",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "File As",
          "name": "fileAs",
          "type": "string",
          "default": "",
          "description": "The name the contact is filed under"
        },
        {
          "displayName": "Home Address",
          "name": "homeAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Home Phones",
          "name": "homePhones",
          "type": "string",
          "default": "",
          "hint": "Multiple phones can be added separated by ,"
        },
        {
          "displayName": "Instant Messaging Addresses",
          "name": "imAddresses",
          "description": "The contact's instant messaging (IM) addresses",
          "type": "string",
          "default": "",
          "hint": "Multiple addresses can be added separated by ,"
        },
        {
          "displayName": "Initials",
          "name": "initials",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "jobTitle",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "description": "The name of the contact's manager"
        },
        {
          "displayName": "Middle Name",
          "name": "middleName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "givenName",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/operation": [
                "update"
              ]
            }
          }
        },
        {
          "displayName": "Nickname",
          "name": "nickName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Office Location",
          "name": "officeLocation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Other Address",
          "name": "otherAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Personal Notes",
          "name": "personalNotes",
          "type": "string",
          "default": "",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          }
        },
        {
          "displayName": "Profession",
          "name": "profession",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Spouse Name",
          "name": "spouseName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Surname",
          "name": "surname",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Contact",
      "name": "contactId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Contact",
      "name": "contactId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "birthday",
          "value": "birthday"
        },
        {
          "name": "fileAs",
          "value": "fileAs"
        },
        {
          "name": "displayName",
          "value": "displayName"
        },
        {
          "name": "givenName",
          "value": "givenName"
        },
        {
          "name": "initials",
          "value": "initials"
        },
        {
          "name": "middleName",
          "value": "middleName"
        },
        {
          "name": "nickName",
          "value": "nickName"
        },
        {
          "name": "surname",
          "value": "surname"
        },
        {
          "name": "title",
          "value": "title"
        },
        {
          "name": "yomiGivenName",
          "value": "yomiGivenName"
        },
        {
          "name": "yomiSurname",
          "value": "yomiSurname"
        },
        {
          "name": "yomiCompanyName",
          "value": "yomiCompanyName"
        },
        {
          "name": "generation",
          "value": "generation"
        },
        {
          "name": "imAddresses",
          "value": "imAddresses"
        },
        {
          "name": "jobTitle",
          "value": "jobTitle"
        },
        {
          "name": "companyName",
          "value": "companyName"
        },
        {
          "name": "department",
          "value": "department"
        },
        {
          "name": "officeLocation",
          "value": "officeLocation"
        },
        {
          "name": "profession",
          "value": "profession"
        },
        {
          "name": "businessHomePage",
          "value": "businessHomePage"
        },
        {
          "name": "assistantName",
          "value": "assistantName"
        },
        {
          "name": "manager",
          "value": "manager"
        },
        {
          "name": "homePhones",
          "value": "homePhones"
        },
        {
          "name": "mobilePhone",
          "value": "mobilePhone"
        },
        {
          "name": "businessPhones",
          "value": "businessPhones"
        },
        {
          "name": "spouseName",
          "value": "spouseName"
        },
        {
          "name": "personalNotes",
          "value": "personalNotes"
        },
        {
          "name": "children",
          "value": "children"
        },
        {
          "name": "emailAddresses",
          "value": "emailAddresses"
        },
        {
          "name": "homeAddress",
          "value": "homeAddress"
        },
        {
          "name": "businessAddress",
          "value": "businessAddress"
        },
        {
          "name": "otherAddress",
          "value": "otherAddress"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "contact"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "birthday",
          "value": "birthday"
        },
        {
          "name": "fileAs",
          "value": "fileAs"
        },
        {
          "name": "displayName",
          "value": "displayName"
        },
        {
          "name": "givenName",
          "value": "givenName"
        },
        {
          "name": "initials",
          "value": "initials"
        },
        {
          "name": "middleName",
          "value": "middleName"
        },
        {
          "name": "nickName",
          "value": "nickName"
        },
        {
          "name": "surname",
          "value": "surname"
        },
        {
          "name": "title",
          "value": "title"
        },
        {
          "name": "yomiGivenName",
          "value": "yomiGivenName"
        },
        {
          "name": "yomiSurname",
          "value": "yomiSurname"
        },
        {
          "name": "yomiCompanyName",
          "value": "yomiCompanyName"
        },
        {
          "name": "generation",
          "value": "generation"
        },
        {
          "name": "imAddresses",
          "value": "imAddresses"
        },
        {
          "name": "jobTitle",
          "value": "jobTitle"
        },
        {
          "name": "companyName",
          "value": "companyName"
        },
        {
          "name": "department",
          "value": "department"
        },
        {
          "name": "officeLocation",
          "value": "officeLocation"
        },
        {
          "name": "profession",
          "value": "profession"
        },
        {
          "name": "businessHomePage",
          "value": "businessHomePage"
        },
        {
          "name": "assistantName",
          "value": "assistantName"
        },
        {
          "name": "manager",
          "value": "manager"
        },
        {
          "name": "homePhones",
          "value": "homePhones"
        },
        {
          "name": "mobilePhone",
          "value": "mobilePhone"
        },
        {
          "name": "businessPhones",
          "value": "businessPhones"
        },
        {
          "name": "spouseName",
          "value": "spouseName"
        },
        {
          "name": "personalNotes",
          "value": "personalNotes"
        },
        {
          "name": "children",
          "value": "children"
        },
        {
          "name": "emailAddresses",
          "value": "emailAddresses"
        },
        {
          "name": "homeAddress",
          "value": "homeAddress"
        },
        {
          "name": "businessAddress",
          "value": "businessAddress"
        },
        {
          "name": "otherAddress",
          "value": "otherAddress"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query",
          "name": "custom",
          "type": "string",
          "default": "",
          "placeholder": "e.g. displayName eq 'John Doe'",
          "hint": "Search query to filter contacts. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
        },
        {
          "displayName": "Email Address",
          "name": "emailAddress",
          "type": "string",
          "default": "",
          "description": "If contacts that you want to retrieve have multiple email addresses, you can enter them separated by commas"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Contact",
      "name": "contactId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assistant Name",
          "name": "assistantName",
          "type": "string",
          "default": "",
          "description": "The name of the contact's assistant"
        },
        {
          "displayName": "Birthday",
          "name": "birthday",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Business Address",
          "name": "businessAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Business Home Page",
          "name": "businessHomePage",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Business Phones",
          "name": "businessPhones",
          "type": "string",
          "description": "Comma-separated list of business phone numbers",
          "default": ""
        },
        {
          "displayName": "Categories",
          "name": "categories",
          "description": "Comma-separated list of categories associated with the contact",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Children",
          "name": "children",
          "description": "Comma-separated list of names of the contact's children",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Company Name",
          "name": "companyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Department",
          "name": "department",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Display Name",
          "name": "displayName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email Address",
          "name": "emailAddresses",
          "type": "fixedCollection",
          "placeholder": "Add Email",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Email",
              "name": "values",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Address",
                  "name": "address",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "File As",
          "name": "fileAs",
          "type": "string",
          "default": "",
          "description": "The name the contact is filed under"
        },
        {
          "displayName": "Home Address",
          "name": "homeAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Home Phones",
          "name": "homePhones",
          "type": "string",
          "default": "",
          "hint": "Multiple phones can be added separated by ,"
        },
        {
          "displayName": "Instant Messaging Addresses",
          "name": "imAddresses",
          "description": "The contact's instant messaging (IM) addresses",
          "type": "string",
          "default": "",
          "hint": "Multiple addresses can be added separated by ,"
        },
        {
          "displayName": "Initials",
          "name": "initials",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Job Title",
          "name": "jobTitle",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Manager",
          "name": "manager",
          "type": "string",
          "default": "",
          "description": "The name of the contact's manager"
        },
        {
          "displayName": "Middle Name",
          "name": "middleName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile Phone",
          "name": "mobilePhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "givenName",
          "type": "string",
          "default": "",
          "displayOptions": {
            "show": {
              "/operation": [
                "update"
              ]
            }
          }
        },
        {
          "displayName": "Nickname",
          "name": "nickName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Office Location",
          "name": "officeLocation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Other Address",
          "name": "otherAddress",
          "type": "fixedCollection",
          "placeholder": "Add Address",
          "default": {
            "values": {
              "sity": "",
              "street": "",
              "postalCode": "",
              "countryOrRegion": "",
              "state": ""
            }
          },
          "options": [
            {
              "displayName": "Address",
              "name": "values",
              "values": [
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country/Region",
                  "name": "countryOrRegion",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Personal Notes",
          "name": "personalNotes",
          "type": "string",
          "default": "",
          "typeOptions": {
            "alwaysOpenEditWindow": true
          }
        },
        {
          "displayName": "Profession",
          "name": "profession",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Spouse Name",
          "name": "spouseName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Surname",
          "name": "surname",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new email draft",
          "action": "Create a draft"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an email draft",
          "action": "Delete a draft"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an email draft",
          "action": "Get a draft"
        },
        {
          "name": "Send",
          "value": "send",
          "description": "Send an existing email draft",
          "action": "Send a draft"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an email draft",
          "action": "Update a draft"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "The subject of the message",
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "bodyContent",
      "type": "string",
      "default": "",
      "description": "Message body content",
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments",
          "name": "attachments",
          "type": "fixedCollection",
          "placeholder": "Add Attachment",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "name": "attachments",
              "displayName": "Attachment",
              "values": [
                {
                  "displayName": "Input Data Field Name",
                  "name": "binaryPropertyName",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. data",
                  "hint": "The name of the input field containing the binary file data to be attached"
                }
              ]
            }
          ]
        },
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "From",
          "name": "from",
          "description": "The owner of the mailbox from which the message is sent. Must correspond to the actual mailbox used.",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "placeholder": "e.g. replyto@example.com",
          "default": ""
        },
        {
          "displayName": "To",
          "name": "toRecipients",
          "description": "Comma-separated list of email addresses of recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Draft",
      "name": "draftId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Draft",
      "name": "draftId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "bccRecipients",
          "value": "bccRecipients"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "ccRecipients",
          "value": "ccRecipients"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "conversationId",
          "value": "conversationId"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "flag",
          "value": "flag"
        },
        {
          "name": "from",
          "value": "from"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "inferenceClassification",
          "value": "inferenceClassification"
        },
        {
          "name": "internetMessageId",
          "value": "internetMessageId"
        },
        {
          "name": "isDeliveryReceiptRequested",
          "value": "isDeliveryReceiptRequested"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isRead",
          "value": "isRead"
        },
        {
          "name": "isReadReceiptRequested",
          "value": "isReadReceiptRequested"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "receivedDateTime",
          "value": "receivedDateTime"
        },
        {
          "name": "replyTo",
          "value": "replyTo"
        },
        {
          "name": "sender",
          "value": "sender"
        },
        {
          "name": "sentDateTime",
          "value": "sentDateTime"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "toRecipients",
          "value": "toRecipients"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "draft"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments Prefix",
          "name": "attachmentsPrefix",
          "type": "string",
          "default": "attachment_",
          "description": "Prefix for name of the output fields to put the binary files data in. An index starting from 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."
        },
        {
          "displayName": "Download Attachments",
          "name": "downloadAttachments",
          "type": "boolean",
          "default": false,
          "description": "Whether the message's attachments will be downloaded and included in the output"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Draft",
      "name": "draftId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "to",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of email addresses of recipients",
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Draft",
      "name": "draftId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "From",
          "name": "from",
          "description": "The owner of the mailbox from which the message is sent. Must correspond to the actual mailbox used.",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Is Read",
          "name": "isRead",
          "description": "Whether the message must be marked as read",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Message",
          "name": "bodyContent",
          "description": "Message body content",
          "type": "string",
          "typeOptions": {
            "rows": 2
          },
          "default": ""
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "placeholder": "e.g. replyto@example.com",
          "default": ""
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "description": "The subject of the message",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "To",
          "name": "toRecipients",
          "description": "Comma-separated list of email addresses of recipients",
          "type": "string",
          "placeholder": "e.g. john@example.com",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "draft"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new event",
          "action": "Create an event"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an event",
          "action": "Delete an event"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an event",
          "action": "Get an event"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "List and search events",
          "action": "Get many events"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an event",
          "action": "Update an event"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Start",
      "name": "startDateTime",
      "type": "dateTime",
      "default": "2025-10-10T13:39:49.461+02:00",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "End",
      "name": "endDateTime",
      "type": "dateTime",
      "default": "2025-10-10T14:09:49.461+02:00",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Categories",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "Description",
          "name": "body",
          "type": "string",
          "typeOptions": {
            "rows": 2
          },
          "default": ""
        },
        {
          "displayName": "Description Preview",
          "name": "bodyPreview",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Hide Attendees",
          "name": "hideAttendees",
          "type": "boolean",
          "default": false,
          "description": "Whether to allow each attendee to only see themselves in the meeting request and meeting tracking list"
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "High",
              "value": "high"
            }
          ],
          "default": "normal"
        },
        {
          "displayName": "Is All Day",
          "name": "isAllDay",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Cancelled",
          "name": "isCancelled",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Draft",
          "name": "isDraft",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Online Meeting",
          "name": "isOnlineMeeting",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Sensitivity",
          "name": "sensitivity",
          "type": "options",
          "default": "normal",
          "options": [
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "Personal",
              "value": "personal"
            },
            {
              "name": "Private",
              "value": "private"
            },
            {
              "name": "Confidential",
              "value": "confidential"
            }
          ]
        },
        {
          "displayName": "Show As",
          "name": "showAs",
          "type": "options",
          "default": "free",
          "options": [
            {
              "name": "Busy",
              "value": "busy"
            },
            {
              "name": "Free",
              "value": "free"
            },
            {
              "name": "Oof",
              "value": "oof"
            },
            {
              "name": "Tentative",
              "value": "tentative"
            },
            {
              "name": "Working Elsewhere",
              "value": "workingElsewhere"
            }
          ]
        },
        {
          "displayName": "Timezone",
          "name": "timeZone",
          "type": "options",
          "default": "UTC",
          "options": [
            {
              "name": "Africa/Abidjan",
              "value": "Africa/Abidjan"
            },
            {
              "name": "Africa/Accra",
              "value": "Africa/Accra"
            },
            {
              "name": "Africa/Addis_Ababa",
              "value": "Africa/Addis_Ababa"
            },
            {
              "name": "Africa/Algiers",
              "value": "Africa/Algiers"
            },
            {
              "name": "Africa/Asmara",
              "value": "Africa/Asmara"
            },
            {
              "name": "Africa/Asmera",
              "value": "Africa/Asmera"
            },
            {
              "name": "Africa/Bamako",
              "value": "Africa/Bamako"
            },
            {
              "name": "Africa/Bangui",
              "value": "Africa/Bangui"
            },
            {
              "name": "Africa/Banjul",
              "value": "Africa/Banjul"
            },
            {
              "name": "Africa/Bissau",
              "value": "Africa/Bissau"
            },
            {
              "name": "Africa/Blantyre",
              "value": "Africa/Blantyre"
            },
            {
              "name": "Africa/Brazzaville",
              "value": "Africa/Brazzaville"
            },
            {
              "name": "Africa/Bujumbura",
              "value": "Africa/Bujumbura"
            },
            {
              "name": "Africa/Cairo",
              "value": "Africa/Cairo"
            },
            {
              "name": "Africa/Casablanca",
              "value": "Africa/Casablanca"
            },
            {
              "name": "Africa/Ceuta",
              "value": "Africa/Ceuta"
            },
            {
              "name": "Africa/Conakry",
              "value": "Africa/Conakry"
            },
            {
              "name": "Africa/Dakar",
              "value": "Africa/Dakar"
            },
            {
              "name": "Africa/Dar_es_Salaam",
              "value": "Africa/Dar_es_Salaam"
            },
            {
              "name": "Africa/Djibouti",
              "value": "Africa/Djibouti"
            },
            {
              "name": "Africa/Douala",
              "value": "Africa/Douala"
            },
            {
              "name": "Africa/El_Aaiun",
              "value": "Africa/El_Aaiun"
            },
            {
              "name": "Africa/Freetown",
              "value": "Africa/Freetown"
            },
            {
              "name": "Africa/Gaborone",
              "value": "Africa/Gaborone"
            },
            {
              "name": "Africa/Harare",
              "value": "Africa/Harare"
            },
            {
              "name": "Africa/Johannesburg",
              "value": "Africa/Johannesburg"
            },
            {
              "name": "Africa/Juba",
              "value": "Africa/Juba"
            },
            {
              "name": "Africa/Kampala",
              "value": "Africa/Kampala"
            },
            {
              "name": "Africa/Khartoum",
              "value": "Africa/Khartoum"
            },
            {
              "name": "Africa/Kigali",
              "value": "Africa/Kigali"
            },
            {
              "name": "Africa/Kinshasa",
              "value": "Africa/Kinshasa"
            },
            {
              "name": "Africa/Lagos",
              "value": "Africa/Lagos"
            },
            {
              "name": "Africa/Libreville",
              "value": "Africa/Libreville"
            },
            {
              "name": "Africa/Lome",
              "value": "Africa/Lome"
            },
            {
              "name": "Africa/Luanda",
              "value": "Africa/Luanda"
            },
            {
              "name": "Africa/Lubumbashi",
              "value": "Africa/Lubumbashi"
            },
            {
              "name": "Africa/Lusaka",
              "value": "Africa/Lusaka"
            },
            {
              "name": "Africa/Malabo",
              "value": "Africa/Malabo"
            },
            {
              "name": "Africa/Maputo",
              "value": "Africa/Maputo"
            },
            {
              "name": "Africa/Maseru",
              "value": "Africa/Maseru"
            },
            {
              "name": "Africa/Mbabane",
              "value": "Africa/Mbabane"
            },
            {
              "name": "Africa/Mogadishu",
              "value": "Africa/Mogadishu"
            },
            {
              "name": "Africa/Monrovia",
              "value": "Africa/Monrovia"
            },
            {
              "name": "Africa/Nairobi",
              "value": "Africa/Nairobi"
            },
            {
              "name": "Africa/Ndjamena",
              "value": "Africa/Ndjamena"
            },
            {
              "name": "Africa/Niamey",
              "value": "Africa/Niamey"
            },
            {
              "name": "Africa/Nouakchott",
              "value": "Africa/Nouakchott"
            },
            {
              "name": "Africa/Ouagadougou",
              "value": "Africa/Ouagadougou"
            },
            {
              "name": "Africa/Porto-Novo",
              "value": "Africa/Porto-Novo"
            },
            {
              "name": "Africa/Sao_Tome",
              "value": "Africa/Sao_Tome"
            },
            {
              "name": "Africa/Timbuktu",
              "value": "Africa/Timbuktu"
            },
            {
              "name": "Africa/Tripoli",
              "value": "Africa/Tripoli"
            },
            {
              "name": "Africa/Tunis",
              "value": "Africa/Tunis"
            },
            {
              "name": "Africa/Windhoek",
              "value": "Africa/Windhoek"
            },
            {
              "name": "America/Adak",
              "value": "America/Adak"
            },
            {
              "name": "America/Anchorage",
              "value": "America/Anchorage"
            },
            {
              "name": "America/Anguilla",
              "value": "America/Anguilla"
            },
            {
              "name": "America/Antigua",
              "value": "America/Antigua"
            },
            {
              "name": "America/Araguaina",
              "value": "America/Araguaina"
            },
            {
              "name": "America/Argentina/Buenos_Aires",
              "value": "America/Argentina/Buenos_Aires"
            },
            {
              "name": "America/Argentina/Catamarca",
              "value": "America/Argentina/Catamarca"
            },
            {
              "name": "America/Argentina/ComodRivadavia",
              "value": "America/Argentina/ComodRivadavia"
            },
            {
              "name": "America/Argentina/Cordoba",
              "value": "America/Argentina/Cordoba"
            },
            {
              "name": "America/Argentina/Jujuy",
              "value": "America/Argentina/Jujuy"
            },
            {
              "name": "America/Argentina/La_Rioja",
              "value": "America/Argentina/La_Rioja"
            },
            {
              "name": "America/Argentina/Mendoza",
              "value": "America/Argentina/Mendoza"
            },
            {
              "name": "America/Argentina/Rio_Gallegos",
              "value": "America/Argentina/Rio_Gallegos"
            },
            {
              "name": "America/Argentina/Salta",
              "value": "America/Argentina/Salta"
            },
            {
              "name": "America/Argentina/San_Juan",
              "value": "America/Argentina/San_Juan"
            },
            {
              "name": "America/Argentina/San_Luis",
              "value": "America/Argentina/San_Luis"
            },
            {
              "name": "America/Argentina/Tucuman",
              "value": "America/Argentina/Tucuman"
            },
            {
              "name": "America/Argentina/Ushuaia",
              "value": "America/Argentina/Ushuaia"
            },
            {
              "name": "America/Aruba",
              "value": "America/Aruba"
            },
            {
              "name": "America/Asuncion",
              "value": "America/Asuncion"
            },
            {
              "name": "America/Atikokan",
              "value": "America/Atikokan"
            },
            {
              "name": "America/Atka",
              "value": "America/Atka"
            },
            {
              "name": "America/Bahia",
              "value": "America/Bahia"
            },
            {
              "name": "America/Bahia_Banderas",
              "value": "America/Bahia_Banderas"
            },
            {
              "name": "America/Barbados",
              "value": "America/Barbados"
            },
            {
              "name": "America/Belem",
              "value": "America/Belem"
            },
            {
              "name": "America/Belize",
              "value": "America/Belize"
            },
            {
              "name": "America/Blanc-Sablon",
              "value": "America/Blanc-Sablon"
            },
            {
              "name": "America/Boa_Vista",
              "value": "America/Boa_Vista"
            },
            {
              "name": "America/Bogota",
              "value": "America/Bogota"
            },
            {
              "name": "America/Boise",
              "value": "America/Boise"
            },
            {
              "name": "America/Buenos_Aires",
              "value": "America/Buenos_Aires"
            },
            {
              "name": "America/Cambridge_Bay",
              "value": "America/Cambridge_Bay"
            },
            {
              "name": "America/Campo_Grande",
              "value": "America/Campo_Grande"
            },
            {
              "name": "America/Cancun",
              "value": "America/Cancun"
            },
            {
              "name": "America/Caracas",
              "value": "America/Caracas"
            },
            {
              "name": "America/Catamarca",
              "value": "America/Catamarca"
            },
            {
              "name": "America/Cayenne",
              "value": "America/Cayenne"
            },
            {
              "name": "America/Cayman",
              "value": "America/Cayman"
            },
            {
              "name": "America/Chicago",
              "value": "America/Chicago"
            },
            {
              "name": "America/Chihuahua",
              "value": "America/Chihuahua"
            },
            {
              "name": "America/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"
          ]
        }
      }
    },
    {
      "displayName": "Event",
      "name": "eventId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "calendarId.value"
        ]
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Event",
      "name": "eventId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "calendarId.value"
        ]
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "allowNewTimeProposals",
          "value": "allowNewTimeProposals"
        },
        {
          "name": "attendees",
          "value": "attendees"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "end",
          "value": "end"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "hideAttendees",
          "value": "hideAttendees"
        },
        {
          "name": "iCalUId",
          "value": "iCalUId"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "isAllDay",
          "value": "isAllDay"
        },
        {
          "name": "isCancelled",
          "value": "isCancelled"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isOnlineMeeting",
          "value": "isOnlineMeeting"
        },
        {
          "name": "isOrganizer",
          "value": "isOrganizer"
        },
        {
          "name": "isReminderOn",
          "value": "isReminderOn"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "location",
          "value": "location"
        },
        {
          "name": "locations",
          "value": "locations"
        },
        {
          "name": "onlineMeeting",
          "value": "onlineMeeting"
        },
        {
          "name": "onlineMeetingProvider",
          "value": "onlineMeetingProvider"
        },
        {
          "name": "onlineMeetingUrl",
          "value": "onlineMeetingUrl"
        },
        {
          "name": "organizer",
          "value": "organizer"
        },
        {
          "name": "originalEndTimeZone",
          "value": "originalEndTimeZone"
        },
        {
          "name": "originalStartTimeZone",
          "value": "originalStartTimeZone"
        },
        {
          "name": "recurrence",
          "value": "recurrence"
        },
        {
          "name": "reminderMinutesBeforeStart",
          "value": "reminderMinutesBeforeStart"
        },
        {
          "name": "responseRequested",
          "value": "responseRequested"
        },
        {
          "name": "responseStatus",
          "value": "responseStatus"
        },
        {
          "name": "sensitivity",
          "value": "sensitivity"
        },
        {
          "name": "seriesMasterId",
          "value": "seriesMasterId"
        },
        {
          "name": "showAs",
          "value": "showAs"
        },
        {
          "name": "start",
          "value": "start"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "transactionId",
          "value": "transactionId"
        },
        {
          "name": "type",
          "value": "type"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "From All Calendars",
      "name": "fromAllCalendars",
      "type": "boolean",
      "default": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "fromAllCalendars": [
            false
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "allowNewTimeProposals",
          "value": "allowNewTimeProposals"
        },
        {
          "name": "attendees",
          "value": "attendees"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "end",
          "value": "end"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "hideAttendees",
          "value": "hideAttendees"
        },
        {
          "name": "iCalUId",
          "value": "iCalUId"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "isAllDay",
          "value": "isAllDay"
        },
        {
          "name": "isCancelled",
          "value": "isCancelled"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isOnlineMeeting",
          "value": "isOnlineMeeting"
        },
        {
          "name": "isOrganizer",
          "value": "isOrganizer"
        },
        {
          "name": "isReminderOn",
          "value": "isReminderOn"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "location",
          "value": "location"
        },
        {
          "name": "locations",
          "value": "locations"
        },
        {
          "name": "onlineMeeting",
          "value": "onlineMeeting"
        },
        {
          "name": "onlineMeetingProvider",
          "value": "onlineMeetingProvider"
        },
        {
          "name": "onlineMeetingUrl",
          "value": "onlineMeetingUrl"
        },
        {
          "name": "organizer",
          "value": "organizer"
        },
        {
          "name": "originalEndTimeZone",
          "value": "originalEndTimeZone"
        },
        {
          "name": "originalStartTimeZone",
          "value": "originalStartTimeZone"
        },
        {
          "name": "recurrence",
          "value": "recurrence"
        },
        {
          "name": "reminderMinutesBeforeStart",
          "value": "reminderMinutesBeforeStart"
        },
        {
          "name": "responseRequested",
          "value": "responseRequested"
        },
        {
          "name": "responseStatus",
          "value": "responseStatus"
        },
        {
          "name": "sensitivity",
          "value": "sensitivity"
        },
        {
          "name": "seriesMasterId",
          "value": "seriesMasterId"
        },
        {
          "name": "showAs",
          "value": "showAs"
        },
        {
          "name": "start",
          "value": "start"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "transactionId",
          "value": "transactionId"
        },
        {
          "name": "type",
          "value": "type"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query",
          "name": "custom",
          "type": "string",
          "default": "",
          "placeholder": "e.g. contains(subject,'Hello')",
          "hint": "Search query to filter events. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Calendar",
      "name": "calendarId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Event",
      "name": "eventId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "calendarId.value"
        ]
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Categories",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "Description",
          "name": "body",
          "type": "string",
          "typeOptions": {
            "rows": 2
          },
          "default": ""
        },
        {
          "displayName": "Description Preview",
          "name": "bodyPreview",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "End",
          "name": "end",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Hide Attendees",
          "name": "hideAttendees",
          "type": "boolean",
          "default": false,
          "description": "Whether to allow each attendee to only see themselves in the meeting request and meeting tracking list"
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "type": "options",
          "default": "low",
          "options": [
            {
              "name": "Low",
              "value": "low"
            },
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "High",
              "value": "high"
            }
          ]
        },
        {
          "displayName": "Is All Day",
          "name": "isAllDay",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Cancelled",
          "name": "isCancelled",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Draft",
          "name": "isDraft",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Is Online Meeting",
          "name": "isOnlineMeeting",
          "type": "boolean",
          "default": true
        },
        {
          "displayName": "Sensitivity",
          "name": "sensitivity",
          "type": "options",
          "default": "normal",
          "options": [
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "Personal",
              "value": "personal"
            },
            {
              "name": "Private",
              "value": "private"
            },
            {
              "name": "Confidential",
              "value": "confidential"
            }
          ]
        },
        {
          "displayName": "Show As",
          "name": "showAs",
          "type": "options",
          "default": "free",
          "options": [
            {
              "name": "Busy",
              "value": "busy"
            },
            {
              "name": "Free",
              "value": "free"
            },
            {
              "name": "Oof",
              "value": "oof"
            },
            {
              "name": "Tentative",
              "value": "tentative"
            },
            {
              "name": "Working Elsewhere",
              "value": "workingElsewhere"
            }
          ]
        },
        {
          "displayName": "Start",
          "name": "start",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Timezone",
          "name": "timeZone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "subject",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "default": "singleInstance",
          "options": [
            {
              "name": "Single Instance",
              "value": "singleInstance"
            },
            {
              "name": "Occurrence",
              "value": "occurrence"
            },
            {
              "name": "Exception",
              "value": "exception"
            },
            {
              "name": "Series Master",
              "value": "seriesMaster"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a mail folder in the root folder of the user's mailbox",
          "action": "Create a folder"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a folder",
          "action": "Delete a folder"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a folder",
          "action": "Get a folder"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many folders",
          "action": "Get many folders"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a folder",
          "action": "Update a folder"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "Name of the folder",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Parent Folder",
          "name": "folderId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a folder...",
              "typeOptions": {
                "searchListMethod": "searchFolders",
                "searchable": true
              }
            },
            {
              "displayName": "Link",
              "name": "url",
              "type": "string",
              "placeholder": "e.g. https://outlook.office365.com/mail/AAMkADlhOT...AAA%3D",
              "extractValue": {
                "type": "regex",
                "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)"
              },
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)",
                    "errorMessage": "Not a valid Outlook Folder URL"
                  }
                }
              ]
            },
            {
              "displayName": "ID",
              "name": "id",
              "type": "string",
              "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "description": "The fields to add to the output",
          "options": [
            {
              "name": "Child Folder Count",
              "value": "childFolderCount"
            },
            {
              "name": "Display Name",
              "value": "displayName"
            },
            {
              "name": "Is Hidden",
              "value": "isHidden"
            },
            {
              "name": "Parent Folder ID",
              "value": "parentFolderId"
            },
            {
              "name": "Total Item Count",
              "value": "totalItemCount"
            },
            {
              "name": "Unread Item Count",
              "value": "unreadItemCount"
            }
          ],
          "default": []
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "folder"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filter Query",
          "name": "filter",
          "type": "string",
          "default": "",
          "placeholder": "e.g. displayName eq 'My Folder'",
          "hint": "Search query to filter folders. <a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter\">More info</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "description": "The fields to add to the output",
          "options": [
            {
              "name": "Child Folder Count",
              "value": "childFolderCount"
            },
            {
              "name": "Display Name",
              "value": "displayName"
            },
            {
              "name": "Is Hidden",
              "value": "isHidden"
            },
            {
              "name": "Parent Folder ID",
              "value": "parentFolderId"
            },
            {
              "name": "Total Item Count",
              "value": "totalItemCount"
            },
            {
              "name": "Unread Item Count",
              "value": "unreadItemCount"
            }
          ],
          "default": []
        },
        {
          "displayName": "Include Child Folders",
          "name": "includeChildFolders",
          "type": "boolean",
          "default": false,
          "description": "Whether to include child folders in the response"
        },
        {
          "displayName": "Parent Folder",
          "name": "folderId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a folder...",
              "typeOptions": {
                "searchListMethod": "searchFolders",
                "searchable": true
              }
            },
            {
              "displayName": "Link",
              "name": "url",
              "type": "string",
              "placeholder": "e.g. https://outlook.office365.com/mail/AAMkADlhOT...AAA%3D",
              "extractValue": {
                "type": "regex",
                "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)"
              },
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)",
                    "errorMessage": "Not a valid Outlook Folder URL"
                  }
                }
              ]
            },
            {
              "displayName": "ID",
              "name": "id",
              "type": "string",
              "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
            }
          ],
          "description": "The folder you want to search in"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "Name of the folder",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folder"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieves the messages in a folder",
          "action": "Get many folder messages"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "bccRecipients",
          "value": "bccRecipients"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "ccRecipients",
          "value": "ccRecipients"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "conversationId",
          "value": "conversationId"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "flag",
          "value": "flag"
        },
        {
          "name": "from",
          "value": "from"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "inferenceClassification",
          "value": "inferenceClassification"
        },
        {
          "name": "internetMessageId",
          "value": "internetMessageId"
        },
        {
          "name": "isDeliveryReceiptRequested",
          "value": "isDeliveryReceiptRequested"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isRead",
          "value": "isRead"
        },
        {
          "name": "isReadReceiptRequested",
          "value": "isReadReceiptRequested"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "receivedDateTime",
          "value": "receivedDateTime"
        },
        {
          "name": "replyTo",
          "value": "replyTo"
        },
        {
          "name": "sender",
          "value": "sender"
        },
        {
          "name": "sentDateTime",
          "value": "sentDateTime"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "toRecipients",
          "value": "toRecipients"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fetching a lot of messages may take a long time. Consider using filters to speed things up",
      "name": "filtersNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "returnAll": [
            true
          ],
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filtersUI",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Filter By",
              "name": "filterBy",
              "type": "options",
              "options": [
                {
                  "name": "Filters",
                  "value": "filters"
                },
                {
                  "name": "Search",
                  "value": "search"
                }
              ],
              "default": "filters"
            },
            {
              "displayName": "Search",
              "name": "search",
              "type": "string",
              "default": "",
              "placeholder": "e.g. automation",
              "description": "Only return messages that contains search term. Without specific message properties, the search is carried out on the default search properties of from, subject, and body. <a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#search-parameter target=\"_blank\">More info</a>.",
              "displayOptions": {
                "show": {
                  "filterBy": [
                    "search"
                  ]
                }
              }
            },
            {
              "displayName": "Filters",
              "name": "filters",
              "type": "collection",
              "placeholder": "Add Filter",
              "default": {},
              "displayOptions": {
                "show": {
                  "filterBy": [
                    "filters"
                  ]
                }
              },
              "options": [
                {
                  "displayName": "Filter Query",
                  "name": "custom",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. isRead eq false",
                  "hint": "Search query to filter messages. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
                },
                {
                  "displayName": "Has Attachments",
                  "name": "hasAttachments",
                  "type": "boolean",
                  "default": false
                },
                {
                  "displayName": "Read Status",
                  "name": "readStatus",
                  "type": "options",
                  "default": "unread",
                  "hint": "Filter messages by whether they have been read or not",
                  "options": [
                    {
                      "name": "Unread and read messages",
                      "value": "both"
                    },
                    {
                      "name": "Unread messages only",
                      "value": "unread"
                    },
                    {
                      "name": "Read messages only",
                      "value": "read"
                    }
                  ]
                },
                {
                  "displayName": "Received After",
                  "name": "receivedAfter",
                  "type": "dateTime",
                  "default": "",
                  "description": "Get all messages received after the specified date. In an expression you can set date using string in ISO format or a timestamp in miliseconds."
                },
                {
                  "displayName": "Received Before",
                  "name": "receivedBefore",
                  "type": "dateTime",
                  "default": "",
                  "description": "Get all messages received before the specified date. In an expression you can set date using string in ISO format or a timestamp in miliseconds."
                },
                {
                  "displayName": "Sender",
                  "name": "sender",
                  "type": "string",
                  "default": "",
                  "description": "Sender name or email to filter by"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments Prefix",
          "name": "attachmentsPrefix",
          "type": "string",
          "default": "attachment_",
          "description": "Prefix for name of the output fields to put the binary files data in. An index starting from 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."
        },
        {
          "displayName": "Download Attachments",
          "name": "downloadAttachments",
          "type": "boolean",
          "default": false,
          "description": "Whether the message's attachments will be downloaded and included in the output"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "folderMessage"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a message",
          "action": "Delete a message"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a single message",
          "action": "Get a message"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "List and search messages",
          "action": "Get many messages"
        },
        {
          "name": "Move",
          "value": "move",
          "description": "Move a message to a folder",
          "action": "Move a message"
        },
        {
          "name": "Reply",
          "value": "reply",
          "description": "Create a reply to a message",
          "action": "Reply to a message"
        },
        {
          "name": "Send",
          "value": "send",
          "description": "Send a message",
          "action": "Send a message"
        },
        {
          "name": "Send and Wait for Response",
          "value": "sendAndWait",
          "description": "Send a message and wait for response",
          "action": "Send message and wait for response"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a message",
          "action": "Update a message"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "bccRecipients",
          "value": "bccRecipients"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "ccRecipients",
          "value": "ccRecipients"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "conversationId",
          "value": "conversationId"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "flag",
          "value": "flag"
        },
        {
          "name": "from",
          "value": "from"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "inferenceClassification",
          "value": "inferenceClassification"
        },
        {
          "name": "internetMessageId",
          "value": "internetMessageId"
        },
        {
          "name": "isDeliveryReceiptRequested",
          "value": "isDeliveryReceiptRequested"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isRead",
          "value": "isRead"
        },
        {
          "name": "isReadReceiptRequested",
          "value": "isReadReceiptRequested"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "receivedDateTime",
          "value": "receivedDateTime"
        },
        {
          "name": "replyTo",
          "value": "replyTo"
        },
        {
          "name": "sender",
          "value": "sender"
        },
        {
          "name": "sentDateTime",
          "value": "sentDateTime"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "toRecipients",
          "value": "toRecipients"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments Prefix",
          "name": "attachmentsPrefix",
          "type": "string",
          "default": "attachment_",
          "description": "Prefix for name of the output fields to put the binary files data in. An index starting from 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."
        },
        {
          "displayName": "Download Attachments",
          "name": "downloadAttachments",
          "type": "boolean",
          "default": false,
          "description": "Whether the message's attachments will be downloaded and included in the output"
        },
        {
          "displayName": "Get MIME Content",
          "name": "getMimeContent",
          "type": "fixedCollection",
          "default": {
            "values": {
              "binaryPropertyName": "data"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Put Output in Field",
                  "name": "binaryPropertyName",
                  "type": "string",
                  "default": "",
                  "hint": "The name of the output field to put the binary file data in"
                },
                {
                  "displayName": "File Name",
                  "name": "outputFileName",
                  "type": "string",
                  "placeholder": "message",
                  "default": "",
                  "description": "Optional name of the output file, if not set message ID is used"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Output",
      "name": "output",
      "type": "options",
      "default": "simple",
      "options": [
        {
          "name": "Simplified",
          "value": "simple"
        },
        {
          "name": "Raw",
          "value": "raw"
        },
        {
          "name": "Select Included Fields",
          "value": "fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fields",
      "name": "fields",
      "type": "multiOptions",
      "default": [],
      "description": "The fields to add to the output",
      "options": [
        {
          "name": "bccRecipients",
          "value": "bccRecipients"
        },
        {
          "name": "body",
          "value": "body"
        },
        {
          "name": "bodyPreview",
          "value": "bodyPreview"
        },
        {
          "name": "categories",
          "value": "categories"
        },
        {
          "name": "ccRecipients",
          "value": "ccRecipients"
        },
        {
          "name": "changeKey",
          "value": "changeKey"
        },
        {
          "name": "conversationId",
          "value": "conversationId"
        },
        {
          "name": "createdDateTime",
          "value": "createdDateTime"
        },
        {
          "name": "flag",
          "value": "flag"
        },
        {
          "name": "from",
          "value": "from"
        },
        {
          "name": "hasAttachments",
          "value": "hasAttachments"
        },
        {
          "name": "importance",
          "value": "importance"
        },
        {
          "name": "inferenceClassification",
          "value": "inferenceClassification"
        },
        {
          "name": "internetMessageId",
          "value": "internetMessageId"
        },
        {
          "name": "isDeliveryReceiptRequested",
          "value": "isDeliveryReceiptRequested"
        },
        {
          "name": "isDraft",
          "value": "isDraft"
        },
        {
          "name": "isRead",
          "value": "isRead"
        },
        {
          "name": "isReadReceiptRequested",
          "value": "isReadReceiptRequested"
        },
        {
          "name": "lastModifiedDateTime",
          "value": "lastModifiedDateTime"
        },
        {
          "name": "parentFolderId",
          "value": "parentFolderId"
        },
        {
          "name": "receivedDateTime",
          "value": "receivedDateTime"
        },
        {
          "name": "replyTo",
          "value": "replyTo"
        },
        {
          "name": "sender",
          "value": "sender"
        },
        {
          "name": "sentDateTime",
          "value": "sentDateTime"
        },
        {
          "name": "subject",
          "value": "subject"
        },
        {
          "name": "toRecipients",
          "value": "toRecipients"
        },
        {
          "name": "webLink",
          "value": "webLink"
        }
      ],
      "displayOptions": {
        "show": {
          "output": [
            "fields"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Fetching a lot of messages may take a long time. Consider using filters to speed things up",
      "name": "filtersNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "returnAll": [
            true
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filtersUI",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Filter By",
              "name": "filterBy",
              "type": "options",
              "options": [
                {
                  "name": "Filters",
                  "value": "filters"
                },
                {
                  "name": "Search",
                  "value": "search"
                }
              ],
              "default": "filters"
            },
            {
              "displayName": "Search",
              "name": "search",
              "type": "string",
              "default": "",
              "placeholder": "e.g. automation",
              "description": "Only return messages that contains search term. Without specific message properties, the search is carried out on the default search properties of from, subject, and body. <a href=\"https://docs.microsoft.com/en-us/graph/query-parameters#search-parameter target=\"_blank\">More info</a>.",
              "displayOptions": {
                "show": {
                  "filterBy": [
                    "search"
                  ]
                }
              }
            },
            {
              "displayName": "Filters",
              "name": "filters",
              "type": "collection",
              "placeholder": "Add Filter",
              "default": {},
              "displayOptions": {
                "show": {
                  "filterBy": [
                    "filters"
                  ]
                }
              },
              "options": [
                {
                  "displayName": "Filter Query",
                  "name": "custom",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. isRead eq false",
                  "hint": "Search query to filter messages. <a href=\"https://learn.microsoft.com/en-us/graph/filter-query-parameter\">More info</a>."
                },
                {
                  "displayName": "Has Attachments",
                  "name": "hasAttachments",
                  "type": "boolean",
                  "default": false
                },
                {
                  "displayName": "Folders to Exclude",
                  "name": "foldersToExclude",
                  "type": "multiOptions",
                  "typeOptions": {
                    "loadOptionsMethod": "getFolders"
                  },
                  "default": [],
                  "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
                },
                {
                  "displayName": "Folders to Include",
                  "name": "foldersToInclude",
                  "type": "multiOptions",
                  "typeOptions": {
                    "loadOptionsMethod": "getFolders"
                  },
                  "default": [],
                  "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
                },
                {
                  "displayName": "Read Status",
                  "name": "readStatus",
                  "type": "options",
                  "default": "unread",
                  "hint": "Filter messages by whether they have been read or not",
                  "options": [
                    {
                      "name": "Unread and read messages",
                      "value": "both"
                    },
                    {
                      "name": "Unread messages only",
                      "value": "unread"
                    },
                    {
                      "name": "Read messages only",
                      "value": "read"
                    }
                  ]
                },
                {
                  "displayName": "Received After",
                  "name": "receivedAfter",
                  "type": "dateTime",
                  "default": "",
                  "description": "Get all messages received after the specified date. In an expression you can set date using string in ISO format or a timestamp in miliseconds."
                },
                {
                  "displayName": "Received Before",
                  "name": "receivedBefore",
                  "type": "dateTime",
                  "default": "",
                  "description": "Get all messages received before the specified date. In an expression you can set date using string in ISO format or a timestamp in miliseconds."
                },
                {
                  "displayName": "Sender",
                  "name": "sender",
                  "type": "string",
                  "default": "",
                  "description": "Sender name or email to filter by"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments Prefix",
          "name": "attachmentsPrefix",
          "type": "string",
          "default": "attachment_",
          "description": "Prefix for name of the output fields to put the binary files data in. An index starting from 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."
        },
        {
          "displayName": "Download Attachments",
          "name": "downloadAttachments",
          "type": "boolean",
          "default": false,
          "description": "Whether the message's attachments will be downloaded and included in the output"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "move"
          ]
        }
      }
    },
    {
      "displayName": "Parent Folder",
      "name": "folderId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "move"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      }
    },
    {
      "displayName": "Reply to Sender Only",
      "name": "replyToSenderOnly",
      "type": "boolean",
      "default": false,
      "description": "Whether to reply to the sender only or to the entire list of recipients",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "Message body content",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments",
          "name": "attachments",
          "type": "fixedCollection",
          "placeholder": "Add Attachment",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "name": "attachments",
              "displayName": "Attachment",
              "values": [
                {
                  "displayName": "Input Data Field Name",
                  "name": "binaryPropertyName",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. data",
                  "hint": "The name of the input field containing the binary file data to be attached"
                }
              ]
            }
          ]
        },
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "From",
          "name": "from",
          "description": "The owner of the mailbox from which the message is sent. Must correspond to the actual mailbox used.",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "To",
          "name": "toRecipients",
          "description": "Comma-separated list of email addresses of recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "description": "The subject of the message",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "replyToSenderOnly": [
            true
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Save as Draft",
          "name": "saveAsDraft",
          "description": "Whether to save the message as a draft. If false, the message is sent immediately.",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "reply"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "toRecipients",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of email addresses of recipients",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "The subject of the message",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "bodyContent",
      "type": "string",
      "default": "",
      "description": "Message body content",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachments",
          "name": "attachments",
          "type": "fixedCollection",
          "placeholder": "Add Attachment",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "name": "attachments",
              "displayName": "Attachment",
              "values": [
                {
                  "displayName": "Input Data Field Name",
                  "name": "binaryPropertyName",
                  "type": "string",
                  "default": "",
                  "placeholder": "e.g. data",
                  "hint": "The name of the input field containing the binary file data to be attached"
                }
              ]
            }
          ]
        },
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "From",
          "name": "from",
          "description": "The owner of the mailbox from which the message is sent. Must correspond to the actual mailbox used.",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Save To Sent Items",
          "name": "saveToSentItems",
          "description": "Whether to save the message in Sent Items",
          "type": "boolean",
          "default": true
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "toRecipients",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of email addresses of recipients",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Response Type",
      "name": "responseType",
      "type": "options",
      "default": "approval",
      "options": [
        {
          "name": "Approval",
          "value": "approval",
          "description": "User can approve/disapprove from within the message"
        },
        {
          "name": "Free Text",
          "value": "freeText",
          "description": "User can submit a response via a form"
        },
        {
          "name": "Custom Form",
          "value": "customForm",
          "description": "User can submit a response via a custom form"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Define Form",
      "name": "defineForm",
      "type": "options",
      "default": "fields",
      "options": [
        {
          "name": "Using Fields Below",
          "value": "fields"
        },
        {
          "name": "Using JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Form Fields",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n  {\n    \"fieldLabel\": \"Name\",\n    \"placeholder\": \"enter 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": "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"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "BCC Recipients",
          "name": "bccRecipients",
          "description": "Comma-separated list of email addresses of BCC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getCategoriesNames"
          },
          "default": []
        },
        {
          "displayName": "CC Recipients",
          "name": "ccRecipients",
          "description": "Comma-separated list of email addresses of CC recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Headers",
          "name": "internetMessageHeaders",
          "placeholder": "Add Header",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "headers",
              "displayName": "Header",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the header"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set for the header"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Folder",
          "name": "folderId",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "required": false,
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "placeholder": "Select a folder...",
              "typeOptions": {
                "searchListMethod": "searchFolders",
                "searchable": true
              }
            },
            {
              "displayName": "Link",
              "name": "url",
              "type": "string",
              "placeholder": "e.g. https://outlook.office365.com/mail/AAMkADlhOT...AAA%3D",
              "extractValue": {
                "type": "regex",
                "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)"
              },
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "https:\\/\\/outlook\\.office365\\.com\\/mail\\/([A-Za-z0-9%]+)(?:\\/.*|)",
                    "errorMessage": "Not a valid Outlook Folder URL"
                  }
                }
              ]
            },
            {
              "displayName": "ID",
              "name": "id",
              "type": "string",
              "placeholder": "e.g. AAAkAAAhAAA0BBc5LLLwOOOtNNNkZS05Nz..."
            }
          ]
        },
        {
          "displayName": "Importance",
          "name": "importance",
          "description": "The importance of the message",
          "type": "options",
          "options": [
            {
              "name": "Low",
              "value": "Low"
            },
            {
              "name": "Normal",
              "value": "Normal"
            },
            {
              "name": "High",
              "value": "High"
            }
          ],
          "default": "Normal"
        },
        {
          "displayName": "Is Read",
          "name": "isRead",
          "description": "Whether the message must be marked as read",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Message",
          "name": "bodyContent",
          "description": "Message body content",
          "type": "string",
          "typeOptions": {
            "rows": 2
          },
          "default": ""
        },
        {
          "displayName": "Message Type",
          "name": "bodyContentType",
          "description": "Message body content type",
          "type": "options",
          "options": [
            {
              "name": "HTML",
              "value": "html"
            },
            {
              "name": "Text",
              "value": "Text"
            }
          ],
          "default": "html"
        },
        {
          "displayName": "Read Receipt Requested",
          "name": "isReadReceiptRequested",
          "description": "Whether a read receipt is requested for the message",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "To",
          "name": "toRecipients",
          "description": "Comma-separated list of email addresses of recipients",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Reply To",
          "name": "replyTo",
          "description": "Email address to use when replying",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "description": "The subject of the message",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add an attachment to a message",
          "action": "Add an attachment"
        },
        {
          "name": "Download",
          "value": "download",
          "description": "Download an attachment from a message",
          "action": "Download an attachment"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve information about an attachment of a message",
          "action": "Get an attachment"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve information about the attachments of a message",
          "action": "Get many attachments"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Input Data Field Name",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "File Name",
          "name": "fileName",
          "description": "Filename of the attachment. If not set will the file-name of the binary property be used, if it exists.",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "download"
          ]
        }
      }
    },
    {
      "displayName": "Attachment",
      "name": "attachmentId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "download"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "messageId.value"
        ]
      }
    },
    {
      "displayName": "Put Output in Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "download"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Attachment",
      "name": "attachmentId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "messageId.value"
        ]
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "description": "The fields to add to the output",
          "default": [],
          "options": [
            {
              "name": "contentType",
              "value": "contentType"
            },
            {
              "name": "isInline",
              "value": "isInline"
            },
            {
              "name": "lastModifiedDateTime",
              "value": "lastModifiedDateTime"
            },
            {
              "name": "name",
              "value": "name"
            },
            {
              "name": "size",
              "value": "size"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "messageId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "description": "The fields to add to the output",
          "default": [],
          "options": [
            {
              "name": "contentType",
              "value": "contentType"
            },
            {
              "name": "isInline",
              "value": "isInline"
            },
            {
              "name": "lastModifiedDateTime",
              "value": "lastModifiedDateTime"
            },
            {
              "name": "name",
              "value": "name"
            },
            {
              "name": "size",
              "value": "size"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "messageAttachment"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    }
  ]

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


