# nodes

node_type: nodes-base.pipedrive
package_name: n8n-nodes-base
display_name: Pipedrive
description: Create and edit data in Pipedrive
category: transform
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

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

  # Pipedrive node

  Use the Pipedrive node to automate work in Pipedrive, and integrate Pipedrive with other applications. n8n has built-in support for a wide range of Pipedrive features, including creating, updating, deleting, and getting activity, files, notes, organizations, and leads. 

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

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

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

  ## Operations

  * Activity
      * Create an activity
      * Delete an activity
      * Get data of an activity
      * Get data of all activities
      * Update an activity
  * Deal
      * Create a deal
      * Delete a deal
      * Duplicate a deal
      * Get data of a deal
      * Get data of all deals
      * Search a deal
      * Update a deal
  * Deal Activity
      * Get all activities of a deal
  * Deal Product
      * Add a product to a deal
      * Get all products in a deal
      * Remove a product from a deal
      * Update a product in a deal
  * File
      * Create a file
      * Delete a file
      * Download a file
      * Get data of a file
  * Lead
      * Create a lead
      * Delete a lead
      * Get data of a lead
      * Get data of all leads
      * Update a lead
  * Note
      * Create a note
      * Delete a note
      * Get data of a note
      * Get data of all notes
      * Update a note
  * Organization
      * Create an organization
      * Delete an organization
      * Get data of an organization
      * Get data of all organizations
      * Update an organization
      * Search organizations
  * Person
      * Create a person
      * Delete a person
      * Get data of a person
      * Get data of all persons
      * Search all persons
      * Update a person
  * Product
      * Get data of all products

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "apiToken",
      "options": [
        {
          "name": "API Token",
          "value": "apiToken"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "deal",
      "options": [
        {
          "name": "Activity",
          "value": "activity"
        },
        {
          "name": "Deal",
          "value": "deal"
        },
        {
          "name": "Deal Activity",
          "value": "dealActivity"
        },
        {
          "name": "Deal Product",
          "value": "dealProduct"
        },
        {
          "name": "File",
          "value": "file"
        },
        {
          "name": "Lead",
          "value": "lead"
        },
        {
          "name": "Note",
          "value": "note"
        },
        {
          "name": "Organization",
          "value": "organization"
        },
        {
          "name": "Person",
          "value": "person"
        },
        {
          "name": "Product",
          "value": "product"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an activity",
          "action": "Create an activity"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an activity",
          "action": "Delete an activity"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of an activity",
          "action": "Get an activity"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many activities",
          "action": "Get many activities"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an activity",
          "action": "Update an activity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a deal",
          "action": "Create a deal"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a deal",
          "action": "Delete a deal"
        },
        {
          "name": "Duplicate",
          "value": "duplicate",
          "description": "Duplicate a deal",
          "action": "Duplicate a deal"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a deal",
          "action": "Get a deal"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many deals",
          "action": "Get many deals"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search a deal",
          "action": "Search a deal"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a deal",
          "action": "Update a deal"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many activities of a deal",
          "action": "Get many deal activities"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "dealActivity"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add a product to a deal",
          "action": "Add a deal product"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many products in a deal",
          "action": "Get many deal products"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove a product from a deal",
          "action": "Remove a deal product"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a product in a deal",
          "action": "Update a deal product"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "dealProduct"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a file",
          "action": "Create a file"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a file",
          "action": "Delete a file"
        },
        {
          "name": "Download",
          "value": "download",
          "description": "Download a file",
          "action": "Download a file"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a file",
          "action": "Get a file"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update file details",
          "action": "update details of a file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a lead",
          "action": "Create a lead"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a lead",
          "action": "Delete a lead"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a lead",
          "action": "Get a lead"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of 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": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a note",
          "action": "Create a note"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a note",
          "action": "Delete a note"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a note",
          "action": "Get a note"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many notes",
          "action": "Get many notes"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a note",
          "action": "Update a note"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "note"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an organization",
          "action": "Create an organization"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an organization",
          "action": "Delete an organization"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of an organization",
          "action": "Get an organization"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many organizations",
          "action": "Get many organizations"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search organizations",
          "action": "Search an organization"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an organization",
          "action": "Update an organization"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a person",
          "action": "Create a person"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a person",
          "action": "Delete a person"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a person",
          "action": "Get a person"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many persons",
          "action": "Get many people"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search all persons",
          "action": "Search a person"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a person",
          "action": "Update a person"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many products",
          "action": "Get many products"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Subject",
      "name": "subject",
      "type": "string",
      "default": "",
      "description": "The subject of the activity to create",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "activity"
          ]
        }
      }
    },
    {
      "displayName": "Done",
      "name": "done",
      "type": "options",
      "default": "0",
      "description": "Whether the activity is done or not",
      "options": [
        {
          "name": "Not Done",
          "value": "0"
        },
        {
          "name": "Done",
          "value": "1"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "activity"
          ]
        }
      }
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "string",
      "default": "",
      "description": "Type of the activity like \"call\", \"meeting\", etc",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "activity"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Deal ID",
          "name": "deal_id",
          "type": "number",
          "default": 0,
          "description": "ID of the deal this activity will be associated with"
        },
        {
          "displayName": "Due Date",
          "name": "due_date",
          "type": "dateTime",
          "default": "",
          "description": "Due Date to activity be done YYYY-MM-DD"
        },
        {
          "displayName": "Note",
          "name": "note",
          "type": "string",
          "typeOptions": {
            "rows": 5
          },
          "default": "",
          "description": "Note of the activity (HTML format)"
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizationIds"
          },
          "default": "",
          "description": "ID of the organization this activity will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Person ID",
          "name": "person_id",
          "type": "number",
          "default": 0,
          "description": "ID of the person this activity will be associated with"
        },
        {
          "displayName": "User Name or ID",
          "name": "user_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "placeholder": "Add Custom Property",
          "description": "Adds a custom property to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Property",
              "values": [
                {
                  "displayName": "Property Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the property to set"
                },
                {
                  "displayName": "Property Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the property to set"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "activity"
          ]
        }
      }
    },
    {
      "displayName": "Activity ID",
      "name": "activityId",
      "type": "number",
      "default": 0,
      "description": "ID of the activity to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "activity"
          ]
        }
      }
    },
    {
      "displayName": "Activity ID",
      "name": "activityId",
      "type": "number",
      "default": 0,
      "description": "ID of the activity to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "activity"
          ]
        }
      }
    },
    {
      "displayName": "Activity ID",
      "name": "activityId",
      "type": "number",
      "default": 0,
      "description": "ID of the activity to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "activity"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Busy Flag",
          "name": "busy_flag",
          "type": "boolean",
          "default": false,
          "description": "Whether the user is set to busy during the activity"
        },
        {
          "displayName": "Deal ID",
          "name": "deal_id",
          "type": "number",
          "default": 0,
          "description": "ID of the deal this activity will be associated with"
        },
        {
          "displayName": "Due Date",
          "name": "due_date",
          "type": "dateTime",
          "default": "",
          "description": "Due Date to activity be done YYYY-MM-DD"
        },
        {
          "displayName": "Done",
          "name": "done",
          "type": "options",
          "options": [
            {
              "name": "Not Done",
              "value": "0"
            },
            {
              "name": "Done",
              "value": "1"
            }
          ],
          "default": "0",
          "description": "Whether the activity is done or not"
        },
        {
          "displayName": "Note",
          "name": "note",
          "type": "string",
          "typeOptions": {
            "rows": 5
          },
          "default": "",
          "description": "Note of the activity (HTML format)"
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizationIds"
          },
          "default": "",
          "description": "ID of the organization this activity will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Person ID",
          "name": "person_id",
          "type": "number",
          "default": 0,
          "description": "ID of the person this activity will be associated with"
        },
        {
          "displayName": "Public Description",
          "name": "public_description",
          "type": "string",
          "default": "",
          "description": "Additional details about the activity that is synced to your external calendar"
        },
        {
          "displayName": "Subject",
          "name": "subject",
          "type": "string",
          "default": "",
          "description": "The subject of the activity"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "default": "",
          "placeholder": "call",
          "description": "Type of the activity like \"call\", \"meeting\", etc"
        },
        {
          "displayName": "User Name or ID",
          "name": "user_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "placeholder": "Add Custom Property",
          "description": "Adds a custom property to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Property",
              "values": [
                {
                  "displayName": "Property Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the property to set"
                },
                {
                  "displayName": "Property Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the property to set"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "activity"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "The title of the deal to create",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Associate With",
      "name": "associateWith",
      "type": "options",
      "default": "organization",
      "description": "Type of entity to link to this deal",
      "options": [
        {
          "name": "Organization",
          "value": "organization"
        },
        {
          "name": "Person",
          "value": "person"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Organization ID",
      "name": "org_id",
      "type": "number",
      "default": 0,
      "description": "ID of the organization this deal will be associated with",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ],
          "associateWith": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Person ID",
      "name": "person_id",
      "type": "number",
      "default": 0,
      "description": "ID of the person this deal will be associated with",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ],
          "associateWith": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Currency",
          "name": "currency",
          "type": "string",
          "default": "USD",
          "description": "Currency of the deal. Accepts a 3-character currency code. Like EUR, USD, ..."
        },
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "placeholder": "Add Custom Property",
          "description": "Adds a custom property to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Property",
              "values": [
                {
                  "displayName": "Property Name or ID",
                  "name": "name",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getDealCustomFields"
                  },
                  "default": "",
                  "description": "Name of the property to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Property Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the property to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Label Name or ID",
          "name": "label",
          "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": "getDealLabels"
          },
          "default": ""
        },
        {
          "displayName": "Lost Reason",
          "name": "lost_reason",
          "type": "string",
          "default": "",
          "description": "Reason why the deal was lost"
        },
        {
          "displayName": "Organization ID",
          "name": "org_id",
          "type": "number",
          "default": 0,
          "displayOptions": {
            "show": {
              "/associateWith": [
                "person"
              ]
            }
          },
          "description": "ID of the organization this deal will be associated with"
        },
        {
          "displayName": "Person ID",
          "name": "person_id",
          "type": "number",
          "default": 0,
          "displayOptions": {
            "show": {
              "/associateWith": [
                "organization"
              ]
            }
          },
          "description": "ID of the person this deal will be associated with"
        },
        {
          "displayName": "Probability",
          "name": "probability",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "default": 0,
          "description": "Deal success probability percentage"
        },
        {
          "displayName": "Stage Name or ID",
          "name": "stage_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getStageIds"
          },
          "default": "",
          "description": "ID of the stage this deal will be placed in a pipeline. If omitted, the deal will be placed in the first stage of the default pipeline. (PIPELINE > STAGE). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Open",
              "value": "open"
            },
            {
              "name": "Won",
              "value": "won"
            },
            {
              "name": "Lost",
              "value": "lost"
            },
            {
              "name": "Deleted",
              "value": "deleted"
            }
          ],
          "default": "open",
          "description": "The status of the deal. If not provided it will automatically be set to \"open\"."
        },
        {
          "displayName": "User Name or ID",
          "name": "user_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Value",
          "name": "value",
          "type": "number",
          "default": 0,
          "description": "Value of the deal. If not set it will automatically be set to 0."
        },
        {
          "displayName": "Visible To",
          "name": "visible_to",
          "type": "options",
          "options": [
            {
              "name": "Owner & Followers (Private)",
              "value": "1"
            },
            {
              "name": "Entire Company (Shared)",
              "value": "3"
            }
          ],
          "default": "3",
          "description": "Visibility of the deal. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "number",
      "default": 0,
      "description": "ID of the deal to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "number",
      "default": 0,
      "description": "ID of the deal to duplicate",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "duplicate"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "number",
      "default": 0,
      "description": "ID of the deal to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "number",
      "default": 0,
      "description": "ID of the deal to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Currency",
          "name": "currency",
          "type": "string",
          "default": "USD",
          "description": "Currency of the deal. Accepts a 3-character currency code. Like EUR, USD, ..."
        },
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "placeholder": "Add Custom Property",
          "description": "Adds a custom property to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Property",
              "values": [
                {
                  "displayName": "Property Name or ID",
                  "name": "name",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getDealCustomFields"
                  },
                  "default": "",
                  "description": "Name of the custom field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Property Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the property to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "User Name or ID",
          "name": "user_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Label Name or ID",
          "name": "label",
          "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": "getDealLabels"
          },
          "default": ""
        },
        {
          "displayName": "Lost Reason",
          "name": "lost_reason",
          "type": "string",
          "default": "",
          "description": "Reason why the deal was lost"
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizationIds"
          },
          "default": "",
          "description": "ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Person ID",
          "name": "person_id",
          "type": "number",
          "default": 0,
          "description": "ID of the person this deal will be associated with"
        },
        {
          "displayName": "Probability",
          "name": "probability",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "default": 0,
          "description": "Deal success probability percentage"
        },
        {
          "displayName": "Stage Name or ID",
          "name": "stage_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getStageIds"
          },
          "default": "",
          "description": "ID of the stage this deal will be placed in a pipeline. If omitted, the deal will be placed in the first stage of the default pipeline. (PIPELINE > STAGE). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Open",
              "value": "open"
            },
            {
              "name": "Won",
              "value": "won"
            },
            {
              "name": "Lost",
              "value": "lost"
            },
            {
              "name": "Deleted",
              "value": "deleted"
            }
          ],
          "default": "open",
          "description": "The status of the deal. If not provided it will automatically be set to \"open\"."
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "The title of the deal"
        },
        {
          "displayName": "Value",
          "name": "value",
          "type": "number",
          "default": 0,
          "description": "Value of the deal. If not set it will automatically be set to 0."
        },
        {
          "displayName": "Visible To",
          "name": "visible_to",
          "type": "options",
          "options": [
            {
              "name": "Owner & Followers (Private)",
              "value": "1"
            },
            {
              "name": "Entire Company (Shared)",
              "value": "3"
            }
          ],
          "default": "3",
          "description": "Visibility of the deal. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal Name or ID",
      "name": "dealId",
      "type": "options",
      "default": "",
      "description": "The ID of the deal to add a product to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getDeals"
      }
    },
    {
      "displayName": "Product Name or ID",
      "name": "productId",
      "type": "options",
      "default": "",
      "description": "The ID of the product to add to a deal. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProducts"
      }
    },
    {
      "displayName": "Item Price",
      "name": "item_price",
      "type": "number",
      "default": 0,
      "description": "Price at which to add or update this product in a deal",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      },
      "typeOptions": {
        "numberPrecision": 2
      }
    },
    {
      "displayName": "Quantity",
      "name": "quantity",
      "type": "number",
      "default": 1,
      "description": "How many items of this product to add/update in a deal",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Comments",
          "name": "comments",
          "type": "string",
          "typeOptions": {
            "rows": 4
          },
          "default": "",
          "description": "Text to describe this product-deal attachment"
        },
        {
          "displayName": "Discount Percentage",
          "name": "discount_percentage",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "description": "Percentage of discount to apply"
        },
        {
          "displayName": "Product Variation ID",
          "name": "product_variation_id",
          "type": "string",
          "default": "",
          "description": "ID of the product variation to use"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      }
    },
    {
      "displayName": "Deal Name or ID",
      "name": "dealId",
      "type": "options",
      "default": "",
      "description": "The ID of the deal whose product to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getDeals"
      }
    },
    {
      "displayName": "Product Attachment Name or ID",
      "name": "productAttachmentId",
      "type": "options",
      "default": "",
      "description": "ID of the deal-product (the ID of the product attached to the deal). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProductsDeal",
        "loadOptionsDependsOn": [
          "dealId"
        ]
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Comments",
          "name": "comments",
          "type": "string",
          "typeOptions": {
            "rows": 4
          },
          "default": "",
          "description": "Text to describe this product-deal attachment"
        },
        {
          "displayName": "Discount Percentage",
          "name": "discount_percentage",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "description": "Percentage of discount to apply"
        },
        {
          "displayName": "Item Price",
          "name": "item_price",
          "type": "number",
          "typeOptions": {
            "numberPrecision": 2
          },
          "default": 0,
          "description": "Price at which to add or update this product in a deal"
        },
        {
          "displayName": "Quantity",
          "name": "quantity",
          "type": "number",
          "default": 1,
          "typeOptions": {
            "minValue": 1
          },
          "description": "How many items of this product to add/update in a deal"
        },
        {
          "displayName": "Product Variation ID",
          "name": "product_variation_id",
          "type": "string",
          "default": "",
          "description": "ID of the product variation to use"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      }
    },
    {
      "displayName": "Deal Name or ID",
      "name": "dealId",
      "type": "options",
      "default": "",
      "description": "The ID of the deal whose product to remove. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "remove"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getDeals"
      }
    },
    {
      "displayName": "Product Attachment Name or ID",
      "name": "productAttachmentId",
      "type": "options",
      "default": "",
      "description": "ID of the deal-product (the ID of the product attached to the deal). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "remove"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProductsDeal",
        "loadOptionsDependsOn": [
          "dealId"
        ]
      }
    },
    {
      "displayName": "Deal Name or ID",
      "name": "dealId",
      "type": "options",
      "default": "",
      "description": "The ID of the deal whose products to retrieve. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "dealProduct"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getDeals"
      }
    },
    {
      "displayName": "Term",
      "name": "term",
      "type": "string",
      "default": "",
      "description": "The search term to look for. Minimum 2 characters (or 1 if using exact_match).",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Exact Match",
      "name": "exactMatch",
      "type": "boolean",
      "default": false,
      "description": "Whether only full exact matches against the given term are returned. It is not case sensitive.",
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "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": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Fields",
          "name": "includeFields",
          "type": "string",
          "default": "",
          "description": "Supports including optional fields in the results which are not provided by default. Example: deal.cc_email."
        },
        {
          "displayName": "Organization ID",
          "name": "organizationId",
          "type": "string",
          "default": "",
          "description": "Will filter Deals by the provided Organization ID"
        },
        {
          "displayName": "Person ID",
          "name": "personId",
          "type": "string",
          "default": "",
          "description": "Will filter Deals by the provided Person ID"
        },
        {
          "displayName": "Search Fields",
          "name": "fields",
          "type": "multiOptions",
          "options": [
            {
              "name": "Custom Fields",
              "value": "custom_fields"
            },
            {
              "name": "Notes",
              "value": "notes"
            },
            {
              "name": "Title",
              "value": "title"
            }
          ],
          "default": [
            "custom_fields",
            "notes",
            "title"
          ],
          "description": "A comma-separated string array. The fields to perform the search from. Defaults to all of them."
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Open",
              "value": "open"
            },
            {
              "name": "Won",
              "value": "won"
            },
            {
              "name": "Lost",
              "value": "lost"
            }
          ],
          "default": "open",
          "description": "The status of the deal. If not provided it will automatically be set to \"open\"."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Activity ID",
          "name": "activity_id",
          "type": "number",
          "default": 0,
          "description": "ID of the activite this file will be associated with"
        },
        {
          "displayName": "Deal ID",
          "name": "deal_id",
          "type": "number",
          "default": 0,
          "description": "ID of the deal this file will be associated with"
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizationIds"
          },
          "default": "",
          "description": "ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Person ID",
          "name": "person_id",
          "type": "number",
          "default": 0,
          "description": "ID of the person this file will be associated with"
        },
        {
          "displayName": "Product ID",
          "name": "product_id",
          "type": "number",
          "default": 0,
          "description": "ID of the person this file will be associated with"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "number",
      "default": 0,
      "description": "ID of the file to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "number",
      "default": 0,
      "description": "ID of the file to download",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "download"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Put Output File in Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "download"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "number",
      "default": 0,
      "description": "ID of the file to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "number",
      "default": 0,
      "description": "ID of the file to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The updated visible name of the file"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The updated description of the file"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Name of the lead to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Associate With",
      "name": "associateWith",
      "type": "options",
      "default": "organization",
      "description": "Type of entity to link to this lead",
      "options": [
        {
          "name": "Organization",
          "value": "organization"
        },
        {
          "name": "Person",
          "value": "person"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Organization ID",
      "name": "organization_id",
      "type": "number",
      "default": 0,
      "description": "ID of the organization to link to this lead",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "create"
          ],
          "associateWith": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Person ID",
      "name": "person_id",
      "type": "number",
      "default": 0,
      "description": "ID of the person to link to this lead",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "create"
          ],
          "associateWith": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Expected Close Date",
          "name": "expected_close_date",
          "type": "dateTime",
          "default": "",
          "description": "Date when the lead’s deal is expected to be closed, in ISO-8601 format"
        },
        {
          "displayName": "Label Names or IDs",
          "name": "label_ids",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getLeadLabels"
          },
          "default": [],
          "description": "ID of the labels to attach to the lead to create. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Organization ID",
          "name": "organization_id",
          "type": "number",
          "default": 0,
          "description": "ID of the organization to link to this lead",
          "displayOptions": {
            "show": {
              "/associateWith": [
                "person"
              ]
            }
          }
        },
        {
          "displayName": "Owner Name or ID",
          "name": "owner_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "ID of the user who will own the lead to create. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Person ID",
          "name": "person_id",
          "type": "number",
          "default": 0,
          "description": "ID of the person to link to this lead",
          "displayOptions": {
            "show": {
              "/associateWith": [
                "organization"
              ]
            }
          }
        },
        {
          "displayName": "Value",
          "name": "value",
          "type": "fixedCollection",
          "description": "Potential monetary value associated with the lead",
          "default": {},
          "options": [
            {
              "displayName": "Value Properties",
              "name": "valueProperties",
              "values": [
                {
                  "displayName": "Amount",
                  "name": "amount",
                  "type": "number",
                  "default": ""
                },
                {
                  "displayName": "Currency",
                  "name": "currency",
                  "type": "options",
                  "default": "USD",
                  "options": [
                    {
                      "name": "Afghani",
                      "value": "AFN"
                    },
                    {
                      "name": "Algerian Dinar",
                      "value": "DZD"
                    },
                    {
                      "name": "Argentine Peso",
                      "value": "ARS"
                    },
                    {
                      "name": "Australian Dollar",
                      "value": "AUD"
                    },
                    {
                      "name": "Azerbaijan Manat",
                      "value": "AZN"
                    },
                    {
                      "name": "Bahamian Dollar",
                      "value": "BSD"
                    },
                    {
                      "name": "Baht",
                      "value": "THB"
                    },
                    {
                      "name": "Barbados Dollar",
                      "value": "BBD"
                    },
                    {
                      "name": "Belize Dollar",
                      "value": "BZD"
                    },
                    {
                      "name": "Bermudian Dollar",
                      "value": "BMD"
                    },
                    {
                      "name": "Boliviano",
                      "value": "BOB"
                    },
                    {
                      "name": "Brazilian Real",
                      "value": "BRL"
                    },
                    {
                      "name": "Brunei Dollar",
                      "value": "BND"
                    },
                    {
                      "name": "Bulgarian Lev",
                      "value": "BGN"
                    },
                    {
                      "name": "Canadian Dollar",
                      "value": "CAD"
                    },
                    {
                      "name": "Chilean Peso",
                      "value": "CLP"
                    },
                    {
                      "name": "Colombian Peso",
                      "value": "COP"
                    },
                    {
                      "name": "Cordoba Oro",
                      "value": "NIO"
                    },
                    {
                      "name": "Costa Rican Colon",
                      "value": "CRC"
                    },
                    {
                      "name": "Czech Koruna",
                      "value": "CZK"
                    },
                    {
                      "name": "Danish Krone",
                      "value": "DKK"
                    },
                    {
                      "name": "Dominican Peso",
                      "value": "DOP"
                    },
                    {
                      "name": "Dong",
                      "value": "VND"
                    },
                    {
                      "name": "East Caribbean Dollar",
                      "value": "XCD"
                    },
                    {
                      "name": "Egyptian Pound",
                      "value": "EGP"
                    },
                    {
                      "name": "Euro",
                      "value": "EUR"
                    },
                    {
                      "name": "Fiji Dollar",
                      "value": "FJD"
                    },
                    {
                      "name": "Forint",
                      "value": "HUF"
                    },
                    {
                      "name": "Hong Kong Dollar",
                      "value": "HKD"
                    },
                    {
                      "name": "Hryvnia",
                      "value": "UAH"
                    },
                    {
                      "name": "Indian Rupee",
                      "value": "INR"
                    },
                    {
                      "name": "Jamaican Dollar",
                      "value": "JMD"
                    },
                    {
                      "name": "Kenyan Shilling",
                      "value": "KES"
                    },
                    {
                      "name": "Kina",
                      "value": "PGK"
                    },
                    {
                      "name": "Kuna",
                      "value": "HRK"
                    },
                    {
                      "name": "Kyat",
                      "value": "MMK"
                    },
                    {
                      "name": "Lao Kip",
                      "value": "LAK"
                    },
                    {
                      "name": "Lebanese Pound",
                      "value": "LBP"
                    },
                    {
                      "name": "Lek",
                      "value": "ALL"
                    },
                    {
                      "name": "Lempira",
                      "value": "HNL"
                    },
                    {
                      "name": "Liberian Dollar",
                      "value": "LRD"
                    },
                    {
                      "name": "Malaysian Ringgit",
                      "value": "MYR"
                    },
                    {
                      "name": "Mauritius Rupee",
                      "value": "MUR"
                    },
                    {
                      "name": "Mexican Peso",
                      "value": "MXN"
                    },
                    {
                      "name": "Moroccan Dirham",
                      "value": "MAD"
                    },
                    {
                      "name": "Nepalese Rupee",
                      "value": "NPR"
                    },
                    {
                      "name": "New Israeli Sheqel",
                      "value": "ILS"
                    },
                    {
                      "name": "New Taiwan Dollar",
                      "value": "TWD"
                    },
                    {
                      "name": "New Zealand Dollar",
                      "value": "NZD"
                    },
                    {
                      "name": "Norwegian Krone",
                      "value": "NOK"
                    },
                    {
                      "name": "Ouguiya",
                      "value": "MRO"
                    },
                    {
                      "name": "Pa’anga",
                      "value": "TOP"
                    },
                    {
                      "name": "Pakistan Rupee",
                      "value": "PKR"
                    },
                    {
                      "name": "Pataca",
                      "value": "MOP"
                    },
                    {
                      "name": "Philippine Peso",
                      "value": "PHP"
                    },
                    {
                      "name": "Pound Sterling",
                      "value": "GBP"
                    },
                    {
                      "name": "Pula",
                      "value": "BWP"
                    },
                    {
                      "name": "Qatari Rial",
                      "value": "QAR"
                    },
                    {
                      "name": "Quetzal",
                      "value": "GTQ"
                    },
                    {
                      "name": "Rand",
                      "value": "ZAR"
                    },
                    {
                      "name": "Romanian Leu",
                      "value": "RON"
                    },
                    {
                      "name": "Rufiyaa",
                      "value": "MVR"
                    },
                    {
                      "name": "Rupiah",
                      "value": "IDR"
                    },
                    {
                      "name": "Russian Ruble",
                      "value": "RUB"
                    },
                    {
                      "name": "Saudi Riyal",
                      "value": "SAR"
                    },
                    {
                      "name": "Seychelles Rupee",
                      "value": "SCR"
                    },
                    {
                      "name": "Singapore Dollar",
                      "value": "SGD"
                    },
                    {
                      "name": "Sol",
                      "value": "PEN"
                    },
                    {
                      "name": "Solomon Islands Dollar",
                      "value": "SBD"
                    },
                    {
                      "name": "Sri Lanka Rupee",
                      "value": "LKR"
                    },
                    {
                      "name": "Swedish Krona",
                      "value": "SEK"
                    },
                    {
                      "name": "Swiss Franc",
                      "value": "CHF"
                    },
                    {
                      "name": "Syrian Pound",
                      "value": "SYP"
                    },
                    {
                      "name": "Taka",
                      "value": "BDT"
                    },
                    {
                      "name": "Tala",
                      "value": "WST"
                    },
                    {
                      "name": "Tenge",
                      "value": "KZT"
                    },
                    {
                      "name": "Trinidad and Tobago Dollar",
                      "value": "TTD"
                    },
                    {
                      "name": "Turkish Lira",
                      "value": "TRY"
                    },
                    {
                      "name": "UAE Dirham",
                      "value": "AED"
                    },
                    {
                      "name": "US Dollar",
                      "value": "USD"
                    },
                    {
                      "name": "Vatu",
                      "value": "VUV"
                    },
                    {
                      "name": "West African CFA Franc",
                      "value": "XOF"
                    },
                    {
                      "name": "Won",
                      "value": "KRW"
                    },
                    {
                      "name": "Yemeni Rial",
                      "value": "YER"
                    },
                    {
                      "name": "Yen",
                      "value": "JPY"
                    },
                    {
                      "name": "Yuan Renminbi",
                      "value": "CNY"
                    },
                    {
                      "name": "Zloty",
                      "value": "PLN"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "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": "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": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Name of the lead to update"
        },
        {
          "displayName": "Owner Name or ID",
          "name": "owner_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "ID of the user who will own the lead to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Label Names or IDs",
          "name": "label_ids",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getLeadLabels"
          },
          "default": [],
          "description": "ID of the labels to attach to the lead to update. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Person Name or ID",
          "name": "person_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPersons"
          },
          "default": "",
          "description": "ID of the person to link to this lead. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Value",
          "name": "value",
          "type": "fixedCollection",
          "description": "Potential monetary value associated with the lead",
          "default": {},
          "options": [
            {
              "displayName": "Value Properties",
              "name": "valueProperties",
              "values": [
                {
                  "displayName": "Amount",
                  "name": "amount",
                  "type": "number",
                  "default": ""
                },
                {
                  "displayName": "Currency",
                  "name": "currency",
                  "type": "options",
                  "default": "USD",
                  "options": [
                    {
                      "name": "Afghani",
                      "value": "AFN"
                    },
                    {
                      "name": "Algerian Dinar",
                      "value": "DZD"
                    },
                    {
                      "name": "Argentine Peso",
                      "value": "ARS"
                    },
                    {
                      "name": "Australian Dollar",
                      "value": "AUD"
                    },
                    {
                      "name": "Azerbaijan Manat",
                      "value": "AZN"
                    },
                    {
                      "name": "Bahamian Dollar",
                      "value": "BSD"
                    },
                    {
                      "name": "Baht",
                      "value": "THB"
                    },
                    {
                      "name": "Barbados Dollar",
                      "value": "BBD"
                    },
                    {
                      "name": "Belize Dollar",
                      "value": "BZD"
                    },
                    {
                      "name": "Bermudian Dollar",
                      "value": "BMD"
                    },
                    {
                      "name": "Boliviano",
                      "value": "BOB"
                    },
                    {
                      "name": "Brazilian Real",
                      "value": "BRL"
                    },
                    {
                      "name": "Brunei Dollar",
                      "value": "BND"
                    },
                    {
                      "name": "Bulgarian Lev",
                      "value": "BGN"
                    },
                    {
                      "name": "Canadian Dollar",
                      "value": "CAD"
                    },
                    {
                      "name": "Chilean Peso",
                      "value": "CLP"
                    },
                    {
                      "name": "Colombian Peso",
                      "value": "COP"
                    },
                    {
                      "name": "Cordoba Oro",
                      "value": "NIO"
                    },
                    {
                      "name": "Costa Rican Colon",
                      "value": "CRC"
                    },
                    {
                      "name": "Czech Koruna",
                      "value": "CZK"
                    },
                    {
                      "name": "Danish Krone",
                      "value": "DKK"
                    },
                    {
                      "name": "Dominican Peso",
                      "value": "DOP"
                    },
                    {
                      "name": "Dong",
                      "value": "VND"
                    },
                    {
                      "name": "East Caribbean Dollar",
                      "value": "XCD"
                    },
                    {
                      "name": "Egyptian Pound",
                      "value": "EGP"
                    },
                    {
                      "name": "Euro",
                      "value": "EUR"
                    },
                    {
                      "name": "Fiji Dollar",
                      "value": "FJD"
                    },
                    {
                      "name": "Forint",
                      "value": "HUF"
                    },
                    {
                      "name": "Hong Kong Dollar",
                      "value": "HKD"
                    },
                    {
                      "name": "Hryvnia",
                      "value": "UAH"
                    },
                    {
                      "name": "Indian Rupee",
                      "value": "INR"
                    },
                    {
                      "name": "Jamaican Dollar",
                      "value": "JMD"
                    },
                    {
                      "name": "Kenyan Shilling",
                      "value": "KES"
                    },
                    {
                      "name": "Kina",
                      "value": "PGK"
                    },
                    {
                      "name": "Kuna",
                      "value": "HRK"
                    },
                    {
                      "name": "Kyat",
                      "value": "MMK"
                    },
                    {
                      "name": "Lao Kip",
                      "value": "LAK"
                    },
                    {
                      "name": "Lebanese Pound",
                      "value": "LBP"
                    },
                    {
                      "name": "Lek",
                      "value": "ALL"
                    },
                    {
                      "name": "Lempira",
                      "value": "HNL"
                    },
                    {
                      "name": "Liberian Dollar",
                      "value": "LRD"
                    },
                    {
                      "name": "Malaysian Ringgit",
                      "value": "MYR"
                    },
                    {
                      "name": "Mauritius Rupee",
                      "value": "MUR"
                    },
                    {
                      "name": "Mexican Peso",
                      "value": "MXN"
                    },
                    {
                      "name": "Moroccan Dirham",
                      "value": "MAD"
                    },
                    {
                      "name": "Nepalese Rupee",
                      "value": "NPR"
                    },
                    {
                      "name": "New Israeli Sheqel",
                      "value": "ILS"
                    },
                    {
                      "name": "New Taiwan Dollar",
                      "value": "TWD"
                    },
                    {
                      "name": "New Zealand Dollar",
                      "value": "NZD"
                    },
                    {
                      "name": "Norwegian Krone",
                      "value": "NOK"
                    },
                    {
                      "name": "Ouguiya",
                      "value": "MRO"
                    },
                    {
                      "name": "Pa’anga",
                      "value": "TOP"
                    },
                    {
                      "name": "Pakistan Rupee",
                      "value": "PKR"
                    },
                    {
                      "name": "Pataca",
                      "value": "MOP"
                    },
                    {
                      "name": "Philippine Peso",
                      "value": "PHP"
                    },
                    {
                      "name": "Pound Sterling",
                      "value": "GBP"
                    },
                    {
                      "name": "Pula",
                      "value": "BWP"
                    },
                    {
                      "name": "Qatari Rial",
                      "value": "QAR"
                    },
                    {
                      "name": "Quetzal",
                      "value": "GTQ"
                    },
                    {
                      "name": "Rand",
                      "value": "ZAR"
                    },
                    {
                      "name": "Romanian Leu",
                      "value": "RON"
                    },
                    {
                      "name": "Rufiyaa",
                      "value": "MVR"
                    },
                    {
                      "name": "Rupiah",
                      "value": "IDR"
                    },
                    {
                      "name": "Russian Ruble",
                      "value": "RUB"
                    },
                    {
                      "name": "Saudi Riyal",
                      "value": "SAR"
                    },
                    {
                      "name": "Seychelles Rupee",
                      "value": "SCR"
                    },
                    {
                      "name": "Singapore Dollar",
                      "value": "SGD"
                    },
                    {
                      "name": "Sol",
                      "value": "PEN"
                    },
                    {
                      "name": "Solomon Islands Dollar",
                      "value": "SBD"
                    },
                    {
                      "name": "Sri Lanka Rupee",
                      "value": "LKR"
                    },
                    {
                      "name": "Swedish Krona",
                      "value": "SEK"
                    },
                    {
                      "name": "Swiss Franc",
                      "value": "CHF"
                    },
                    {
                      "name": "Syrian Pound",
                      "value": "SYP"
                    },
                    {
                      "name": "Taka",
                      "value": "BDT"
                    },
                    {
                      "name": "Tala",
                      "value": "WST"
                    },
                    {
                      "name": "Tenge",
                      "value": "KZT"
                    },
                    {
                      "name": "Trinidad and Tobago Dollar",
                      "value": "TTD"
                    },
                    {
                      "name": "Turkish Lira",
                      "value": "TRY"
                    },
                    {
                      "name": "UAE Dirham",
                      "value": "AED"
                    },
                    {
                      "name": "US Dollar",
                      "value": "USD"
                    },
                    {
                      "name": "Vatu",
                      "value": "VUV"
                    },
                    {
                      "name": "West African CFA Franc",
                      "value": "XOF"
                    },
                    {
                      "name": "Won",
                      "value": "KRW"
                    },
                    {
                      "name": "Yemeni Rial",
                      "value": "YER"
                    },
                    {
                      "name": "Yen",
                      "value": "JPY"
                    },
                    {
                      "name": "Yuan Renminbi",
                      "value": "CNY"
                    },
                    {
                      "name": "Zloty",
                      "value": "PLN"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Expected Close Date",
          "name": "expected_close_date",
          "type": "dateTime",
          "default": "",
          "description": "Date when the lead’s deal is expected to be closed, in ISO-8601 format"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Content",
      "name": "content",
      "type": "string",
      "default": "",
      "description": "The content of the note to create",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "note"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Note ID",
      "name": "noteId",
      "type": "number",
      "default": 0,
      "description": "ID of the note to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Note ID",
      "name": "noteId",
      "type": "number",
      "default": 0,
      "description": "ID of the note to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Note ID",
      "name": "noteId",
      "type": "number",
      "default": 0,
      "description": "ID of the note to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Content",
          "name": "content",
          "typeOptions": {
            "rows": 5
          },
          "type": "string",
          "default": "",
          "description": "The content of the note"
        },
        {
          "displayName": "Deal ID",
          "name": "deal_id",
          "type": "number",
          "default": 0,
          "description": "ID of the deal this note will be associated with"
        },
        {
          "displayName": "Lead ID",
          "name": "lead_id",
          "type": "number",
          "default": 0,
          "description": "ID of the lead this note will be associated with"
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizationIds"
          },
          "default": "",
          "description": "ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Person ID",
          "name": "person_id",
          "type": "number",
          "default": 0,
          "description": "ID of the person this note will be associated with"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the organization to create",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "placeholder": "Add Custom Property",
          "description": "Adds a custom property to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Property",
              "values": [
                {
                  "displayName": "Property Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the property to set"
                },
                {
                  "displayName": "Property Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the property to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Label Name or ID",
          "name": "label",
          "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": "getOrganizationLabels"
          },
          "default": ""
        },
        {
          "displayName": "Visible To",
          "name": "visible_to",
          "type": "options",
          "options": [
            {
              "name": "Owner & Followers (Private)",
              "value": "1"
            },
            {
              "name": "Entire Company (Shared)",
              "value": "3"
            }
          ],
          "default": "3",
          "description": "Visibility of the person. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Organization ID",
      "name": "organizationId",
      "type": "number",
      "default": 0,
      "description": "ID of the organization to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Organization ID",
      "name": "organizationId",
      "type": "number",
      "default": 0,
      "description": "ID of the organization to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Term",
      "name": "term",
      "type": "string",
      "default": "",
      "description": "The search term to look for. Minimum 2 characters (or 1 if using exact_match).",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exact Match",
          "name": "exactMatch",
          "type": "boolean",
          "default": false,
          "description": "Whether only full exact matches against the given term are returned. It is not case sensitive."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "multiOptions",
          "default": [],
          "description": "Fields to the search in. Defaults to all of them.",
          "options": [
            {
              "name": "Address",
              "value": "address"
            },
            {
              "name": "Custom Fields",
              "value": "custom_fields"
            },
            {
              "name": "Name",
              "value": "name"
            },
            {
              "name": "Notes",
              "value": "notes"
            }
          ]
        },
        {
          "displayName": "RAW Data",
          "name": "rawData",
          "type": "boolean",
          "default": false,
          "description": "Whether to return the data exactly in the way it got received from the API"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Organization ID",
      "name": "organizationId",
      "type": "number",
      "default": "",
      "description": "The ID of the organization to create",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "placeholder": "Add Custom Property",
          "description": "Adds a custom property to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Property",
              "values": [
                {
                  "displayName": "Property Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the property to set"
                },
                {
                  "displayName": "Property Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the property to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Label Name or ID",
          "name": "label",
          "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": "getOrganizationLabels"
          },
          "default": ""
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Organization name"
        },
        {
          "displayName": "Owner ID",
          "name": "owner_id",
          "type": "number",
          "default": 0,
          "description": "The ID of the user who will be marked as the owner of this Organization. When omitted, the authorized User ID will be used."
        },
        {
          "displayName": "Visible To",
          "name": "visible_to",
          "type": "options",
          "options": [
            {
              "name": "Owner & Followers (Private)",
              "value": "1"
            },
            {
              "name": "Entire Company (Shared)",
              "value": "3"
            }
          ],
          "default": "3",
          "description": "Visibility of the person. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the person to create",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "placeholder": "Add Custom Property",
          "description": "Adds a custom property to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Property",
              "values": [
                {
                  "displayName": "Property Name or ID",
                  "name": "name",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getPersonCustomFields"
                  },
                  "default": "",
                  "description": "Name of the custom field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Property Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the property to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "typeOptions": {
            "multipleValues": true
          },
          "default": "",
          "description": "Email of the person"
        },
        {
          "displayName": "Label Name or ID",
          "name": "label",
          "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": "getPersonLabels"
          },
          "default": ""
        },
        {
          "displayName": "Marketing Status",
          "name": "marketing_status",
          "type": "options",
          "options": [
            {
              "name": "No Consent",
              "value": "no_consent"
            },
            {
              "name": "Unsubscribed",
              "value": "unsubscribed"
            },
            {
              "name": "Subscribed",
              "value": "subscribed"
            },
            {
              "name": "Archived",
              "value": "archived"
            }
          ],
          "default": "subscribed",
          "description": "Please be aware that it is only allowed once to change the marketing status from an old status to a new one"
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizationIds"
          },
          "default": "",
          "description": "ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "default": "",
          "description": "Phone number of the person"
        },
        {
          "displayName": "Visible To",
          "name": "visible_to",
          "type": "options",
          "options": [
            {
              "name": "Owner & Followers (Private)",
              "value": "1"
            },
            {
              "name": "Entire Company (Shared)",
              "value": "3"
            }
          ],
          "default": "3",
          "description": "Visibility of the person. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user."
        },
        {
          "displayName": "User Name or ID",
          "name": "owner_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "ID of the User this deal will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "number",
      "default": 0,
      "description": "ID of the person to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "number",
      "default": 0,
      "description": "ID of the person to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "number",
      "default": 0,
      "description": "ID of the person to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "description": "The fields to update",
      "options": [
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "placeholder": "Add Custom Property",
          "description": "Adds a custom property to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Property",
              "values": [
                {
                  "displayName": "Property Name or ID",
                  "name": "name",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getPersonCustomFields"
                  },
                  "default": "",
                  "description": "Name of the custom field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Property Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the property to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "typeOptions": {
            "multipleValues": true
          },
          "default": "",
          "description": "Email of the person"
        },
        {
          "displayName": "Label Name or ID",
          "name": "label",
          "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": "getPersonLabels"
          },
          "default": ""
        },
        {
          "displayName": "Marketing Status",
          "name": "marketing_status",
          "type": "options",
          "options": [
            {
              "name": "No Consent",
              "value": "no_consent"
            },
            {
              "name": "Unsubscribed",
              "value": "unsubscribed"
            },
            {
              "name": "Subscribed",
              "value": "subscribed"
            },
            {
              "name": "Archived",
              "value": "archived"
            }
          ],
          "default": "subscribed",
          "description": "Please be aware that it is only allowed once to change the marketing status from an old status to a new one"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The name of the person"
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizationIds"
          },
          "default": "",
          "description": "ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "typeOptions": {
            "multipleValues": true
          },
          "default": "",
          "description": "Phone number of the person"
        },
        {
          "displayName": "User Name or ID",
          "name": "owner_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "ID of the User this person will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Visible To",
          "name": "visible_to",
          "type": "options",
          "options": [
            {
              "name": "Owner & Followers (Private)",
              "value": "1"
            },
            {
              "name": "Entire Company (Shared)",
              "value": "3"
            }
          ],
          "default": "3",
          "description": "Visibility of the deal. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Resolve Properties",
      "name": "resolveProperties",
      "type": "boolean",
      "default": false,
      "description": "By default do custom properties get returned only as ID instead of their actual name. Also option fields contain only the ID instead of their actual value. If this option gets set they get automatically resolved.",
      "displayOptions": {
        "show": {
          "resource": [
            "activity",
            "deal",
            "organization",
            "person",
            "product"
          ],
          "operation": [
            "get",
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Encode Properties",
      "name": "encodeProperties",
      "type": "boolean",
      "default": false,
      "description": "By default do custom properties have to be set as ID instead of their actual name. Also option fields have to be set as ID instead of their actual value. If this option gets set they get automatically encoded.",
      "displayOptions": {
        "show": {
          "resource": [
            "activity",
            "deal",
            "organization",
            "person",
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Deal Name or ID",
      "name": "dealId",
      "type": "options",
      "default": "",
      "description": "The ID of the deal whose activity to retrieve. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "dealActivity"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getDeals"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Done",
          "name": "done",
          "type": "boolean",
          "default": false,
          "description": "Whether the activity is done or not"
        },
        {
          "displayName": "Exclude Activity IDs",
          "name": "exclude",
          "type": "string",
          "default": "",
          "description": "A comma-separated Activity IDs, to exclude from result. Ex. 4, 9, 11, ..."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "dealActivity"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Archived Status",
          "name": "archived_status",
          "type": "options",
          "default": "all",
          "options": [
            {
              "name": "Archived",
              "value": "archived"
            },
            {
              "name": "All",
              "value": "all"
            },
            {
              "name": "Not Archived",
              "value": "not_archived"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "lead"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "First Char",
          "name": "firstChar",
          "type": "string",
          "default": "",
          "description": "If supplied, only organizations whose name starts with the specified letter will be returned"
        },
        {
          "displayName": "Predefined Filter Name or ID",
          "name": "filterId",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getFilters"
          },
          "default": "",
          "description": "ID of the filter to use. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "organization"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Predefined Filter Name or ID",
          "name": "filterId",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getFilters"
          },
          "default": "",
          "description": "ID of the filter to use. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "First Char",
          "name": "firstChar",
          "type": "string",
          "default": "",
          "description": "If supplied, only persons whose name starts with the specified letter will be returned"
        },
        {
          "displayName": "Sort",
          "name": "sort",
          "type": "string",
          "default": "",
          "description": "The field names and sorting mode separated by a comma (field_name_1 ASC, field_name_2 DESC). Only first-level field keys are supported (no nested keys)."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Term",
      "name": "term",
      "type": "string",
      "default": "",
      "description": "The search term to look for. Minimum 2 characters (or 1 if using exact_match).",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "resource": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Exact Match",
          "name": "exactMatch",
          "type": "boolean",
          "default": false,
          "description": "Whether only full exact matches against the given term are returned. It is not case sensitive."
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "default": "",
          "description": "A comma-separated string array. The fields to perform the search from. Defaults to all of them."
        },
        {
          "displayName": "Include Fields",
          "name": "includeFields",
          "type": "string",
          "default": "",
          "description": "Supports including optional fields in the results which are not provided by default"
        },
        {
          "displayName": "Organization ID",
          "name": "organizationId",
          "type": "string",
          "default": "",
          "description": "Will filter Deals by the provided Organization ID"
        },
        {
          "displayName": "RAW Data",
          "name": "rawData",
          "type": "boolean",
          "default": false,
          "description": "Whether to return the data exactly in the way it got received from the API"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "search"
          ],
          "resource": [
            "person"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Deal ID",
          "name": "deal_id",
          "type": "number",
          "default": 0,
          "description": "ID of the deal this note will be associated with"
        },
        {
          "displayName": "Lead ID",
          "name": "lead_id",
          "type": "number",
          "default": 0,
          "description": "ID of the lead this note will be associated with"
        },
        {
          "displayName": "Organization Name or ID",
          "name": "org_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizationIds"
          },
          "default": "",
          "description": "ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Person ID",
          "name": "person_id",
          "type": "number",
          "default": 0,
          "description": "ID of the person this note will be associated with"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create",
            "getAll"
          ],
          "resource": [
            "note"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Done",
          "name": "done",
          "type": "boolean",
          "default": false,
          "description": "Whether the Activity is done or not. 0 = Not done, 1 = Done. If omitted returns both Done and Not done activities."
        },
        {
          "displayName": "End Date",
          "name": "end_date",
          "type": "dateTime",
          "default": "",
          "description": "Use the Activity due date where you wish to stop fetching Activities from. Insert due date in YYYY-MM-DD format."
        },
        {
          "displayName": "Predefined Filter Name or ID",
          "name": "filterId",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getFilters"
          },
          "default": "",
          "description": "The ID of the Filter to use (will narrow down results if used together with user_id parameter). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Star Date",
          "name": "start_date",
          "type": "dateTime",
          "default": "",
          "description": "Use the Activity due date where you wish to begin fetching Activities from. Insert due date in YYYY-MM-DD format."
        },
        {
          "displayName": "Type Names or IDs",
          "name": "type",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getActivityTypes"
          },
          "default": [],
          "description": "Type of the Activity. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "User Name or ID",
          "name": "user_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "The ID of the User whose Activities will be fetched. If omitted, the User associated with the API token will be used. If 0, Activities for all company Users will be fetched based on the permission sets. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "activity"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Predefined Filter Name or ID",
          "name": "filter_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getFilters"
          },
          "default": "",
          "description": "Predefined filter to apply to the deals to retrieve. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Stage Name or ID",
          "name": "stage_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getStageIds"
          },
          "default": "",
          "description": "ID of the stage to filter deals by. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "All Not Deleted",
              "value": "all_not_deleted"
            },
            {
              "name": "Deleted",
              "value": "deleted"
            },
            {
              "name": "Lost",
              "value": "lost"
            },
            {
              "name": "Open",
              "value": "open"
            },
            {
              "name": "Won",
              "value": "won"
            }
          ],
          "default": "all_not_deleted",
          "description": "Status to filter deals by. Defaults to <code>all_not_deleted</code>"
        },
        {
          "displayName": "User Name or ID",
          "name": "user_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getUserIds"
          },
          "default": "",
          "description": "ID of the user to filter deals by. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an activity"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an activity"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get data of an activity"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get data of many activities"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an activity"
    }
  ]

credentials_required:
  [
    {
      "name": "pipedriveApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "apiToken"
          ]
        }
      },
      "testedBy": {
        "request": {
          "method": "GET",
          "url": "/users/me"
        }
      }
    },
    {
      "name": "pipedriveOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    }
  ]


node_type: nodes-base.pipedriveTrigger
package_name: n8n-nodes-base
display_name: Pipedrive Trigger
description: Starts the workflow when Pipedrive events occur
category: trigger
development_style: programmatic
version: 1.1
outputs:
  [
  "main"
  ]

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

  # Pipedrive Trigger node

  [Pipedrive](https://www.pipedrive.com/){:target=_blank .external-link} is a cloud-based sales software company that aims to improve the productivity of businesses through the use of their software.

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "apiToken",
      "options": [
        {
          "name": "API Token",
          "value": "apiToken"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Incoming Authentication",
      "name": "incomingAuthentication",
      "type": "options",
      "default": "none",
      "description": "If authentication should be activated for the webhook (makes it more secure)",
      "options": [
        {
          "name": "Basic Auth",
          "value": "basicAuth"
        },
        {
          "name": "None",
          "value": "none"
        }
      ]
    },
    {
      "displayName": "Action",
      "name": "action",
      "type": "options",
      "default": "*",
      "description": "Type of action to receive notifications about",
      "options": [
        {
          "name": "Added",
          "value": "added",
          "description": "Data got added",
          "action": "Data was added"
        },
        {
          "name": "All",
          "value": "*",
          "description": "Any change",
          "action": "Any change"
        },
        {
          "name": "Deleted",
          "value": "deleted",
          "description": "Data got deleted",
          "action": "Data was deleted"
        },
        {
          "name": "Merged",
          "value": "merged",
          "description": "Data got merged",
          "action": "Data was merged"
        },
        {
          "name": "Updated",
          "value": "updated",
          "description": "Data got updated",
          "action": "Data was updated"
        }
      ],
      "displayOptions": {
        "hide": {
          "@version": [
            {
              "_cnd": {
                "gte": 1.1
              }
            }
          ]
        }
      }
    },
    {
      "displayName": "Action",
      "name": "action",
      "type": "options",
      "default": "*",
      "description": "Type of action to receive notifications about",
      "options": [
        {
          "name": "All",
          "value": "*",
          "description": "Any change",
          "action": "Any change"
        },
        {
          "name": "Create",
          "value": "create",
          "description": "Data got added",
          "action": "Data was added"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Data got deleted",
          "action": "Data was deleted"
        },
        {
          "name": "Change",
          "value": "change",
          "description": "Data got changed",
          "action": "Data was changed"
        }
      ],
      "displayOptions": {
        "hide": {
          "@version": [
            {
              "_cnd": {
                "lte": 1
              }
            }
          ]
        }
      }
    },
    {
      "displayName": "Entity",
      "name": "entity",
      "type": "options",
      "default": "*",
      "description": "Type of object to receive notifications about",
      "options": [
        {
          "name": "Activity",
          "value": "activity"
        },
        {
          "name": "Activity Type",
          "value": "activityType"
        },
        {
          "name": "All",
          "value": "*"
        },
        {
          "name": "Deal",
          "value": "deal"
        },
        {
          "name": "Note",
          "value": "note"
        },
        {
          "name": "Organization",
          "value": "organization"
        },
        {
          "name": "Person",
          "value": "person"
        },
        {
          "name": "Pipeline",
          "value": "pipeline"
        },
        {
          "name": "Product",
          "value": "product"
        },
        {
          "name": "Stage",
          "value": "stage"
        },
        {
          "name": "User",
          "value": "user"
        }
      ],
      "displayOptions": {
        "hide": {
          "@version": [
            {
              "_cnd": {
                "lte": 1
              }
            }
          ]
        }
      }
    },
    {
      "displayName": "Object",
      "name": "object",
      "type": "options",
      "default": "*",
      "description": "Type of object to receive notifications about",
      "options": [
        {
          "name": "Activity",
          "value": "activity"
        },
        {
          "name": "Activity Type",
          "value": "activityType"
        },
        {
          "name": "All",
          "value": "*"
        },
        {
          "name": "Deal",
          "value": "deal"
        },
        {
          "name": "Note",
          "value": "note"
        },
        {
          "name": "Organization",
          "value": "organization"
        },
        {
          "name": "Person",
          "value": "person"
        },
        {
          "name": "Pipeline",
          "value": "pipeline"
        },
        {
          "name": "Product",
          "value": "product"
        },
        {
          "name": "Stage",
          "value": "stage"
        },
        {
          "name": "User",
          "value": "user"
        }
      ],
      "displayOptions": {
        "hide": {
          "@version": [
            {
              "_cnd": {
                "gte": 1.1
              }
            }
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "added",
      "name": "Added",
      "description": "Data got added"
    },
    {
      "operation": "*",
      "name": "All",
      "description": "Any change"
    },
    {
      "operation": "deleted",
      "name": "Deleted",
      "description": "Data got deleted"
    },
    {
      "operation": "merged",
      "name": "Merged",
      "description": "Data got merged"
    },
    {
      "operation": "updated",
      "name": "Updated",
      "description": "Data got updated"
    }
  ]

credentials_required:
  [
    {
      "name": "pipedriveApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "apiToken"
          ]
        }
      }
    },
    {
      "name": "pipedriveOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    },
    {
      "name": "httpBasicAuth",
      "required": true,
      "displayOptions": {
        "show": {
          "incomingAuthentication": [
            "basicAuth"
          ]
        }
      }
    }
  ]


node_type: nodes-base.plivo
package_name: n8n-nodes-base
display_name: Plivo
description: Send SMS/MMS messages or make phone calls
category: transform
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "send",
  "name": "Send",
  "description": "Send an SMS message"
  }
  ]

credentials_required:
  [
  {
  "name": "plivoApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # Plivo node

  Use the Plivo node to automate work in Plivo, and integrate Plivo with other applications. n8n has built-in support for a wide range of Plivo features, including making calls, and sending SMS/MMS. 

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

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

  ## Operations

  * Call
      * Make a voice call
  * MMS
      * Send an MMS message (US/Canada only)
  * SMS
      * Send an SMS message.

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "sms",
      "options": [
        {
          "name": "Call",
          "value": "call"
        },
        {
          "name": "MMS",
          "value": "mms"
        },
        {
          "name": "SMS",
          "value": "sms"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Send an SMS message",
          "action": "Send an SMS"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "sms"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "From",
      "name": "from",
      "type": "string",
      "default": "",
      "description": "Plivo Number to send the SMS from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "sms"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "to",
      "type": "string",
      "default": "",
      "description": "Phone number to send the message to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "sms"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "Message to send",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Send an MMS message (US/Canada only)",
          "action": "Send an MMS"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "mms"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "From",
      "name": "from",
      "type": "string",
      "default": "",
      "description": "Plivo Number to send the MMS from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "mms"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "to",
      "type": "string",
      "default": "",
      "description": "Phone number to send the MMS to",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "mms"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "Message to send",
      "displayOptions": {
        "show": {
          "resource": [
            "mms"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Media URLs",
      "name": "media_urls",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of media URLs of the files from your file server",
      "displayOptions": {
        "show": {
          "resource": [
            "mms"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "make",
      "options": [
        {
          "name": "Make",
          "value": "make",
          "description": "Make a voice call",
          "action": "Make a call"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "call"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "From",
      "name": "from",
      "type": "string",
      "default": "",
      "description": "Caller ID for the call to make",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "call"
          ],
          "operation": [
            "make"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "to",
      "type": "string",
      "default": "",
      "description": "Phone number to make the call to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "call"
          ],
          "operation": [
            "make"
          ]
        }
      }
    },
    {
      "displayName": "Answer Method",
      "name": "answer_method",
      "type": "options",
      "default": "POST",
      "description": "HTTP verb to be used when invoking the Answer URL",
      "options": [
        {
          "name": "GET",
          "value": "GET"
        },
        {
          "name": "POST",
          "value": "POST"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "call"
          ],
          "operation": [
            "make"
          ]
        }
      }
    },
    {
      "displayName": "Answer URL",
      "name": "answer_url",
      "type": "string",
      "default": "",
      "description": "URL to be invoked by Plivo once the call is answered. It should return the XML to handle the call once answered.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "call"
          ],
          "operation": [
            "make"
          ]
        }
      }
    }
  ]


node_type: nodes-base.postBin
package_name: n8n-nodes-base
display_name: PostBin
description: Consume PostBin API
category: transform
development_style: programmatic
version: 1
credentials_required: []
outputs:
  [
  "main"
  ]

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

  # PostBin node

  PostBin is a service that helps you test API clients and webhooks. Use the PostBin node to automate work in PostBin, and integrate PostBin with other applications. n8n has built-in support for a wide range of PostBin features, including creating and deleting bins, and getting and sending requests. 

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

  ## Operations

  * Bin
  	* Create
  	* Get
  	* Delete
  * Request
  	* Get
  	* Remove First
  	* Send

  ## Templates and examples

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

  ## Send requests

  To send requests to a PostBin bin:

  1. Go to [PostBin](https://www.toptal.com/developers/postbin/){:target=_blank .external-link} and follow the steps to generate a new bin. PostBin gives you a unique URL, including a bin ID.
  2. In the PostBin node, select the **Request** resource.
  3. Choose the type of **Operation** you want to perform.
  4. Enter your bin ID in **Bin ID**.

  ## Create and manage bins

  You can create and manage PostBin bins using the PostBin node. 

  1. In **Resource**, select **Bin**.
  2. Choose an **Operation**. You can create, delete, or get a bin.

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "bin",
      "options": [
        {
          "name": "Bin",
          "value": "bin"
        },
        {
          "name": "Request",
          "value": "request"
        }
      ],
      "required": true,
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create bin",
          "routing": {
            "request": {
              "method": "POST",
              "url": "/api/bin"
            },
            "output": {
              "postReceive": [
                null
              ]
            }
          },
          "action": "Create a bin"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a bin",
          "routing": {
            "request": {
              "method": "GET"
            },
            "output": {
              "postReceive": [
                null
              ]
            },
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "action": "Get a bin"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a bin",
          "routing": {
            "request": {
              "method": "DELETE"
            },
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "action": "Delete a bin"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "bin"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Bin ID",
      "name": "binId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for each bin",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "bin"
          ],
          "operation": [
            "get",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a request",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/api/bin/{{$parameter[\"binId\"]}}/req/{{$parameter[\"requestId\"]}}"
            },
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "action": "Get a request"
        },
        {
          "name": "Remove First",
          "value": "removeFirst",
          "description": "Remove the first request from bin",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/api/bin/{{$parameter[\"binId\"]}}/req/shift"
            },
            "send": {
              "preSend": [
                null
              ]
            }
          },
          "action": "Remove First a request"
        },
        {
          "name": "Send",
          "value": "send",
          "description": "Send a test request to the bin",
          "routing": {
            "request": {
              "method": "POST"
            },
            "send": {
              "preSend": [
                null
              ]
            },
            "output": {
              "postReceive": [
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"requestId\": $response.body } }}"
                  }
                }
              ]
            }
          },
          "action": "Send a request"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "request"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Bin ID",
      "name": "binId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for each bin",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "request"
          ],
          "operation": [
            "get",
            "removeFirst",
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Bin Content",
      "name": "binContent",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "request"
          ],
          "operation": [
            "send"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Request ID",
      "name": "requestId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for each request",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "request"
          ],
          "operation": [
            "get"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create bin"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a bin"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a bin"
    }
  ]


node_type: nodes-base.postgres
package_name: n8n-nodes-base
display_name: Postgres
description: Get, add and update data in Postgres
category: input
development_style: programmatic
version: 2.6
credentials_required:
  [
  {
  "name": "postgres",
  "required": true,
  "testedBy": "postgresConnectionTest"
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-11-25 17:45:48
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Postgres node documentation
  description: Learn how to use the Postgres node in n8n. Follow technical documentation to integrate Postgres node into your workflows.
  contentType: [integration, reference]
  priority: critical
  ---

  # Postgres node

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

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

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

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

  ## Operations

  * [**Delete**](#delete): Delete an entire table or rows in a table
  * [**Execute Query**](#execute-query): Execute an SQL query
  * [**Insert**](#insert): Insert rows in a table
  * [**Insert or Update**](#insert-or-update): Insert or update rows in a table
  * [**Select**](#select): Select rows from a table
  * [**Update**](#update): Update rows in a table

  ### Delete

  Use this operation to delete an entire table or rows in a table.

  Enter these parameters:

  - **Credential to connect with**: Create or select an existing [Postgres credential](/integrations/builtin/credentials/postgres.md).
  - **Operation**: Select **Delete**.
  - **Schema**: Choose the schema that contains the table you want to work on. Select **From list** to choose the schema from the dropdown list or **By Name** to enter the schema name.
  - **Table**: Choose the table that you want to work on. Select **From list** to choose the table from the dropdown list or **By Name** to enter the table name.
  - **Command**: The deletion action to take:
  	- **Truncate**: Removes the table's data but preserves the table's structure.
  		- **Restart Sequences**: Whether to reset auto increment columns to their initial values as part of the Truncate process.
  	- **Delete**: Delete the rows that match the "Select Rows" condition. If you don't select anything, Postgres deletes all rows.
  		- **Select Rows**: Define a **Column**, **Operator**, and **Value** to match rows on.
  		- **Combine Conditions**: How to combine the conditions in "Select Rows". **AND** requires all conditions to be true, while **OR** requires at least one condition to be true.
  	- **Drop**: Deletes the table's data and structure permanently.

  #### Delete options

  - **Cascade**: Whether to also drop all objects that depend on the table, like views and sequences. Available if using **Truncate** or **Drop** commands.
  - **Connection Timeout**: The number of seconds to try to connect to the database.
  - **Delay Closing Idle Connection**: The number of seconds to wait before considering idle connections eligible for closing.
  - **Query Batching**: The way to send queries to the database:
  	- **Single Query**: A single query for all incoming items.
  	- **Independently**: Execute one query per incoming item of the execution.
  	- **Transaction**: Execute all queries in a transaction. If a failure occurs, Postgres rolls back all changes.
  - **Output Large-Format Numbers As**: The format to output `NUMERIC` and `BIGINT` columns as:
  	- **Numbers**: Use this for standard numbers.
  	- **Text**: Use this if you expect numbers longer than 16 digits. Without this, numbers may be incorrect.

  ### Execute Query

  Use this operation to execute an SQL query.

  Enter these parameters:

  - **Credential to connect with**: Create or select an existing [Postgres credential](/integrations/builtin/credentials/postgres.md).
  - **Operation**: Select **Execute Query**.
  - **Query**: The SQL query to execute. You can use n8n [expressions](/code/expressions.md) and tokens like `$1`, `$2`, and `$3` to build [prepared statements](https://www.postgresql.org/docs/current/sql-prepare.html) to use with [query parameters](#use-query-parameters).

  #### Execute Query options

  - **Connection Timeout**: The number of seconds to try to connect to the database.
  - **Delay Closing Idle Connection**: The number of seconds to wait before considering idle connections eligible for closing.
  - **Query Batching**: The way to send queries to the database:
  	- **Single Query**: A single query for all incoming items.
  	- **Independently**: Execute one query per incoming item of the execution.
  	- **Transaction**: Execute all queries in a transaction. If a failure occurs, Postgres rolls back all changes.
  - **Query Parameters**: A comma-separated list of values that you want to use as [query parameters](#use-query-parameters).
  - **Output Large-Format Numbers As**: The format to output `NUMERIC` and `BIGINT` columns as:
  	- **Numbers**: Use this for standard numbers.
  	- **Text**: Use this if you expect numbers longer than 16 digits. Without this, numbers may be incorrect.
  - **Replace Empty Strings with NULL**: Whether to replace empty strings with NULL in input. This may be useful when working with data exported from spreadsheet software.

  ### Insert

  Use this operation to insert rows in a table.

  Enter these parameters:

  - **Credential to connect with**: Create or select an existing [Postgres credential](/integrations/builtin/credentials/postgres.md).
  - **Operation**: Select **Insert**.
  - **Schema**: Choose the schema that contains the table you want to work on. Select **From list** to choose the schema from the dropdown list or **By Name** to enter the schema name.
  - **Table**: Choose the table that you want to work on. Select **From list** to choose the table from the dropdown list or **By Name** to enter the table name.
  - **Mapping Column Mode**: How to map column names to incoming data:
  	- **Map Each Column Manually**: Select the values to use for each column.
  	- **Map Automatically**: Automatically map incoming data to matching column names in Postgres. The incoming data field names must match the column names in Postgres for this to work. If necessary, consider using the [edit fields (set) node](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/) before this node to adjust the format as needed.

  #### Insert options

  - **Connection Timeout**: The number of seconds to try to connect to the database.
  - **Delay Closing Idle Connection**: The number of seconds to wait before considering idle connections eligible for closing.
  - **Query Batching**: The way to send queries to the database:
  	- **Single Query**: A single query for all incoming items.
  	- **Independently**: Execute one query per incoming item of the execution.
  	- **Transaction**: Execute all queries in a transaction. If a failure occurs, Postgres rolls back all changes.
  - **Output Columns**: Choose which columns to output. You can select from a list of available columns or specify IDs using [expressions](/code/expressions.md).
  - **Output Large-Format Numbers As**: The format to output `NUMERIC` and `BIGINT` columns as:
  	- **Numbers**: Use this for standard numbers.
  	- **Text**: Use this if you expect numbers longer than 16 digits. Without this, numbers may be incorrect.
  - **Skip on Conflict**: Whether to skip the row if the insert violates a unique or exclusion constraint instead of throwing an error.
  - **Replace Empty Strings with NULL**: Whether to replace empty strings with NULL in input. This may be useful when working with data exported from spreadsheet software.

  ### Insert or Update

  Use this operation to insert or update rows in a table.

  Enter these parameters:

  - **Credential to connect with**: Create or select an existing [Postgres credential](/integrations/builtin/credentials/postgres.md).
  - **Operation**: Select **Insert or Update**.
  - **Schema**: Choose the schema that contains the table you want to work on. Select **From list** to choose the schema from the dropdown list or **By Name** to enter the schema name.
  - **Table**: Choose the table that you want to work on. Select **From list** to choose the table from the dropdown list or **By Name** to enter the table name.
  - **Mapping Column Mode**: How to map column names to incoming data:
  	- **Map Each Column Manually**: Select the values to use for each column.
  	- **Map Automatically**: Automatically map incoming data to matching column names in Postgres. The incoming data field names must match the column names in Postgres for this to work. If necessary, consider using the [edit fields (set) node](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/) before this node to adjust the format as needed.

  #### Insert or Update options

  - **Connection Timeout**: The number of seconds to try to connect to the database.
  - **Delay Closing Idle Connection**: The number of seconds to wait before considering idle connections eligible for closing.
  - **Query Batching**: The way to send queries to the database:
  	- **Single Query**: A single query for all incoming items.
  	- **Independently**: Execute one query per incoming item of the execution.
  	- **Transaction**: Execute all queries in a transaction. If a failure occurs, Postgres rolls back all changes.
  - **Output Columns**: Choose which columns to output. You can select from a list of available columns or specify IDs using [expressions](/code/expressions.md).
  - **Output Large-Format Numbers As**: The format to output `NUMERIC` and `BIGINT` columns as:
  	- **Numbers**: Use this for standard numbers.
  	- **Text**: Use this if you expect numbers longer than 16 digits. Without this, numbers may be incorrect.
  - **Replace Empty Strings with NULL**: Whether to replace empty strings with NULL in input. This may be useful when working with data exported from spreadsheet software.

  ### Select

  Use this operation to select rows in a table.

  Enter these parameters:

  - **Credential to connect with**: Create or select an existing [Postgres credential](/integrations/builtin/credentials/postgres.md).
  - **Operation**: Select **Select**.
  - **Schema**: Choose the schema that contains the table you want to work on. Select **From list** to choose the schema from the dropdown list or **By Name** to enter the schema name.
  - **Table**: Choose the table that you want to work on. Select **From list** to choose the table from the dropdown list or **By Name** to enter the table name.
  - **Return All**: Whether to return all results or only up to a given limit.
  - **Limit**: The maximum number of items to return when **Return All** is disabled.
  - **Select Rows**: Set the conditions to select rows. Define a **Column**, **Operator**, and **Value** to match rows on. If you don't select anything, Postgres selects all rows.
  - **Combine Conditions**: How to combine the conditions in **Select Rows**. **AND** requires all conditions to be true, while **OR** requires at least one condition to be true.
  - **Sort**: Choose how to sort the selected rows. Choose a **Column** from a list or by ID and a sort **Direction**.

  #### Select options

  - **Connection Timeout**: The number of seconds to try to connect to the database.
  - **Delay Closing Idle Connection**: The number of seconds to wait before considering idle connections eligible for closing.
  - **Query Batching**: The way to send queries to the database:
  	- **Single Query**: A single query for all incoming items.
  	- **Independently**: Execute one query per incoming item of the execution.
  	- **Transaction**: Execute all queries in a transaction. If a failure occurs, Postgres rolls back all changes.
  - **Output Columns**: Choose which columns to output. You can select from a list of available columns or specify IDs using [expressions](/code/expressions.md).
  - **Output Large-Format Numbers As**: The format to output `NUMERIC` and `BIGINT` columns as:
  	- **Numbers**: Use this for standard numbers.
  	- **Text**: Use this if you expect numbers longer than 16 digits. Without this, numbers may be incorrect.

  ### Update

  Use this operation to update rows in a table.

  Enter these parameters:

  - **Credential to connect with**: Create or select an existing [Postgres credential](/integrations/builtin/credentials/postgres.md).
  - **Operation**: Select **Update**.
  - **Schema**: Choose the schema that contains the table you want to work on. Select **From list** to choose the schema from the dropdown list or **By Name** to enter the schema name.
  - **Table**: Choose the table that you want to work on. Select **From list** to choose the table from the dropdown list or **By Name** to enter the table name.
  - **Mapping Column Mode**: How to map column names to incoming data:
  	- **Map Each Column Manually**: Select the values to use for each column.
  	- **Map Automatically**: Automatically map incoming data to matching column names in Postgres. The incoming data field names must match the column names in Postgres for this to work. If necessary, consider using the [edit fields (set) node](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/) before this node to adjust the format as needed.

  #### Update options

  - **Connection Timeout**: The number of seconds to try to connect to the database.
  - **Delay Closing Idle Connection**: The number of seconds to wait before considering idle connections eligible for closing.
  - **Query Batching**: The way to send queries to the database:
  	- **Single Query**: A single query for all incoming items.
  	- **Independently**: Execute one query per incoming item of the execution.
  	- **Transaction**: Execute all queries in a transaction. If a failure occurs, Postgres rolls back all changes.
  - **Output Columns**: Choose which columns to output. You can select from a list of available columns or specify IDs using [expressions](/code/expressions.md).
  - **Output Large-Format Numbers As**: The format to output `NUMERIC` and `BIGINT` columns as:
  	- **Numbers**: Use this for standard numbers.
  	- **Text**: Use this if you expect numbers longer than 16 digits. Without this, numbers may be incorrect.
  - **Replace Empty Strings with NULL**: Whether to replace empty strings with NULL in input. This may be useful when working with data exported from spreadsheet software.

  ## Templates and examples

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

  ## Related resources

  n8n provides a trigger node for Postgres. You can find the trigger node docs [here](/integrations/builtin/trigger-nodes/n8n-nodes-base.postgrestrigger.md).

  ## Use query parameters

  When creating a query to run on a Postgres database, you can use the **Query Parameters** field in the **Options** section to load data into the query. n8n sanitizes data in query parameters, which prevents SQL injection.

  For example, you want to find a person by their email address. Given the following input data:

  ```js
  [
      {
          "email": "alex@example.com",
          "name": "Alex",
          "age": 21 
      },
      {
          "email": "jamie@example.com",
          "name": "Jamie",
          "age": 33 
      }
  ]
  ```

  You can write a query like:

  ```sql
  SELECT * FROM $1:name WHERE email = $2;
  ```

  Then in **Query Parameters**, provide the field values to use. You can provide fixed values or expressions. For this example, use expressions so the node can pull the email address from each input item in turn:

  ```js
  // users is an example table name
  {{ [ 'users', $json.email ] }} 
  ```

  ## Common issues

  For common questions or issues and suggested solutions, refer to [Common issues](/integrations/builtin/app-nodes/n8n-nodes-base.postgres/common-issues.md).

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "hidden",
      "default": "database",
      "options": [
        {
          "name": "Database",
          "value": "database"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "insert",
      "options": [
        {
          "name": "Delete",
          "value": "deleteTable",
          "description": "Delete an entire table or rows in a table",
          "action": "Delete table or rows"
        },
        {
          "name": "Execute Query",
          "value": "executeQuery",
          "description": "Execute an SQL query",
          "action": "Execute a SQL query"
        },
        {
          "name": "Insert",
          "value": "insert",
          "description": "Insert rows in a table",
          "action": "Insert rows in a table"
        },
        {
          "name": "Insert or Update",
          "value": "upsert",
          "description": "Insert or update rows in a table",
          "action": "Insert or update rows in a table"
        },
        {
          "name": "Select",
          "value": "select",
          "description": "Select rows from a table",
          "action": "Select rows from a table"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update rows in a table",
          "action": "Update rows in a table"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Schema",
      "name": "schema",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": "public"
      },
      "description": "The schema that contains the table you want to work on",
      "required": true,
      "displayOptions": {
        "hide": {
          "operation": [
            "executeQuery"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "schemaSearch"
          }
        },
        {
          "displayName": "By Name",
          "name": "name",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The table you want to work on",
      "required": true,
      "displayOptions": {
        "hide": {
          "operation": [
            "executeQuery"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "tableSearch"
          }
        },
        {
          "displayName": "By Name",
          "name": "name",
          "type": "string"
        }
      ]
    },
    {
      "displayName": "Command",
      "name": "deleteCommand",
      "type": "options",
      "default": "truncate",
      "options": [
        {
          "name": "Truncate",
          "value": "truncate",
          "description": "Only removes the table's data and preserves the table's structure"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."
        },
        {
          "name": "Drop",
          "value": "drop",
          "description": "Deletes the table's data and also the table's structure permanently"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Restart Sequences",
      "name": "restartSequences",
      "type": "boolean",
      "default": false,
      "description": "Whether to reset identity (auto-increment) columns to their initial values",
      "displayOptions": {
        "show": {
          "deleteCommand": [
            "truncate"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Select Rows",
      "name": "where",
      "type": "fixedCollection",
      "default": {},
      "description": "If not set, all rows will be selected",
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "default": "",
              "placeholder": "e.g. ID",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              }
            },
            {
              "displayName": "Operator",
              "name": "condition",
              "type": "options",
              "description": "The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.",
              "options": [
                {
                  "name": "Equal",
                  "value": "equal"
                },
                {
                  "name": "Not Equal",
                  "value": "!="
                },
                {
                  "name": "Like",
                  "value": "LIKE"
                },
                {
                  "name": "Greater Than",
                  "value": ">"
                },
                {
                  "name": "Less Than",
                  "value": "<"
                },
                {
                  "name": "Greater Than Or Equal",
                  "value": ">="
                },
                {
                  "name": "Less Than Or Equal",
                  "value": "<="
                },
                {
                  "name": "Is Null",
                  "value": "IS NULL"
                },
                {
                  "name": "Is Not Null",
                  "value": "IS NOT NULL"
                }
              ],
              "default": "equal"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "displayOptions": {
                "hide": {
                  "condition": [
                    "IS NULL",
                    "IS NOT NULL"
                  ]
                }
              },
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "deleteCommand": [
            "delete"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Combine Conditions",
      "name": "combineConditions",
      "type": "options",
      "default": "AND",
      "description": "How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true",
      "options": [
        {
          "name": "AND",
          "value": "AND",
          "description": "Only rows that meet all the conditions are selected"
        },
        {
          "name": "OR",
          "value": "OR",
          "description": "Rows that meet at least one condition are selected"
        }
      ],
      "displayOptions": {
        "show": {
          "deleteCommand": [
            "delete"
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Cascade",
          "name": "cascade",
          "type": "boolean",
          "default": false,
          "description": "Whether to drop all objects that depend on the table, such as views and sequences",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            },
            "hide": {
              "/deleteCommand": [
                "delete"
              ]
            }
          }
        },
        {
          "displayName": "Connection Timeout",
          "name": "connectionTimeout",
          "type": "number",
          "default": 30,
          "description": "Number of seconds reserved for connecting to the database"
        },
        {
          "displayName": "Delay Closing Idle Connection",
          "name": "delayClosingIdleConnection",
          "type": "number",
          "default": 0,
          "description": "Number of seconds to wait before idle connection would be eligible for closing",
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Query Batching",
          "name": "queryBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Query",
              "value": "single",
              "description": "A single query for all incoming items"
            },
            {
              "name": "Independent",
              "value": "independently",
              "description": "Execute one query per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all queries in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Query Parameters",
          "name": "queryReplacement",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.",
          "hint": "Comma-separated list of values: reference them in your query as $1, $2, $3…",
          "placeholder": "e.g. value1,value2,value3",
          "displayOptions": {
            "show": {
              "/operation": [
                "executeQuery"
              ]
            }
          }
        },
        {
          "displayName": "Treat query parameters in single quotes as text",
          "name": "treatQueryParametersInSingleQuotesAsText",
          "type": "boolean",
          "default": false,
          "description": "Whether to treat query parameters enclosed in single quotes as text e.g. '$1'",
          "displayOptions": {
            "show": {
              "queryReplacement": [
                {
                  "_cnd": {
                    "exists": true
                  }
                }
              ]
            }
          }
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "select",
                "insert",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Large-Format Numbers As",
          "name": "largeNumbersOutput",
          "type": "options",
          "options": [
            {
              "name": "Numbers",
              "value": "numbers"
            },
            {
              "name": "Text",
              "value": "text",
              "description": "Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"
            }
          ],
          "hint": "Applies to NUMERIC and BIGINT columns only",
          "default": "text"
        },
        {
          "displayName": "Skip on Conflict",
          "name": "skipOnConflict",
          "type": "boolean",
          "default": false,
          "description": "Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert"
              ]
            }
          }
        },
        {
          "displayName": "Replace Empty Strings with NULL",
          "name": "replaceEmptyStrings",
          "type": "boolean",
          "default": false,
          "description": "Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "update",
                "upsert",
                "executeQuery"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "deleteTable"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "executeQuery"
          ]
        }
      },
      "typeOptions": {
        "editor": "sqlEditor",
        "sqlDialect": "PostgreSQL"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Cascade",
          "name": "cascade",
          "type": "boolean",
          "default": false,
          "description": "Whether to drop all objects that depend on the table, such as views and sequences",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            },
            "hide": {
              "/deleteCommand": [
                "delete"
              ]
            }
          }
        },
        {
          "displayName": "Connection Timeout",
          "name": "connectionTimeout",
          "type": "number",
          "default": 30,
          "description": "Number of seconds reserved for connecting to the database"
        },
        {
          "displayName": "Delay Closing Idle Connection",
          "name": "delayClosingIdleConnection",
          "type": "number",
          "default": 0,
          "description": "Number of seconds to wait before idle connection would be eligible for closing",
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Query Batching",
          "name": "queryBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Query",
              "value": "single",
              "description": "A single query for all incoming items"
            },
            {
              "name": "Independent",
              "value": "independently",
              "description": "Execute one query per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all queries in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Query Parameters",
          "name": "queryReplacement",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.",
          "hint": "Comma-separated list of values: reference them in your query as $1, $2, $3…",
          "placeholder": "e.g. value1,value2,value3",
          "displayOptions": {
            "show": {
              "/operation": [
                "executeQuery"
              ]
            }
          }
        },
        {
          "displayName": "Treat query parameters in single quotes as text",
          "name": "treatQueryParametersInSingleQuotesAsText",
          "type": "boolean",
          "default": false,
          "description": "Whether to treat query parameters enclosed in single quotes as text e.g. '$1'",
          "displayOptions": {
            "show": {
              "queryReplacement": [
                {
                  "_cnd": {
                    "exists": true
                  }
                }
              ]
            }
          }
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "select",
                "insert",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Large-Format Numbers As",
          "name": "largeNumbersOutput",
          "type": "options",
          "options": [
            {
              "name": "Numbers",
              "value": "numbers"
            },
            {
              "name": "Text",
              "value": "text",
              "description": "Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"
            }
          ],
          "hint": "Applies to NUMERIC and BIGINT columns only",
          "default": "text"
        },
        {
          "displayName": "Skip on Conflict",
          "name": "skipOnConflict",
          "type": "boolean",
          "default": false,
          "description": "Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert"
              ]
            }
          }
        },
        {
          "displayName": "Replace Empty Strings with NULL",
          "name": "replaceEmptyStrings",
          "type": "boolean",
          "default": false,
          "description": "Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "update",
                "upsert",
                "executeQuery"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "executeQuery"
          ]
        }
      }
    },
    {
      "displayName": "Data Mode",
      "name": "dataMode",
      "type": "options",
      "default": "autoMapInputData",
      "description": "Whether to map node input properties and the table data automatically or manually",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "autoMapInputData",
          "description": "Use when node input properties names exactly match the table column names"
        },
        {
          "name": "Map Each Column Manually",
          "value": "defineBelow",
          "description": "Set the value for each destination column manually"
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use an 'Edit Fields' node before this node to change the field names.\n\t\t",
      "name": "notice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "dataMode": [
            "autoMapInputData"
          ],
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Values to Send",
      "name": "valuesToSend",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              },
              "default": []
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "dataMode": [
            "defineBelow"
          ],
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValueButtonText": "Add Value",
        "multipleValues": true
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "gte": 2.2
              }
            }
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "operation"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "add",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Cascade",
          "name": "cascade",
          "type": "boolean",
          "default": false,
          "description": "Whether to drop all objects that depend on the table, such as views and sequences",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            },
            "hide": {
              "/deleteCommand": [
                "delete"
              ]
            }
          }
        },
        {
          "displayName": "Connection Timeout",
          "name": "connectionTimeout",
          "type": "number",
          "default": 30,
          "description": "Number of seconds reserved for connecting to the database"
        },
        {
          "displayName": "Delay Closing Idle Connection",
          "name": "delayClosingIdleConnection",
          "type": "number",
          "default": 0,
          "description": "Number of seconds to wait before idle connection would be eligible for closing",
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Query Batching",
          "name": "queryBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Query",
              "value": "single",
              "description": "A single query for all incoming items"
            },
            {
              "name": "Independent",
              "value": "independently",
              "description": "Execute one query per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all queries in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Query Parameters",
          "name": "queryReplacement",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.",
          "hint": "Comma-separated list of values: reference them in your query as $1, $2, $3…",
          "placeholder": "e.g. value1,value2,value3",
          "displayOptions": {
            "show": {
              "/operation": [
                "executeQuery"
              ]
            }
          }
        },
        {
          "displayName": "Treat query parameters in single quotes as text",
          "name": "treatQueryParametersInSingleQuotesAsText",
          "type": "boolean",
          "default": false,
          "description": "Whether to treat query parameters enclosed in single quotes as text e.g. '$1'",
          "displayOptions": {
            "show": {
              "queryReplacement": [
                {
                  "_cnd": {
                    "exists": true
                  }
                }
              ]
            }
          }
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "select",
                "insert",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Large-Format Numbers As",
          "name": "largeNumbersOutput",
          "type": "options",
          "options": [
            {
              "name": "Numbers",
              "value": "numbers"
            },
            {
              "name": "Text",
              "value": "text",
              "description": "Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"
            }
          ],
          "hint": "Applies to NUMERIC and BIGINT columns only",
          "default": "text"
        },
        {
          "displayName": "Skip on Conflict",
          "name": "skipOnConflict",
          "type": "boolean",
          "default": false,
          "description": "Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert"
              ]
            }
          }
        },
        {
          "displayName": "Replace Empty Strings with NULL",
          "name": "replaceEmptyStrings",
          "type": "boolean",
          "default": false,
          "description": "Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "update",
                "upsert",
                "executeQuery"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "insert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "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": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Select Rows",
      "name": "where",
      "type": "fixedCollection",
      "default": {},
      "description": "If not set, all rows will be selected",
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "default": "",
              "placeholder": "e.g. ID",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              }
            },
            {
              "displayName": "Operator",
              "name": "condition",
              "type": "options",
              "description": "The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.",
              "options": [
                {
                  "name": "Equal",
                  "value": "equal"
                },
                {
                  "name": "Not Equal",
                  "value": "!="
                },
                {
                  "name": "Like",
                  "value": "LIKE"
                },
                {
                  "name": "Greater Than",
                  "value": ">"
                },
                {
                  "name": "Less Than",
                  "value": "<"
                },
                {
                  "name": "Greater Than Or Equal",
                  "value": ">="
                },
                {
                  "name": "Less Than Or Equal",
                  "value": "<="
                },
                {
                  "name": "Is Null",
                  "value": "IS NULL"
                },
                {
                  "name": "Is Not Null",
                  "value": "IS NOT NULL"
                }
              ],
              "default": "equal"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "displayOptions": {
                "hide": {
                  "condition": [
                    "IS NULL",
                    "IS NOT NULL"
                  ]
                }
              },
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Combine Conditions",
      "name": "combineConditions",
      "type": "options",
      "default": "AND",
      "description": "How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true",
      "options": [
        {
          "name": "AND",
          "value": "AND",
          "description": "Only rows that meet all the conditions are selected"
        },
        {
          "name": "OR",
          "value": "OR",
          "description": "Rows that meet at least one condition are selected"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "default": "",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              }
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "ASC",
                  "value": "ASC"
                },
                {
                  "name": "DESC",
                  "value": "DESC"
                }
              ],
              "default": "ASC"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Cascade",
          "name": "cascade",
          "type": "boolean",
          "default": false,
          "description": "Whether to drop all objects that depend on the table, such as views and sequences",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            },
            "hide": {
              "/deleteCommand": [
                "delete"
              ]
            }
          }
        },
        {
          "displayName": "Connection Timeout",
          "name": "connectionTimeout",
          "type": "number",
          "default": 30,
          "description": "Number of seconds reserved for connecting to the database"
        },
        {
          "displayName": "Delay Closing Idle Connection",
          "name": "delayClosingIdleConnection",
          "type": "number",
          "default": 0,
          "description": "Number of seconds to wait before idle connection would be eligible for closing",
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Query Batching",
          "name": "queryBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Query",
              "value": "single",
              "description": "A single query for all incoming items"
            },
            {
              "name": "Independent",
              "value": "independently",
              "description": "Execute one query per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all queries in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Query Parameters",
          "name": "queryReplacement",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.",
          "hint": "Comma-separated list of values: reference them in your query as $1, $2, $3…",
          "placeholder": "e.g. value1,value2,value3",
          "displayOptions": {
            "show": {
              "/operation": [
                "executeQuery"
              ]
            }
          }
        },
        {
          "displayName": "Treat query parameters in single quotes as text",
          "name": "treatQueryParametersInSingleQuotesAsText",
          "type": "boolean",
          "default": false,
          "description": "Whether to treat query parameters enclosed in single quotes as text e.g. '$1'",
          "displayOptions": {
            "show": {
              "queryReplacement": [
                {
                  "_cnd": {
                    "exists": true
                  }
                }
              ]
            }
          }
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "select",
                "insert",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Large-Format Numbers As",
          "name": "largeNumbersOutput",
          "type": "options",
          "options": [
            {
              "name": "Numbers",
              "value": "numbers"
            },
            {
              "name": "Text",
              "value": "text",
              "description": "Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"
            }
          ],
          "hint": "Applies to NUMERIC and BIGINT columns only",
          "default": "text"
        },
        {
          "displayName": "Skip on Conflict",
          "name": "skipOnConflict",
          "type": "boolean",
          "default": false,
          "description": "Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert"
              ]
            }
          }
        },
        {
          "displayName": "Replace Empty Strings with NULL",
          "name": "replaceEmptyStrings",
          "type": "boolean",
          "default": false,
          "description": "Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "update",
                "upsert",
                "executeQuery"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "select"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Data Mode",
      "name": "dataMode",
      "type": "options",
      "default": "autoMapInputData",
      "description": "Whether to map node input properties and the table data automatically or manually",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "autoMapInputData",
          "description": "Use when node input properties names exactly match the table column names"
        },
        {
          "name": "Map Each Column Manually",
          "value": "defineBelow",
          "description": "Set the value for each destination column manually"
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use an 'Edit Fields' node before this node to change the field names.\n\t\t",
      "name": "notice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "dataMode": [
            "autoMapInputData"
          ],
          "@version": [
            2
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Column to Match On",
      "name": "columnToMatchOn",
      "type": "options",
      "default": "",
      "description": "The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getColumns",
        "loadOptionsDependsOn": [
          "schema.value",
          "table.value"
        ]
      }
    },
    {
      "displayName": "Value of Column to Match On",
      "name": "valueToMatchOn",
      "type": "string",
      "default": "",
      "description": "Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated",
      "displayOptions": {
        "show": {
          "dataMode": [
            "defineBelow"
          ],
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Values to Send",
      "name": "valuesToSend",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "typeOptions": {
                "loadOptionsMethod": "getColumnsWithoutColumnToMatchOn",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              },
              "default": []
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "dataMode": [
            "defineBelow"
          ],
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValueButtonText": "Add Value",
        "multipleValues": true
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "gte": 2.2
              }
            }
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "operation"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "update",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Cascade",
          "name": "cascade",
          "type": "boolean",
          "default": false,
          "description": "Whether to drop all objects that depend on the table, such as views and sequences",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            },
            "hide": {
              "/deleteCommand": [
                "delete"
              ]
            }
          }
        },
        {
          "displayName": "Connection Timeout",
          "name": "connectionTimeout",
          "type": "number",
          "default": 30,
          "description": "Number of seconds reserved for connecting to the database"
        },
        {
          "displayName": "Delay Closing Idle Connection",
          "name": "delayClosingIdleConnection",
          "type": "number",
          "default": 0,
          "description": "Number of seconds to wait before idle connection would be eligible for closing",
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Query Batching",
          "name": "queryBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Query",
              "value": "single",
              "description": "A single query for all incoming items"
            },
            {
              "name": "Independent",
              "value": "independently",
              "description": "Execute one query per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all queries in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Query Parameters",
          "name": "queryReplacement",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.",
          "hint": "Comma-separated list of values: reference them in your query as $1, $2, $3…",
          "placeholder": "e.g. value1,value2,value3",
          "displayOptions": {
            "show": {
              "/operation": [
                "executeQuery"
              ]
            }
          }
        },
        {
          "displayName": "Treat query parameters in single quotes as text",
          "name": "treatQueryParametersInSingleQuotesAsText",
          "type": "boolean",
          "default": false,
          "description": "Whether to treat query parameters enclosed in single quotes as text e.g. '$1'",
          "displayOptions": {
            "show": {
              "queryReplacement": [
                {
                  "_cnd": {
                    "exists": true
                  }
                }
              ]
            }
          }
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "select",
                "insert",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Large-Format Numbers As",
          "name": "largeNumbersOutput",
          "type": "options",
          "options": [
            {
              "name": "Numbers",
              "value": "numbers"
            },
            {
              "name": "Text",
              "value": "text",
              "description": "Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"
            }
          ],
          "hint": "Applies to NUMERIC and BIGINT columns only",
          "default": "text"
        },
        {
          "displayName": "Skip on Conflict",
          "name": "skipOnConflict",
          "type": "boolean",
          "default": false,
          "description": "Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert"
              ]
            }
          }
        },
        {
          "displayName": "Replace Empty Strings with NULL",
          "name": "replaceEmptyStrings",
          "type": "boolean",
          "default": false,
          "description": "Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "update",
                "upsert",
                "executeQuery"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "update"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Data Mode",
      "name": "dataMode",
      "type": "options",
      "default": "autoMapInputData",
      "description": "Whether to map node input properties and the table data automatically or manually",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "autoMapInputData",
          "description": "Use when node input properties names exactly match the table column names"
        },
        {
          "name": "Map Each Column Manually",
          "value": "defineBelow",
          "description": "Set the value for each destination column manually"
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use an 'Edit Fields' node before this node to change the field names.\n\t\t",
      "name": "notice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "dataMode": [
            "autoMapInputData"
          ],
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Unique Column",
      "name": "columnToMatchOn",
      "type": "options",
      "default": "",
      "description": "The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getColumns",
        "loadOptionsDependsOn": [
          "schema.value",
          "table.value"
        ]
      }
    },
    {
      "displayName": "Value of Unique Column",
      "name": "valueToMatchOn",
      "type": "string",
      "default": "",
      "description": "Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.",
      "displayOptions": {
        "show": {
          "dataMode": [
            "defineBelow"
          ],
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    },
    {
      "displayName": "Values to Send",
      "name": "valuesToSend",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Column",
              "name": "column",
              "type": "options",
              "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
              "typeOptions": {
                "loadOptionsMethod": "getColumnsWithoutColumnToMatchOn",
                "loadOptionsDependsOn": [
                  "schema.value",
                  "table.value"
                ]
              },
              "default": []
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "dataMode": [
            "defineBelow"
          ],
          "@version": [
            2,
            2.1
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "multipleValueButtonText": "Add Value",
        "multipleValues": true
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "gte": 2.2
              }
            }
          ],
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "operation"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getMappingColumns",
          "mode": "upsert",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Cascade",
          "name": "cascade",
          "type": "boolean",
          "default": false,
          "description": "Whether to drop all objects that depend on the table, such as views and sequences",
          "displayOptions": {
            "show": {
              "/operation": [
                "deleteTable"
              ]
            },
            "hide": {
              "/deleteCommand": [
                "delete"
              ]
            }
          }
        },
        {
          "displayName": "Connection Timeout",
          "name": "connectionTimeout",
          "type": "number",
          "default": 30,
          "description": "Number of seconds reserved for connecting to the database"
        },
        {
          "displayName": "Delay Closing Idle Connection",
          "name": "delayClosingIdleConnection",
          "type": "number",
          "default": 0,
          "description": "Number of seconds to wait before idle connection would be eligible for closing",
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Query Batching",
          "name": "queryBatching",
          "type": "options",
          "noDataExpression": true,
          "options": [
            {
              "name": "Single Query",
              "value": "single",
              "description": "A single query for all incoming items"
            },
            {
              "name": "Independent",
              "value": "independently",
              "description": "Execute one query per incoming item of the run"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Execute all queries in a transaction, if a failure occurs, all changes are rolled back"
            }
          ],
          "default": "single",
          "description": "The way queries should be sent to the database"
        },
        {
          "displayName": "Query Parameters",
          "name": "queryReplacement",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.",
          "hint": "Comma-separated list of values: reference them in your query as $1, $2, $3…",
          "placeholder": "e.g. value1,value2,value3",
          "displayOptions": {
            "show": {
              "/operation": [
                "executeQuery"
              ]
            }
          }
        },
        {
          "displayName": "Treat query parameters in single quotes as text",
          "name": "treatQueryParametersInSingleQuotesAsText",
          "type": "boolean",
          "default": false,
          "description": "Whether to treat query parameters enclosed in single quotes as text e.g. '$1'",
          "displayOptions": {
            "show": {
              "queryReplacement": [
                {
                  "_cnd": {
                    "exists": true
                  }
                }
              ]
            }
          }
        },
        {
          "displayName": "Output Columns",
          "name": "outputColumns",
          "type": "multiOptions",
          "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\" target=\"_blank\">expression</a>",
          "typeOptions": {
            "loadOptionsMethod": "getColumnsMultiOptions",
            "loadOptionsDependsOn": [
              "table.value"
            ]
          },
          "default": [],
          "displayOptions": {
            "show": {
              "/operation": [
                "select",
                "insert",
                "update",
                "upsert"
              ]
            }
          }
        },
        {
          "displayName": "Output Large-Format Numbers As",
          "name": "largeNumbersOutput",
          "type": "options",
          "options": [
            {
              "name": "Numbers",
              "value": "numbers"
            },
            {
              "name": "Text",
              "value": "text",
              "description": "Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"
            }
          ],
          "hint": "Applies to NUMERIC and BIGINT columns only",
          "default": "text"
        },
        {
          "displayName": "Skip on Conflict",
          "name": "skipOnConflict",
          "type": "boolean",
          "default": false,
          "description": "Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert"
              ]
            }
          }
        },
        {
          "displayName": "Replace Empty Strings with NULL",
          "name": "replaceEmptyStrings",
          "type": "boolean",
          "default": false,
          "description": "Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet",
          "displayOptions": {
            "show": {
              "/operation": [
                "insert",
                "update",
                "upsert",
                "executeQuery"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "database"
          ],
          "operation": [
            "upsert"
          ]
        },
        "hide": {
          "table": [
            ""
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "deleteTable",
      "name": "Delete",
      "description": "Delete an entire table or rows in a table"
    },
    {
      "operation": "executeQuery",
      "name": "Execute Query",
      "description": "Execute an SQL query"
    },
    {
      "operation": "insert",
      "name": "Insert",
      "description": "Insert rows in a table"
    },
    {
      "operation": "upsert",
      "name": "Insert or Update",
      "description": "Insert or update rows in a table"
    },
    {
      "operation": "select",
      "name": "Select",
      "description": "Select rows from a table"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update rows in a table"
    }
  ]


node_type: nodes-base.postgresTrigger
package_name: n8n-nodes-base
display_name: Postgres Trigger
description: Listens to Postgres messages
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "postgres",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # Postgres Trigger node

  Use the Postgres Trigger node to respond to events in [Postgres](https://www.postgresql.org/){:target=_blank .external-link} and integrate Postgres with other applications. n8n has built-in support responding to insert, update, and delete events.

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

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

  ## Events

  You can configure how the node listens for events.

  * Select **Listen and Create Trigger Rule**, then choose the events to listen for:
  	* Insert
  	* Update
  	* Delete
  * Select **Listen to Channel**, then enter a channel name that the node should monitor.

  ## Related resources

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

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

properties_schema:
  [
    {
      "displayName": "Listen For",
      "name": "triggerMode",
      "type": "options",
      "default": "createTrigger",
      "options": [
        {
          "name": "Table Row Change Events",
          "value": "createTrigger",
          "description": "Insert, update or delete"
        },
        {
          "name": "Advanced",
          "value": "listenTrigger",
          "description": "Listen to existing Postgres channel"
        }
      ]
    },
    {
      "displayName": "Schema Name",
      "name": "schema",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": "public"
      },
      "required": true,
      "displayOptions": {
        "show": {
          "triggerMode": [
            "createTrigger"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a schema",
          "typeOptions": {
            "searchListMethod": "searchSchema",
            "searchFilterRequired": false
          }
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "placeholder": "e.g. public"
        }
      ]
    },
    {
      "displayName": "Table Name",
      "name": "tableName",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "triggerMode": [
            "createTrigger"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a table",
          "typeOptions": {
            "searchListMethod": "searchTables",
            "searchFilterRequired": false
          }
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "placeholder": "e.g. table_name"
        }
      ]
    },
    {
      "displayName": "Channel Name",
      "name": "channelName",
      "type": "string",
      "default": "",
      "description": "Name of the channel to listen to",
      "required": true,
      "displayOptions": {
        "show": {
          "triggerMode": [
            "listenTrigger"
          ]
        }
      }
    },
    {
      "displayName": "Event to listen for",
      "name": "firesOn",
      "type": "options",
      "default": "INSERT",
      "options": [
        {
          "name": "Insert",
          "value": "INSERT"
        },
        {
          "name": "Update",
          "value": "UPDATE"
        },
        {
          "name": "Delete",
          "value": "DELETE"
        }
      ],
      "displayOptions": {
        "show": {
          "triggerMode": [
            "createTrigger"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Channel Name",
          "name": "channelName",
          "type": "string",
          "placeholder": "e.g. n8n_channel",
          "description": "Name of the channel to listen to",
          "default": ""
        },
        {
          "displayName": "Function Name",
          "name": "functionName",
          "type": "string",
          "description": "Name of the function to create",
          "placeholder": "e.g. n8n_trigger_function()",
          "default": ""
        },
        {
          "displayName": "Replace if Exists",
          "name": "replaceIfExists",
          "type": "boolean",
          "description": "Whether to replace an existing function and trigger with the same name",
          "default": false
        },
        {
          "displayName": "Trigger Name",
          "name": "triggerName",
          "type": "string",
          "description": "Name of the trigger to create",
          "placeholder": "e.g. n8n_trigger",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "triggerMode": [
            "createTrigger"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Connection Timeout",
          "name": "connectionTimeout",
          "type": "number",
          "default": 30,
          "description": "Number of seconds reserved for connecting to the database"
        },
        {
          "displayName": "Delay Closing Idle Connection",
          "name": "delayClosingIdleConnection",
          "type": "number",
          "default": 0,
          "description": "Number of seconds to wait before idle connection would be eligible for closing",
          "typeOptions": {
            "minValue": 0
          }
        }
      ]
    }
  ]


node_type: nodes-base.postHog
package_name: n8n-nodes-base
display_name: PostHog
description: Consume PostHog API
category: input
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "create",
  "name": "Create",
  "description": "Create an alias"
  }
  ]

credentials_required:
  [
  {
  "name": "postHogApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # PostHog node

  Use the PostHog node to automate work in PostHog, and integrate PostHog with other applications. n8n has built-in support for a wide range of PostHog features, including creating aliases, events, and identity, as well as tracking pages.

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

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

  ## Operations

  * Alias
      * Create an alias
  * Event
      * Create an event
  * Identity
      * Create
  * Track
      * Track a page
      * Track a screen

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "event",
      "options": [
        {
          "name": "Alias",
          "value": "alias"
        },
        {
          "name": "Event",
          "value": "event"
        },
        {
          "name": "Identity",
          "value": "identity"
        },
        {
          "name": "Track",
          "value": "track"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an alias",
          "action": "Create an alias"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alias"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Alias",
      "name": "alias",
      "type": "string",
      "default": "",
      "description": "The name of the alias",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alias"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Distinct ID",
      "name": "distinctId",
      "type": "string",
      "default": "",
      "description": "The user's distinct ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "alias"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Context",
          "name": "contextUi",
          "type": "fixedCollection",
          "placeholder": "Add Property",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Context",
              "name": "contextValues",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Timestamp",
          "name": "timestamp",
          "type": "dateTime",
          "default": "",
          "description": "If not set, it'll automatically be set to the current time"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alias"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an event",
          "action": "Create an event"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Event",
      "name": "eventName",
      "type": "string",
      "default": "",
      "description": "The name of the event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Distinct ID",
      "name": "distinctId",
      "type": "string",
      "default": "",
      "description": "The user's distinct ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Properties",
          "name": "propertiesUi",
          "type": "fixedCollection",
          "placeholder": "Add Property",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Property",
              "name": "propertyValues",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Timestamp",
          "name": "timestamp",
          "type": "dateTime",
          "default": "",
          "description": "If not set, it'll automatically be set to the current time"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an identity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "identity"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Distinct ID",
      "name": "distinctId",
      "type": "string",
      "default": "",
      "description": "The identity's distinct ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "identity"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Properties",
          "name": "propertiesUi",
          "type": "fixedCollection",
          "placeholder": "Add Property",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Property",
              "name": "propertyValues",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Message ID",
          "name": "messageId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Timestamp",
          "name": "timestamp",
          "type": "dateTime",
          "default": "",
          "description": "If not set, it'll automatically be set to the current time"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "identity"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "page",
      "options": [
        {
          "name": "Page",
          "value": "page",
          "description": "Track a page",
          "action": "Track a page"
        },
        {
          "name": "Screen",
          "value": "screen",
          "description": "Track a screen",
          "action": "Track a screen"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "page",
            "screen"
          ]
        }
      }
    },
    {
      "displayName": "Distinct ID",
      "name": "distinctId",
      "type": "string",
      "default": "",
      "description": "The user's distinct ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "page",
            "screen"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Category",
          "name": "category",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Context",
          "name": "contextUi",
          "type": "fixedCollection",
          "placeholder": "Add Property",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Context",
              "name": "contextValues",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Message ID",
          "name": "messageId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Properties",
          "name": "propertiesUi",
          "type": "fixedCollection",
          "placeholder": "Add Property",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Property",
              "name": "propertyValues",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Timestamp",
          "name": "timestamp",
          "type": "dateTime",
          "default": "",
          "description": "If not set, it'll automatically be set to the current time"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "page",
            "screen"
          ]
        }
      }
    }
  ]


