# nodes

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

outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:36
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Zoho CRM node documentation
  description: Learn how to use the Zoho CRM node in n8n. Follow technical documentation to integrate Zoho CRM node into your workflows.
  contentType: [integration, reference]
  ---

  # Zoho CRM node

  Use the Zoho CRM node to automate work in Zoho CRM, and integrate Zoho CRM with other applications. n8n has built-in support for a wide range of Zoho CRM features, including creating and deleting accounts, contacts, and deals. 

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

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

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

  ## Operations

  * Account
      * Create an account
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete an account
      * Get an account
      * Get all accounts
      * Update an account
  * Contact
      * Create a contact
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete a contact
      * Get a contact
      * Get all contacts
      * Update a contact
  * Deal
      * Create a deal
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete a contact
      * Get a contact
      * Get all contacts
      * Update a contact
  * Invoice
      * Create an invoice
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete an invoice
      * Get an invoice
      * Get all invoices
      * Update an invoice
  * Lead
      * Create a lead
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete a lead
      * Get a lead
      * Get all leads
      * Get lead fields
      * Update a lead
  * Product
      * Create a product
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete a product
      * Get a product
      * Get all products
      * Update a product
  * Purchase Order
      * Create a purchase order
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete a purchase order
      * Get a purchase order
      * Get all purchase orders
      * Update a purchase order
  * Quote
      * Create a quote
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete a quote
      * Get a quote
      * Get all quotes
      * Update a quote
  * Sales Order
      * Create a sales order
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete a sales order
      * Get a sales order
      * Get all sales orders
      * Update a sales order
  * Vendor
      * Create a vendor
      * Create a new record, or update the current one if it already exists (upsert)
      * Delete a vendor
      * Get a vendor
      * Get all vendors
      * Update a vendor

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'zoho-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"
        },
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "Deal",
          "value": "deal"
        },
        {
          "name": "Invoice",
          "value": "invoice"
        },
        {
          "name": "Lead",
          "value": "lead"
        },
        {
          "name": "Product",
          "value": "product"
        },
        {
          "name": "Purchase Order",
          "value": "purchaseOrder"
        },
        {
          "name": "Quote",
          "value": "quote"
        },
        {
          "name": "Sales Order",
          "value": "salesOrder"
        },
        {
          "name": "Vendor",
          "value": "vendor"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an account",
          "action": "Create an account"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or Update an account"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an account",
          "action": "Delete an account"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an account",
          "action": "Get an account"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many accounts",
          "action": "Get many accounts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an account",
          "action": "Update an account"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Account Name",
      "name": "accountName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Account Name",
      "name": "accountName",
      "type": "string",
      "default": "",
      "description": "Name of the account. If a record with this account name exists it will be updated, otherwise a new one will be created.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account Number",
          "name": "Account_Number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Account Site",
          "name": "Account_Site",
          "type": "string",
          "default": "",
          "description": "Name of the account’s location, e.g. Headquarters or London"
        },
        {
          "displayName": "Account Type Name or ID",
          "name": "Account_Type",
          "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": "getAccountType"
          },
          "default": []
        },
        {
          "displayName": "Annual Revenue",
          "name": "Annual_Revenue",
          "type": "number",
          "default": ""
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Contact Details",
          "name": "Contact_Details",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomAccountFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Employees",
          "name": "Employees",
          "type": "number",
          "default": "",
          "description": "Number of employees in the account’s company"
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": "",
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Fax",
          "name": "Fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Industry",
          "name": "Industry",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Ticker Symbol",
          "name": "Ticker_Symbol",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "Website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Account ID",
      "name": "accountId",
      "type": "string",
      "default": "",
      "description": "ID of the account to delete. Can be found at the end of the URL.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Account ID",
      "name": "accountId",
      "type": "string",
      "default": "",
      "description": "ID of the account to retrieve. Can be found at the end of the URL.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "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": [
            "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": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getAccountFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getAccountFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Account ID",
      "name": "accountId",
      "type": "string",
      "default": "",
      "description": "ID of the account to update. Can be found at the end of the URL.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account Name",
          "name": "Account_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Account Number",
          "name": "Account_Number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Account Site",
          "name": "Account_Site",
          "type": "string",
          "default": "",
          "description": "Name of the account’s location, e.g. Headquarters or London"
        },
        {
          "displayName": "Account Type Name or ID",
          "name": "Account_Type",
          "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": "getAccountType"
          },
          "default": []
        },
        {
          "displayName": "Annual Revenue",
          "name": "Annual_Revenue",
          "type": "number",
          "default": ""
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Contact Details",
          "name": "Contact_Details",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomAccountFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Employees",
          "name": "Employees",
          "type": "number",
          "default": "",
          "description": "Number of employees in the account’s company"
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": "",
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Fax",
          "name": "Fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Industry",
          "name": "Industry",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Ticker Symbol",
          "name": "Ticker_Symbol",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "Website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a contact",
          "action": "Create a contact"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or Update a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Last Name",
      "name": "lastName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assistant",
          "name": "Assistant",
          "type": "string",
          "default": "",
          "description": "Name of the contact’s assistant"
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomContactFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Date of Birth",
          "name": "Date_of_Birth",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Department",
          "name": "Department",
          "type": "string",
          "default": "",
          "description": "Company department to which the contact belongs"
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email (Primary)",
          "name": "Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email (Secondary)",
          "name": "Secondary_Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Fax",
          "name": "Fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "First_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Full Name",
          "name": "Full_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mailing Address",
          "name": "Mailing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Mailing Address Field",
          "options": [
            {
              "displayName": "Mailing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Mailing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Mailing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Mailing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Mailing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Mailing_Zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Mobile",
          "name": "Mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Other Address",
          "name": "Other_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Other Address Field",
          "options": [
            {
              "displayName": "Other Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Other_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Other_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Other_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Other_Zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone (Assistant)",
          "name": "Asst_Phone",
          "type": "string",
          "default": "",
          "description": "Phone number of the contact’s assistant"
        },
        {
          "displayName": "Phone (Home)",
          "name": "Home_Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone (Other)",
          "name": "Other_Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Salutation",
          "name": "Salutation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Skype ID",
          "name": "Skype_ID",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "Title",
          "type": "string",
          "default": "",
          "description": "Position of the contact at their company"
        },
        {
          "displayName": "Twitter",
          "name": "Twitter",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "lastName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assistant",
          "name": "Assistant",
          "type": "string",
          "default": "",
          "description": "Name of the contact’s assistant"
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomContactFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Date of Birth",
          "name": "Date_of_Birth",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Department",
          "name": "Department",
          "type": "string",
          "default": "",
          "description": "Company department to which the contact belongs"
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email (Primary)",
          "name": "Email",
          "type": "string",
          "default": "",
          "description": "Email of the contact. If a record with this email exists it will be updated, otherwise a new one will be created."
        },
        {
          "displayName": "Email (Secondary)",
          "name": "Secondary_Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Fax",
          "name": "Fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "First_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Full Name",
          "name": "Full_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mailing Address",
          "name": "Mailing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Mailing Address Field",
          "options": [
            {
              "displayName": "Mailing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Mailing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Mailing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Mailing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Mailing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Mailing_Zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Mobile",
          "name": "Mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Other Address",
          "name": "Other_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Other Address Field",
          "options": [
            {
              "displayName": "Other Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Other_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Other_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Other_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Other_Zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone (Assistant)",
          "name": "Asst_Phone",
          "type": "string",
          "default": "",
          "description": "Phone number of the contact’s assistant"
        },
        {
          "displayName": "Phone (Home)",
          "name": "Home_Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone (Other)",
          "name": "Other_Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Salutation",
          "name": "Salutation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Skype ID",
          "name": "Skype_ID",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "Title",
          "type": "string",
          "default": "",
          "description": "Position of the contact at their company"
        },
        {
          "displayName": "Twitter",
          "name": "Twitter",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "description": "ID of the contact to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "description": "ID of the contact to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "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": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getContactFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getContactFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "description": "ID of the contact to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Assistant",
          "name": "Assistant",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Assistant’s Phone",
          "name": "Asst_Phone",
          "type": "string",
          "default": "",
          "description": "Phone number of the contact’s assistant"
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomContactFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Date of Birth",
          "name": "Date_of_Birth",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Department",
          "name": "Department",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email (Primary)",
          "name": "Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email (Secondary)",
          "name": "Secondary_Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Fax",
          "name": "Fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "First_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Full Name",
          "name": "Full_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Home Phone",
          "name": "Home_Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Last Name",
          "name": "Last_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mailing Address",
          "name": "Mailing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Mailing Address Field",
          "options": [
            {
              "displayName": "Mailing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Mailing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Mailing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Mailing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Mailing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Mailing_Zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Mobile",
          "name": "Mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Other Address",
          "name": "Other_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Other Address Field",
          "options": [
            {
              "displayName": "Other Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Other_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Other_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Other_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Other_Zip",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Other Phone",
          "name": "Other_Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Salutation",
          "name": "Salutation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Skype ID",
          "name": "Skype_ID",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Title",
          "name": "Title",
          "type": "string",
          "default": "",
          "description": "Position of the contact at their company"
        },
        {
          "displayName": "Twitter",
          "name": "Twitter",
          "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 deal",
          "action": "Create a deal"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or Update a deal"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a deal"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a contact",
          "action": "Get a deal"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many contacts",
          "action": "Get many deals"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a deal"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Deal Name",
      "name": "dealName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Deal Name",
      "name": "dealName",
      "type": "string",
      "default": "",
      "description": "Name of the deal. If a record with this deal name exists it will be updated, otherwise a new one will be created.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Stage Name or ID",
      "name": "stage",
      "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": [
            "deal"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getDealStage"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Amount",
          "name": "Amount",
          "type": "number",
          "default": "",
          "description": "Monetary amount of the deal"
        },
        {
          "displayName": "Closing Date",
          "name": "Closing_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomDealFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Lead Conversion Time",
          "name": "Lead_Conversion_Time",
          "type": "number",
          "default": "",
          "description": "Average number of days to convert the lead into a deal"
        },
        {
          "displayName": "Next Step",
          "name": "Next_Step",
          "type": "string",
          "default": "",
          "description": "Description of the next step in the sales process"
        },
        {
          "displayName": "Overall Sales Duration",
          "name": "Overall_Sales_Duration",
          "type": "number",
          "default": "",
          "description": "Average number of days to convert the lead into a deal and to win the deal"
        },
        {
          "displayName": "Probability",
          "name": "Probability",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "default": "",
          "description": "Probability of deal closure as a percentage. For example, enter 12 for 12%."
        },
        {
          "displayName": "Sales Cycle Duration",
          "name": "Sales_Cycle_Duration",
          "type": "number",
          "default": 0,
          "description": "Average number of days for the deal to be won"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "string",
      "default": "",
      "description": "ID of the deal to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "string",
      "default": "",
      "description": "ID of the deal to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "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": [
            "deal"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getDealFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getDealFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "string",
      "default": "",
      "description": "ID of the deal to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Amount",
          "name": "Amount",
          "type": "number",
          "default": "",
          "description": "Monetary amount of the deal"
        },
        {
          "displayName": "Closing Date",
          "name": "Closing_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "string",
          "default": "",
          "description": "Symbol of the currency in which revenue is generated"
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomDealFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Deal Name",
          "name": "Deal_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Lead Conversion Time",
          "name": "Lead_Conversion_Time",
          "type": "number",
          "default": "",
          "description": "Average number of days to convert the lead into a deal"
        },
        {
          "displayName": "Next Step",
          "name": "Next_Step",
          "type": "string",
          "default": "",
          "description": "Description of the next step in the sales process"
        },
        {
          "displayName": "Overall Sales Duration",
          "name": "Overall_Sales_Duration",
          "type": "number",
          "default": "",
          "description": "Average number of days to convert the lead into a deal and to win the deal"
        },
        {
          "displayName": "Probability",
          "name": "Probability",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "default": "",
          "description": "Probability of deal closure as a percentage. For example, enter 12 for 12%."
        },
        {
          "displayName": "Sales Cycle Duration",
          "name": "Sales_Cycle_Duration",
          "type": "number",
          "default": 0,
          "description": "Average number of days to win the deal"
        },
        {
          "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": "getDealStage"
          },
          "default": []
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an invoice",
          "action": "Create an invoice"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or Update an invoice"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an invoice",
          "action": "Delete an invoice"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an invoice",
          "action": "Get an invoice"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many invoices",
          "action": "Get many invoices"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an invoice",
          "action": "Update an invoice"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "Subject or title of the invoice",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "Subject or title of the invoice. If a record with this subject exists it will be updated, otherwise a new one will be created.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Products",
      "name": "Product_Details",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "List Price",
          "name": "list_price",
          "type": "number",
          "default": ""
        },
        {
          "displayName": "Product Name or ID",
          "name": "id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getProducts"
          }
        },
        {
          "displayName": "Product Description",
          "name": "product_description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Quantity",
          "name": "quantity",
          "type": "number",
          "default": 1
        },
        {
          "displayName": "Quantity in Stock",
          "name": "quantity_in_stock",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total",
          "name": "total",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total After Discount",
          "name": "total_after_discount",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total (Net)",
          "name": "net_total",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Unit Price",
          "name": "unit_price",
          "type": "number",
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Product"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account Name or ID",
          "name": "accountId",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getAccounts"
          },
          "description": "ID of the account associated with this invoice. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Adjustment",
          "name": "Adjustment",
          "type": "number",
          "default": "",
          "description": "Adjustment in the grand total, if any"
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomInvoiceFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Due Date",
          "name": "Due_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": "",
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Grand Total",
          "name": "Grand_Total",
          "type": "number",
          "default": "",
          "description": "Total amount for the product after deducting tax and discounts"
        },
        {
          "displayName": "Invoice Date",
          "name": "Invoice_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Invoice Number",
          "name": "Invoice_Number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Sales Commission",
          "name": "Sales_Commission",
          "type": "number",
          "default": "",
          "description": "Commission of sales person on deal closure as a percentage. For example, enter 12 for 12%."
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "Status",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Sub Total",
          "name": "Sub_Total",
          "type": "number",
          "default": "",
          "description": "Total amount for the product excluding tax"
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": "",
          "description": "Tax amount as the sum of sales tax and value-added tax"
        },
        {
          "displayName": "Terms and Conditions",
          "name": "Terms_and_Conditions",
          "type": "string",
          "default": "",
          "description": "Terms and conditions associated with the invoice"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Invoice ID",
      "name": "invoiceId",
      "type": "string",
      "default": "",
      "description": "ID of the invoice to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Invoice ID",
      "name": "invoiceId",
      "type": "string",
      "default": "",
      "description": "ID of the invoice to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "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": [
            "invoice"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getInvoiceFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getInvoiceFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Invoice ID",
      "name": "invoiceId",
      "type": "string",
      "default": "",
      "description": "ID of the invoice to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account Name or ID",
          "name": "accountId",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getAccounts"
          },
          "description": "ID of the account associated with this invoice. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Adjustment",
          "name": "Adjustment",
          "type": "number",
          "default": "",
          "description": "Adjustment in the grand total, if any"
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomInvoiceFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Due Date",
          "name": "Due_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": "",
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Grand Total",
          "name": "Grand_Total",
          "type": "number",
          "default": "",
          "description": "Total amount for the product after deducting tax and discounts"
        },
        {
          "displayName": "Invoice Date",
          "name": "Invoice_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Invoice Number",
          "name": "Invoice_Number",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Products",
          "name": "Product_Details",
          "type": "collection",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add Product"
          },
          "default": {},
          "placeholder": "Add Field",
          "options": [
            {
              "displayName": "List Price",
              "name": "list_price",
              "type": "number",
              "default": ""
            },
            {
              "displayName": "Product Name or ID",
              "name": "id",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
              "default": [],
              "typeOptions": {
                "loadOptionsMethod": "getProducts"
              }
            },
            {
              "displayName": "Product Description",
              "name": "product_description",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Quantity",
              "name": "quantity",
              "type": "number",
              "default": 1
            },
            {
              "displayName": "Quantity in Stock",
              "name": "quantity_in_stock",
              "type": "number",
              "default": 0
            },
            {
              "displayName": "Tax",
              "name": "Tax",
              "type": "number",
              "default": 0
            },
            {
              "displayName": "Total",
              "name": "total",
              "type": "number",
              "default": 0
            },
            {
              "displayName": "Total After Discount",
              "name": "total_after_discount",
              "type": "number",
              "default": 0
            },
            {
              "displayName": "Total (Net)",
              "name": "net_total",
              "type": "number",
              "default": 0
            },
            {
              "displayName": "Unit Price",
              "name": "unit_price",
              "type": "number",
              "default": 0
            }
          ]
        },
        {
          "displayName": "Sales Commission",
          "name": "Sales_Commission",
          "type": "number",
          "default": "",
          "description": "Commission of sales person on deal closure as a percentage. For example, enter 12 for 12%."
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Status",
          "name": "Status",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Sub Total",
          "name": "Sub_Total",
          "type": "number",
          "default": "",
          "description": "Total amount for the product excluding tax"
        },
        {
          "displayName": "Subject",
          "name": "Subject",
          "type": "string",
          "default": "",
          "description": "Subject or title of the invoice"
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": "",
          "description": "Tax amount as the sum of sales tax and value-added tax"
        },
        {
          "displayName": "Terms and Conditions",
          "name": "Terms_and_Conditions",
          "type": "string",
          "default": "",
          "description": "Terms and conditions associated with the invoice"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a lead",
          "action": "Create a lead"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or update a lead"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a lead",
          "action": "Delete a lead"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a lead",
          "action": "Get a lead"
        },
        {
          "name": "Get Fields",
          "value": "getFields",
          "description": "Get lead fields",
          "action": "Get lead fields"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many leads",
          "action": "Get many leads"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a lead",
          "action": "Update a lead"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Company",
      "name": "Company",
      "type": "string",
      "default": "",
      "description": "Company at which the lead works",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "lastName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Address Field",
          "options": [
            {
              "displayName": "Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Street",
                  "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": "Zip_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Annual Revenue",
          "name": "Annual_Revenue",
          "type": "number",
          "default": "",
          "description": "Annual revenue of the lead’s company"
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomLeadFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Designation",
          "name": "Designation",
          "type": "string",
          "default": "",
          "description": "Position of the lead at their company"
        },
        {
          "displayName": "Email",
          "name": "Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email Opt Out",
          "name": "Email_Opt_Out",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Fax",
          "name": "Fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "First_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Full Name",
          "name": "Full_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Industry",
          "name": "Industry",
          "type": "string",
          "default": "",
          "description": "Industry to which the lead belongs"
        },
        {
          "displayName": "Industry Type",
          "name": "Industry_Type",
          "type": "string",
          "default": "",
          "description": "Type of industry to which the lead belongs"
        },
        {
          "displayName": "Lead Source",
          "name": "Lead_Source",
          "type": "string",
          "default": "",
          "description": "Source from which the lead was created"
        },
        {
          "displayName": "Lead Status",
          "name": "Lead_Status",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile",
          "name": "Mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Number of Employees",
          "name": "No_of_Employees",
          "type": "number",
          "default": "",
          "description": "Number of employees in the lead’s company"
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Salutation",
          "name": "Salutation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Secondary Email",
          "name": "Secondary_Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Skype ID",
          "name": "Skype_ID",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Twitter",
          "name": "Twitter",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "Website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Company",
      "name": "Company",
      "type": "string",
      "default": "",
      "description": "Company at which the lead works",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "lastName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Address Field",
          "options": [
            {
              "displayName": "Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Street",
                  "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": "Zip_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Annual Revenue",
          "name": "Annual_Revenue",
          "type": "number",
          "default": "",
          "description": "Annual revenue of the lead’s company"
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomLeadFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Designation",
          "name": "Designation",
          "type": "string",
          "default": "",
          "description": "Position of the lead at their company"
        },
        {
          "displayName": "Email",
          "name": "Email",
          "type": "string",
          "default": "",
          "description": "Email of the lead. If a record with this email exists it will be updated, otherwise a new one will be created."
        },
        {
          "displayName": "Email Opt Out",
          "name": "Email_Opt_Out",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Fax",
          "name": "Fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "First_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Full Name",
          "name": "Full_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Industry",
          "name": "Industry",
          "type": "string",
          "default": "",
          "description": "Industry to which the lead belongs"
        },
        {
          "displayName": "Industry Type",
          "name": "Industry_Type",
          "type": "string",
          "default": "",
          "description": "Type of industry to which the lead belongs"
        },
        {
          "displayName": "Lead Source",
          "name": "Lead_Source",
          "type": "string",
          "default": "",
          "description": "Source from which the lead was created"
        },
        {
          "displayName": "Lead Status",
          "name": "Lead_Status",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile",
          "name": "Mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Number of Employees",
          "name": "No_of_Employees",
          "type": "number",
          "default": "",
          "description": "Number of employees in the lead’s company"
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Salutation",
          "name": "Salutation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Secondary Email",
          "name": "Secondary_Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Skype ID",
          "name": "Skype_ID",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Twitter",
          "name": "Twitter",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "Website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Lead ID",
      "name": "leadId",
      "type": "string",
      "default": "",
      "description": "ID of the lead to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Lead ID",
      "name": "leadId",
      "type": "string",
      "default": "",
      "description": "ID of the lead to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "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": [
            "lead"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getLeadFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getLeadFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Lead ID",
      "name": "leadId",
      "type": "string",
      "default": "",
      "description": "ID of the lead to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Address Field",
          "options": [
            {
              "displayName": "Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Street",
                  "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": "Zip_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Annual Revenue",
          "name": "Annual_Revenue",
          "type": "number",
          "default": "",
          "description": "Annual revenue of the lead’s company"
        },
        {
          "displayName": "Company",
          "name": "Company",
          "type": "string",
          "default": "",
          "description": "Company at which the lead works"
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomLeadFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Designation",
          "name": "Designation",
          "type": "string",
          "default": "",
          "description": "Position of the lead at their company"
        },
        {
          "displayName": "Email",
          "name": "Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email Opt Out",
          "name": "Email_Opt_Out",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Fax",
          "name": "Fax",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "First Name",
          "name": "First_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Full Name",
          "name": "Full_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Industry",
          "name": "Industry",
          "type": "string",
          "default": "",
          "description": "Industry to which the lead belongs"
        },
        {
          "displayName": "Industry Type",
          "name": "Industry_Type",
          "type": "string",
          "default": "",
          "description": "Type of industry to which the lead belongs"
        },
        {
          "displayName": "Last Name",
          "name": "Last_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Lead Source",
          "name": "Lead_Source",
          "type": "string",
          "default": "",
          "description": "Source from which the lead was created"
        },
        {
          "displayName": "Lead Status",
          "name": "Lead_Status",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Mobile",
          "name": "Mobile",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Number of Employees",
          "name": "No_of_Employees",
          "type": "number",
          "default": "",
          "description": "Number of employees in the lead’s company"
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Salutation",
          "name": "Salutation",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Secondary Email",
          "name": "Secondary_Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Skype ID",
          "name": "Skype_ID",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Twitter",
          "name": "Twitter",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "Website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a product",
          "action": "Create a product"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or update a product"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a product",
          "action": "Delete a product"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a product",
          "action": "Get a product"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many products",
          "action": "Get many products"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a product",
          "action": "Update a product"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Product Name",
      "name": "productName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Product Name",
      "name": "productName",
      "type": "string",
      "default": "",
      "description": "Name of the product. If a record with this product name exists it will be updated, otherwise a new one will be created.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Commission Rate",
          "name": "Commission_Rate",
          "type": "number",
          "description": "Commission rate for the product. For example, enter 12 for 12%.",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomProductFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Manufacturer",
          "name": "Manufacturer",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Product Active",
          "name": "Product_Active",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Product Category",
          "name": "Product_Category",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Quantity in Demand",
          "name": "Qty_in_Demand",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        },
        {
          "displayName": "Quantity in Stock",
          "name": "Qty_in_Stock",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        },
        {
          "displayName": "Taxable",
          "name": "Taxable",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Unit Price",
          "name": "Unit_Price",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "description": "ID of the product to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "description": "ID of the product to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "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": [
            "product"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getProductFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getProductFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "description": "ID of the product to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Commission Rate",
          "name": "Commission_Rate",
          "type": "number",
          "description": "Commission rate for the product. For example, enter 12 for 12%.",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomProductFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Manufacturer",
          "name": "Manufacturer",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Product Active",
          "name": "Product_Active",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Product Category",
          "name": "Product_Category",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Quantity in Demand",
          "name": "Qty_in_Demand",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        },
        {
          "displayName": "Quantity in Stock",
          "name": "Qty_in_Stock",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        },
        {
          "displayName": "Taxable",
          "name": "Taxable",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Unit Price",
          "name": "Unit_Price",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a purchase order",
          "action": "Create a purchase order"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or update a purchase order"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a purchase order",
          "action": "Delete a purchase order"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a purchase order",
          "action": "Get a purchase order"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many purchase orders",
          "action": "Get many purchase orders"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a purchase order",
          "action": "Update a purchase order"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "Subject or title of the purchase order",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "Subject or title of the purchase order. If a record with this subject exists it will be updated, otherwise a new one will be created.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Vendor Name or ID",
      "name": "vendorId",
      "type": "options",
      "default": [],
      "description": "ID of the vendor associated with the purchase order. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getVendors"
      }
    },
    {
      "displayName": "Products",
      "name": "Product_Details",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "List Price",
          "name": "list_price",
          "type": "number",
          "default": ""
        },
        {
          "displayName": "Product Name or ID",
          "name": "id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getProducts"
          }
        },
        {
          "displayName": "Product Description",
          "name": "product_description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Quantity",
          "name": "quantity",
          "type": "number",
          "default": 1
        },
        {
          "displayName": "Quantity in Stock",
          "name": "quantity_in_stock",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total",
          "name": "total",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total After Discount",
          "name": "total_after_discount",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total (Net)",
          "name": "net_total",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Unit Price",
          "name": "unit_price",
          "type": "number",
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Product"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Adjustment",
          "name": "Adjustment",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Adjustment in the grand total, if any"
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "billing_address_fields",
              "values": [
                {
                  "displayName": "Billing City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Billing Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Billing Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Billing State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Billing Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Carrier",
          "name": "Carrier",
          "type": "string",
          "default": "",
          "description": "Name of the carrier"
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomPurchaseOrderFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Discount",
          "name": "Discount",
          "type": "number",
          "description": "Discount applied to the purchase order. For example, enter 12 for 12%.",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Due Date",
          "name": "Due_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Grand Total",
          "name": "Grand_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product after deducting tax and discounts"
        },
        {
          "displayName": "PO Date",
          "name": "PO_Date",
          "type": "dateTime",
          "default": "",
          "description": "Date on which the purchase order was issued"
        },
        {
          "displayName": "PO Number",
          "name": "PO_Number",
          "type": "string",
          "default": "",
          "description": "ID of the purchase order after creating a case"
        },
        {
          "displayName": "Sales Commission",
          "name": "Sales_Commission",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Commission of sales person on deal closure as a percentage. For example, enter 12 for 12%."
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Status Name or ID",
          "name": "Status",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getPurchaseOrderStatus"
          },
          "description": "Status of the purchase order. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Sub Total",
          "name": "Sub_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product excluding tax"
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Tax amount as the sum of sales tax and value-added tax"
        },
        {
          "displayName": "Terms and Conditions",
          "name": "Terms_and_Conditions",
          "type": "string",
          "default": "",
          "description": "Terms and conditions associated with the purchase order"
        },
        {
          "displayName": "Tracking Number",
          "name": "Tracking_Number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Purchase Order ID",
      "name": "purchaseOrderId",
      "type": "string",
      "default": "",
      "description": "ID of the purchase order to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Purchase Order ID",
      "name": "purchaseOrderId",
      "type": "string",
      "default": "",
      "description": "ID of the purchase order to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "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": [
            "purchaseOrder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getPurchaseOrderFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPurchaseOrderFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Purchase Order ID",
      "name": "purchaseOrderId",
      "type": "string",
      "default": "",
      "description": "ID of the purchase order to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Adjustment",
          "name": "Adjustment",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Adjustment in the grand total, if any"
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Carrier",
          "name": "Carrier",
          "type": "string",
          "default": "",
          "description": "Name of the carrier"
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomPurchaseOrderFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Discount",
          "name": "Discount",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Due Date",
          "name": "Due_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Grand Total",
          "name": "Grand_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product after deducting tax and discounts"
        },
        {
          "displayName": "PO Date",
          "name": "PO_Date",
          "type": "dateTime",
          "default": "",
          "description": "Date on which the purchase order was issued"
        },
        {
          "displayName": "PO Number",
          "name": "PO_Number",
          "type": "string",
          "default": "",
          "description": "ID of the purchase order after creating a case"
        },
        {
          "displayName": "Sales Commission",
          "name": "Sales_Commission",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Commission of sales person on deal closure as a percentage. For example, enter 12 for 12%."
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Status Name or ID",
          "name": "Status",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getPurchaseOrderStatus"
          },
          "description": "Status of the purchase order. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Sub Total",
          "name": "Sub_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product excluding tax"
        },
        {
          "displayName": "Subject",
          "name": "Subject",
          "type": "string",
          "default": "",
          "description": "Subject or title of the purchase order"
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Tax amount as the sum of sales tax and value-added tax"
        },
        {
          "displayName": "Terms and Conditions",
          "name": "Terms_and_Conditions",
          "type": "string",
          "default": "",
          "description": "Terms and conditions associated with the purchase order"
        },
        {
          "displayName": "Tracking Number",
          "name": "Tracking_Number",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "purchaseOrder"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a quote",
          "action": "Create a quote"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or update a quote"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a quote",
          "action": "Delete a quote"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a quote",
          "action": "Get a quote"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many quotes",
          "action": "Get many quotes"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a quote",
          "action": "Update a quote"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "Subject or title of the quote",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "Subject or title of the quote. If a record with this subject exists it will be updated, otherwise a new one will be created.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Products",
      "name": "Product_Details",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "List Price",
          "name": "list_price",
          "type": "number",
          "default": ""
        },
        {
          "displayName": "Product Name or ID",
          "name": "id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getProducts"
          }
        },
        {
          "displayName": "Product Description",
          "name": "product_description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Quantity",
          "name": "quantity",
          "type": "number",
          "default": 1
        },
        {
          "displayName": "Quantity in Stock",
          "name": "quantity_in_stock",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total",
          "name": "total",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total After Discount",
          "name": "total_after_discount",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total (Net)",
          "name": "net_total",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Unit Price",
          "name": "unit_price",
          "type": "number",
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Product"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Adjustment",
          "name": "Adjustment",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Adjustment in the grand total, if any"
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Carrier",
          "name": "Carrier",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomQuoteFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Grand Total",
          "name": "Grand_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product after deducting tax and discounts"
        },
        {
          "displayName": "Quote Stage Name or ID",
          "name": "Quote_Stage",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getQuoteStage"
          },
          "description": "Stage of the quote. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Sub Total",
          "name": "Sub_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product excluding tax"
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount as the sum of sales tax and value-added tax"
        },
        {
          "displayName": "Team",
          "name": "Team",
          "type": "string",
          "default": "",
          "description": "Team for whom the quote is created"
        },
        {
          "displayName": "Terms and Conditions",
          "name": "Terms_and_Conditions",
          "type": "string",
          "default": "",
          "description": "Terms and conditions associated with the quote"
        },
        {
          "displayName": "Valid Till",
          "name": "Valid_Till",
          "type": "dateTime",
          "default": "",
          "description": "Date until when the quote is valid"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Quote ID",
      "name": "quoteId",
      "type": "string",
      "default": "",
      "description": "ID of the quote to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Quote ID",
      "name": "quoteId",
      "type": "string",
      "default": "",
      "description": "ID of the quote to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "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": [
            "quote"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getQuoteFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getQuoteFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Quote ID",
      "name": "quoteId",
      "type": "string",
      "default": "",
      "description": "ID of the quote to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Adjustment",
          "name": "Adjustment",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Adjustment in the grand total, if any"
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Carrier",
          "name": "Carrier",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomQuoteFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Grand Total",
          "name": "Grand_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product after deducting tax and discounts"
        },
        {
          "displayName": "Quote Stage Name or ID",
          "name": "Quote_Stage",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getQuoteStage"
          },
          "description": "Stage of the quote. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Sub Total",
          "name": "Sub_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product excluding tax"
        },
        {
          "displayName": "Subject",
          "name": "Subject",
          "type": "string",
          "default": "",
          "description": "Subject or title of the quote"
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Tax amount as the sum of sales tax and value-added tax"
        },
        {
          "displayName": "Team",
          "name": "Team",
          "type": "string",
          "default": "",
          "description": "Team for whom the quote is created"
        },
        {
          "displayName": "Terms and Conditions",
          "name": "Terms_and_Conditions",
          "type": "string",
          "default": "",
          "description": "Terms and conditions associated with the quote"
        },
        {
          "displayName": "Valid Till",
          "name": "Valid_Till",
          "type": "dateTime",
          "default": "",
          "description": "Date until when the quote is valid"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a sales order",
          "action": "Create a sales order"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or update a sales order"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a sales order",
          "action": "Delete a sales order"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a sales order",
          "action": "Get a sales order"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many sales orders",
          "action": "Get many sales orders"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a sales order",
          "action": "Update a sales order"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Account Name or ID",
      "name": "accountId",
      "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": [
            "salesOrder"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getAccounts"
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "Subject or title of the sales order",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "Subject or title of the sales order. If a record with this subject exists it will be updated, otherwise a new one will be created.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Products",
      "name": "Product_Details",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "List Price",
          "name": "list_price",
          "type": "number",
          "default": ""
        },
        {
          "displayName": "Product Name or ID",
          "name": "id",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getProducts"
          }
        },
        {
          "displayName": "Product Description",
          "name": "product_description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Quantity",
          "name": "quantity",
          "type": "number",
          "default": 1
        },
        {
          "displayName": "Quantity in Stock",
          "name": "quantity_in_stock",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total",
          "name": "total",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total After Discount",
          "name": "total_after_discount",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Total (Net)",
          "name": "net_total",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Unit Price",
          "name": "unit_price",
          "type": "number",
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add Product"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Adjustment",
          "name": "Adjustment",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Adjustment in the grand total, if any"
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Carrier",
          "name": "Carrier",
          "type": "string",
          "default": "",
          "description": "Name of the carrier"
        },
        {
          "displayName": "Contact Name or ID",
          "name": "contactId",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getContacts"
          }
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomSalesOrderFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Deal Name or ID",
          "name": "dealId",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getDeals"
          }
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Discount",
          "name": "Discount",
          "type": "number",
          "description": "Discount applied to the sales order. For example, enter 12 for 12%.",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Due Date",
          "name": "Due_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Grand Total",
          "name": "Grand_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product after deducting tax and discounts"
        },
        {
          "displayName": "Sales Order Number",
          "name": "SO_Number",
          "type": "string",
          "default": "",
          "description": "ID of the sales order after creating a case"
        },
        {
          "displayName": "Sales Commission",
          "name": "Sales_Commission",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Commission of sales person on deal closure as a percentage. For example, enter 12 for 12%."
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Status Name or ID",
          "name": "Status",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getSalesOrderStatus"
          },
          "description": "Status of the sales order. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Sub Total",
          "name": "Sub_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product excluding tax"
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Tax amount as the sum of sales tax and value-added tax"
        },
        {
          "displayName": "Terms and Conditions",
          "name": "Terms_and_Conditions",
          "type": "string",
          "default": "",
          "description": "Terms and conditions associated with the purchase order"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Sales Order ID",
      "name": "salesOrderId",
      "type": "string",
      "default": "",
      "description": "ID of the sales order to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Sales Order ID",
      "name": "salesOrderId",
      "type": "string",
      "default": "",
      "description": "ID of the sales order to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "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": [
            "salesOrder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getSalesOrderFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getSalesOrderFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Sales Order ID",
      "name": "salesOrderId",
      "type": "string",
      "default": "",
      "description": "ID of the sales order to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account Name or ID",
          "name": "accountId",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getAccounts"
          },
          "description": "ID of the account associated with this invoice. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Adjustment",
          "name": "Adjustment",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Adjustment in the grand total, if any"
        },
        {
          "displayName": "Billing Address",
          "name": "Billing_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Billing Address Field",
          "options": [
            {
              "displayName": "Billing Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Billing_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Billing_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Billing_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Billing_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Billing_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Carrier",
          "name": "Carrier",
          "type": "string",
          "default": "",
          "description": "Name of the carrier"
        },
        {
          "displayName": "Contact Name or ID",
          "name": "contactId",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getContacts"
          }
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "description": "Symbol of the currency in which revenue is generated",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomSalesOrderFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Deal Name or ID",
          "name": "dealId",
          "type": "options",
          "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getDeals"
          }
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Discount",
          "name": "Discount",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Due Date",
          "name": "Due_Date",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Exchange Rate",
          "name": "Exchange_Rate",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Exchange rate of the default currency to the home currency"
        },
        {
          "displayName": "Grand Total",
          "name": "Grand_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product after deducting tax and discounts"
        },
        {
          "displayName": "Sales Order Number",
          "name": "SO_Number",
          "type": "string",
          "default": "",
          "description": "ID of the sales order after creating a case"
        },
        {
          "displayName": "Sales Commission",
          "name": "Sales_Commission",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Commission of sales person on deal closure as a percentage. For example, enter 12 for 12%."
        },
        {
          "displayName": "Shipping Address",
          "name": "Shipping_Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Shipping Address Field",
          "options": [
            {
              "displayName": "Shipping Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Shipping_Street",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "Shipping_City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "Shipping_State",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "Shipping_Country",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Zip Code",
                  "name": "Shipping_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Status Name or ID",
          "name": "Status",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getSalesOrderStatus"
          },
          "description": "Status of the sales order. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Sub Total",
          "name": "Sub_Total",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Total amount for the product excluding tax"
        },
        {
          "displayName": "Subject",
          "name": "Subject",
          "type": "string",
          "default": "",
          "description": "Subject or title of the sales order"
        },
        {
          "displayName": "Tax",
          "name": "Tax",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0
          },
          "description": "Tax amount as the sum of sales tax and value-added tax"
        },
        {
          "displayName": "Terms and Conditions",
          "name": "Terms_and_Conditions",
          "type": "string",
          "default": "",
          "description": "Terms and conditions associated with the purchase order"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "salesOrder"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a vendor",
          "action": "Create a vendor"
        },
        {
          "name": "Create or Update",
          "value": "upsert",
          "description": "Create a new record, or update the current one if it already exists (upsert)",
          "action": "Create or update a vendor"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a vendor",
          "action": "Delete a vendor"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a vendor",
          "action": "Get a vendor"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many vendors",
          "action": "Get many vendors"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a vendor",
          "action": "Update a vendor"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Vendor Name",
      "name": "vendorName",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Vendor Name",
      "name": "vendorName",
      "type": "string",
      "default": "",
      "description": "Name of the vendor. If a record with this vendor name exists it will be updated, otherwise a new one will be created.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Address Field",
          "options": [
            {
              "displayName": "Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Street",
                  "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": "Zip_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Category",
          "name": "Category",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "options",
          "default": "USD",
          "options": [
            {
              "name": "US Dollar",
              "value": "USD"
            },
            {
              "name": "Euro",
              "value": "EUR"
            },
            {
              "name": "UAE Dirham",
              "value": "AED"
            },
            {
              "name": "Afghani",
              "value": "AFN"
            },
            {
              "name": "Lek",
              "value": "ALL"
            },
            {
              "name": "Argentine Peso",
              "value": "ARS"
            },
            {
              "name": "Australian Dollar",
              "value": "AUD"
            },
            {
              "name": "Azerbaijan Manat",
              "value": "AZN"
            },
            {
              "name": "Barbados Dollar",
              "value": "BBD"
            },
            {
              "name": "Taka",
              "value": "BDT"
            },
            {
              "name": "Bulgarian Lev",
              "value": "BGN"
            },
            {
              "name": "Bermudian Dollar",
              "value": "BMD"
            },
            {
              "name": "Brunei Dollar",
              "value": "BND"
            },
            {
              "name": "Boliviano",
              "value": "BOB"
            },
            {
              "name": "Brazilian Real",
              "value": "BRL"
            },
            {
              "name": "Bahamian Dollar",
              "value": "BSD"
            },
            {
              "name": "Pula",
              "value": "BWP"
            },
            {
              "name": "Belize Dollar",
              "value": "BZD"
            },
            {
              "name": "Canadian Dollar",
              "value": "CAD"
            },
            {
              "name": "Swiss Franc",
              "value": "CHF"
            },
            {
              "name": "Chilean Peso",
              "value": "CLP"
            },
            {
              "name": "Yuan Renminbi",
              "value": "CNY"
            },
            {
              "name": "Colombian Peso",
              "value": "COP"
            },
            {
              "name": "Costa Rican Colon",
              "value": "CRC"
            },
            {
              "name": "Czech Koruna",
              "value": "CZK"
            },
            {
              "name": "Danish Krone",
              "value": "DKK"
            },
            {
              "name": "Dominican Peso",
              "value": "DOP"
            },
            {
              "name": "Algerian Dinar",
              "value": "DZD"
            },
            {
              "name": "Egyptian Pound",
              "value": "EGP"
            },
            {
              "name": "Fiji Dollar",
              "value": "FJD"
            },
            {
              "name": "Pound Sterling",
              "value": "GBP"
            },
            {
              "name": "Quetzal",
              "value": "GTQ"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "HKD"
            },
            {
              "name": "Lempira",
              "value": "HNL"
            },
            {
              "name": "Kuna",
              "value": "HRK"
            },
            {
              "name": "Forint",
              "value": "HUF"
            },
            {
              "name": "Rupiah",
              "value": "IDR"
            },
            {
              "name": "New Israeli Sheqel",
              "value": "ILS"
            },
            {
              "name": "Indian Rupee",
              "value": "INR"
            },
            {
              "name": "Jamaican Dollar",
              "value": "JMD"
            },
            {
              "name": "Yen",
              "value": "JPY"
            },
            {
              "name": "Kenyan Shilling",
              "value": "KES"
            },
            {
              "name": "Won",
              "value": "KRW"
            },
            {
              "name": "Tenge",
              "value": "KZT"
            },
            {
              "name": "Lao Kip",
              "value": "LAK"
            },
            {
              "name": "Lebanese Pound",
              "value": "LBP"
            },
            {
              "name": "Sri Lanka Rupee",
              "value": "LKR"
            },
            {
              "name": "Liberian Dollar",
              "value": "LRD"
            },
            {
              "name": "Moroccan Dirham",
              "value": "MAD"
            },
            {
              "name": "Kyat",
              "value": "MMK"
            },
            {
              "name": "Pataca",
              "value": "MOP"
            },
            {
              "name": "Ouguiya",
              "value": "MRO"
            },
            {
              "name": "Mauritius Rupee",
              "value": "MUR"
            },
            {
              "name": "Rufiyaa",
              "value": "MVR"
            },
            {
              "name": "Mexican Peso",
              "value": "MXN"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "MYR"
            },
            {
              "name": "Cordoba Oro",
              "value": "NIO"
            },
            {
              "name": "Norwegian Krone",
              "value": "NOK"
            },
            {
              "name": "Nepalese Rupee",
              "value": "NPR"
            },
            {
              "name": "New Zealand Dollar",
              "value": "NZD"
            },
            {
              "name": "Sol",
              "value": "PEN"
            },
            {
              "name": "Kina",
              "value": "PGK"
            },
            {
              "name": "Philippine Peso",
              "value": "PHP"
            },
            {
              "name": "Pakistan Rupee",
              "value": "PKR"
            },
            {
              "name": "Zloty",
              "value": "PLN"
            },
            {
              "name": "Qatari Rial",
              "value": "QAR"
            },
            {
              "name": "Romanian Leu",
              "value": "RON"
            },
            {
              "name": "Russian Ruble",
              "value": "RUB"
            },
            {
              "name": "Saudi Riyal",
              "value": "SAR"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "SBD"
            },
            {
              "name": "Seychelles Rupee",
              "value": "SCR"
            },
            {
              "name": "Swedish Krona",
              "value": "SEK"
            },
            {
              "name": "Singapore Dollar",
              "value": "SGD"
            },
            {
              "name": "Syrian Pound",
              "value": "SYP"
            },
            {
              "name": "Baht",
              "value": "THB"
            },
            {
              "name": "Pa’anga",
              "value": "TOP"
            },
            {
              "name": "Turkish Lira",
              "value": "TRY"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "TTD"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "TWD"
            },
            {
              "name": "Hryvnia",
              "value": "UAH"
            },
            {
              "name": "Dong",
              "value": "VND"
            },
            {
              "name": "Vatu",
              "value": "VUV"
            },
            {
              "name": "Tala",
              "value": "WST"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "XCD"
            },
            {
              "name": "West African CFA Franc",
              "value": "XOF"
            },
            {
              "name": "Yemeni Rial",
              "value": "YER"
            },
            {
              "name": "Rand",
              "value": "ZAR"
            }
          ]
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomVendorFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email",
          "name": "Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "Website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "create",
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Vendor ID",
      "name": "vendorId",
      "type": "string",
      "default": "",
      "description": "ID of the vendor to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Vendor ID",
      "name": "vendorId",
      "type": "string",
      "default": "",
      "description": "ID of the vendor to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "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": [
            "vendor"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Approved",
          "name": "approved",
          "type": "boolean",
          "default": true,
          "description": "Whether to retrieve only approved records. Defaults to true."
        },
        {
          "displayName": "Converted",
          "name": "converted",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only converted records. Defaults to false."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getVendorFields"
          },
          "default": [],
          "description": "Return only these fields"
        },
        {
          "displayName": "Include Child",
          "name": "include_child",
          "type": "boolean",
          "default": false,
          "description": "Whether to retrieve only records from child territories"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getVendorFields"
          },
          "default": [],
          "description": "Field to sort records by"
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Ascending or descending order sort order"
        },
        {
          "displayName": "Territory ID",
          "name": "territory_id",
          "type": "string",
          "default": "",
          "description": "Retrieve only records from this territory"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Vendor ID",
      "name": "vendorId",
      "type": "string",
      "default": "",
      "description": "ID of the vendor to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "Address",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Address Field",
          "options": [
            {
              "displayName": "Address Fields",
              "name": "address_fields",
              "values": [
                {
                  "displayName": "Street",
                  "name": "Street",
                  "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": "Zip_Code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Category",
          "name": "Category",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Currency",
          "name": "Currency",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Fields",
          "name": "customFields",
          "placeholder": "Add Custom Field",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "description": "Filter by custom fields",
          "default": {},
          "options": [
            {
              "name": "customFields",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomVendorFields"
                  },
                  "default": "",
                  "description": "Custom field to set a value to"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value to set on custom field"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "Description",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email",
          "name": "Email",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Phone",
          "name": "Phone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Vendor Name",
          "name": "Vendor_Name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Website",
          "name": "Website",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an account"
    },
    {
      "operation": "upsert",
      "name": "Create or Update",
      "description": "Create a new record, or update the current one if it already exists (upsert)"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an account"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an account"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many accounts"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an account"
    }
  ]


node_type: nodes-base.zoomTool
package_name: n8n-nodes-base
display_name: Zoom Tool
description: Consume Zoom API (AI Tool variant for use with AI Agents)
category: input
development_style: programmatic
version: 1
outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-02-19 14:40:36
tool_variant_of: nodes-base.zoom
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Zoom node documentation
  description: Learn how to use the Zoom node in n8n. Follow technical documentation to integrate Zoom node into your workflows.
  contentType: [integration, reference]
  ---

  # Zoom node

  Use the Zoom node to automate work in Zoom, and integrate Zoom with other applications. n8n has built-in support for a wide range of Zoom features, including creating, retrieving, deleting, and updating meetings. 

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

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

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

  ## Operations

  * Meeting
      * Create a meeting
      * Delete a meeting
      * Retrieve a meeting
      * Retrieve all meetings
      * Update a meeting

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Zoom"
    },
    {
      "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": "meeting",
      "options": [
        {
          "name": "Meeting",
          "value": "meeting"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a meeting",
          "action": "Create a meeting"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a meeting",
          "action": "Delete a meeting"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a meeting",
          "action": "Get a meeting"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many meetings",
          "action": "Get many meetings"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a meeting",
          "action": "Update a meeting"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "meeting"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Topic",
      "name": "topic",
      "type": "string",
      "default": "",
      "description": "Topic of the meeting",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agenda",
          "name": "agenda",
          "type": "string",
          "default": "",
          "description": "Meeting agenda"
        },
        {
          "displayName": "Duration",
          "name": "duration",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "description": "Meeting duration (minutes)"
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "description": "Password to join the meeting with maximum 10 characters"
        },
        {
          "displayName": "Schedule For",
          "name": "scheduleFor",
          "type": "string",
          "default": "",
          "description": "Schedule meeting for someone else from your account, provide their email ID"
        },
        {
          "displayName": "Settings",
          "name": "settings",
          "type": "collection",
          "placeholder": "Add Setting",
          "default": {},
          "options": [
            {
              "displayName": "Audio",
              "name": "audio",
              "type": "options",
              "options": [
                {
                  "name": "Both Telephony and VoiP",
                  "value": "both"
                },
                {
                  "name": "Telephony",
                  "value": "telephony"
                },
                {
                  "name": "VOIP",
                  "value": "voip"
                }
              ],
              "default": "both",
              "description": "Determine how participants can join audio portion of the meeting"
            },
            {
              "displayName": "Alternative Hosts",
              "name": "alternativeHosts",
              "type": "string",
              "default": "",
              "description": "Alternative hosts email IDs"
            },
            {
              "displayName": "Auto Recording",
              "name": "autoRecording",
              "type": "options",
              "options": [
                {
                  "name": "Record on Local",
                  "value": "local"
                },
                {
                  "name": "Record on Cloud",
                  "value": "cloud"
                },
                {
                  "name": "Disabled",
                  "value": "none"
                }
              ],
              "default": "none"
            },
            {
              "displayName": "Host Meeting in China",
              "name": "cnMeeting",
              "type": "boolean",
              "default": false
            },
            {
              "displayName": "Host Meeting in India",
              "name": "inMeeting",
              "type": "boolean",
              "default": false
            },
            {
              "displayName": "Host Video",
              "name": "hostVideo",
              "type": "boolean",
              "default": false,
              "description": "Whether to start a video when host joins the meeting"
            },
            {
              "displayName": "Join Before Host",
              "name": "joinBeforeHost",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow participants to join the meeting before host starts it"
            },
            {
              "displayName": "Muting Upon Entry",
              "name": "muteUponEntry",
              "type": "boolean",
              "default": false,
              "description": "Whether to mute participants upon entry"
            },
            {
              "displayName": "Participant Video",
              "name": "participantVideo",
              "type": "boolean",
              "default": false,
              "description": "Whether to start a video when participant joins the meeting"
            },
            {
              "displayName": "Registration Type",
              "name": "registrationType",
              "type": "options",
              "options": [
                {
                  "name": "Attendees register once and can attend any of the occurrences",
                  "value": 1
                },
                {
                  "name": "Attendees need to register for every occurrence",
                  "value": 2
                },
                {
                  "name": "Attendees register once and can choose one or more occurrences to attend",
                  "value": 3
                }
              ],
              "default": 1,
              "description": "Registration type. Used for recurring meetings with fixed time only."
            },
            {
              "displayName": "Watermark",
              "name": "watermark",
              "type": "boolean",
              "default": false,
              "description": "Whether to add a watermark when viewing a shared screen"
            }
          ]
        },
        {
          "displayName": "Start Time",
          "name": "startTime",
          "type": "dateTime",
          "default": "",
          "description": "Start time should be used only for scheduled or recurring meetings with fixed time"
        },
        {
          "displayName": "Timezone Name or ID",
          "name": "timeZone",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getTimezones"
          },
          "default": "",
          "description": "Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Instant Meeting",
              "value": 1
            },
            {
              "name": "Scheduled Meeting",
              "value": 2
            },
            {
              "name": "Recurring Meeting with No Fixed Time",
              "value": 3
            },
            {
              "name": "Recurring Meeting with Fixed Time",
              "value": 8
            }
          ],
          "default": 2,
          "description": "Meeting type"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "ID",
      "name": "meetingId",
      "type": "string",
      "default": "",
      "description": "Meeting ID",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Occurrence ID",
          "name": "occurrenceId",
          "type": "string",
          "default": "",
          "description": "To view meeting details of a particular occurrence of the recurring meeting"
        },
        {
          "displayName": "Show Previous Occurrences",
          "name": "showPreviousOccurrences",
          "type": "boolean",
          "default": false,
          "description": "Whether to view meeting details of all previous occurrences of the recurring meeting"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "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": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 30,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "meeting"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 300
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Scheduled",
              "value": "scheduled",
              "description": "This includes all valid past meetings, live meetings and upcoming scheduled meetings"
            },
            {
              "name": "Live",
              "value": "live",
              "description": "All ongoing meetings"
            },
            {
              "name": "Upcoming",
              "value": "upcoming",
              "description": "All upcoming meetings including live meetings"
            }
          ],
          "default": "live",
          "description": "Meeting type"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "ID",
      "name": "meetingId",
      "type": "string",
      "default": "",
      "description": "Meeting ID",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Occurrence ID",
          "name": "occurrenceId",
          "type": "string",
          "default": "",
          "description": "Meeting occurrence ID"
        },
        {
          "displayName": "Schedule Reminder",
          "name": "scheduleForReminder",
          "type": "boolean",
          "default": false,
          "description": "Whether to notify hosts and alternative hosts about meeting cancellation via email"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "ID",
      "name": "meetingId",
      "type": "string",
      "default": "",
      "description": "Meeting ID",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agenda",
          "name": "agenda",
          "type": "string",
          "default": "",
          "description": "Meeting agenda"
        },
        {
          "displayName": "Duration",
          "name": "duration",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "description": "Meeting duration (minutes)"
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "description": "Password to join the meeting with maximum 10 characters"
        },
        {
          "displayName": "Schedule For",
          "name": "scheduleFor",
          "type": "string",
          "default": "",
          "description": "Schedule meeting for someone else from your account, provide their email ID"
        },
        {
          "displayName": "Settings",
          "name": "settings",
          "type": "collection",
          "placeholder": "Add Setting",
          "default": {},
          "options": [
            {
              "displayName": "Audio",
              "name": "audio",
              "type": "options",
              "options": [
                {
                  "name": "Both Telephony and VoiP",
                  "value": "both"
                },
                {
                  "name": "Telephony",
                  "value": "telephony"
                },
                {
                  "name": "VOIP",
                  "value": "voip"
                }
              ],
              "default": "both",
              "description": "Determine how participants can join audio portion of the meeting"
            },
            {
              "displayName": "Alternative Hosts",
              "name": "alternativeHosts",
              "type": "string",
              "default": "",
              "description": "Alternative hosts email IDs"
            },
            {
              "displayName": "Auto Recording",
              "name": "autoRecording",
              "type": "options",
              "options": [
                {
                  "name": "Record on Local",
                  "value": "local"
                },
                {
                  "name": "Record on Cloud",
                  "value": "cloud"
                },
                {
                  "name": "Disabled",
                  "value": "none"
                }
              ],
              "default": "none"
            },
            {
              "displayName": "Host Meeting in China",
              "name": "cnMeeting",
              "type": "boolean",
              "default": false
            },
            {
              "displayName": "Host Meeting in India",
              "name": "inMeeting",
              "type": "boolean",
              "default": false
            },
            {
              "displayName": "Host Video",
              "name": "hostVideo",
              "type": "boolean",
              "default": false,
              "description": "Whether to start a video when host joins the meeting"
            },
            {
              "displayName": "Join Before Host",
              "name": "joinBeforeHost",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow participants to join the meeting before host starts it"
            },
            {
              "displayName": "Muting Upon Entry",
              "name": "muteUponEntry",
              "type": "boolean",
              "default": false,
              "description": "Whether to mute participants upon entry"
            },
            {
              "displayName": "Participant Video",
              "name": "participantVideo",
              "type": "boolean",
              "default": false,
              "description": "Whether to start a video when participant joins the meeting"
            },
            {
              "displayName": "Registration Type",
              "name": "registrationType",
              "type": "options",
              "options": [
                {
                  "name": "Attendees Register Once and Can Attend Any of the Occurrences",
                  "value": 1
                },
                {
                  "name": "Attendees Need to Register for Every Occurrence",
                  "value": 2
                },
                {
                  "name": "Attendees Register Once and Can Choose One or More Occurrences to Attend",
                  "value": 3
                }
              ],
              "default": 1,
              "description": "Registration type. Used for recurring meetings with fixed time only."
            },
            {
              "displayName": "Watermark",
              "name": "watermark",
              "type": "boolean",
              "default": false,
              "description": "Whether to add watermark when viewing a shared screen"
            }
          ]
        },
        {
          "displayName": "Start Time",
          "name": "startTime",
          "type": "dateTime",
          "default": "",
          "description": "Start time should be used only for scheduled or recurring meetings with fixed time"
        },
        {
          "displayName": "Timezone Name or ID",
          "name": "timeZone",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getTimezones"
          },
          "default": "",
          "description": "Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Topic",
          "name": "topic",
          "type": "string",
          "default": "",
          "description": "Meeting topic"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Instant Meeting",
              "value": 1
            },
            {
              "name": "Scheduled Meeting",
              "value": 2
            },
            {
              "name": "Recurring Meeting with No Fixed Time",
              "value": 3
            },
            {
              "name": "Recurring Meeting with Fixed Time",
              "value": 8
            }
          ],
          "default": 2,
          "description": "Meeting type"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a meeting"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a meeting"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Retrieve a meeting"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Retrieve many meetings"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a meeting"
    }
  ]

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


node_type: nodes-base.zoom
package_name: n8n-nodes-base
display_name: Zoom
description: Consume Zoom API
category: input
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2026-02-19 14:40:36
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Zoom node documentation
  description: Learn how to use the Zoom node in n8n. Follow technical documentation to integrate Zoom node into your workflows.
  contentType: [integration, reference]
  ---

  # Zoom node

  Use the Zoom node to automate work in Zoom, and integrate Zoom with other applications. n8n has built-in support for a wide range of Zoom features, including creating, retrieving, deleting, and updating meetings. 

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

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

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

  ## Operations

  * Meeting
      * Create a meeting
      * Delete a meeting
      * Retrieve a meeting
      * Retrieve all meetings
      * Update a meeting

  ## Templates and examples

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

  --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": "meeting",
      "options": [
        {
          "name": "Meeting",
          "value": "meeting"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a meeting",
          "action": "Create a meeting"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a meeting",
          "action": "Delete a meeting"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a meeting",
          "action": "Get a meeting"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many meetings",
          "action": "Get many meetings"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a meeting",
          "action": "Update a meeting"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "meeting"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Topic",
      "name": "topic",
      "type": "string",
      "default": "",
      "description": "Topic of the meeting",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agenda",
          "name": "agenda",
          "type": "string",
          "default": "",
          "description": "Meeting agenda"
        },
        {
          "displayName": "Duration",
          "name": "duration",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "description": "Meeting duration (minutes)"
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "description": "Password to join the meeting with maximum 10 characters"
        },
        {
          "displayName": "Schedule For",
          "name": "scheduleFor",
          "type": "string",
          "default": "",
          "description": "Schedule meeting for someone else from your account, provide their email ID"
        },
        {
          "displayName": "Settings",
          "name": "settings",
          "type": "collection",
          "placeholder": "Add Setting",
          "default": {},
          "options": [
            {
              "displayName": "Audio",
              "name": "audio",
              "type": "options",
              "options": [
                {
                  "name": "Both Telephony and VoiP",
                  "value": "both"
                },
                {
                  "name": "Telephony",
                  "value": "telephony"
                },
                {
                  "name": "VOIP",
                  "value": "voip"
                }
              ],
              "default": "both",
              "description": "Determine how participants can join audio portion of the meeting"
            },
            {
              "displayName": "Alternative Hosts",
              "name": "alternativeHosts",
              "type": "string",
              "default": "",
              "description": "Alternative hosts email IDs"
            },
            {
              "displayName": "Auto Recording",
              "name": "autoRecording",
              "type": "options",
              "options": [
                {
                  "name": "Record on Local",
                  "value": "local"
                },
                {
                  "name": "Record on Cloud",
                  "value": "cloud"
                },
                {
                  "name": "Disabled",
                  "value": "none"
                }
              ],
              "default": "none"
            },
            {
              "displayName": "Host Meeting in China",
              "name": "cnMeeting",
              "type": "boolean",
              "default": false
            },
            {
              "displayName": "Host Meeting in India",
              "name": "inMeeting",
              "type": "boolean",
              "default": false
            },
            {
              "displayName": "Host Video",
              "name": "hostVideo",
              "type": "boolean",
              "default": false,
              "description": "Whether to start a video when host joins the meeting"
            },
            {
              "displayName": "Join Before Host",
              "name": "joinBeforeHost",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow participants to join the meeting before host starts it"
            },
            {
              "displayName": "Muting Upon Entry",
              "name": "muteUponEntry",
              "type": "boolean",
              "default": false,
              "description": "Whether to mute participants upon entry"
            },
            {
              "displayName": "Participant Video",
              "name": "participantVideo",
              "type": "boolean",
              "default": false,
              "description": "Whether to start a video when participant joins the meeting"
            },
            {
              "displayName": "Registration Type",
              "name": "registrationType",
              "type": "options",
              "options": [
                {
                  "name": "Attendees register once and can attend any of the occurrences",
                  "value": 1
                },
                {
                  "name": "Attendees need to register for every occurrence",
                  "value": 2
                },
                {
                  "name": "Attendees register once and can choose one or more occurrences to attend",
                  "value": 3
                }
              ],
              "default": 1,
              "description": "Registration type. Used for recurring meetings with fixed time only."
            },
            {
              "displayName": "Watermark",
              "name": "watermark",
              "type": "boolean",
              "default": false,
              "description": "Whether to add a watermark when viewing a shared screen"
            }
          ]
        },
        {
          "displayName": "Start Time",
          "name": "startTime",
          "type": "dateTime",
          "default": "",
          "description": "Start time should be used only for scheduled or recurring meetings with fixed time"
        },
        {
          "displayName": "Timezone Name or ID",
          "name": "timeZone",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getTimezones"
          },
          "default": "",
          "description": "Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Instant Meeting",
              "value": 1
            },
            {
              "name": "Scheduled Meeting",
              "value": 2
            },
            {
              "name": "Recurring Meeting with No Fixed Time",
              "value": 3
            },
            {
              "name": "Recurring Meeting with Fixed Time",
              "value": 8
            }
          ],
          "default": 2,
          "description": "Meeting type"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "ID",
      "name": "meetingId",
      "type": "string",
      "default": "",
      "description": "Meeting ID",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Occurrence ID",
          "name": "occurrenceId",
          "type": "string",
          "default": "",
          "description": "To view meeting details of a particular occurrence of the recurring meeting"
        },
        {
          "displayName": "Show Previous Occurrences",
          "name": "showPreviousOccurrences",
          "type": "boolean",
          "default": false,
          "description": "Whether to view meeting details of all previous occurrences of the recurring meeting"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "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": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 30,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "meeting"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 300
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Scheduled",
              "value": "scheduled",
              "description": "This includes all valid past meetings, live meetings and upcoming scheduled meetings"
            },
            {
              "name": "Live",
              "value": "live",
              "description": "All ongoing meetings"
            },
            {
              "name": "Upcoming",
              "value": "upcoming",
              "description": "All upcoming meetings including live meetings"
            }
          ],
          "default": "live",
          "description": "Meeting type"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "ID",
      "name": "meetingId",
      "type": "string",
      "default": "",
      "description": "Meeting ID",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Occurrence ID",
          "name": "occurrenceId",
          "type": "string",
          "default": "",
          "description": "Meeting occurrence ID"
        },
        {
          "displayName": "Schedule Reminder",
          "name": "scheduleForReminder",
          "type": "boolean",
          "default": false,
          "description": "Whether to notify hosts and alternative hosts about meeting cancellation via email"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "ID",
      "name": "meetingId",
      "type": "string",
      "default": "",
      "description": "Meeting ID",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Agenda",
          "name": "agenda",
          "type": "string",
          "default": "",
          "description": "Meeting agenda"
        },
        {
          "displayName": "Duration",
          "name": "duration",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "description": "Meeting duration (minutes)"
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": "",
          "description": "Password to join the meeting with maximum 10 characters"
        },
        {
          "displayName": "Schedule For",
          "name": "scheduleFor",
          "type": "string",
          "default": "",
          "description": "Schedule meeting for someone else from your account, provide their email ID"
        },
        {
          "displayName": "Settings",
          "name": "settings",
          "type": "collection",
          "placeholder": "Add Setting",
          "default": {},
          "options": [
            {
              "displayName": "Audio",
              "name": "audio",
              "type": "options",
              "options": [
                {
                  "name": "Both Telephony and VoiP",
                  "value": "both"
                },
                {
                  "name": "Telephony",
                  "value": "telephony"
                },
                {
                  "name": "VOIP",
                  "value": "voip"
                }
              ],
              "default": "both",
              "description": "Determine how participants can join audio portion of the meeting"
            },
            {
              "displayName": "Alternative Hosts",
              "name": "alternativeHosts",
              "type": "string",
              "default": "",
              "description": "Alternative hosts email IDs"
            },
            {
              "displayName": "Auto Recording",
              "name": "autoRecording",
              "type": "options",
              "options": [
                {
                  "name": "Record on Local",
                  "value": "local"
                },
                {
                  "name": "Record on Cloud",
                  "value": "cloud"
                },
                {
                  "name": "Disabled",
                  "value": "none"
                }
              ],
              "default": "none"
            },
            {
              "displayName": "Host Meeting in China",
              "name": "cnMeeting",
              "type": "boolean",
              "default": false
            },
            {
              "displayName": "Host Meeting in India",
              "name": "inMeeting",
              "type": "boolean",
              "default": false
            },
            {
              "displayName": "Host Video",
              "name": "hostVideo",
              "type": "boolean",
              "default": false,
              "description": "Whether to start a video when host joins the meeting"
            },
            {
              "displayName": "Join Before Host",
              "name": "joinBeforeHost",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow participants to join the meeting before host starts it"
            },
            {
              "displayName": "Muting Upon Entry",
              "name": "muteUponEntry",
              "type": "boolean",
              "default": false,
              "description": "Whether to mute participants upon entry"
            },
            {
              "displayName": "Participant Video",
              "name": "participantVideo",
              "type": "boolean",
              "default": false,
              "description": "Whether to start a video when participant joins the meeting"
            },
            {
              "displayName": "Registration Type",
              "name": "registrationType",
              "type": "options",
              "options": [
                {
                  "name": "Attendees Register Once and Can Attend Any of the Occurrences",
                  "value": 1
                },
                {
                  "name": "Attendees Need to Register for Every Occurrence",
                  "value": 2
                },
                {
                  "name": "Attendees Register Once and Can Choose One or More Occurrences to Attend",
                  "value": 3
                }
              ],
              "default": 1,
              "description": "Registration type. Used for recurring meetings with fixed time only."
            },
            {
              "displayName": "Watermark",
              "name": "watermark",
              "type": "boolean",
              "default": false,
              "description": "Whether to add watermark when viewing a shared screen"
            }
          ]
        },
        {
          "displayName": "Start Time",
          "name": "startTime",
          "type": "dateTime",
          "default": "",
          "description": "Start time should be used only for scheduled or recurring meetings with fixed time"
        },
        {
          "displayName": "Timezone Name or ID",
          "name": "timeZone",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getTimezones"
          },
          "default": "",
          "description": "Time zone used in the response. The default is the time zone of the calendar. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Topic",
          "name": "topic",
          "type": "string",
          "default": "",
          "description": "Meeting topic"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Instant Meeting",
              "value": 1
            },
            {
              "name": "Scheduled Meeting",
              "value": 2
            },
            {
              "name": "Recurring Meeting with No Fixed Time",
              "value": 3
            },
            {
              "name": "Recurring Meeting with Fixed Time",
              "value": 8
            }
          ],
          "default": 2,
          "description": "Meeting type"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "meeting"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a meeting"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a meeting"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Retrieve a meeting"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Retrieve many meetings"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a meeting"
    }
  ]

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