node_type: nodes-base.postmarkTrigger
package_name: n8n-nodes-base
display_name: Postmark Trigger
description: Starts the workflow when Postmark events occur
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "postmarkApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # Postmark Trigger node

  [Postmark](https://postmarkapp.com){:target=_blank .external-link} helps deliver and track application email. You can track statistics such as the number of emails sent or processed, opens, bounces and, spam complaints.

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

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

properties_schema:
  [
    {
      "displayName": "Events",
      "name": "events",
      "type": "multiOptions",
      "default": [],
      "description": "Webhook events that will be enabled for that endpoint",
      "options": [
        {
          "name": "Bounce",
          "value": "bounce",
          "description": "Trigger on bounce"
        },
        {
          "name": "Click",
          "value": "click",
          "description": "Trigger on click"
        },
        {
          "name": "Delivery",
          "value": "delivery",
          "description": "Trigger on delivery"
        },
        {
          "name": "Open",
          "value": "open",
          "description": "Trigger webhook on open"
        },
        {
          "name": "Spam Complaint",
          "value": "spamComplaint",
          "description": "Trigger on spam complaint"
        },
        {
          "name": "Subscription Change",
          "value": "subscriptionChange",
          "description": "Trigger on subscription change"
        }
      ],
      "required": true
    },
    {
      "displayName": "First Open",
      "name": "firstOpen",
      "type": "boolean",
      "default": false,
      "description": "Only fires on first open for event \"Open\"",
      "displayOptions": {
        "show": {
          "events": [
            "open"
          ]
        }
      }
    },
    {
      "displayName": "Include Content",
      "name": "includeContent",
      "type": "boolean",
      "default": false,
      "description": "Whether to include message content for events \"Bounce\" and \"Spam Complaint\"",
      "displayOptions": {
        "show": {
          "events": [
            "bounce",
            "spamComplaint"
          ]
        }
      }
    }
  ]


node_type: nodes-base.profitWell
package_name: n8n-nodes-base
display_name: ProfitWell
description: Consume ProfitWell API
category: output
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "profitWellApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # ProfitWell node

  Use the ProfitWell node to automate work in ProfitWell, and integrate ProfitWell with other applications. n8n supports getting your company's account settings and retrieving financial metrics from ProfitWell.

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

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

  ## Operations

  * Company
      * Get your company's ProfitWell account settings
  * Metric
      * Retrieve financial metric broken down by day for either the current month or the last

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "metric",
      "options": [
        {
          "name": "Company",
          "value": "company"
        },
        {
          "name": "Metric",
          "value": "metric"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getSetting",
      "options": [
        {
          "name": "Get Settings",
          "value": "getSetting",
          "description": "Get your company's ProfitWell account settings",
          "action": "Get settings for your company"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve financial metric broken down by day for either the current month or the last",
          "action": "Get a metric"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "metric"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "options",
      "default": "",
      "options": [
        {
          "name": "Daily",
          "value": "daily",
          "description": "Retrieve financial metric broken down by day for either the current month or the last"
        },
        {
          "name": "Monthly",
          "value": "monthly",
          "description": "Retrieve all monthly financial metric for your company"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "metric"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Month",
      "name": "month",
      "type": "string",
      "default": "",
      "description": "Can only be the current or previous month. Format should be YYYY-MM.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "metric"
          ],
          "operation": [
            "get"
          ],
          "type": [
            "daily"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "metric"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Plan Name or ID",
          "name": "plan_id",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getPlanIds"
          },
          "default": "",
          "description": "Only return the metric for this Plan ID. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Metrics",
          "name": "dailyMetrics",
          "type": "multiOptions",
          "displayOptions": {
            "show": {
              "/type": [
                "daily"
              ]
            }
          },
          "options": [
            {
              "name": "Active Customers",
              "value": "active_customers",
              "description": "Number of paying customers"
            },
            {
              "name": "Churned Customers",
              "value": "churned_customers",
              "description": "Number of paying customers who churned"
            },
            {
              "name": "Churned Recurring Revenue",
              "value": "churned_recurring_revenue",
              "description": "MRR lost to churn (voluntary and delinquent)"
            },
            {
              "name": "Cumulative Net New MRR",
              "value": "cumulative_net_new_mrr",
              "description": "New + Upgrades - Downgrades - Churn MRR, cumulative for the month up through the given day"
            },
            {
              "name": "Cumulative New Trialing Customers",
              "value": "cumulative_new_trialing_customers",
              "description": "Number of new trialing customers, cumulative for the month up through the given day"
            },
            {
              "name": "Downgraded Customers",
              "value": "downgraded_customers",
              "description": "Number of existing customers who net downgraded"
            },
            {
              "name": "Downgraded Recurring Revenue",
              "value": "downgraded_recurring_revenue",
              "description": "How much downgrades and plan length decreases affect your MRR"
            },
            {
              "name": "Future Churn MRR",
              "value": "future_churn_mrr",
              "description": "MRR that will be lost when users who are currently cancelled actually churn"
            },
            {
              "name": "New Customers",
              "value": "new_customers",
              "description": "Number of new, paying customers you have"
            },
            {
              "name": "New Recurring Revenue",
              "value": "new_recurring_revenue",
              "description": "MRR from new users"
            },
            {
              "name": "Reactivated Customers",
              "value": "reactivated_customers",
              "description": "Number of customers who have reactivated"
            },
            {
              "name": "Reactivated Recurring Revenue",
              "value": "reactivated_recurring_revenue",
              "description": "How much MRR comes from reactivated customers"
            },
            {
              "name": "Recurring Revenue",
              "value": "recurring_revenue",
              "description": "Your company's MRR"
            },
            {
              "name": "Upgraded Customers",
              "value": "upgraded_customers",
              "description": "Number of existing customers who net upgraded"
            },
            {
              "name": "Upgraded Recurring Revenue",
              "value": "upgraded_recurring_revenue",
              "description": "How much upgrades and plan length increases affect your MRR"
            }
          ],
          "default": [],
          "description": "Comma-separated list of metric trends to return (the default is to return all metric)"
        },
        {
          "displayName": "Metrics",
          "name": "monthlyMetrics",
          "type": "multiOptions",
          "displayOptions": {
            "show": {
              "/type": [
                "monthly"
              ]
            }
          },
          "options": [
            {
              "name": "Active Customers",
              "value": "active_customers",
              "description": "Number of paying customers"
            },
            {
              "name": "Active Trialing Customers",
              "value": "active_trialing_customers",
              "description": "Number of trialing customers"
            },
            {
              "name": "Average Revenue Per User",
              "value": "average_revenue_per_user",
              "description": "ARPU"
            },
            {
              "name": "Churned Customers",
              "value": "churned_customers",
              "description": "Number of paying customers who churned"
            },
            {
              "name": "Churned Customers Cancellations",
              "value": "churned_customers_cancellations",
              "description": "Number of customers who churned by cancelling their subscription(s)"
            },
            {
              "name": "Churned Customers Delinquent",
              "value": "churned_customers_delinquent",
              "description": "Number of customers who churned because they failed to pay you"
            },
            {
              "name": "Churned Recurring Revenue",
              "value": "churned_recurring_revenue",
              "description": "Revenue lost to churn (voluntary and delinquent)"
            },
            {
              "name": "Churned Recurring Revenue Cancellations",
              "value": "churned_recurring_revenue_cancellations",
              "description": "Revenue lost to customers who churned by cancelling their subscription(s)"
            },
            {
              "name": "Churned Recurring Revenue Delinquent",
              "value": "churned_recurring_revenue_delinquent",
              "description": "Revenue lost to customers who churned delinquent"
            },
            {
              "name": "Churned Trialing Customers",
              "value": "churned_trialing_customers",
              "description": "Number of trialling customers who churned"
            },
            {
              "name": "Converted Customers",
              "value": "converted_customers",
              "description": "Number of customers who converted from trialing to active"
            },
            {
              "name": "Converted Recurring Revenue",
              "value": "converted_recurring_revenue",
              "description": "How much MRR comes from users who converted from trialing to active"
            },
            {
              "name": "Customer Churn Cancellations Rate",
              "value": "customers_churn_cancellations_rate",
              "description": "Percentage of paying customers who churned by cancelling their subscription(s)"
            },
            {
              "name": "Customer Churn Delinquent Rate",
              "value": "customers_churn_delinquent_rate",
              "description": "Percentage of paying customers who churned because they failed to pay you"
            },
            {
              "name": "Customer Churn Rate",
              "value": "customers_churn_rate",
              "description": "Percentage of paying customers who churned"
            },
            {
              "name": "Customer Conversion Rate",
              "value": "customer_conversion_rate",
              "description": "Percent of trialing customers who converted"
            },
            {
              "name": "Customer Retention Rate",
              "value": "customers_retention_rate",
              "description": "Percent of customers active last month who are still active this month"
            },
            {
              "name": "Downgrade Customers",
              "value": "downgraded_customers",
              "description": "Number of existing customers who net downgraded"
            },
            {
              "name": "Downgrade Rate",
              "value": "downgrade_rate",
              "description": "Downgrade revenue as a percent of existing revenue"
            },
            {
              "name": "Downgrade Recurring Revenue",
              "value": "downgraded_recurring_revenue",
              "description": "How much downgrades and plan length decreases affect your MRR"
            },
            {
              "name": "Existing Customers",
              "value": "existing_customers",
              "description": "Number of paying customers you had at the start of the given month"
            },
            {
              "name": "Existing Recurring Revenue",
              "value": "existing_recurring_revenue",
              "description": "Your company's MRR at the start of the given month"
            },
            {
              "name": "Existing Trialing Customers",
              "value": "existing_trialing_customers",
              "description": "Number of trialing customers who existed at the start of the month"
            },
            {
              "name": "Growth_Rate",
              "value": "growth_rate",
              "description": "Rate at which your company's MRR has grown over the previous month"
            },
            {
              "name": "Lifetime Value",
              "value": "lifetime_value",
              "description": "Average LTV, as calculated at the end of the given period"
            },
            {
              "name": "New Customers",
              "value": "new_customers",
              "description": "Number of new, paying customers you have"
            },
            {
              "name": "New Recurring Revenue",
              "value": "new_recurring_revenue",
              "description": "MRR from new users"
            },
            {
              "name": "New Trailing Customers",
              "value": "new_trialing_customers",
              "description": "Number of new trialing customers"
            },
            {
              "name": "Plan Changed Rate",
              "value": "plan_change_rate",
              "description": "Net change in revenue as a percentage of existing revenue"
            },
            {
              "name": "Plan Changed Recurring Revenue",
              "value": "plan_changed_recurring_revenue",
              "description": "Net change in revenue for this plan"
            },
            {
              "name": "Reactivated Customers",
              "value": "reactivated_customers",
              "description": "Number of customers who have reactivated"
            },
            {
              "name": "Reactivated Recurring Revenue",
              "value": "reactivated_recurring_revenue",
              "description": "How much MRR comes from reactivated customers"
            },
            {
              "name": "Recurring Revenue",
              "value": "recurring_revenue",
              "description": "Your company's MRR"
            },
            {
              "name": "Revenue Churn Cancellations Rate",
              "value": "revenue_churn_cancellations_rate",
              "description": "Voluntary churn revenue as a percent of the month's starting revenue"
            },
            {
              "name": "Revenue Churn Delinquent_ Rate",
              "value": "revenue_churn_delinquent_rate",
              "description": "Delinquent churn revenue as a percent of the month's starting revenue"
            },
            {
              "name": "Revenue Churn Rate",
              "value": "revenue_churn_rate",
              "description": "Revenue lost to churn as a percentage of existing revenue"
            },
            {
              "name": "Revenue Retention Rate",
              "value": "revenue_retention_rate",
              "description": "Percent of revenue coming from existing customers that was retained by the end of the month"
            },
            {
              "name": "Upgrade Rate",
              "value": "upgrade_rate",
              "description": "Upgrade revenue as a percent of existing revenue"
            },
            {
              "name": "Upgraded Customers",
              "value": "upgraded_customers",
              "description": "Number of existing customers who net upgraded"
            },
            {
              "name": "Upgraded Recurring Revenue",
              "value": "upgraded_recurring_revenue",
              "description": "How much upgrades and plan length increases affect your MRR"
            }
          ],
          "default": [],
          "description": "Comma-separated list of metric trends to return (the default is to return all metric)"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "metric"
          ],
          "operation": [
            "get"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "getSetting",
      "name": "Get Settings",
      "description": "Get your company's ProfitWell account settings"
    }
  ]


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

outputs:
  [
  "main"
  ]

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

  # Pushbullet node

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

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

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

  ## Operations

  * Push
      * Create a push
      * Delete a push
      * Get all pushes
      * Update a push

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "push",
      "options": [
        {
          "name": "Push",
          "value": "push"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a push",
          "action": "Create a push"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a push",
          "action": "Delete a push"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many pushes",
          "action": "Get many pushes"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a push",
          "action": "Update a push"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "options",
      "default": "note",
      "options": [
        {
          "name": "File",
          "value": "file"
        },
        {
          "name": "Link",
          "value": "link"
        },
        {
          "name": "Note",
          "value": "note"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Title of the push",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "note",
            "link"
          ]
        }
      }
    },
    {
      "displayName": "Body",
      "name": "body",
      "type": "string",
      "default": "",
      "description": "Body of the push",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "note",
            "link",
            "file"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "URL of the push",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "link"
          ]
        }
      }
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Target",
      "name": "target",
      "type": "options",
      "default": "default",
      "description": "Define the medium that will be used to send the push",
      "options": [
        {
          "name": "Channel Tag",
          "value": "channel_tag",
          "description": "Send the push to all subscribers to your channel that has this tag"
        },
        {
          "name": "Default",
          "value": "default",
          "description": "Broadcast it to all of the user's devices"
        },
        {
          "name": "Device ID",
          "value": "device_iden",
          "description": "Send the push to a specific device"
        },
        {
          "name": "Email",
          "value": "email",
          "description": "Send the push to this email address"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "string",
      "default": "",
      "description": "The value to be set depending on the target selected. For example, if the target selected is email then this field would take the email address of the person you are trying to send the push to.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "create"
          ]
        },
        "hide": {
          "target": [
            "default",
            "device_iden"
          ]
        }
      }
    },
    {
      "displayName": "Value Name or ID",
      "name": "value",
      "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": [
            "push"
          ],
          "operation": [
            "create"
          ],
          "target": [
            "device_iden"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getDevices"
      }
    },
    {
      "displayName": "Push ID",
      "name": "pushId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "push"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "push"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Active",
          "name": "active",
          "type": "boolean",
          "default": false,
          "description": "Don't return deleted pushes"
        },
        {
          "displayName": "Modified After",
          "name": "modified_after",
          "type": "dateTime",
          "default": "",
          "description": "Request pushes modified after this timestamp"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Push ID",
      "name": "pushId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Dismissed",
      "name": "dismissed",
      "type": "boolean",
      "default": false,
      "description": "Whether to mark a push as having been dismissed by the user, will cause any notifications for the push to be hidden if possible",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "push"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a push"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a push"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many pushes"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a push"
    }
  ]


node_type: nodes-base.pushcut
package_name: n8n-nodes-base
display_name: Pushcut
description: Consume Pushcut API
category: input
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "send",
  "name": "Send",
  "description": "Send a notification"
  }
  ]

credentials_required:
  [
  {
  "name": "pushcutApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # Pushcut node

  Use the Pushcut node to automate work in Pushcut, and integrate Pushcut with other applications. n8n supports sending notifications with Pushcut.

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

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

  ## Operations

  * Notification
      * Send a notification

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "notification",
      "options": [
        {
          "name": "Notification",
          "value": "notification"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Send a notification",
          "action": "Send a notification"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "notification"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Notification Name or ID",
      "name": "notificationName",
      "type": "options",
      "default": "",
      "description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "notification"
          ],
          "operation": [
            "send"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getNotifications"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Device Names or IDs",
          "name": "devices",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getDevices"
          },
          "default": [],
          "description": "List of devices this notification is sent to. (default is all devices). Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Input",
          "name": "input",
          "type": "string",
          "default": "",
          "description": "Value that is passed as input to the notification action"
        },
        {
          "displayName": "Text",
          "name": "text",
          "type": "string",
          "default": "",
          "description": "Text that is used instead of the one defined in the app"
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Title that is used instead of the one defined in the app"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "notification"
          ]
        }
      }
    }
  ]


node_type: nodes-base.pushcutTrigger
package_name: n8n-nodes-base
display_name: Pushcut Trigger
description: Starts the workflow when Pushcut events occur
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "pushcutApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # Pushcut Trigger node

  [Pushcut](https://pushcut.io){:target=_blank .external-link} is an app for iOS that lets you create smart notifications to kick off shortcuts, URLs, and online automation.

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

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

  ## Configure a Pushcut action

  Follow these steps to configure your Pushcut Trigger node with your Pushcut app.

  1. In your Pushcut app, select a notification from the **Notifications** screen.
  2. Select the **Add Action** button.
  3. Enter an action name in the **Label** field.
  4. Select the **Server** tab.
  5. Select the **Integration** tab.
  6. Select **Integration Trigger**.
  7. In n8n, enter a name for the action and select **Execute step**.
  8. Select this action under the **Select Integration Trigger** screen in your Pushcut app.
  9. Select **Done** in the top right to save the action.

properties_schema:
  [
    {
      "displayName": "Action Name",
      "name": "actionName",
      "type": "string",
      "default": "",
      "description": "Choose any name you would like. It will show up as a server action in the app."
    }
  ]


node_type: nodes-base.pushover
package_name: n8n-nodes-base
display_name: Pushover
description: Consume Pushover API
category: input
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "push",
  "name": "Push"
  }
  ]

credentials_required:
  [
  {
  "name": "pushoverApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # Pushover node

  Use the Pushover node to automate work in Pushover, and integrate Pushover with other applications. n8n supports sending push notifications with Pushover.

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

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

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

  ## Operations

  * Message
      * Push

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "message",
      "options": [
        {
          "name": "Message",
          "value": "message"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "push",
      "options": [
        {
          "name": "Push",
          "value": "push",
          "action": "Push a message"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "User Key",
      "name": "userKey",
      "type": "string",
      "default": "",
      "description": "The user/group key (not e-mail address) of your user (or you), viewable when logged into the <a href=\"https://pushover.net/\">dashboard</a> (often referred to as <code>USER_KEY</code> in the <a href=\"https://support.pushover.net/i44-example-code-and-pushover-libraries\">libraries</a> and code examples)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "push"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "Your message",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "push"
          ]
        }
      }
    },
    {
      "displayName": "Priority",
      "name": "priority",
      "type": "options",
      "default": -2,
      "description": "Send as -2 to generate no notification/alert, -1 to always send as a quiet notification, 1 to display as high-priority and bypass the user's quiet hours, or 2 to also require confirmation from the user",
      "options": [
        {
          "name": "Lowest Priority",
          "value": -2
        },
        {
          "name": "Low Priority",
          "value": -1
        },
        {
          "name": "Normal Priority",
          "value": 0
        },
        {
          "name": "High Priority",
          "value": 1
        },
        {
          "name": "Emergency Priority",
          "value": 2
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "push"
          ]
        }
      }
    },
    {
      "displayName": "Retry (Seconds)",
      "name": "retry",
      "type": "number",
      "default": 30,
      "description": "Specifies how often (in seconds) the Pushover servers will send the same notification to the user. This parameter must have a value of at least 30 seconds between retries.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "push"
          ],
          "priority": [
            2
          ]
        }
      },
      "typeOptions": {
        "minValue": 0
      }
    },
    {
      "displayName": "Expire (Seconds)",
      "name": "expire",
      "type": "number",
      "default": 30,
      "description": "Specifies how many seconds your notification will continue to be retried for (every retry seconds)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "push"
          ],
          "priority": [
            2
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "maxValue": 10800
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Attachment",
          "name": "attachmentsUi",
          "placeholder": "Add Attachments",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "name": "attachmentsValues",
              "displayName": "Attachment Property",
              "values": [
                {
                  "displayName": "Input Binary Field",
                  "name": "binaryPropertyName",
                  "type": "string",
                  "default": "",
                  "placeholder": "data",
                  "hint": "The name of the input binary field containing the file which should be added to email as attachment"
                }
              ]
            }
          ],
          "default": {}
        },
        {
          "displayName": "Device",
          "name": "device",
          "type": "string",
          "default": "",
          "description": "Your user's device name to send the message directly to that device, rather than all of the user's devices (multiple devices may be separated by a comma)"
        },
        {
          "displayName": "HTML Formatting",
          "name": "html",
          "type": "boolean",
          "default": false,
          "description": "Whether to enable messages formatting with HTML tags"
        },
        {
          "displayName": "Sound Name or ID",
          "name": "sound",
          "type": "options",
          "typeOptions": {
            "loadOptionsMethod": "getSounds"
          },
          "default": "",
          "description": "The name of one of the sounds supported by device clients to override the user's default sound choice. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Timestamp",
          "name": "timestamp",
          "type": "dateTime",
          "default": "",
          "description": "A Unix timestamp of your message's date and time to display to the user, rather than the time your message is received by our API"
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Your message's title, otherwise your app's name is used"
        },
        {
          "displayName": "Timestamp",
          "name": "timestamp",
          "type": "dateTime",
          "default": "",
          "description": "A Unix timestamp of your message's date and time to display to the user, rather than the time your message is received by our API"
        },
        {
          "displayName": "URL",
          "name": "url",
          "type": "string",
          "default": "",
          "description": "A supplementary URL to show with your message"
        },
        {
          "displayName": "URL Title",
          "name": "url_title",
          "type": "string",
          "default": "",
          "description": "A title for your supplementary URL, otherwise just the URL is shown"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "push"
          ]
        }
      }
    }
  ]


node_type: nodes-base.questDb
package_name: n8n-nodes-base
display_name: QuestDB
description: Get, add and update data in QuestDB
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "questDb",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # QuestDB node

  Use the QuestDB node to automate work in QuestDB, and integrate QuestDB with other applications. n8n supports executing an SQL query and inserting rows in a database with QuestDB.

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

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

  ## Operations

  * Executes a SQL query.
  * Insert rows in database.

  ## Templates and examples

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

  ## Node reference

  ### Specify a column's data type

  To specify a column's data type, append the column name with `:type`, where `type` is the data type you want for column. For example, if you want to specify the type `int` for the column **id** and type `text` for the column **name**, you can use the following snippet in the **Columns** field: `id:int,name:text`.

properties_schema:
  [
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "insert",
      "options": [
        {
          "name": "Execute Query",
          "value": "executeQuery",
          "description": "Executes a SQL query",
          "action": "Execute a SQL query"
        },
        {
          "name": "Insert",
          "value": "insert",
          "description": "Insert rows in database",
          "action": "Insert rows in database"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The SQL query to execute. You can use n8n expressions or $1 and $2 in conjunction with query parameters.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "executeQuery"
          ]
        }
      },
      "typeOptions": {
        "editor": "sqlEditor",
        "sqlDialect": "PostgreSQL"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Schema",
      "name": "schema",
      "type": "hidden",
      "default": "",
      "description": "Name of the schema the table belongs to",
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to insert data to",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Return Fields",
      "name": "returnFields",
      "type": "string",
      "default": "*",
      "description": "Comma-separated list of the fields that the operation will return",
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Mode",
          "name": "mode",
          "type": "options",
          "options": [
            {
              "name": "Independently",
              "value": "independently",
              "description": "Execute each query independently"
            },
            {
              "name": "Transaction",
              "value": "transaction",
              "description": "Executes all queries in a single transaction"
            }
          ],
          "default": "independently",
          "description": "The way queries should be sent to database. Can be used in conjunction with <b>Continue on Fail</b>. See <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.questdb/\">the docs</a> for more examples."
        },
        {
          "displayName": "Query Parameters",
          "name": "queryParams",
          "type": "string",
          "displayOptions": {
            "show": {
              "/operation": [
                "executeQuery"
              ]
            }
          },
          "default": "",
          "placeholder": "quantity,price",
          "description": "Comma-separated list of properties which should be used as query parameters"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "executeQuery"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "hidden",
      "default": {},
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "executeQuery",
      "name": "Execute Query",
      "description": "Executes a SQL query"
    },
    {
      "operation": "insert",
      "name": "Insert",
      "description": "Insert rows in database"
    }
  ]


node_type: nodes-base.quickbase
package_name: n8n-nodes-base
display_name: Quick Base
description: Integrate with the Quick Base RESTful API
category: input
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "getAll",
  "name": "Get Many",
  "description": "Get many fields"
  }
  ]

credentials_required:
  [
  {
  "name": "quickbaseApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2025-11-25 17:45:48
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Quick Base node documentation
  description: Learn how to use the Quick Base node in n8n. Follow technical documentation to integrate Quick Base node into your workflows.
  contentType: [integration, reference]
  ---

  # Quick Base node

  Use the Quick Base node to automate work in Quick Base, and integrate Quick Base with other applications. n8n has built-in support for a wide range of Quick Base features, including creating, updating, deleting, and getting records, as well as getting fields, and downloading files. 

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

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

  ## Operations

  * Field
      * Get all fields
  * File
      * Delete a file
      * Download a file
  * Record
      * Create a record
      * Delete a record
      * Get all records
      * Update a record
      * Upsert a record
  * Report
      * Get a report
      * Run a report

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "record",
      "options": [
        {
          "name": "Field",
          "value": "field"
        },
        {
          "name": "File",
          "value": "file"
        },
        {
          "name": "Record",
          "value": "record"
        },
        {
          "name": "Report",
          "value": "report"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many fields",
          "action": "Get many fields"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "field"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table ID",
      "name": "tableId",
      "type": "string",
      "default": "",
      "description": "The table identifier",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "field"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "field"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "field"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Field Perms",
          "name": "includeFieldPerms",
          "type": "boolean",
          "default": false,
          "description": "Whether to get back the custom permissions for the field(s)"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "field"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "download",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a file",
          "action": "Delete a file"
        },
        {
          "name": "Download",
          "value": "download",
          "description": "Download a file",
          "action": "Download a file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table ID",
      "name": "tableId",
      "type": "string",
      "default": "",
      "description": "The table identifier",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Record ID",
      "name": "recordId",
      "type": "string",
      "default": "",
      "description": "The unique identifier of the record",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Field ID",
      "name": "fieldId",
      "type": "string",
      "default": "",
      "description": "The unique identifier of the field",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Version Number",
      "name": "versionNumber",
      "type": "number",
      "default": 1,
      "description": "The file attachment version number",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a record",
          "action": "Create a record"
        },
        {
          "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 record"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a record",
          "action": "Delete a record"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many records",
          "action": "Get many records"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a record",
          "action": "Update a record"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table ID",
      "name": "tableId",
      "type": "string",
      "default": "",
      "description": "The table identifier",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Return Field Names or IDs",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getTableFields",
            "loadOptionsDependsOn": [
              "tableId"
            ]
          },
          "default": [],
          "description": "Specify an array of field IDs that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Use Field IDs",
          "name": "useFieldIDs",
          "type": "boolean",
          "default": false,
          "description": "Whether to use Field IDs instead of Field Names in Columns"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Table ID",
      "name": "tableId",
      "type": "string",
      "default": "",
      "description": "The table identifier",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Where",
      "name": "where",
      "type": "string",
      "default": "",
      "description": "The filter to delete records. To delete all records specify a filter that will include all records, for example {3.GT.0} where 3 is the ID of the Record ID field.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Table ID",
      "name": "tableId",
      "type": "string",
      "default": "",
      "description": "The table identifier",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Select",
          "name": "select",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getTableFields"
          },
          "default": [],
          "description": "An array of field IDs for the fields that should be returned in the response. If empty, the default columns on the table will be returned. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Sort By",
          "name": "sortByUi",
          "placeholder": "Add Sort By",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "sortByValues",
              "displayName": "Sort By",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "fieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getTableFields"
                  },
                  "default": "",
                  "description": "The unique identifier of a field in a table. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Order",
                  "name": "order",
                  "type": "options",
                  "options": [
                    {
                      "name": "ASC",
                      "value": "ASC"
                    },
                    {
                      "name": "DESC",
                      "value": "DESC"
                    }
                  ],
                  "default": "ASC"
                }
              ]
            }
          ],
          "description": "By default, queries will be sorted by the given sort fields or the default sort if the query does not provide any. Set to false to avoid sorting when the order of the data returned is not important. Returning data without sorting can improve performance."
        },
        {
          "displayName": "Where",
          "name": "where",
          "type": "string",
          "default": "",
          "description": "The filter, using the <a href=\"https://help.quickbase.com/api-guide/componentsquery.html\">Quick Base query language</a>, which determines the records to return"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Table ID",
      "name": "tableId",
      "type": "string",
      "default": "",
      "description": "The table identifier",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Key",
      "name": "updateKey",
      "type": "string",
      "default": "",
      "description": "Update can use the key field on the table, or any other supported unique field",
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Field Names or IDs",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getTableFields",
            "loadOptionsDependsOn": [
              "tableId"
            ]
          },
          "default": [],
          "description": "Specify an array of field IDs that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Use Field IDs",
          "name": "useFieldIDs",
          "type": "boolean",
          "default": false,
          "description": "Whether to use Field IDs instead of Field Names in Columns"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Table ID",
      "name": "tableId",
      "type": "string",
      "default": "",
      "description": "The table identifier",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Update Key",
      "name": "updateKey",
      "type": "string",
      "default": "",
      "description": "Update can use the key field on the table, or any other supported unique field",
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Merge Field Name or ID",
      "name": "mergeFieldId",
      "type": "options",
      "default": "",
      "description": "<p>You're updating records in a Quick Base table with data from an external file. In order for a merge like this to work, Quick Base needs a way to match records in the source data with corresponding records in the destination table.</p><p>You make this possible by choosing the field in the app table that holds unique matching values. This is called a merge field.</p>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getUniqueTableFields"
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Field Names or IDs",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getTableFields",
            "loadOptionsDependsOn": [
              "tableId"
            ]
          },
          "default": [],
          "description": "Specify an array of field IDs that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Use Field IDs",
          "name": "useFieldIDs",
          "type": "boolean",
          "default": false,
          "description": "Whether to use Field IDs instead of Field Names in Columns"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a report",
          "action": "Get a report"
        },
        {
          "name": "Run",
          "value": "run",
          "description": "Run a report",
          "action": "Run a report"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table ID",
      "name": "tableId",
      "type": "string",
      "default": "",
      "description": "The table identifier",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Report ID",
      "name": "reportId",
      "type": "string",
      "default": "",
      "description": "The identifier of the report, unique to the table",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Table ID",
      "name": "tableId",
      "type": "string",
      "default": "",
      "description": "The table identifier",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "run"
          ]
        }
      }
    },
    {
      "displayName": "Report ID",
      "name": "reportId",
      "type": "string",
      "default": "",
      "description": "The identifier of the report, unique to the table",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "run"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": true,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "run"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "run"
          ]
        },
        "hide": {
          "returnAll": [
            true
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    }
  ]


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

outputs:
  [
  "main"
  ]

updated_at: 2025-11-25 17:45:48
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: QuickBooks Online node documentation
  description: Learn how to use the QuickBooks Online node in n8n. Follow technical documentation to integrate QuickBooks Online node into your workflows.
  contentType: [integration, reference]
  ---

  # QuickBooks Online node

  Use the QuickBooks node to automate work in QuickBooks, and integrate QuickBooks with other applications. n8n has built-in support for a wide range of QuickBooks features, including creating, updating, deleting, and getting bills, customers, employees, estimates, and invoices. 

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

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

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

  ## Operations

  * Bill
      * Create
      * Delete
      * Get
      * Get All
      * Update
  * Customer
      * Create
      * Get
      * Get All
      * Update
  * Employee
      * Create
      * Get
      * Get All
      * Update
  * Estimate
      * Create
      * Delete
      * Get
      * Get All
      * Send
      * Update
  * Invoice
      * Create
      * Delete
      * Get
      * Get All
      * Send
      * Update
      * Void
  * Item
      * Get
      * Get All
  * Payment
      * Create
      * Delete
      * Get
      * Get All
      * Send
      * Update
      * Void
  * Purchase
      * Get
      * Get All
  * Transaction
      * Get Report
  * Vendor
      * Create
      * Get
      * Get All
      * Update

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "customer",
      "options": [
        {
          "name": "Bill",
          "value": "bill"
        },
        {
          "name": "Customer",
          "value": "customer"
        },
        {
          "name": "Employee",
          "value": "employee"
        },
        {
          "name": "Estimate",
          "value": "estimate"
        },
        {
          "name": "Invoice",
          "value": "invoice"
        },
        {
          "name": "Item",
          "value": "item"
        },
        {
          "name": "Payment",
          "value": "payment"
        },
        {
          "name": "Purchase",
          "value": "purchase"
        },
        {
          "name": "Transaction",
          "value": "transaction"
        },
        {
          "name": "Vendor",
          "value": "vendor"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a bill"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a bill"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a bill"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many bills"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a bill"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "bill"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "For Vendor Name or ID",
      "name": "VendorRef",
      "type": "options",
      "default": [],
      "description": "The ID of the vendor who the bill is for. 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": [
            "bill"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getVendors"
      }
    },
    {
      "displayName": "Line",
      "name": "Line",
      "type": "collection",
      "default": {},
      "description": "Individual line item of a transaction",
      "options": [
        {
          "displayName": "Account ID",
          "name": "accountId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Amount",
          "name": "Amount",
          "description": "Monetary amount of the line item",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Description",
          "name": "Description",
          "description": "Textual description of the line item",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Detail Type",
          "name": "DetailType",
          "type": "options",
          "default": "ItemBasedExpenseLineDetail",
          "options": [
            {
              "name": "Account-Based Expense Line Detail",
              "value": "AccountBasedExpenseLineDetail"
            },
            {
              "name": "Item-Based Expense Line Detail",
              "value": "ItemBasedExpenseLineDetail"
            }
          ]
        },
        {
          "displayName": "Item Name or ID",
          "name": "itemId",
          "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": "getItems"
          }
        },
        {
          "displayName": "Position",
          "name": "LineNum",
          "description": "Position of the line item relative to others",
          "type": "number",
          "default": 1
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "bill"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Accounts Payable Account",
          "name": "APAccountRef",
          "placeholder": "Add APA Fields",
          "description": "Accounts Payable account to which the bill will be credited",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "ID",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Balance",
          "name": "Balance",
          "description": "The balance reflecting any payments made against the transaction",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Due Date",
          "name": "DueDate",
          "description": "Date when the payment of the transaction is due",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Sales Term",
          "name": "SalesTermRef",
          "description": "Sales term associated with the transaction",
          "placeholder": "Add Sales Term Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "ID",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Total Amount",
          "name": "TotalAmt",
          "description": "Total amount of the transaction",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Transaction Date",
          "name": "TxnDate",
          "description": "Date when the transaction occurred",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "bill"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Bill ID",
      "name": "billId",
      "type": "string",
      "default": "",
      "description": "The ID of the bill to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "bill"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Bill ID",
      "name": "billId",
      "type": "string",
      "default": "",
      "description": "The ID of the bill to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "bill"
          ],
          "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": [
            "bill"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "bill"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "placeholder": "WHERE Metadata.LastUpdatedTime > '2021-01-01'",
          "description": "The condition for selecting bills. See the <a href=\"https://developer.intuit.com/app/developer/qbo/docs/develop/explore-the-quickbooks-online-api/data-queries\">guide</a> for supported syntax."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "bill"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Bill ID",
      "name": "billId",
      "type": "string",
      "default": "",
      "description": "The ID of the bill to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "bill"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Accounts Payable Account",
          "name": "APAccountRef",
          "placeholder": "Add APA Fields",
          "description": "Accounts Payable account to which the bill will be credited",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "ID",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Due Date",
          "name": "DueDate",
          "description": "Date when the payment of the transaction is due",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Sales Term",
          "name": "SalesTermRef",
          "description": "Sales term associated with the transaction",
          "placeholder": "Add Sales Term Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "ID",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Transaction Date",
          "name": "TxnDate",
          "description": "Date when the transaction occurred",
          "type": "dateTime",
          "default": ""
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "bill"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a customer"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a customer"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many customers"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a customer"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Display Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "The display name of the customer to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Active",
          "name": "Active",
          "description": "Whether the customer is currently enabled for use by QuickBooks",
          "type": "boolean",
          "default": true
        },
        {
          "displayName": "Balance",
          "name": "Balance",
          "description": "Open balance amount or amount unpaid by the customer",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Balance With Jobs",
          "name": "BalanceWithJobs",
          "description": "Cumulative open balance amount for the customer (or job) and all its sub-jobs",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Bill With Parent",
          "name": "BillWithParent",
          "description": "Whether to bill this customer together with its parent",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Company Name",
          "name": "CompanyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Family Name",
          "name": "FamilyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Fully Qualified Name",
          "name": "FullyQualifiedName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Given Name",
          "name": "GivenName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Preferred Delivery Method",
          "name": "PreferredDeliveryMethod",
          "type": "options",
          "default": "Print",
          "options": [
            {
              "name": "Print",
              "value": "Print"
            },
            {
              "name": "Email",
              "value": "Email"
            },
            {
              "name": "None",
              "value": "None"
            }
          ]
        },
        {
          "displayName": "Primary Email Address",
          "name": "PrimaryEmailAddr",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Phone",
          "name": "PrimaryPhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Print-On-Check Name",
          "name": "PrintOnCheckName",
          "description": "Name of the customer as printed on a check",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Taxable",
          "name": "Taxable",
          "description": "Whether transactions for this customer are taxable",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "The ID of the customer to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "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": [
            "customer"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "placeholder": "WHERE Metadata.LastUpdatedTime > '2021-01-01'",
          "description": "The condition for selecting customers. See the <a href=\"https://developer.intuit.com/app/developer/qbo/docs/develop/explore-the-quickbooks-online-api/data-queries\">guide</a> for supported syntax."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "The ID of the customer to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Active",
          "name": "Active",
          "description": "Whether the customer is currently enabled for use by QuickBooks",
          "type": "boolean",
          "default": true
        },
        {
          "displayName": "Balance",
          "name": "Balance",
          "description": "Open balance amount or amount unpaid by the customer",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Balance With Jobs",
          "name": "BalanceWithJobs",
          "description": "Cumulative open balance amount for the customer (or job) and all its sub-jobs",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Bill With Parent",
          "name": "BillWithParent",
          "description": "Whether to bill this customer together with its parent",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Company Name",
          "name": "CompanyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Family Name",
          "name": "FamilyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Fully Qualified Name",
          "name": "FullyQualifiedName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Given Name",
          "name": "GivenName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Preferred Delivery Method",
          "name": "PreferredDeliveryMethod",
          "type": "options",
          "default": "Print",
          "options": [
            {
              "name": "Print",
              "value": "Print"
            },
            {
              "name": "Email",
              "value": "Email"
            },
            {
              "name": "None",
              "value": "None"
            }
          ]
        },
        {
          "displayName": "Primary Email Address",
          "name": "PrimaryEmailAddr",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Phone",
          "name": "PrimaryPhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Print-On-Check Name",
          "name": "PrintOnCheckName",
          "description": "Name of the customer as printed on a check",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Taxable",
          "name": "Taxable",
          "description": "Whether transactions for this customer are taxable",
          "type": "boolean",
          "default": false
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an employee"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an employee"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many employees"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an employee"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "employee"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Family Name",
      "name": "FamilyName",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "employee"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Given Name",
      "name": "GivenName",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "employee"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Active",
          "name": "Active",
          "description": "Whether the employee is currently enabled for use by QuickBooks",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Billable Time",
          "name": "BillableTime",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Display Name",
          "name": "DisplayName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Primary Phone",
          "name": "PrimaryPhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Print-On-Check Name",
          "name": "PrintOnCheckName",
          "description": "Name of the employee as printed on a check",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Social Security Number",
          "name": "SSN",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "employee"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Employee ID",
      "name": "employeeId",
      "type": "string",
      "default": "",
      "description": "The ID of the employee to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "employee"
          ],
          "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": [
            "employee"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "employee"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "placeholder": "WHERE Metadata.LastUpdatedTime > '2021-01-01'",
          "description": "The condition for selecting employees. See the <a href=\"https://developer.intuit.com/app/developer/qbo/docs/develop/explore-the-quickbooks-online-api/data-queries\">guide</a> for supported syntax."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "employee"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Employee ID",
      "name": "employeeId",
      "type": "string",
      "default": "",
      "description": "The ID of the employee to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "employee"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Active",
          "name": "Active",
          "description": "Whether the employee is currently enabled for use by QuickBooks",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Billable Time",
          "name": "BillableTime",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Display Name",
          "name": "DisplayName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Primary Phone",
          "name": "PrimaryPhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Print-On-Check Name",
          "name": "PrintOnCheckName",
          "description": "Name of the employee as printed on a check",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Social Security Number",
          "name": "SSN",
          "type": "string",
          "default": ""
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "employee"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an estimate"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an estimate"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an estimate"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many estimates"
        },
        {
          "name": "Send",
          "value": "send",
          "action": "Send an estimate"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an estimate"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "For Customer Name or ID",
      "name": "CustomerRef",
      "type": "options",
      "default": [],
      "description": "The ID of the customer who the estimate is for. 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": [
            "estimate"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getCustomers"
      }
    },
    {
      "displayName": "Line",
      "name": "Line",
      "type": "collection",
      "default": {},
      "description": "Individual line item of a transaction",
      "options": [
        {
          "displayName": "Amount",
          "name": "Amount",
          "description": "Monetary amount of the line item",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Description",
          "name": "Description",
          "description": "Textual description of the line item",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Detail Type",
          "name": "DetailType",
          "type": "options",
          "default": "SalesItemLineDetail",
          "options": [
            {
              "name": "Sales Item Line Detail",
              "value": "SalesItemLineDetail"
            }
          ]
        },
        {
          "displayName": "Item Name or ID",
          "name": "itemId",
          "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": "getItems"
          }
        },
        {
          "displayName": "Position",
          "name": "LineNum",
          "description": "Position of the line item relative to others",
          "type": "number",
          "default": 1
        },
        {
          "displayName": "Tax Code Ref Name or ID",
          "name": "TaxCodeRef",
          "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": "getTaxCodeRefs"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Apply Tax After Discount",
          "name": "ApplyTaxAfterDiscount",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Billing Email",
          "name": "BillEmail",
          "description": "E-mail address to which the estimate will be sent",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Fields",
          "name": "CustomFields",
          "placeholder": "Add Custom Fields",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Field",
              "name": "Field",
              "values": [
                {
                  "displayName": "Field Definition Name or ID",
                  "name": "DefinitionId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "StringValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Customer Memo",
          "name": "CustomerMemo",
          "description": "User-entered message to the customer. This message is visible to end user on their transactions.",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Document Number",
          "name": "DocNumber",
          "description": "Reference number for the transaction",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email Status",
          "name": "EmailStatus",
          "type": "options",
          "default": "NotSet",
          "options": [
            {
              "name": "Not Set",
              "value": "NotSet"
            },
            {
              "name": "Need To Send",
              "value": "NeedToSend"
            },
            {
              "name": "Email Sent",
              "value": "EmailSent"
            }
          ]
        },
        {
          "displayName": "Print Status",
          "name": "PrintStatus",
          "type": "options",
          "default": "NotSet",
          "options": [
            {
              "name": "Not Set",
              "value": "NotSet"
            },
            {
              "name": "Need To Print",
              "value": "NeedToPrint"
            },
            {
              "name": "PrintComplete",
              "value": "PrintComplete"
            }
          ]
        },
        {
          "displayName": "Shipping Address",
          "name": "ShipAddr",
          "placeholder": "Add Shippping Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Total Amount",
          "name": "TotalAmt",
          "description": "Total amount of the transaction",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Transaction Date",
          "name": "TxnDate",
          "description": "Date when the transaction occurred",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Total Tax",
          "name": "TotalTax",
          "description": "Total amount of tax incurred",
          "type": "number",
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Estimate ID",
      "name": "estimateId",
      "type": "string",
      "default": "",
      "description": "The ID of the estimate to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Estimate ID",
      "name": "estimateId",
      "type": "string",
      "default": "",
      "description": "The ID of the estimate to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Download",
      "name": "download",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the estimate as a PDF file",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Put Output File in Field",
      "name": "binaryProperty",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "get"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "File Name",
      "name": "fileName",
      "type": "string",
      "default": "",
      "description": "Name of the file that will be downloaded",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "get"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "placeholder": "WHERE Metadata.LastUpdatedTime > '2021-01-01'",
          "description": "The condition for selecting estimates. See the <a href=\"https://developer.intuit.com/app/developer/qbo/docs/develop/explore-the-quickbooks-online-api/data-queries\">guide</a> for supported syntax."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Estimate ID",
      "name": "estimateId",
      "type": "string",
      "default": "",
      "description": "The ID of the estimate to send",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "The email of the recipient of the estimate",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Estimate ID",
      "name": "estimateId",
      "type": "string",
      "default": "",
      "description": "The ID of the estimate to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Apply Tax After Discount",
          "name": "ApplyTaxAfterDiscount",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Billing Email",
          "name": "BillEmail",
          "description": "E-mail address to which the estimate will be sent",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Fields",
          "name": "CustomFields",
          "placeholder": "Add Custom Fields",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Field",
              "name": "Field",
              "values": [
                {
                  "displayName": "Field Definition Name or ID",
                  "name": "DefinitionId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "StringValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Customer Memo",
          "name": "CustomerMemo",
          "description": "User-entered message to the customer. This message is visible to end user on their transactions.",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Document Number",
          "name": "DocNumber",
          "description": "Reference number for the transaction",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Email Status",
          "name": "EmailStatus",
          "type": "options",
          "default": "NotSet",
          "options": [
            {
              "name": "Not Set",
              "value": "NotSet"
            },
            {
              "name": "Need To Send",
              "value": "NeedToSend"
            },
            {
              "name": "Email Sent",
              "value": "EmailSent"
            }
          ]
        },
        {
          "displayName": "Print Status",
          "name": "PrintStatus",
          "type": "options",
          "default": "NotSet",
          "options": [
            {
              "name": "Not Set",
              "value": "NotSet"
            },
            {
              "name": "Need To Print",
              "value": "NeedToPrint"
            },
            {
              "name": "PrintComplete",
              "value": "PrintComplete"
            }
          ]
        },
        {
          "displayName": "Shipping Address",
          "name": "ShipAddr",
          "placeholder": "Add Shippping Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Transaction Date",
          "name": "TxnDate",
          "description": "Date when the transaction occurred",
          "type": "dateTime",
          "default": ""
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "estimate"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an invoice"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete an invoice"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an invoice"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many invoices"
        },
        {
          "name": "Send",
          "value": "send",
          "action": "Send an invoice"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update an invoice"
        },
        {
          "name": "Void",
          "value": "void",
          "action": "Void an invoice"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "For Customer Name or ID",
      "name": "CustomerRef",
      "type": "options",
      "default": [],
      "description": "The ID of the customer who the invoice is for. 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": [
            "invoice"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getCustomers"
      }
    },
    {
      "displayName": "Line",
      "name": "Line",
      "type": "collection",
      "default": {},
      "description": "Individual line item of a transaction",
      "options": [
        {
          "displayName": "Amount",
          "name": "Amount",
          "description": "Monetary amount of the line item",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Description",
          "name": "Description",
          "description": "Textual description of the line item",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Detail Type",
          "name": "DetailType",
          "type": "options",
          "default": "SalesItemLineDetail",
          "options": [
            {
              "name": "Sales Item Line Detail",
              "value": "SalesItemLineDetail"
            }
          ]
        },
        {
          "displayName": "Item Name or ID",
          "name": "itemId",
          "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": "getItems"
          }
        },
        {
          "displayName": "Position",
          "name": "LineNum",
          "description": "Position of the line item relative to others",
          "type": "number",
          "default": 1
        },
        {
          "displayName": "Tax Code Ref Name or ID",
          "name": "TaxCodeRef",
          "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": "getTaxCodeRefs"
          }
        },
        {
          "displayName": "Quantity",
          "name": "Qty",
          "description": "Number of units of the line item",
          "type": "number",
          "default": 0
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Balance",
          "name": "Balance",
          "description": "The balance reflecting any payments made against the transaction",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Billing Email",
          "name": "BillEmail",
          "description": "E-mail address to which the invoice will be sent",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Customer Memo",
          "name": "CustomerMemo",
          "description": "User-entered message to the customer. This message is visible to end user on their transactions.",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Fields",
          "name": "CustomFields",
          "placeholder": "Add Custom Fields",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Field",
              "name": "Field",
              "values": [
                {
                  "displayName": "Field Definition Name or ID",
                  "name": "DefinitionId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "StringValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Document Number",
          "name": "DocNumber",
          "description": "Reference number for the transaction",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Due Date",
          "name": "DueDate",
          "description": "Date when the payment of the transaction is due",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Email Status",
          "name": "EmailStatus",
          "type": "options",
          "default": "NotSet",
          "options": [
            {
              "name": "Not Set",
              "value": "NotSet"
            },
            {
              "name": "Need To Send",
              "value": "NeedToSend"
            },
            {
              "name": "Email Sent",
              "value": "EmailSent"
            }
          ]
        },
        {
          "displayName": "Print Status",
          "name": "PrintStatus",
          "type": "options",
          "default": "NotSet",
          "options": [
            {
              "name": "Not Set",
              "value": "NotSet"
            },
            {
              "name": "Need To Print",
              "value": "NeedToPrint"
            },
            {
              "name": "PrintComplete",
              "value": "PrintComplete"
            }
          ]
        },
        {
          "displayName": "Shipping Address",
          "name": "ShipAddr",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Total Amount",
          "name": "TotalAmt",
          "description": "Total amount of the transaction",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Transaction Date",
          "name": "TxnDate",
          "description": "Date when the transaction occurred",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Invoice ID",
      "name": "invoiceId",
      "type": "string",
      "default": "",
      "description": "The ID of the invoice to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Invoice ID",
      "name": "invoiceId",
      "type": "string",
      "default": "",
      "description": "The ID of the invoice to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Download",
      "name": "download",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the invoice as a PDF file",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Put Output File in Field",
      "name": "binaryProperty",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "get"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "File Name",
      "name": "fileName",
      "type": "string",
      "default": "",
      "description": "Name of the file that will be downloaded",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "get"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "placeholder": "WHERE Metadata.LastUpdatedTime > '2021-01-01'",
          "description": "The condition for selecting invoices. See the <a href=\"https://developer.intuit.com/app/developer/qbo/docs/develop/explore-the-quickbooks-online-api/data-queries\">guide</a> for supported syntax."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Invoice ID",
      "name": "invoiceId",
      "type": "string",
      "default": "",
      "description": "The ID of the invoice to send",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "The email of the recipient of the invoice",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Invoice ID",
      "name": "invoiceId",
      "type": "string",
      "default": "",
      "description": "The ID of the invoice to void",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "void"
          ]
        }
      }
    },
    {
      "displayName": "Invoice ID",
      "name": "invoiceId",
      "type": "string",
      "default": "",
      "description": "The ID of the invoice to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Billing Email",
          "name": "BillEmail",
          "description": "E-mail address to which the invoice will be sent",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Customer Memo",
          "name": "CustomerMemo",
          "description": "User-entered message to the customer. This message is visible to end user on their transactions.",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Custom Fields",
          "name": "CustomFields",
          "placeholder": "Add Custom Fields",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Field",
              "name": "Field",
              "values": [
                {
                  "displayName": "Field Definition Name or ID",
                  "name": "DefinitionId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getCustomFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "StringValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Document Number",
          "name": "DocNumber",
          "description": "Reference number for the transaction",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Due Date",
          "name": "DueDate",
          "description": "Date when the payment of the transaction is due",
          "type": "dateTime",
          "default": ""
        },
        {
          "displayName": "Email Status",
          "name": "EmailStatus",
          "type": "options",
          "default": "NotSet",
          "options": [
            {
              "name": "Not Set",
              "value": "NotSet"
            },
            {
              "name": "Need To Send",
              "value": "NeedToSend"
            },
            {
              "name": "Email Sent",
              "value": "EmailSent"
            }
          ]
        },
        {
          "displayName": "Print Status",
          "name": "PrintStatus",
          "type": "options",
          "default": "NotSet",
          "options": [
            {
              "name": "Not Set",
              "value": "NotSet"
            },
            {
              "name": "Need To Print",
              "value": "NeedToPrint"
            },
            {
              "name": "PrintComplete",
              "value": "PrintComplete"
            }
          ]
        },
        {
          "displayName": "Shipping Address",
          "name": "ShipAddr",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Transaction Date",
          "name": "TxnDate",
          "description": "Date when the transaction occurred",
          "type": "dateTime",
          "default": ""
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "invoice"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get an item"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many items"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Item ID",
      "name": "itemId",
      "type": "string",
      "default": "",
      "description": "The ID of the item to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "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": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "placeholder": "WHERE Metadata.LastUpdatedTime > '2021-01-01'",
          "description": "The condition for selecting items. See the <a href=\"https://developer.intuit.com/app/developer/qbo/docs/develop/explore-the-quickbooks-online-api/data-queries\">guide</a> for supported syntax."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "item"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a payment"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a payment"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a payment"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many payments"
        },
        {
          "name": "Send",
          "value": "send",
          "action": "Send a payment"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a payment"
        },
        {
          "name": "Void",
          "value": "void",
          "action": "Void a payment"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "For Customer Name or ID",
      "name": "CustomerRef",
      "type": "options",
      "default": [],
      "description": "The ID of the customer who the payment is for. 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": [
            "payment"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getCustomers"
      }
    },
    {
      "displayName": "Total Amount",
      "name": "TotalAmt",
      "type": "number",
      "default": 0,
      "description": "Total amount of the transaction",
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Transaction Date",
          "name": "TxnDate",
          "description": "Date when the transaction occurred",
          "type": "dateTime",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Payment ID",
      "name": "paymentId",
      "type": "string",
      "default": "",
      "description": "The ID of the payment to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Payment ID",
      "name": "paymentId",
      "type": "string",
      "default": "",
      "description": "The ID of the payment to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Download",
      "name": "download",
      "type": "boolean",
      "default": false,
      "description": "Whether to download estimate as PDF file",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Put Output File in Field",
      "name": "binaryProperty",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "get"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "File Name",
      "name": "fileName",
      "type": "string",
      "default": "",
      "description": "Name of the file that will be downloaded",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "get"
          ],
          "download": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "placeholder": "WHERE Metadata.LastUpdatedTime > '2021-01-01'",
          "description": "The condition for selecting payments. See the <a href=\"https://developer.intuit.com/app/developer/qbo/docs/develop/explore-the-quickbooks-online-api/data-queries\">guide</a> for supported syntax."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Payment ID",
      "name": "paymentId",
      "type": "string",
      "default": "",
      "description": "The ID of the payment to send",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "The email of the recipient of the payment",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "send"
          ]
        }
      }
    },
    {
      "displayName": "Payment ID",
      "name": "paymentId",
      "type": "string",
      "default": "",
      "description": "The ID of the payment to void",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "void"
          ]
        }
      }
    },
    {
      "displayName": "Payment ID",
      "name": "paymentId",
      "type": "string",
      "default": "",
      "description": "The ID of the payment to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Transaction Date",
          "name": "TxnDate",
          "description": "Date when the transaction occurred",
          "type": "dateTime",
          "default": ""
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "payment"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get a purchase"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many purchases"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "purchase"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Purchase ID",
      "name": "purchaseId",
      "type": "string",
      "default": "",
      "description": "The ID of the purchase to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "purchase"
          ],
          "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": [
            "purchase"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "purchase"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "placeholder": "WHERE Metadata.LastUpdatedTime > '2021-01-01'",
          "description": "The condition for selecting purchases. See the <a href=\"https://developer.intuit.com/app/developer/qbo/docs/develop/explore-the-quickbooks-online-api/data-queries\">guide</a> for supported syntax."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "purchase"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getReport",
      "options": [
        {
          "name": "Get Report",
          "value": "getReport",
          "action": "Get a report"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "transaction"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "transaction"
          ],
          "operation": [
            "getReport"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Accounts Payable Paid",
          "name": "appaid",
          "type": "options",
          "default": "All",
          "options": [
            {
              "name": "All",
              "value": "All"
            },
            {
              "name": "Paid",
              "value": "Paid"
            },
            {
              "name": "Unpaid",
              "value": "Unpaid"
            }
          ]
        },
        {
          "displayName": "Accounts Receivable Paid",
          "name": "arpaid",
          "type": "options",
          "default": "All",
          "options": [
            {
              "name": "All",
              "value": "All"
            },
            {
              "name": "Paid",
              "value": "Paid"
            },
            {
              "name": "Unpaid",
              "value": "Unpaid"
            }
          ]
        },
        {
          "displayName": "Cleared Status",
          "name": "cleared",
          "type": "options",
          "default": "Reconciled",
          "options": [
            {
              "name": "Cleared",
              "value": "Cleared"
            },
            {
              "name": "Uncleared",
              "value": "Uncleared"
            },
            {
              "name": "Reconciled",
              "value": "Reconciled"
            },
            {
              "name": "Deposited",
              "value": "Deposited"
            }
          ]
        },
        {
          "displayName": "Columns",
          "name": "columns",
          "type": "multiOptions",
          "default": [],
          "description": "Columns to return",
          "options": [
            {
              "name": "Account Name",
              "value": "account_name"
            },
            {
              "name": "Created By",
              "value": "create_by"
            },
            {
              "name": "Create Date",
              "value": "create_date"
            },
            {
              "name": "Customer Message",
              "value": "cust_msg"
            },
            {
              "name": "Department Name",
              "value": "dept_name"
            },
            {
              "name": "Due Date",
              "value": "due_date"
            },
            {
              "name": "Document Number",
              "value": "doc_num"
            },
            {
              "name": "Invoice Date",
              "value": "inv_date"
            },
            {
              "name": "Is Account Payable Paid",
              "value": "is_ap_paid"
            },
            {
              "name": "Is Cleared",
              "value": "is_cleared"
            },
            {
              "name": "Last Modified By",
              "value": "last_mod_by"
            },
            {
              "name": "Memo",
              "value": "memo"
            },
            {
              "name": "Name",
              "value": "name"
            },
            {
              "name": "Other Account",
              "value": "other_account"
            },
            {
              "name": "Payment Method",
              "value": "pmt_mthod"
            },
            {
              "name": "Posting",
              "value": "is_no_post"
            },
            {
              "name": "Printed Status",
              "value": "printed"
            },
            {
              "name": "Sales Customer 1",
              "value": "sales_cust1"
            },
            {
              "name": "Sales Customer 2",
              "value": "sales_cust2"
            },
            {
              "name": "Sales Customer 3",
              "value": "sales_cust3"
            },
            {
              "name": "Term Name",
              "value": "term_name"
            },
            {
              "name": "Tracking Number",
              "value": "tracking_num"
            },
            {
              "name": "Transaction Date",
              "value": "tx_date"
            },
            {
              "name": "Transaction Type",
              "value": "txn_type"
            }
          ]
        },
        {
          "displayName": "Customer Names or IDs",
          "name": "customer",
          "type": "multiOptions",
          "default": [],
          "description": "Customer to filter results by. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getCustomers"
          }
        },
        {
          "displayName": "Date Range (Custom)",
          "name": "dateRangeCustom",
          "placeholder": "Add Date Range",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Date Range Properties",
              "name": "dateRangeCustomProperties",
              "values": [
                {
                  "displayName": "Start Date",
                  "name": "start_date",
                  "type": "dateTime",
                  "default": "",
                  "description": "Start date of the date range to filter results by"
                },
                {
                  "displayName": "End Date",
                  "name": "end_date",
                  "type": "dateTime",
                  "default": "",
                  "description": "End date of the date range to filter results by"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Date Range (Predefined)",
          "name": "date_macro",
          "type": "options",
          "default": "This Month",
          "description": "Predefined date range to filter results by",
          "options": [
            {
              "name": "Today",
              "value": "Today"
            },
            {
              "name": "Yesterday",
              "value": "Yesterday"
            },
            {
              "name": "This Week",
              "value": "This Week"
            },
            {
              "name": "Last Week",
              "value": "Last Week"
            },
            {
              "name": "This Week-to-Date",
              "value": "This Week-to-Date"
            },
            {
              "name": "Last Week-to-Date",
              "value": "Last Week-to-Date"
            },
            {
              "name": "Next Week",
              "value": "Next Week"
            },
            {
              "name": "Next 4 Weeks",
              "value": "Next 4 Weeks"
            },
            {
              "name": "This Month",
              "value": "This Month"
            },
            {
              "name": "Last Month",
              "value": "Last Month"
            },
            {
              "name": "This Month-to-Date",
              "value": "This Month-to-Date"
            },
            {
              "name": "Last Month-to-Date",
              "value": "Last Month-to-Date"
            },
            {
              "name": "Next Month",
              "value": "Next Month"
            },
            {
              "name": "This Fiscal Quarter",
              "value": "This Fiscal Quarter"
            },
            {
              "name": "Last Fiscal Quarter",
              "value": "Last Fiscal Quarter"
            },
            {
              "name": "This Fiscal Quarter-to-Date",
              "value": "This Fiscal Quarter-to-Date"
            },
            {
              "name": "Last Fiscal Quarter-to-Date",
              "value": "Last Fiscal Quarter-to-Date"
            },
            {
              "name": "Next Fiscal Quarter",
              "value": "Next Fiscal Quarter"
            },
            {
              "name": "This Fiscal Year",
              "value": "This Fiscal Year"
            },
            {
              "name": "Last Fiscal Year",
              "value": "Last Fiscal Year"
            },
            {
              "name": "This Fiscal Year-to-Date",
              "value": "This Fiscal Year-to-Date"
            },
            {
              "name": "Last Fiscal Year-to-Date",
              "value": "Last Fiscal Year-to-Date"
            },
            {
              "name": "Next Fiscal Year",
              "value": "Next Fiscal Year"
            }
          ]
        },
        {
          "displayName": "Date Range for Creation Date (Custom)",
          "name": "dateRangeCreationCustom",
          "placeholder": "Add Creation Date Range",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Creation Date Range Properties",
              "name": "dateRangeCreationCustomProperties",
              "values": [
                {
                  "displayName": "Start Creation Date",
                  "name": "start_createdate",
                  "type": "dateTime",
                  "default": "",
                  "description": "Start date of the account creation date range to filter results by"
                },
                {
                  "displayName": "End Creation Date",
                  "name": "end_createdate",
                  "type": "dateTime",
                  "default": "",
                  "description": "End date of the account creation date range to filter results by"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Date Range for Creation Date (Predefined)",
          "name": "createdate_macro",
          "type": "options",
          "default": "This Month",
          "options": [
            {
              "name": "Today",
              "value": "Today"
            },
            {
              "name": "Yesterday",
              "value": "Yesterday"
            },
            {
              "name": "This Week",
              "value": "This Week"
            },
            {
              "name": "Last Week",
              "value": "Last Week"
            },
            {
              "name": "This Week-to-Date",
              "value": "This Week-to-Date"
            },
            {
              "name": "Last Week-to-Date",
              "value": "Last Week-to-Date"
            },
            {
              "name": "Next Week",
              "value": "Next Week"
            },
            {
              "name": "Next 4 Weeks",
              "value": "Next 4 Weeks"
            },
            {
              "name": "This Month",
              "value": "This Month"
            },
            {
              "name": "Last Month",
              "value": "Last Month"
            },
            {
              "name": "This Month-to-Date",
              "value": "This Month-to-Date"
            },
            {
              "name": "Last Month-to-Date",
              "value": "Last Month-to-Date"
            },
            {
              "name": "Next Month",
              "value": "Next Month"
            },
            {
              "name": "This Fiscal Quarter",
              "value": "This Fiscal Quarter"
            },
            {
              "name": "Last Fiscal Quarter",
              "value": "Last Fiscal Quarter"
            },
            {
              "name": "This Fiscal Quarter-to-Date",
              "value": "This Fiscal Quarter-to-Date"
            },
            {
              "name": "Last Fiscal Quarter-to-Date",
              "value": "Last Fiscal Quarter-to-Date"
            },
            {
              "name": "Next Fiscal Quarter",
              "value": "Next Fiscal Quarter"
            },
            {
              "name": "This Fiscal Year",
              "value": "This Fiscal Year"
            },
            {
              "name": "Last Fiscal Year",
              "value": "Last Fiscal Year"
            },
            {
              "name": "This Fiscal Year-to-Date",
              "value": "This Fiscal Year-to-Date"
            },
            {
              "name": "Last Fiscal Year-to-Date",
              "value": "Last Fiscal Year-to-Date"
            },
            {
              "name": "Next Fiscal Year",
              "value": "Next Fiscal Year"
            }
          ],
          "description": "Predefined report account creation date range"
        },
        {
          "displayName": "Date Range for Due Date (Custom)",
          "name": "dateRangeDueCustom",
          "placeholder": "Add Due Date Range",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Due Date Range Properties",
              "name": "dateRangeDueCustomProperties",
              "values": [
                {
                  "displayName": "Start Due Date",
                  "name": "start_duedate",
                  "type": "dateTime",
                  "default": "",
                  "description": "Start date of the due date range to filter results by"
                },
                {
                  "displayName": "End Due Date",
                  "name": "end_duedate",
                  "type": "dateTime",
                  "default": "",
                  "description": "End date of the due date range to filter results by"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Date Range for Due Date (Predefined)",
          "name": "duedate_macro",
          "type": "options",
          "default": "This Month",
          "description": "Predefined due date range to filter results by",
          "options": [
            {
              "name": "Today",
              "value": "Today"
            },
            {
              "name": "Yesterday",
              "value": "Yesterday"
            },
            {
              "name": "This Week",
              "value": "This Week"
            },
            {
              "name": "Last Week",
              "value": "Last Week"
            },
            {
              "name": "This Week-to-Date",
              "value": "This Week-to-Date"
            },
            {
              "name": "Last Week-to-Date",
              "value": "Last Week-to-Date"
            },
            {
              "name": "Next Week",
              "value": "Next Week"
            },
            {
              "name": "Next 4 Weeks",
              "value": "Next 4 Weeks"
            },
            {
              "name": "This Month",
              "value": "This Month"
            },
            {
              "name": "Last Month",
              "value": "Last Month"
            },
            {
              "name": "This Month-to-Date",
              "value": "This Month-to-Date"
            },
            {
              "name": "Last Month-to-Date",
              "value": "Last Month-to-Date"
            },
            {
              "name": "Next Month",
              "value": "Next Month"
            },
            {
              "name": "This Fiscal Quarter",
              "value": "This Fiscal Quarter"
            },
            {
              "name": "Last Fiscal Quarter",
              "value": "Last Fiscal Quarter"
            },
            {
              "name": "This Fiscal Quarter-to-Date",
              "value": "This Fiscal Quarter-to-Date"
            },
            {
              "name": "Last Fiscal Quarter-to-Date",
              "value": "Last Fiscal Quarter-to-Date"
            },
            {
              "name": "Next Fiscal Quarter",
              "value": "Next Fiscal Quarter"
            },
            {
              "name": "This Fiscal Year",
              "value": "This Fiscal Year"
            },
            {
              "name": "Last Fiscal Year",
              "value": "Last Fiscal Year"
            },
            {
              "name": "This Fiscal Year-to-Date",
              "value": "This Fiscal Year-to-Date"
            },
            {
              "name": "Last Fiscal Year-to-Date",
              "value": "Last Fiscal Year-to-Date"
            },
            {
              "name": "Next Fiscal Year",
              "value": "Next Fiscal Year"
            }
          ]
        },
        {
          "displayName": "Date Range for Modification Date (Custom)",
          "name": "dateRangeModificationCustom",
          "placeholder": "Add Modification Date Range",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Modification Date Range Properties",
              "name": "dateRangeModificationCustomProperties",
              "values": [
                {
                  "displayName": "Start Modification Date",
                  "name": "start_moddate",
                  "type": "dateTime",
                  "default": "",
                  "description": "Start date of the account modification date range to filter results by"
                },
                {
                  "displayName": "End Modification Date",
                  "name": "end_moddate",
                  "type": "dateTime",
                  "default": "",
                  "description": "End date of the account modification date range to filter results by"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Date Range for Modification Date (Predefined)",
          "name": "moddate_macro",
          "type": "options",
          "default": "This Month",
          "description": "Predefined account modifiction date range to filter results by",
          "options": [
            {
              "name": "Today",
              "value": "Today"
            },
            {
              "name": "Yesterday",
              "value": "Yesterday"
            },
            {
              "name": "This Week",
              "value": "This Week"
            },
            {
              "name": "Last Week",
              "value": "Last Week"
            },
            {
              "name": "This Week-to-Date",
              "value": "This Week-to-Date"
            },
            {
              "name": "Last Week-to-Date",
              "value": "Last Week-to-Date"
            },
            {
              "name": "Next Week",
              "value": "Next Week"
            },
            {
              "name": "Next 4 Weeks",
              "value": "Next 4 Weeks"
            },
            {
              "name": "This Month",
              "value": "This Month"
            },
            {
              "name": "Last Month",
              "value": "Last Month"
            },
            {
              "name": "This Month-to-Date",
              "value": "This Month-to-Date"
            },
            {
              "name": "Last Month-to-Date",
              "value": "Last Month-to-Date"
            },
            {
              "name": "Next Month",
              "value": "Next Month"
            },
            {
              "name": "This Fiscal Quarter",
              "value": "This Fiscal Quarter"
            },
            {
              "name": "Last Fiscal Quarter",
              "value": "Last Fiscal Quarter"
            },
            {
              "name": "This Fiscal Quarter-to-Date",
              "value": "This Fiscal Quarter-to-Date"
            },
            {
              "name": "Last Fiscal Quarter-to-Date",
              "value": "Last Fiscal Quarter-to-Date"
            },
            {
              "name": "Next Fiscal Quarter",
              "value": "Next Fiscal Quarter"
            },
            {
              "name": "This Fiscal Year",
              "value": "This Fiscal Year"
            },
            {
              "name": "Last Fiscal Year",
              "value": "Last Fiscal Year"
            },
            {
              "name": "This Fiscal Year-to-Date",
              "value": "This Fiscal Year-to-Date"
            },
            {
              "name": "Last Fiscal Year-to-Date",
              "value": "Last Fiscal Year-to-Date"
            },
            {
              "name": "Next Fiscal Year",
              "value": "Next Fiscal Year"
            }
          ]
        },
        {
          "displayName": "Department Names or IDs",
          "name": "department",
          "type": "multiOptions",
          "default": [],
          "description": "Department to filter results by. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getDepartments"
          }
        },
        {
          "displayName": "Document Number",
          "name": "docnum",
          "type": "string",
          "default": "",
          "description": "Transaction document number to filter results by"
        },
        {
          "displayName": "Group By",
          "name": "group_by",
          "default": "Account",
          "type": "options",
          "description": "Transaction field to group results by",
          "options": [
            {
              "name": "Account",
              "value": "Account"
            },
            {
              "name": "Customer",
              "value": "Customer"
            },
            {
              "name": "Day",
              "value": "Day"
            },
            {
              "name": "Employee",
              "value": "Employee"
            },
            {
              "name": "Location",
              "value": "Location"
            },
            {
              "name": "Month",
              "value": "Month"
            },
            {
              "name": "Name",
              "value": "Name"
            },
            {
              "name": "None",
              "value": "None"
            },
            {
              "name": "Payment Method",
              "value": "Payment Method"
            },
            {
              "name": "Quarter",
              "value": "Quarter"
            },
            {
              "name": "Transaction Type",
              "value": "Transaction Type"
            },
            {
              "name": "Vendor",
              "value": "Vendor"
            },
            {
              "name": "Week",
              "value": "Week"
            },
            {
              "name": "Year",
              "value": "Year"
            }
          ]
        },
        {
          "displayName": "Memo Names or IDs",
          "name": "memo",
          "type": "multiOptions",
          "default": [],
          "description": "Memo to filter results by. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getMemos"
          }
        },
        {
          "displayName": "Payment Method",
          "name": "payment_Method",
          "type": "options",
          "default": "Cash",
          "description": "Payment method to filter results by",
          "options": [
            {
              "name": "American Express",
              "value": "American Express"
            },
            {
              "name": "Cash",
              "value": "Cash"
            },
            {
              "name": "Check",
              "value": "Check"
            },
            {
              "name": "Dinners Club",
              "value": "Dinners Club"
            },
            {
              "name": "Discover",
              "value": "Discover"
            },
            {
              "name": "Master Card",
              "value": "Master Card"
            },
            {
              "name": "Visa",
              "value": "Visa"
            }
          ]
        },
        {
          "displayName": "Printed Status",
          "name": "printed",
          "type": "options",
          "default": "Printed",
          "description": "Printed state to filter results by",
          "options": [
            {
              "name": "Printed",
              "value": "Printed"
            },
            {
              "name": "To Be Printed",
              "value": "To_be_printed"
            }
          ]
        },
        {
          "displayName": "Quick Zoom URL",
          "name": "qzurl",
          "type": "boolean",
          "default": true,
          "description": "Whether Quick Zoom URL information should be generated"
        },
        {
          "displayName": "Sort By",
          "name": "sort_by",
          "type": "options",
          "default": "account_name",
          "description": "Column to sort results by",
          "options": [
            {
              "name": "Account Name",
              "value": "account_name"
            },
            {
              "name": "Created By",
              "value": "create_by"
            },
            {
              "name": "Create Date",
              "value": "create_date"
            },
            {
              "name": "Customer Message",
              "value": "cust_msg"
            },
            {
              "name": "Department Name",
              "value": "dept_name"
            },
            {
              "name": "Due Date",
              "value": "due_date"
            },
            {
              "name": "Document Number",
              "value": "doc_num"
            },
            {
              "name": "Invoice Date",
              "value": "inv_date"
            },
            {
              "name": "Is Account Payable Paid",
              "value": "is_ap_paid"
            },
            {
              "name": "Is Cleared",
              "value": "is_cleared"
            },
            {
              "name": "Last Modified By",
              "value": "last_mod_by"
            },
            {
              "name": "Memo",
              "value": "memo"
            },
            {
              "name": "Name",
              "value": "name"
            },
            {
              "name": "Other Account",
              "value": "other_account"
            },
            {
              "name": "Payment Method",
              "value": "pmt_mthod"
            },
            {
              "name": "Posting",
              "value": "is_no_post"
            },
            {
              "name": "Printed Status",
              "value": "printed"
            },
            {
              "name": "Sales Customer 1",
              "value": "sales_cust1"
            },
            {
              "name": "Sales Customer 2",
              "value": "sales_cust2"
            },
            {
              "name": "Sales Customer 3",
              "value": "sales_cust3"
            },
            {
              "name": "Term Name",
              "value": "term_name"
            },
            {
              "name": "Tracking Number",
              "value": "tracking_num"
            },
            {
              "name": "Transaction Date",
              "value": "tx_date"
            },
            {
              "name": "Transaction Type",
              "value": "txn_type"
            }
          ]
        },
        {
          "displayName": "Sort Order",
          "name": "sort_order",
          "type": "options",
          "default": "Ascend",
          "options": [
            {
              "name": "Ascend",
              "value": "Ascend"
            },
            {
              "name": "Descend",
              "value": "Descend"
            }
          ]
        },
        {
          "displayName": "Source Account Type",
          "name": "source_account_type",
          "default": "Bank",
          "type": "options",
          "description": "Account type to filter results by",
          "options": [
            {
              "name": "Accounts Payable",
              "value": "AccountsPayable"
            },
            {
              "name": "Accounts Receivable",
              "value": "AccountsReceivable"
            },
            {
              "name": "Bank",
              "value": "Bank"
            },
            {
              "name": "Cost Of Goods Sold",
              "value": "CostOfGoodsSold"
            },
            {
              "name": "Credit Card",
              "value": "CreditCard"
            },
            {
              "name": "Equity",
              "value": "Equity"
            },
            {
              "name": "Expense",
              "value": "Expense"
            },
            {
              "name": "Fixed Asset",
              "value": "FixedAsset"
            },
            {
              "name": "Income",
              "value": "Income"
            },
            {
              "name": "Long Term Liability",
              "value": "LongTermLiability"
            },
            {
              "name": "Non Posting",
              "value": "NonPosting"
            },
            {
              "name": "Other Asset",
              "value": "OtherAsset"
            },
            {
              "name": "Other Current Asset",
              "value": "OtherCurrentAsset"
            },
            {
              "name": "Other Current Liability",
              "value": "OtherCurrentLiability"
            },
            {
              "name": "Other Expense",
              "value": "OtherExpense"
            },
            {
              "name": "Other Income",
              "value": "OtherIncome"
            }
          ]
        },
        {
          "displayName": "Term Names or IDs",
          "name": "term",
          "type": "multiOptions",
          "default": [],
          "description": "Term to filter results by. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getTerms"
          }
        },
        {
          "displayName": "Transaction Amount",
          "name": "bothamount",
          "type": "number",
          "default": 0,
          "typeOptions": {
            "numberPrecision": 2
          },
          "description": "Monetary amount to filter results by"
        },
        {
          "displayName": "Transaction Type",
          "name": "transaction_type",
          "type": "options",
          "default": "CreditCardCharge",
          "description": "Transaction type to filter results by",
          "options": [
            {
              "name": "Bill",
              "value": "Bill"
            },
            {
              "name": "Bill Payment Check",
              "value": "BillPaymentCheck"
            },
            {
              "name": "Bill Payment Credit Card",
              "value": "BillPaymentCreditCard"
            },
            {
              "name": "Billable Charge",
              "value": "BillableCharge"
            },
            {
              "name": "Cash Purchase",
              "value": "CashPurchase"
            },
            {
              "name": "Charge",
              "value": "Charge"
            },
            {
              "name": "Check",
              "value": "Check"
            },
            {
              "name": "Credit",
              "value": "Credit"
            },
            {
              "name": "Credit Card Charge",
              "value": "CreditCardCharge"
            },
            {
              "name": "Credit Card Credit",
              "value": "CreditCardCredit"
            },
            {
              "name": "Credit Memo",
              "value": "CreditMemo"
            },
            {
              "name": "Credit Refund",
              "value": "CreditRefund"
            },
            {
              "name": "Deposit",
              "value": "Deposit"
            },
            {
              "name": "Estimate",
              "value": "Estimate"
            },
            {
              "name": "Global Tax Adjustment",
              "value": "GlobalTaxAdjustment"
            },
            {
              "name": "Global Tax Payment",
              "value": "GlobalTaxPayment"
            },
            {
              "name": "Inventory Quantity Adjustment",
              "value": "InventoryQuantityAdjustment"
            },
            {
              "name": "Invoice",
              "value": "Invoice"
            },
            {
              "name": "Journal Entry",
              "value": "JournalEntry"
            },
            {
              "name": "Purchase Order",
              "value": "PurchaseOrder"
            },
            {
              "name": "Receive Payment",
              "value": "ReceivePayment"
            },
            {
              "name": "Sales Receipt",
              "value": "SalesReceipt"
            },
            {
              "name": "Service  Tax  Defer",
              "value": "Service Tax Defer"
            },
            {
              "name": "Service  Tax  Gross  Adjustment",
              "value": "Service Tax Gross Adjustment"
            },
            {
              "name": "Service  Tax  Partial  Utilisation",
              "value": "Service Tax Partial Utilisation"
            },
            {
              "name": "Service  Tax  Refund",
              "value": "Service Tax Refund"
            },
            {
              "name": "Service  Tax  Reversal",
              "value": "Service Tax Reversal"
            },
            {
              "name": "Statement",
              "value": "Statement"
            },
            {
              "name": "Time Activity",
              "value": "TimeActivity"
            },
            {
              "name": "Transfer",
              "value": "Transfer"
            },
            {
              "name": "Vendor Credit",
              "value": "VendorCredit"
            }
          ]
        },
        {
          "displayName": "Vendor Names or IDs",
          "name": "vendor",
          "type": "multiOptions",
          "default": [],
          "description": "Vendor to filter results by. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "typeOptions": {
            "loadOptionsMethod": "getVendors"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "transaction"
          ],
          "operation": [
            "getReport"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a vendor"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a vendor"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many vendors"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a vendor"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Display Name",
      "name": "displayName",
      "type": "string",
      "default": "",
      "description": "The display name of the vendor to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account Number",
          "name": "AcctNum",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Active",
          "name": "Active",
          "description": "Whether the employee is currently enabled for use by QuickBooks",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Balance",
          "name": "Balance",
          "description": "The balance reflecting any payments made against the transaction",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Company Name",
          "name": "CompanyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Family Name",
          "name": "FamilyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Given Name",
          "name": "GivenName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Email Address",
          "name": "PrimaryEmailAddr",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Phone",
          "name": "PrimaryPhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Print-On-Check Name",
          "name": "PrintOnCheckName",
          "description": "Name of the vendor as printed on a check",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Vendor 1099",
          "name": "Vendor1099",
          "description": "Whether the vendor is an independent contractor, given a 1099-MISC form at the end of the year",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Vendor ID",
      "name": "vendorId",
      "type": "string",
      "default": "",
      "description": "The 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": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Query",
          "name": "query",
          "type": "string",
          "default": "",
          "placeholder": "WHERE Metadata.LastUpdatedTime > '2021-01-01'",
          "description": "The condition for selecting vendors. See the <a href=\"https://developer.intuit.com/app/developer/qbo/docs/develop/explore-the-quickbooks-online-api/data-queries\">guide</a> for supported syntax."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Vendor ID",
      "name": "vendorId",
      "type": "string",
      "default": "",
      "description": "The ID of the vendor to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account Number",
          "name": "AcctNum",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Active",
          "name": "Active",
          "description": "Whether the employee is currently enabled for use by QuickBooks",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "Balance",
          "name": "Balance",
          "description": "The balance reflecting any payments made against the transaction",
          "type": "number",
          "default": 0
        },
        {
          "displayName": "Billing Address",
          "name": "BillAddr",
          "placeholder": "Add Billing Address Fields",
          "type": "fixedCollection",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "City",
                  "name": "City",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 1",
                  "name": "Line1",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "PostalCode",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Latitude",
                  "name": "Lat",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Longitude",
                  "name": "Long",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country Subdivision Code",
                  "name": "CountrySubDivisionCode",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Company Name",
          "name": "CompanyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Family Name",
          "name": "FamilyName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Given Name",
          "name": "GivenName",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Email Address",
          "name": "PrimaryEmailAddr",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Primary Phone",
          "name": "PrimaryPhone",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Print-On-Check Name",
          "name": "PrintOnCheckName",
          "description": "Name of the vendor as printed on a check",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Vendor 1099",
          "name": "Vendor1099",
          "description": "Whether the vendor is an independent contractor, given a 1099-MISC form at the end of the year",
          "type": "boolean",
          "default": false
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "vendor"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

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


