# nodes

node_type: nodes-base.actionNetwork
package_name: n8n-nodes-base
display_name: Action Network
description: Consume the Action Network API
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "actionNetworkApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # Action Network node

  Use the Action Network node to automate work in Action Network, and integrate Action Network with other applications. n8n has built-in support for a wide range of Action Network features, including creating, updating, and deleting events, people, tags, and signatures. 

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

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

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

  ## Operations

  * Attendance
      * Create
      * Get
      * Get All
  * Event
      * Create
      * Get
      * Get All
  * Person
      * Create
      * Get
      * Get All
      * Update
  * Person Tag
      * Add
      * Remove
  * Petition
      * Create
      * Get
      * Get All
      * Update
  * Signature
      * Create
      * Get
      * Get All
      * Update
  * Tag
      * Create
      * Get
      * Get All

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "attendance",
      "options": [
        {
          "name": "Attendance",
          "value": "attendance"
        },
        {
          "name": "Event",
          "value": "event"
        },
        {
          "name": "Person",
          "value": "person"
        },
        {
          "name": "Person Tag",
          "value": "personTag"
        },
        {
          "name": "Petition",
          "value": "petition"
        },
        {
          "name": "Signature",
          "value": "signature"
        },
        {
          "name": "Tag",
          "value": "tag"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an attendance"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an attendance"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many attendances"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "attendance"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "string",
      "default": "",
      "description": "ID of the person to create an attendance for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attendance"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "ID of the event to create an attendance for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attendance"
          ],
          "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": [
            "attendance"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "ID of the event whose attendance to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attendance"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Attendance ID",
      "name": "attendanceId",
      "type": "string",
      "default": "",
      "description": "ID of the attendance to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attendance"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "attendance"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "ID of the event to create an attendance for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "attendance"
          ],
          "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": [
            "attendance"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "attendance"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "attendance"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create an event"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get an event"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many events"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Origin System",
      "name": "originSystem",
      "type": "string",
      "default": "",
      "description": "Source where the event originated",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Title of the event to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "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": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Browser URL",
          "name": "browser_url",
          "type": "string",
          "default": "",
          "description": "URL to this event’s page on the Action Network or a third party"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the event. HTML supported."
        },
        {
          "displayName": "End Date",
          "name": "end_date",
          "type": "dateTime",
          "default": "",
          "description": "End date and time of the event"
        },
        {
          "displayName": "Featured Image URL",
          "name": "featured_image_url",
          "type": "string",
          "default": "",
          "description": "URL to this event’s featured image on the Action Network"
        },
        {
          "displayName": "Instructions",
          "name": "instructions",
          "type": "string",
          "default": "",
          "description": "Event's instructions for activists, visible after they RSVP. HTML supported."
        },
        {
          "displayName": "Location",
          "name": "location",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Location Field",
          "typeOptions": {
            "multipleValues": false
          },
          "options": [
            {
              "displayName": "Postal Addresses Fields",
              "name": "postal_addresses_fields",
              "placeholder": "Add Postal Address Field",
              "values": [
                {
                  "displayName": "Primary",
                  "name": "primary",
                  "type": "boolean",
                  "default": false,
                  "description": "Whether this is the person's primary address"
                },
                {
                  "displayName": "Address Line",
                  "name": "address_lines",
                  "type": "string",
                  "default": "",
                  "description": "Line for a person's address"
                },
                {
                  "displayName": "Locality",
                  "name": "locality",
                  "type": "string",
                  "default": "",
                  "description": "City or other local administrative area. If blank, this will be filled in based on Action Network's geocoding."
                },
                {
                  "displayName": "Region",
                  "name": "region",
                  "type": "string",
                  "default": "",
                  "description": "State or subdivision code per ISO 3166-2"
                },
                {
                  "displayName": "Postal Code",
                  "name": "postal_code",
                  "type": "string",
                  "default": "",
                  "description": "Region specific postal code, such as ZIP code"
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": "",
                  "description": "Country code according to ISO 3166-1 Alpha-2. Defaults to US."
                },
                {
                  "displayName": "Language",
                  "name": "language",
                  "type": "string",
                  "default": "",
                  "description": "Language in which the address is recorded, per ISO 639"
                },
                {
                  "displayName": "Location",
                  "name": "location",
                  "type": "fixedCollection",
                  "default": {},
                  "options": [
                    {
                      "displayName": "Location Fields",
                      "name": "location_fields",
                      "values": [
                        {
                          "displayName": "Latitude",
                          "name": "latitude",
                          "type": "string",
                          "default": "",
                          "description": "Latitude of the location of the address"
                        },
                        {
                          "displayName": "Longitude",
                          "name": "longitude",
                          "type": "string",
                          "default": "",
                          "description": "Longitude of the location of the address"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Internal (not public) title of the event"
        },
        {
          "displayName": "Start Date",
          "name": "start_date",
          "type": "dateTime",
          "default": "",
          "description": "Start date and time of the event"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Event ID",
      "name": "eventId",
      "type": "string",
      "default": "",
      "description": "ID of the event to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "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": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "event"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a person"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a person"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many people"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a person"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ]
        }
      },
      "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": [
            "person"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Email Address",
      "name": "email_addresses",
      "type": "fixedCollection",
      "default": {},
      "description": "Person’s email addresses",
      "options": [
        {
          "displayName": "Email Addresses Fields",
          "name": "email_addresses_fields",
          "values": [
            {
              "displayName": "Address",
              "name": "address",
              "type": "string",
              "default": "",
              "description": "Person's email address"
            },
            {
              "displayName": "Primary",
              "name": "primary",
              "type": "hidden",
              "default": true,
              "description": "Whether this is the person's primary email address"
            },
            {
              "displayName": "Status",
              "name": "status",
              "type": "options",
              "default": "subscribed",
              "description": "Subscription status of this email address",
              "options": [
                {
                  "name": "Bouncing",
                  "value": "bouncing"
                },
                {
                  "name": "Previous Bounce",
                  "value": "previous bounce"
                },
                {
                  "name": "Previous Spam Complaint",
                  "value": "previous spam complaint"
                },
                {
                  "name": "Spam Complaint",
                  "value": "spam complaint"
                },
                {
                  "name": "Subscribed",
                  "value": "subscribed"
                },
                {
                  "name": "Unsubscribed",
                  "value": "unsubscribed"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Family Name",
          "name": "family_name",
          "type": "string",
          "default": "",
          "description": "Person’s last name"
        },
        {
          "displayName": "Given Name",
          "name": "given_name",
          "type": "string",
          "default": "",
          "description": "Person’s first name"
        },
        {
          "displayName": "Language Spoken",
          "name": "languages_spoken",
          "type": "options",
          "default": [],
          "description": "Language spoken by the person",
          "options": [
            {
              "name": "Danish",
              "value": "da"
            },
            {
              "name": "Dutch",
              "value": "nl"
            },
            {
              "name": "English",
              "value": "en"
            },
            {
              "name": "Finnish",
              "value": "fi"
            },
            {
              "name": "French",
              "value": "fr"
            },
            {
              "name": "German",
              "value": "de"
            },
            {
              "name": "Hungarian",
              "value": "hu"
            },
            {
              "name": "Indonesian",
              "value": "id"
            },
            {
              "name": "Japanese",
              "value": "ja"
            },
            {
              "name": "Portuguese - Portugal",
              "value": "pt"
            },
            {
              "name": "Portuguese - Brazil",
              "value": "br"
            },
            {
              "name": "Rumanian",
              "value": "ru"
            },
            {
              "name": "Spanish",
              "value": "es"
            },
            {
              "name": "Swedish",
              "value": "sv"
            },
            {
              "name": "Turkish",
              "value": "tr"
            },
            {
              "name": "Welsh",
              "value": "cy"
            }
          ]
        },
        {
          "displayName": "Phone Number",
          "name": "phone_numbers",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Phone Numbers Field",
          "options": [
            {
              "displayName": "Phone Numbers Fields",
              "name": "phone_numbers_fields",
              "placeholder": "Add Phone Number Field",
              "values": [
                {
                  "displayName": "Number",
                  "name": "number",
                  "type": "string",
                  "default": "",
                  "description": "Person's mobile number, in international format without the plus sign"
                },
                {
                  "displayName": "Primary",
                  "name": "primary",
                  "type": "hidden",
                  "default": true,
                  "description": "Whether this is the person's primary phone number"
                },
                {
                  "displayName": "Status",
                  "name": "status",
                  "type": "options",
                  "default": "subscribed",
                  "description": "Subscription status of this number",
                  "options": [
                    {
                      "name": "Bouncing",
                      "value": "bouncing"
                    },
                    {
                      "name": "Previous Bounce",
                      "value": "previous bounce"
                    },
                    {
                      "name": "Subscribed",
                      "value": "subscribed"
                    },
                    {
                      "name": "Unsubscribed",
                      "value": "unsubscribed"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Postal Addresses",
          "name": "postal_addresses",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Postal Addresses Field",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Postal Addresses Fields",
              "name": "postal_addresses_fields",
              "placeholder": "Add Postal Address Field",
              "values": [
                {
                  "displayName": "Primary",
                  "name": "primary",
                  "type": "boolean",
                  "default": false,
                  "description": "Whether this is the person's primary address"
                },
                {
                  "displayName": "Address Line",
                  "name": "address_lines",
                  "type": "string",
                  "default": "",
                  "description": "Line for a person's address"
                },
                {
                  "displayName": "Locality",
                  "name": "locality",
                  "type": "string",
                  "default": "",
                  "description": "City or other local administrative area. If blank, this will be filled in based on Action Network's geocoding."
                },
                {
                  "displayName": "Region",
                  "name": "region",
                  "type": "string",
                  "default": "",
                  "description": "State or subdivision code per ISO 3166-2"
                },
                {
                  "displayName": "Postal Code",
                  "name": "postal_code",
                  "type": "string",
                  "default": "",
                  "description": "Region specific postal code, such as ZIP code"
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": "",
                  "description": "Country code according to ISO 3166-1 Alpha-2. Defaults to US."
                },
                {
                  "displayName": "Language",
                  "name": "language",
                  "type": "string",
                  "default": "",
                  "description": "Language in which the address is recorded, per ISO 639"
                },
                {
                  "displayName": "Location",
                  "name": "location",
                  "type": "fixedCollection",
                  "default": {},
                  "options": [
                    {
                      "displayName": "Location Fields",
                      "name": "location_fields",
                      "values": [
                        {
                          "displayName": "Latitude",
                          "name": "latitude",
                          "type": "string",
                          "default": "",
                          "description": "Latitude of the location of the address"
                        },
                        {
                          "displayName": "Longitude",
                          "name": "longitude",
                          "type": "string",
                          "default": "",
                          "description": "Longitude of the location of the address"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "string",
      "default": "",
      "description": "ID of the person to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "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": [
            "person"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 25,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 25
      }
    },
    {
      "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": [
            "person"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "string",
      "default": "",
      "description": "ID of the person to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "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": [
            "person"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Family Name",
          "name": "family_name",
          "type": "string",
          "default": "",
          "description": "Person’s last name"
        },
        {
          "displayName": "Given Name",
          "name": "given_name",
          "type": "string",
          "default": "",
          "description": "Person’s first name"
        },
        {
          "displayName": "Language Spoken",
          "name": "languages_spoken",
          "type": "options",
          "default": [],
          "description": "Language spoken by the person",
          "options": [
            {
              "name": "Danish",
              "value": "da"
            },
            {
              "name": "Dutch",
              "value": "nl"
            },
            {
              "name": "English",
              "value": "en"
            },
            {
              "name": "Finnish",
              "value": "fi"
            },
            {
              "name": "French",
              "value": "fr"
            },
            {
              "name": "German",
              "value": "de"
            },
            {
              "name": "Hungarian",
              "value": "hu"
            },
            {
              "name": "Indonesian",
              "value": "id"
            },
            {
              "name": "Japanese",
              "value": "ja"
            },
            {
              "name": "Portuguese - Portugal",
              "value": "pt"
            },
            {
              "name": "Portuguese - Brazil",
              "value": "br"
            },
            {
              "name": "Rumanian",
              "value": "ru"
            },
            {
              "name": "Spanish",
              "value": "es"
            },
            {
              "name": "Swedish",
              "value": "sv"
            },
            {
              "name": "Turkish",
              "value": "tr"
            },
            {
              "name": "Welsh",
              "value": "cy"
            }
          ]
        },
        {
          "displayName": "Phone Number",
          "name": "phone_numbers",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Phone Numbers Field",
          "options": [
            {
              "displayName": "Phone Numbers Fields",
              "name": "phone_numbers_fields",
              "placeholder": "Add Phone Number Field",
              "values": [
                {
                  "displayName": "Number",
                  "name": "number",
                  "type": "string",
                  "default": "",
                  "description": "Person's mobile number, in international format without the plus sign"
                },
                {
                  "displayName": "Primary",
                  "name": "primary",
                  "type": "hidden",
                  "default": true,
                  "description": "Whether this is the person's primary phone number"
                },
                {
                  "displayName": "Status",
                  "name": "status",
                  "type": "options",
                  "default": "subscribed",
                  "description": "Subscription status of this number",
                  "options": [
                    {
                      "name": "Bouncing",
                      "value": "bouncing"
                    },
                    {
                      "name": "Previous Bounce",
                      "value": "previous bounce"
                    },
                    {
                      "name": "Subscribed",
                      "value": "subscribed"
                    },
                    {
                      "name": "Unsubscribed",
                      "value": "unsubscribed"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Postal Addresses",
          "name": "postal_addresses",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Postal Addresses Field",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Postal Addresses Fields",
              "name": "postal_addresses_fields",
              "placeholder": "Add Postal Address Field",
              "values": [
                {
                  "displayName": "Primary",
                  "name": "primary",
                  "type": "boolean",
                  "default": false,
                  "description": "Whether this is the person's primary address"
                },
                {
                  "displayName": "Address Line",
                  "name": "address_lines",
                  "type": "string",
                  "default": "",
                  "description": "Line for a person's address"
                },
                {
                  "displayName": "Locality",
                  "name": "locality",
                  "type": "string",
                  "default": "",
                  "description": "City or other local administrative area. If blank, this will be filled in based on Action Network's geocoding."
                },
                {
                  "displayName": "Region",
                  "name": "region",
                  "type": "string",
                  "default": "",
                  "description": "State or subdivision code per ISO 3166-2"
                },
                {
                  "displayName": "Postal Code",
                  "name": "postal_code",
                  "type": "string",
                  "default": "",
                  "description": "Region specific postal code, such as ZIP code"
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": "",
                  "description": "Country code according to ISO 3166-1 Alpha-2. Defaults to US."
                },
                {
                  "displayName": "Language",
                  "name": "language",
                  "type": "string",
                  "default": "",
                  "description": "Language in which the address is recorded, per ISO 639"
                },
                {
                  "displayName": "Location",
                  "name": "location",
                  "type": "fixedCollection",
                  "default": {},
                  "options": [
                    {
                      "displayName": "Location Fields",
                      "name": "location_fields",
                      "values": [
                        {
                          "displayName": "Latitude",
                          "name": "latitude",
                          "type": "string",
                          "default": "",
                          "description": "Latitude of the location of the address"
                        },
                        {
                          "displayName": "Longitude",
                          "name": "longitude",
                          "type": "string",
                          "default": "",
                          "description": "Longitude of the location of the address"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a petition"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a petition"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many petitions"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a petition"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Origin System",
      "name": "originSystem",
      "type": "string",
      "default": "",
      "description": "Source where the petition originated",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "Title of the petition to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ],
          "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": [
            "petition"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Browser URL",
          "name": "browser_url",
          "type": "string",
          "default": "",
          "description": "URL to this petition’s page on the Action Network or a third party"
        },
        {
          "displayName": "Featured Image URL",
          "name": "featured_image_url",
          "type": "string",
          "default": "",
          "description": "URL to this action’s featured image on the Action Network"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Internal (not public) title of the petition"
        },
        {
          "displayName": "Petition Text",
          "name": "petition_text",
          "type": "string",
          "default": "",
          "description": "Text of the letter to the petition’s target"
        },
        {
          "displayName": "Targets",
          "name": "target",
          "type": "string",
          "default": "",
          "description": "Comma-separated names of targets for this petition"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Petition ID",
      "name": "petitionId",
      "type": "string",
      "default": "",
      "description": "ID of the petition to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ],
          "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": [
            "petition"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Petition ID",
      "name": "petitionId",
      "type": "string",
      "default": "",
      "description": "ID of the petition to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ],
          "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": [
            "petition"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Browser URL",
          "name": "browser_url",
          "type": "string",
          "default": "",
          "description": "URL to this petition’s page on the Action Network or a third party"
        },
        {
          "displayName": "Featured Image URL",
          "name": "featured_image_url",
          "type": "string",
          "default": "",
          "description": "URL to this action’s featured image on the Action Network"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Internal (not public) title of the petition"
        },
        {
          "displayName": "Petition Text",
          "name": "petition_text",
          "type": "string",
          "default": "",
          "description": "Text of the letter to the petition’s target"
        },
        {
          "displayName": "Targets",
          "name": "target",
          "type": "string",
          "default": "",
          "description": "Comma-separated names of targets for this petition"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "petition"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a signature"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a signature"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many signatures"
        },
        {
          "name": "Update",
          "value": "update",
          "action": "Update a signature"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Petition ID",
      "name": "petitionId",
      "type": "string",
      "default": "",
      "description": "ID of the petition to sign",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "string",
      "default": "",
      "description": "ID of the person whose signature to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "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": [
            "signature"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Comments",
          "name": "comments",
          "type": "string",
          "default": "",
          "description": "Comments to leave when signing this petition"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Petition ID",
      "name": "petitionId",
      "type": "string",
      "default": "",
      "description": "ID of the petition whose signature to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Signature ID",
      "name": "signatureId",
      "type": "string",
      "default": "",
      "description": "ID of the signature to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Petition ID",
      "name": "petitionId",
      "type": "string",
      "default": "",
      "description": "ID of the petition whose signatures to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "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": [
            "signature"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Petition ID",
      "name": "petitionId",
      "type": "string",
      "default": "",
      "description": "ID of the petition whose signature to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Signature ID",
      "name": "signatureId",
      "type": "string",
      "default": "",
      "description": "ID of the signature to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "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": [
            "signature"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Comments",
          "name": "comments",
          "type": "string",
          "default": "",
          "description": "Comments to leave when signing this petition"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "signature"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a tag"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a tag"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many tags"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the tag to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "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": [
            "tag"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Tag ID",
      "name": "tagId",
      "type": "string",
      "default": "",
      "description": "ID of the tag to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "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": [
            "tag"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": true,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "action": "Add a person tag"
        },
        {
          "name": "Remove",
          "value": "remove",
          "action": "Remove a person tag"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "personTag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Tag Name or ID",
      "name": "tagId",
      "type": "options",
      "default": [],
      "description": "ID of the tag to add. 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": [
            "personTag"
          ],
          "operation": [
            "add"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTags"
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "string",
      "default": "",
      "description": "ID of the person to add the tag to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "personTag"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Tag Name or ID",
      "name": "tagId",
      "type": "options",
      "default": [],
      "description": "ID of the tag whose tagging to delete. 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": [
            "personTag"
          ],
          "operation": [
            "remove"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTags"
      }
    },
    {
      "displayName": "Tagging Name or ID",
      "name": "taggingId",
      "type": "options",
      "default": [],
      "description": "ID of the tagging 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": {
          "resource": [
            "personTag"
          ],
          "operation": [
            "remove"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "tagId"
        ],
        "loadOptionsMethod": "getTaggings"
      }
    }
  ]

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


node_type: nodes-base.activeCampaign
package_name: n8n-nodes-base
display_name: ActiveCampaign
description: Create and edit data in ActiveCampaign
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "activeCampaignApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # ActiveCampaign node

  Use the ActiveCampaign node to automate work in ActiveCampaign, and integrate ActiveCampaign with other applications. n8n has built-in support for a wide range of ActiveCampaign features, including creating, getting, updating, and deleting accounts, contact, orders, e-commerce customers, connections, lists, tags, and deals.

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

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

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

  ## Operations

  * Account
      * Create an account
      * Delete an account
      * Get data of an account
      * Get data of all accounts
      * Update an account
  * Account Contact
      * Create an association
      * Delete an association
      * Update an association
  * Contact
      * Create a contact
      * Delete a contact
      * Get data of a contact
      * Get data of all contact
      * Update a contact
  * Contact List
      * Add contact to a list
      * Remove contact from a list
  * Contact Tag
      * Add a tag to a contact
      * Remove a tag from a contact
  * Connection
      * Create a connection
      * Delete a connection
      * Get data of a connection
      * Get data of all connections
      * Update a connection
  * Deal
      * Create a deal
      * Delete a deal
      * Get data of a deal
      * Get data of all deals
      * Update a deal
      * Create a deal note
      * Update a deal note
  * E-commerce Order
      * Create a order
      * Delete a order
      * Get data of a order
      * Get data of all orders
      * Update a order
  * E-Commerce Customer
      * Create a E-commerce Customer
      * Delete a E-commerce Customer
      * Get data of a E-commerce Customer
      * Get data of all E-commerce Customer
      * Update a E-commerce Customer
  * E-commerce Order Products
      * Get data of all order products
      * Get data of a ordered product
      * Get data of an order's products
  * List
      * Get all lists
  * Tag
      * Create a tag
      * Delete a tag
      * Get data of a tag
      * Get data of all tags
      * Update a tag

  ## Templates and examples

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "contact",
      "options": [
        {
          "name": "Account",
          "value": "account"
        },
        {
          "name": "Account Contact",
          "value": "accountContact"
        },
        {
          "name": "Connection",
          "value": "connection"
        },
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "Contact List",
          "value": "contactList"
        },
        {
          "name": "Contact Tag",
          "value": "contactTag"
        },
        {
          "name": "Deal",
          "value": "deal"
        },
        {
          "name": "E-Commerce Customer",
          "value": "ecommerceCustomer"
        },
        {
          "name": "E-Commerce Order",
          "value": "ecommerceOrder"
        },
        {
          "name": "E-Commerce Order Product",
          "value": "ecommerceOrderProducts"
        },
        {
          "name": "List",
          "value": "list"
        },
        {
          "name": "Tag",
          "value": "tag"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an account",
          "action": "Create an account"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an account",
          "action": "Delete an account"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of an account",
          "action": "Get an account"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many accounts",
          "action": "Get many accounts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an account",
          "action": "Update an account"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a contact",
          "action": "Create a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a contact",
          "action": "Update a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an association",
          "action": "Create an account contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an association",
          "action": "Delete an account contact"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an association",
          "action": "Update an account contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "accountContact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add contact to a list",
          "action": "Add a contact to a list"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove contact from a list",
          "action": "Remove a contact from a list"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contactList"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add a tag to a contact",
          "action": "Add a contact tag"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove a tag from a contact",
          "action": "Remove a contact tag"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contactTag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many lists",
          "action": "Get many lists"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a tag",
          "action": "Create a tag"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a tag",
          "action": "Delete a tag"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a tag",
          "action": "Get a tag"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many tags",
          "action": "Get many tags"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a tag",
          "action": "Update a tag"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "tag"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a deal",
          "action": "Create a deal"
        },
        {
          "name": "Create Note",
          "value": "createNote",
          "description": "Create a deal note",
          "action": "Create a deal note"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a deal",
          "action": "Delete 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": "Update",
          "value": "update",
          "description": "Update a deal",
          "action": "Update a deal"
        },
        {
          "name": "Update Deal Note",
          "value": "updateNote",
          "description": "Update a deal note",
          "action": "Update a deal note"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a connection",
          "action": "Create a connection"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a connection",
          "action": "Delete a connection"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a connection",
          "action": "Get a connection"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many connections",
          "action": "Get many connections"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a connection",
          "action": "Update a connection"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "connection"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a order",
          "action": "Create an e-commerce order"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a order",
          "action": "Delete an e-commerce order"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a order",
          "action": "Get an e-commerce order"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many orders",
          "action": "Get many e-commerce orders"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a order",
          "action": "Update an e-commerce order"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ecommerceOrder"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a E-commerce Customer",
          "action": "Create an e-commerce customer"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a E-commerce Customer",
          "action": "Delete an e-commerce customer"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get data of a E-commerce Customer",
          "action": "Get an e-commerce customer"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many E-commerce Customers",
          "action": "Get many e-commerce customers"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a E-commerce Customer",
          "action": "Update an e-commerce customer"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ecommerceCustomer"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get data of many order products",
          "action": "Get many ecommerce orders"
        },
        {
          "name": "Get by Product ID",
          "value": "getByProductId",
          "description": "Get data of a ordered product",
          "action": "Get an e-commerce order product by product ID"
        },
        {
          "name": "Get by Order ID",
          "value": "getByOrderId",
          "description": "Get data of an order's products",
          "action": "Get an e-commerce order product by order ID"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "ecommerceOrderProducts"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Type",
      "name": "tagType",
      "type": "options",
      "default": "contact",
      "description": "Tag-type of the new tag",
      "options": [
        {
          "name": "Contact",
          "value": "contact",
          "description": "Tag contact"
        },
        {
          "name": "Template",
          "value": "template",
          "description": "Tag template"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "tag"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the new tag",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "tag"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the new tag"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "tag"
          ]
        }
      }
    },
    {
      "displayName": "Tag ID",
      "name": "tagId",
      "type": "number",
      "default": 0,
      "description": "ID of the tag to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "tag"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "description": "The fields to update",
      "options": [
        {
          "displayName": "Tag",
          "name": "tag",
          "type": "string",
          "default": "",
          "description": "Name of the contact"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the tag being updated"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "tag"
          ]
        }
      }
    },
    {
      "displayName": "Tag ID",
      "name": "tagId",
      "type": "number",
      "default": 0,
      "description": "ID of the tag to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "tag"
          ]
        }
      }
    },
    {
      "displayName": "Tag ID",
      "name": "tagId",
      "type": "number",
      "default": 0,
      "description": "ID of the tag to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "tag"
          ]
        }
      }
    },
    {
      "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": [
            "tag"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "tag"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "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": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "tag"
          ]
        }
      }
    },
    {
      "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": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "list"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "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": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Tag Name or ID",
      "name": "tagId",
      "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": {
          "operation": [
            "add"
          ],
          "resource": [
            "contactTag"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getTags"
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "contactTag"
          ]
        }
      }
    },
    {
      "displayName": "Contact Tag ID",
      "name": "contactTagId",
      "type": "number",
      "default": 0,
      "description": "ID of the contact tag to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "remove"
          ],
          "resource": [
            "contactTag"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "contactList"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "add"
          ],
          "resource": [
            "contactList"
          ]
        }
      }
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "remove"
          ],
          "resource": [
            "contactList"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "remove"
          ],
          "resource": [
            "contactList"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Account's name",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "account"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Account URL",
          "name": "accountUrl",
          "type": "string",
          "default": "",
          "description": "Account's website"
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "placeholder": "Add Custom Fields",
          "description": "Adds a custom fields to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "customFieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getAccountCustomFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "fieldValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "account"
          ]
        }
      }
    },
    {
      "displayName": "Account ID",
      "name": "accountId",
      "type": "number",
      "default": 0,
      "description": "ID of the account to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "account"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "description": "The fields to update",
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Account's name"
        },
        {
          "displayName": "Account URL",
          "name": "accountUrl",
          "type": "string",
          "default": "",
          "description": "Account's website"
        },
        {
          "displayName": "Fields",
          "name": "fields",
          "placeholder": "Add Fields",
          "description": "Adds a custom fields to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "customFieldId",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getAccountCustomFields"
                  },
                  "default": "",
                  "description": "ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
                },
                {
                  "displayName": "Field Value",
                  "name": "fieldValue",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "account"
          ]
        }
      }
    },
    {
      "displayName": "Account ID",
      "name": "accountId",
      "type": "number",
      "default": 0,
      "description": "ID of the account to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "account"
          ]
        }
      }
    },
    {
      "displayName": "Account ID",
      "name": "accountId",
      "type": "number",
      "default": 0,
      "description": "ID of the account to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "account"
          ]
        }
      }
    },
    {
      "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": [
            "account"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "account"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "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": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "account"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Search",
          "name": "search",
          "type": "string",
          "default": "",
          "description": "Search by name"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "account"
          ]
        }
      }
    },
    {
      "displayName": "Account ID",
      "name": "account",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "accountContact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contact",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "accountContact"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Job Title",
          "name": "jobTitle",
          "type": "string",
          "default": "",
          "description": "Job Title of the contact at the account"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "accountContact"
          ]
        }
      }
    },
    {
      "displayName": "Account Contact ID",
      "name": "accountContactId",
      "type": "number",
      "default": 0,
      "description": "ID of the account contact to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "accountContact"
          ]
        }
      }
    },
    {
      "displayName": "Account Contact ID",
      "name": "accountContactId",
      "type": "number",
      "default": "",
      "description": "Account ID",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "accountContact"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "description": "The fields to update",
      "options": [
        {
          "displayName": "Job Title",
          "name": "jobTitle",
          "type": "string",
          "default": "",
          "description": "Job Title of the contact at the account"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "accountContact"
          ]
        }
      }
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "The email of the contact to create",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Update if Exists",
      "name": "updateIfExists",
      "type": "boolean",
      "default": false,
      "description": "Whether to update user if it exists already. If not set and user exists it will error instead.",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Custom Fields",
          "name": "fieldValues",
          "placeholder": "Add Custom Fields",
          "description": "Adds a custom fields to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "field",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getContactCustomFields"
                  },
                  "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": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "First Name",
          "name": "firstName",
          "type": "string",
          "default": "",
          "description": "The first name of the contact to create"
        },
        {
          "displayName": "Last Name",
          "name": "lastName",
          "type": "string",
          "default": "",
          "description": "The last name of the contact to create"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "Phone number of the contact"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "number",
      "default": 0,
      "description": "ID of the contact to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "description": "The fields to update",
      "options": [
        {
          "displayName": "Custom Fields",
          "name": "fieldValues",
          "placeholder": "Add Custom Fields",
          "description": "Adds a custom fields to set also values which have not been predefined",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "name": "property",
              "displayName": "Custom Field",
              "values": [
                {
                  "displayName": "Field Name or ID",
                  "name": "field",
                  "type": "options",
                  "typeOptions": {
                    "loadOptionsMethod": "getContactCustomFields"
                  },
                  "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": "value",
                  "type": "string",
                  "default": "",
                  "description": "Value of the field to set"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Email of the contact"
        },
        {
          "displayName": "First Name",
          "name": "firstName",
          "type": "string",
          "default": "",
          "description": "First name of the contact"
        },
        {
          "displayName": "Last Name",
          "name": "lastName",
          "type": "string",
          "default": "",
          "description": "Last name of the contact"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "Phone number of the contact"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "number",
      "default": 0,
      "description": "ID of the contact to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "number",
      "default": 0,
      "description": "ID of the contact to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "contact"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "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": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Datetime",
          "name": "datetime",
          "type": "dateTime",
          "default": "",
          "description": "Contacts created on the specified date"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Email address of the contact you want to get"
        },
        {
          "displayName": "Email Like",
          "name": "email_like",
          "type": "string",
          "default": "",
          "description": "Filter contacts that contain the given value in the email address"
        },
        {
          "displayName": "Exclude",
          "name": "exclude",
          "type": "string",
          "default": "",
          "description": "Exclude from the response the contact with the given ID"
        },
        {
          "displayName": "Form ID",
          "name": "formid",
          "type": "string",
          "default": "",
          "description": "Filter contacts associated with the given form"
        },
        {
          "displayName": "List ID",
          "name": "listid",
          "type": "string",
          "default": "",
          "description": "Filter contacts associated with the given list"
        },
        {
          "displayName": "Search",
          "name": "search",
          "type": "string",
          "default": "",
          "description": "Filter contacts that match the given value in the contact names, organization, phone or email"
        },
        {
          "displayName": "Segment ID",
          "name": "segmentid",
          "type": "string",
          "default": "",
          "description": "Return only contacts that match a list segment"
        },
        {
          "displayName": "Series ID",
          "name": "seriesid",
          "type": "string",
          "default": "",
          "description": "Filter contacts associated with the given automation"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Active",
              "value": 1
            },
            {
              "name": "Any",
              "value": -1
            },
            {
              "name": "Bounced",
              "value": 3
            },
            {
              "name": "Unconfirmed",
              "value": 0
            },
            {
              "name": "Unsubscribed",
              "value": 2
            }
          ],
          "default": ""
        },
        {
          "displayName": "Tag ID",
          "name": "tagid",
          "type": "string",
          "default": "",
          "description": "Filter contacts associated with the given tag"
        },
        {
          "displayName": "Created Before",
          "name": "filters[created_before]",
          "type": "dateTime",
          "default": "",
          "description": "Filter contacts that were created prior to this date"
        },
        {
          "displayName": "Created After",
          "name": "filters[created_after]",
          "type": "dateTime",
          "default": "",
          "description": "Filter contacts that were created after this date"
        },
        {
          "displayName": "Updated Before",
          "name": "filters[updated_before]",
          "type": "dateTime",
          "default": "",
          "description": "Filter contacts that were updated before this date"
        },
        {
          "displayName": "Updated After",
          "name": "filters[updated_after]",
          "type": "dateTime",
          "default": "",
          "description": "Filter contacts that were updated after this date"
        },
        {
          "displayName": "Wait ID",
          "name": "waitid",
          "type": "string",
          "default": "",
          "description": "Filter by contacts in the wait queue of an automation block"
        },
        {
          "displayName": "Order By",
          "name": "orderBy",
          "type": "options",
          "options": [
            {
              "name": "Creation Date",
              "value": "orders[cdate]",
              "description": "Order contacts by creation date"
            },
            {
              "name": "Email",
              "value": "orders[email]",
              "description": "Order contacts by email"
            },
            {
              "name": "First Name",
              "value": "orders[first_name]",
              "description": "Order contacts by first name"
            },
            {
              "name": "Last Name",
              "value": "orders[last_name]",
              "description": "Order contacts by last name"
            },
            {
              "name": "Name",
              "value": "orders[name]",
              "description": "Order contacts by full name"
            },
            {
              "name": "Score",
              "value": "orders[score]",
              "description": "Order contacts by score"
            }
          ],
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "contact"
          ]
        }
      }
    },
    {
      "displayName": "Title",
      "name": "title",
      "type": "string",
      "default": "",
      "description": "The title of the deal",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal's Contact ID",
      "name": "contact",
      "type": "number",
      "default": 0,
      "description": "The ID of the deal's contact",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal Value",
      "name": "value",
      "type": "number",
      "default": 0,
      "description": "The value of the deal in cents",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Currency",
      "name": "currency",
      "type": "options",
      "default": "eur",
      "description": "The currency of the deal in 3-character ISO format",
      "options": [
        {
          "name": "Euro",
          "value": "eur"
        },
        {
          "name": "United States Dollar",
          "value": "usd"
        },
        {
          "name": "British Pound Sterling",
          "value": "gbp"
        },
        {
          "name": "Swiss Franc",
          "value": "chf"
        },
        {
          "name": "Renminbi",
          "value": "cny"
        },
        {
          "name": "--------",
          "value": ""
        },
        {
          "name": "United Arab Emirates Dirham",
          "value": "aed"
        },
        {
          "name": "Afghan Afghani",
          "value": "afn"
        },
        {
          "name": "Albanian Lek",
          "value": "all"
        },
        {
          "name": "Armenian Dram",
          "value": "amd"
        },
        {
          "name": "Netherlands Antillean Guilder",
          "value": "ang"
        },
        {
          "name": "Angolan Kwanza",
          "value": "aoa"
        },
        {
          "name": "Argentine Peso",
          "value": "ars"
        },
        {
          "name": "Australian Dollar",
          "value": "aud"
        },
        {
          "name": "Aruban Florin",
          "value": "awg"
        },
        {
          "name": "Azerbaijani Manat",
          "value": "azn"
        },
        {
          "name": "Bosnia-Herzegovina Convertible Mark",
          "value": "bam"
        },
        {
          "name": "Barbadian Dollar",
          "value": "bbd"
        },
        {
          "name": "Bangladeshi Taka",
          "value": "bdt"
        },
        {
          "name": "Bulgarian Lev",
          "value": "bgn"
        },
        {
          "name": "Bahraini Dinar",
          "value": "bhd"
        },
        {
          "name": "Burundian Franc",
          "value": "bif"
        },
        {
          "name": "Bermudan Dollar",
          "value": "bmd"
        },
        {
          "name": "Brunei Dollar",
          "value": "bnd"
        },
        {
          "name": "Bolivian Boliviano",
          "value": "bob"
        },
        {
          "name": "Brazilian Real",
          "value": "brl"
        },
        {
          "name": "Bahamian Dollar",
          "value": "bsd"
        },
        {
          "name": "Bitcoin",
          "value": "btc"
        },
        {
          "name": "Bhutanese Ngultrum",
          "value": "btn"
        },
        {
          "name": "Botswanan Pula",
          "value": "bwp"
        },
        {
          "name": "Belarusian Ruble",
          "value": "byn"
        },
        {
          "name": "Belize Dollar",
          "value": "bzd"
        },
        {
          "name": "Canadian Dollar",
          "value": "cad"
        },
        {
          "name": "Congolese Franc",
          "value": "cdf"
        },
        {
          "name": "Chilean Unit of Account (UF)",
          "value": "clf"
        },
        {
          "name": "Chilean Peso",
          "value": "clp"
        },
        {
          "name": "Chinese Yuan (Offshore)",
          "value": "cnh"
        },
        {
          "name": "Colombian Peso",
          "value": "cop"
        },
        {
          "name": "Costa Rican Colón",
          "value": "crc"
        },
        {
          "name": "Cuban Convertible Peso",
          "value": "cuc"
        },
        {
          "name": "Cuban Peso",
          "value": "cup"
        },
        {
          "name": "Cape Verdean Escudo",
          "value": "cve"
        },
        {
          "name": "Czech Republic Koruna",
          "value": "czk"
        },
        {
          "name": "Djiboutian Franc",
          "value": "djf"
        },
        {
          "name": "Danish Krone",
          "value": "dkk"
        },
        {
          "name": "Dominican Peso",
          "value": "dop"
        },
        {
          "name": "Algerian Dinar",
          "value": "dzd"
        },
        {
          "name": "Egyptian Pound",
          "value": "egp"
        },
        {
          "name": "Eritrean Nakfa",
          "value": "ern"
        },
        {
          "name": "Ethiopian Birr",
          "value": "etb"
        },
        {
          "name": "Fijian Dollar",
          "value": "fjd"
        },
        {
          "name": "Falkland Islands Pound",
          "value": "fkp"
        },
        {
          "name": "Georgian Lari",
          "value": "gel"
        },
        {
          "name": "Guernsey Pound",
          "value": "ggp"
        },
        {
          "name": "Ghanaian Cedi",
          "value": "ghs"
        },
        {
          "name": "Gibraltar Pound",
          "value": "gip"
        },
        {
          "name": "Gambian Dalasi",
          "value": "gmd"
        },
        {
          "name": "Guinean Franc",
          "value": "gnf"
        },
        {
          "name": "Guatemalan Quetzal",
          "value": "gtq"
        },
        {
          "name": "Guyanaese Dollar",
          "value": "gyd"
        },
        {
          "name": "Hong Kong Dollar",
          "value": "hkd"
        },
        {
          "name": "Honduran Lempira",
          "value": "hnl"
        },
        {
          "name": "Croatian Kuna",
          "value": "hrk"
        },
        {
          "name": "Haitian Gourde",
          "value": "htg"
        },
        {
          "name": "Hungarian Forint",
          "value": "huf"
        },
        {
          "name": "Indonesian Rupiah",
          "value": "idr"
        },
        {
          "name": "Israeli New Sheqel",
          "value": "ils"
        },
        {
          "name": "Manx Pound",
          "value": "imp"
        },
        {
          "name": "Indian Rupee",
          "value": "inr"
        },
        {
          "name": "Iraqi Dinar",
          "value": "iqd"
        },
        {
          "name": "Iranian Rial",
          "value": "irr"
        },
        {
          "name": "Icelandic Króna",
          "value": "isk"
        },
        {
          "name": "Jersey Pound",
          "value": "jep"
        },
        {
          "name": "Jamaican Dollar",
          "value": "jmd"
        },
        {
          "name": "Jordanian Dinar",
          "value": "jod"
        },
        {
          "name": "Japanese Yen",
          "value": "jpy"
        },
        {
          "name": "Kenyan Shilling",
          "value": "kes"
        },
        {
          "name": "Kyrgystani Som",
          "value": "kgs"
        },
        {
          "name": "Cambodian Riel",
          "value": "khr"
        },
        {
          "name": "Comorian Franc",
          "value": "kmf"
        },
        {
          "name": "North Korean Won",
          "value": "kpw"
        },
        {
          "name": "South Korean Won",
          "value": "krw"
        },
        {
          "name": "Kuwaiti Dinar",
          "value": "kwd"
        },
        {
          "name": "Cayman Islands Dollar",
          "value": "kyd"
        },
        {
          "name": "Kazakhstani Tenge",
          "value": "kzt"
        },
        {
          "name": "Laotian Kip",
          "value": "lak"
        },
        {
          "name": "Lebanese Pound",
          "value": "lbp"
        },
        {
          "name": "Sri Lankan Rupee",
          "value": "lkr"
        },
        {
          "name": "Liberian Dollar",
          "value": "lrd"
        },
        {
          "name": "Lesotho Loti",
          "value": "lsl"
        },
        {
          "name": "Libyan Dinar",
          "value": "lyd"
        },
        {
          "name": "Moroccan Dirham",
          "value": "mad"
        },
        {
          "name": "Moldovan Leu",
          "value": "mdl"
        },
        {
          "name": "Malagasy Ariary",
          "value": "mga"
        },
        {
          "name": "Macedonian Denar",
          "value": "mkd"
        },
        {
          "name": "Myanma Kyat",
          "value": "mmk"
        },
        {
          "name": "Mongolian Tugrik",
          "value": "mnt"
        },
        {
          "name": "Macanese Pataca",
          "value": "mop"
        },
        {
          "name": "Mauritanian Ouguiya (Pre-2018)",
          "value": "mro"
        },
        {
          "name": "Mauritanian Ouguiya",
          "value": "mru"
        },
        {
          "name": "Mauritian Rupee",
          "value": "mur"
        },
        {
          "name": "Maldivian Rufiyaa",
          "value": "mvr"
        },
        {
          "name": "Malawian Kwacha",
          "value": "mwk"
        },
        {
          "name": "Mexican Peso",
          "value": "mxn"
        },
        {
          "name": "Malaysian Ringgit",
          "value": "myr"
        },
        {
          "name": "Mozambican Metical",
          "value": "mzn"
        },
        {
          "name": "Namibian Dollar",
          "value": "nad"
        },
        {
          "name": "Nigerian Naira",
          "value": "ngn"
        },
        {
          "name": "Nicaraguan Córdoba",
          "value": "nio"
        },
        {
          "name": "Norwegian Krone",
          "value": "nok"
        },
        {
          "name": "Nepalese Rupee",
          "value": "npr"
        },
        {
          "name": "New Zealand Dollar",
          "value": "nzd"
        },
        {
          "name": "Omani Rial",
          "value": "omr"
        },
        {
          "name": "Panamanian Balboa",
          "value": "pab"
        },
        {
          "name": "Peruvian Nuevo Sol",
          "value": "pen"
        },
        {
          "name": "Papua New Guinean Kina",
          "value": "pgk"
        },
        {
          "name": "Philippine Peso",
          "value": "php"
        },
        {
          "name": "Pakistani Rupee",
          "value": "pkr"
        },
        {
          "name": "Polish Zloty",
          "value": "pln"
        },
        {
          "name": "Paraguayan Guarani",
          "value": "pyg"
        },
        {
          "name": "Qatari Rial",
          "value": "qar"
        },
        {
          "name": "Romanian Leu",
          "value": "ron"
        },
        {
          "name": "Serbian Dinar",
          "value": "rsd"
        },
        {
          "name": "Russian Ruble",
          "value": "rub"
        },
        {
          "name": "Rwandan Franc",
          "value": "rwf"
        },
        {
          "name": "Saudi Riyal",
          "value": "sar"
        },
        {
          "name": "Solomon Islands Dollar",
          "value": "sbd"
        },
        {
          "name": "Seychellois Rupee",
          "value": "scr"
        },
        {
          "name": "Sudanese Pound",
          "value": "sdg"
        },
        {
          "name": "Swedish Krona",
          "value": "sek"
        },
        {
          "name": "Singapore Dollar",
          "value": "sgd"
        },
        {
          "name": "Saint Helena Pound",
          "value": "shp"
        },
        {
          "name": "Sierra Leonean Leone",
          "value": "sll"
        },
        {
          "name": "Somali Shilling",
          "value": "sos"
        },
        {
          "name": "Surinamese Dollar",
          "value": "srd"
        },
        {
          "name": "South Sudanese Pound",
          "value": "ssp"
        },
        {
          "name": "São Tomé and Príncipe Dobra (Pre-2018)",
          "value": "std"
        },
        {
          "name": "São Tomé and Príncipe Dobra",
          "value": "stn"
        },
        {
          "name": "Salvadoran Colón",
          "value": "svc"
        },
        {
          "name": "Syrian Pound",
          "value": "syp"
        },
        {
          "name": "Swazi Lilangeni",
          "value": "szl"
        },
        {
          "name": "Thai Baht",
          "value": "thb"
        },
        {
          "name": "Tajikistani Somoni",
          "value": "tjs"
        },
        {
          "name": "Turkmenistani Manat",
          "value": "tmt"
        },
        {
          "name": "Tunisian Dinar",
          "value": "tnd"
        },
        {
          "name": "Tongan Pa'anga",
          "value": "top"
        },
        {
          "name": "Turkish Lira",
          "value": "try"
        },
        {
          "name": "Trinidad and Tobago Dollar",
          "value": "ttd"
        },
        {
          "name": "New Taiwan Dollar",
          "value": "twd"
        },
        {
          "name": "Tanzanian Shilling",
          "value": "tzs"
        },
        {
          "name": "Ukrainian Hryvnia",
          "value": "uah"
        },
        {
          "name": "Ugandan Shilling",
          "value": "ugx"
        },
        {
          "name": "Uruguayan Peso",
          "value": "uyu"
        },
        {
          "name": "Uzbekistan Som",
          "value": "uzs"
        },
        {
          "name": "Venezuelan Bolívar Fuerte",
          "value": "vef"
        },
        {
          "name": "Vietnamese Dong",
          "value": "vnd"
        },
        {
          "name": "Vanuatu Vatu",
          "value": "vuv"
        },
        {
          "name": "Samoan Tala",
          "value": "wst"
        },
        {
          "name": "CFA Franc BEAC",
          "value": "xaf"
        },
        {
          "name": "Silver Ounce",
          "value": "xag"
        },
        {
          "name": "Gold Ounce",
          "value": "xau"
        },
        {
          "name": "East Caribbean Dollar",
          "value": "xcd"
        },
        {
          "name": "Special Drawing Rights",
          "value": "xdr"
        },
        {
          "name": "CFA Franc BCEAO",
          "value": "xof"
        },
        {
          "name": "Palladium Ounce",
          "value": "xpd"
        },
        {
          "name": "CFP Franc",
          "value": "xpf"
        },
        {
          "name": "Platinum Ounce",
          "value": "xpt"
        },
        {
          "name": "Yemeni Rial",
          "value": "yer"
        },
        {
          "name": "South African Rand",
          "value": "zar"
        },
        {
          "name": "Zambian Kwacha",
          "value": "zmw"
        },
        {
          "name": "Zimbabwean Dollar",
          "value": "zwl"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal Pipeline ID",
      "name": "group",
      "type": "string",
      "default": "",
      "description": "The pipeline ID of the deal",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal Stage ID",
      "name": "stage",
      "type": "string",
      "default": "",
      "description": "The stage ID of the deal",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal Owner ID",
      "name": "owner",
      "type": "string",
      "default": "",
      "description": "The owner ID of the deal",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the deal"
        },
        {
          "displayName": "Deal Percentage",
          "name": "percent",
          "type": "number",
          "default": 0,
          "description": "The percentage of the deal"
        },
        {
          "displayName": "Deal Status",
          "name": "status",
          "type": "number",
          "default": 0,
          "description": "The status of the deal"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "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": {},
      "description": "The fields to update",
      "options": [
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "The title of the deal"
        },
        {
          "displayName": "Deal's Contact ID",
          "name": "contact",
          "type": "number",
          "default": 0,
          "description": "The ID of the deal's contact"
        },
        {
          "displayName": "Deal Value",
          "name": "value",
          "type": "number",
          "default": 0,
          "description": "The value of the deal in cents"
        },
        {
          "displayName": "Currency",
          "name": "currency",
          "type": "options",
          "options": [
            {
              "name": "Euro",
              "value": "eur"
            },
            {
              "name": "United States Dollar",
              "value": "usd"
            },
            {
              "name": "British Pound Sterling",
              "value": "gbp"
            },
            {
              "name": "Swiss Franc",
              "value": "chf"
            },
            {
              "name": "Renminbi",
              "value": "cny"
            },
            {
              "name": "--------",
              "value": ""
            },
            {
              "name": "United Arab Emirates Dirham",
              "value": "aed"
            },
            {
              "name": "Afghan Afghani",
              "value": "afn"
            },
            {
              "name": "Albanian Lek",
              "value": "all"
            },
            {
              "name": "Armenian Dram",
              "value": "amd"
            },
            {
              "name": "Netherlands Antillean Guilder",
              "value": "ang"
            },
            {
              "name": "Angolan Kwanza",
              "value": "aoa"
            },
            {
              "name": "Argentine Peso",
              "value": "ars"
            },
            {
              "name": "Australian Dollar",
              "value": "aud"
            },
            {
              "name": "Aruban Florin",
              "value": "awg"
            },
            {
              "name": "Azerbaijani Manat",
              "value": "azn"
            },
            {
              "name": "Bosnia-Herzegovina Convertible Mark",
              "value": "bam"
            },
            {
              "name": "Barbadian Dollar",
              "value": "bbd"
            },
            {
              "name": "Bangladeshi Taka",
              "value": "bdt"
            },
            {
              "name": "Bulgarian Lev",
              "value": "bgn"
            },
            {
              "name": "Bahraini Dinar",
              "value": "bhd"
            },
            {
              "name": "Burundian Franc",
              "value": "bif"
            },
            {
              "name": "Bermudan Dollar",
              "value": "bmd"
            },
            {
              "name": "Brunei Dollar",
              "value": "bnd"
            },
            {
              "name": "Bolivian Boliviano",
              "value": "bob"
            },
            {
              "name": "Brazilian Real",
              "value": "brl"
            },
            {
              "name": "Bahamian Dollar",
              "value": "bsd"
            },
            {
              "name": "Bitcoin",
              "value": "btc"
            },
            {
              "name": "Bhutanese Ngultrum",
              "value": "btn"
            },
            {
              "name": "Botswanan Pula",
              "value": "bwp"
            },
            {
              "name": "Belarusian Ruble",
              "value": "byn"
            },
            {
              "name": "Belize Dollar",
              "value": "bzd"
            },
            {
              "name": "Canadian Dollar",
              "value": "cad"
            },
            {
              "name": "Congolese Franc",
              "value": "cdf"
            },
            {
              "name": "Chilean Unit of Account (UF)",
              "value": "clf"
            },
            {
              "name": "Chilean Peso",
              "value": "clp"
            },
            {
              "name": "Chinese Yuan (Offshore)",
              "value": "cnh"
            },
            {
              "name": "Colombian Peso",
              "value": "cop"
            },
            {
              "name": "Costa Rican Colón",
              "value": "crc"
            },
            {
              "name": "Cuban Convertible Peso",
              "value": "cuc"
            },
            {
              "name": "Cuban Peso",
              "value": "cup"
            },
            {
              "name": "Cape Verdean Escudo",
              "value": "cve"
            },
            {
              "name": "Czech Republic Koruna",
              "value": "czk"
            },
            {
              "name": "Djiboutian Franc",
              "value": "djf"
            },
            {
              "name": "Danish Krone",
              "value": "dkk"
            },
            {
              "name": "Dominican Peso",
              "value": "dop"
            },
            {
              "name": "Algerian Dinar",
              "value": "dzd"
            },
            {
              "name": "Egyptian Pound",
              "value": "egp"
            },
            {
              "name": "Eritrean Nakfa",
              "value": "ern"
            },
            {
              "name": "Ethiopian Birr",
              "value": "etb"
            },
            {
              "name": "Fijian Dollar",
              "value": "fjd"
            },
            {
              "name": "Falkland Islands Pound",
              "value": "fkp"
            },
            {
              "name": "Georgian Lari",
              "value": "gel"
            },
            {
              "name": "Guernsey Pound",
              "value": "ggp"
            },
            {
              "name": "Ghanaian Cedi",
              "value": "ghs"
            },
            {
              "name": "Gibraltar Pound",
              "value": "gip"
            },
            {
              "name": "Gambian Dalasi",
              "value": "gmd"
            },
            {
              "name": "Guinean Franc",
              "value": "gnf"
            },
            {
              "name": "Guatemalan Quetzal",
              "value": "gtq"
            },
            {
              "name": "Guyanaese Dollar",
              "value": "gyd"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "hkd"
            },
            {
              "name": "Honduran Lempira",
              "value": "hnl"
            },
            {
              "name": "Croatian Kuna",
              "value": "hrk"
            },
            {
              "name": "Haitian Gourde",
              "value": "htg"
            },
            {
              "name": "Hungarian Forint",
              "value": "huf"
            },
            {
              "name": "Indonesian Rupiah",
              "value": "idr"
            },
            {
              "name": "Israeli New Sheqel",
              "value": "ils"
            },
            {
              "name": "Manx Pound",
              "value": "imp"
            },
            {
              "name": "Indian Rupee",
              "value": "inr"
            },
            {
              "name": "Iraqi Dinar",
              "value": "iqd"
            },
            {
              "name": "Iranian Rial",
              "value": "irr"
            },
            {
              "name": "Icelandic Króna",
              "value": "isk"
            },
            {
              "name": "Jersey Pound",
              "value": "jep"
            },
            {
              "name": "Jamaican Dollar",
              "value": "jmd"
            },
            {
              "name": "Jordanian Dinar",
              "value": "jod"
            },
            {
              "name": "Japanese Yen",
              "value": "jpy"
            },
            {
              "name": "Kenyan Shilling",
              "value": "kes"
            },
            {
              "name": "Kyrgystani Som",
              "value": "kgs"
            },
            {
              "name": "Cambodian Riel",
              "value": "khr"
            },
            {
              "name": "Comorian Franc",
              "value": "kmf"
            },
            {
              "name": "North Korean Won",
              "value": "kpw"
            },
            {
              "name": "South Korean Won",
              "value": "krw"
            },
            {
              "name": "Kuwaiti Dinar",
              "value": "kwd"
            },
            {
              "name": "Cayman Islands Dollar",
              "value": "kyd"
            },
            {
              "name": "Kazakhstani Tenge",
              "value": "kzt"
            },
            {
              "name": "Laotian Kip",
              "value": "lak"
            },
            {
              "name": "Lebanese Pound",
              "value": "lbp"
            },
            {
              "name": "Sri Lankan Rupee",
              "value": "lkr"
            },
            {
              "name": "Liberian Dollar",
              "value": "lrd"
            },
            {
              "name": "Lesotho Loti",
              "value": "lsl"
            },
            {
              "name": "Libyan Dinar",
              "value": "lyd"
            },
            {
              "name": "Moroccan Dirham",
              "value": "mad"
            },
            {
              "name": "Moldovan Leu",
              "value": "mdl"
            },
            {
              "name": "Malagasy Ariary",
              "value": "mga"
            },
            {
              "name": "Macedonian Denar",
              "value": "mkd"
            },
            {
              "name": "Myanma Kyat",
              "value": "mmk"
            },
            {
              "name": "Mongolian Tugrik",
              "value": "mnt"
            },
            {
              "name": "Macanese Pataca",
              "value": "mop"
            },
            {
              "name": "Mauritanian Ouguiya (Pre-2018)",
              "value": "mro"
            },
            {
              "name": "Mauritanian Ouguiya",
              "value": "mru"
            },
            {
              "name": "Mauritian Rupee",
              "value": "mur"
            },
            {
              "name": "Maldivian Rufiyaa",
              "value": "mvr"
            },
            {
              "name": "Malawian Kwacha",
              "value": "mwk"
            },
            {
              "name": "Mexican Peso",
              "value": "mxn"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "myr"
            },
            {
              "name": "Mozambican Metical",
              "value": "mzn"
            },
            {
              "name": "Namibian Dollar",
              "value": "nad"
            },
            {
              "name": "Nigerian Naira",
              "value": "ngn"
            },
            {
              "name": "Nicaraguan Córdoba",
              "value": "nio"
            },
            {
              "name": "Norwegian Krone",
              "value": "nok"
            },
            {
              "name": "Nepalese Rupee",
              "value": "npr"
            },
            {
              "name": "New Zealand Dollar",
              "value": "nzd"
            },
            {
              "name": "Omani Rial",
              "value": "omr"
            },
            {
              "name": "Panamanian Balboa",
              "value": "pab"
            },
            {
              "name": "Peruvian Nuevo Sol",
              "value": "pen"
            },
            {
              "name": "Papua New Guinean Kina",
              "value": "pgk"
            },
            {
              "name": "Philippine Peso",
              "value": "php"
            },
            {
              "name": "Pakistani Rupee",
              "value": "pkr"
            },
            {
              "name": "Polish Zloty",
              "value": "pln"
            },
            {
              "name": "Paraguayan Guarani",
              "value": "pyg"
            },
            {
              "name": "Qatari Rial",
              "value": "qar"
            },
            {
              "name": "Romanian Leu",
              "value": "ron"
            },
            {
              "name": "Serbian Dinar",
              "value": "rsd"
            },
            {
              "name": "Russian Ruble",
              "value": "rub"
            },
            {
              "name": "Rwandan Franc",
              "value": "rwf"
            },
            {
              "name": "Saudi Riyal",
              "value": "sar"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "sbd"
            },
            {
              "name": "Seychellois Rupee",
              "value": "scr"
            },
            {
              "name": "Sudanese Pound",
              "value": "sdg"
            },
            {
              "name": "Swedish Krona",
              "value": "sek"
            },
            {
              "name": "Singapore Dollar",
              "value": "sgd"
            },
            {
              "name": "Saint Helena Pound",
              "value": "shp"
            },
            {
              "name": "Sierra Leonean Leone",
              "value": "sll"
            },
            {
              "name": "Somali Shilling",
              "value": "sos"
            },
            {
              "name": "Surinamese Dollar",
              "value": "srd"
            },
            {
              "name": "South Sudanese Pound",
              "value": "ssp"
            },
            {
              "name": "São Tomé and Príncipe Dobra (Pre-2018)",
              "value": "std"
            },
            {
              "name": "São Tomé and Príncipe Dobra",
              "value": "stn"
            },
            {
              "name": "Salvadoran Colón",
              "value": "svc"
            },
            {
              "name": "Syrian Pound",
              "value": "syp"
            },
            {
              "name": "Swazi Lilangeni",
              "value": "szl"
            },
            {
              "name": "Thai Baht",
              "value": "thb"
            },
            {
              "name": "Tajikistani Somoni",
              "value": "tjs"
            },
            {
              "name": "Turkmenistani Manat",
              "value": "tmt"
            },
            {
              "name": "Tunisian Dinar",
              "value": "tnd"
            },
            {
              "name": "Tongan Pa'anga",
              "value": "top"
            },
            {
              "name": "Turkish Lira",
              "value": "try"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "ttd"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "twd"
            },
            {
              "name": "Tanzanian Shilling",
              "value": "tzs"
            },
            {
              "name": "Ukrainian Hryvnia",
              "value": "uah"
            },
            {
              "name": "Ugandan Shilling",
              "value": "ugx"
            },
            {
              "name": "Uruguayan Peso",
              "value": "uyu"
            },
            {
              "name": "Uzbekistan Som",
              "value": "uzs"
            },
            {
              "name": "Venezuelan Bolívar Fuerte",
              "value": "vef"
            },
            {
              "name": "Vietnamese Dong",
              "value": "vnd"
            },
            {
              "name": "Vanuatu Vatu",
              "value": "vuv"
            },
            {
              "name": "Samoan Tala",
              "value": "wst"
            },
            {
              "name": "CFA Franc BEAC",
              "value": "xaf"
            },
            {
              "name": "Silver Ounce",
              "value": "xag"
            },
            {
              "name": "Gold Ounce",
              "value": "xau"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "xcd"
            },
            {
              "name": "Special Drawing Rights",
              "value": "xdr"
            },
            {
              "name": "CFA Franc BCEAO",
              "value": "xof"
            },
            {
              "name": "Palladium Ounce",
              "value": "xpd"
            },
            {
              "name": "CFP Franc",
              "value": "xpf"
            },
            {
              "name": "Platinum Ounce",
              "value": "xpt"
            },
            {
              "name": "Yemeni Rial",
              "value": "yer"
            },
            {
              "name": "South African Rand",
              "value": "zar"
            },
            {
              "name": "Zambian Kwacha",
              "value": "zmw"
            },
            {
              "name": "Zimbabwean Dollar",
              "value": "zwl"
            }
          ],
          "default": "eur",
          "description": "The currency of the deal in 3-character ISO format"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the deal"
        },
        {
          "displayName": "Deal Pipeline ID",
          "name": "group",
          "type": "string",
          "default": "",
          "description": "The pipeline ID of the deal"
        },
        {
          "displayName": "Deal Stage ID",
          "name": "stage",
          "type": "string",
          "default": "",
          "description": "The stage ID of the deal"
        },
        {
          "displayName": "Deal Owner ID",
          "name": "owner",
          "type": "string",
          "default": "",
          "description": "The owner ID of the deal"
        },
        {
          "displayName": "Deal Percentage",
          "name": "percent",
          "type": "number",
          "default": 0,
          "description": "The percentage of the deal"
        },
        {
          "displayName": "Deal Status",
          "name": "status",
          "type": "number",
          "default": 0,
          "description": "The status of the deal"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "number",
      "default": 0,
      "description": "The ID of the deal to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "number",
      "default": 0,
      "description": "The ID of the deal to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "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": [
            "getAll"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "deal"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "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": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "number",
      "default": "",
      "description": "The ID of the deal note",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "createNote"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal Note",
      "name": "dealNote",
      "type": "string",
      "default": "",
      "description": "The content of the deal note",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "createNote"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "number",
      "default": "",
      "description": "The ID of the deal note",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "updateNote"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal Note ID",
      "name": "dealNoteId",
      "type": "number",
      "default": "",
      "description": "The ID of the deal note",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "updateNote"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Deal Note",
      "name": "dealNote",
      "type": "string",
      "default": "",
      "description": "The content of the deal note",
      "displayOptions": {
        "show": {
          "operation": [
            "updateNote"
          ],
          "resource": [
            "deal"
          ]
        }
      }
    },
    {
      "displayName": "Service",
      "name": "service",
      "type": "string",
      "default": "",
      "description": "The name of the service",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "External Account ID",
      "name": "externalid",
      "type": "string",
      "default": "",
      "description": "The ID of the account in the external service",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "Account Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name associated with the account in the external service. Often this will be a company name (e.g., \"My Toystore, Inc.\").",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "Logo URL",
      "name": "logoUrl",
      "type": "string",
      "default": "",
      "description": "The URL to a logo image for the external service",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "Link URL",
      "name": "linkUrl",
      "type": "string",
      "default": "",
      "description": "The URL to a page where the integration with the external service can be managed in the third-party's website",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "Connection ID",
      "name": "connectionId",
      "type": "number",
      "default": 0,
      "description": "ID of the connection to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "description": "The fields to update",
      "options": [
        {
          "displayName": "Service",
          "name": "service",
          "type": "string",
          "default": "",
          "description": "The name of the service"
        },
        {
          "displayName": "External Account ID",
          "name": "externalid",
          "type": "string",
          "default": "",
          "description": "The ID of the account in the external service"
        },
        {
          "displayName": "Account Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The name associated with the account in the external service. Often this will be a company name (e.g., \"My Toystore, Inc.\")."
        },
        {
          "displayName": "Logo URL",
          "name": "logoUrl",
          "type": "string",
          "default": "",
          "description": "The URL to a logo image for the external service"
        },
        {
          "displayName": "Link URL",
          "name": "linkUrl",
          "type": "string",
          "default": "",
          "description": "The URL to a page where the integration with the external service can be managed in the third-party's website"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "number",
          "default": 1,
          "description": "The status of the connection (0 = error; 1 = connected)"
        },
        {
          "displayName": "Syncronisation Status",
          "name": "syncStatus",
          "type": "number",
          "default": 1,
          "description": "The status of a sync triggered on the connection (0 = sync stopped; 1 = sync running)"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "Connection ID",
      "name": "connectionId",
      "type": "number",
      "default": 0,
      "description": "ID of the connection to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "Connection ID",
      "name": "connectionId",
      "type": "number",
      "default": 0,
      "description": "ID of the connection to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "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": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "connection"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "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": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "connection"
          ]
        }
      }
    },
    {
      "displayName": "External ID",
      "name": "externalid",
      "type": "string",
      "default": "",
      "description": "The ID of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED.",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "External Checkout ID",
      "name": "externalcheckoutid",
      "type": "string",
      "default": "",
      "description": "The ID of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED.",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Order Source",
      "name": "source",
      "type": "number",
      "default": 0,
      "description": "The order source code (0 - will not trigger automations, 1 - will trigger automations)",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Customer Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "The email address of the customer who placed the order",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Total Price",
      "name": "totalPrice",
      "type": "number",
      "default": 0,
      "description": "The total price of the order in cents, including tax and shipping charges. (i.e. $456.78 => 45678). Must be greater than or equal to zero.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Order Currency",
      "name": "currency",
      "type": "options",
      "default": "eur",
      "description": "The currency of the order (3-digit ISO code, e.g., \"USD\")",
      "options": [
        {
          "name": "Euro",
          "value": "eur"
        },
        {
          "name": "United States Dollar",
          "value": "usd"
        },
        {
          "name": "British Pound Sterling",
          "value": "gbp"
        },
        {
          "name": "Swiss Franc",
          "value": "chf"
        },
        {
          "name": "Renminbi",
          "value": "cny"
        },
        {
          "name": "--------",
          "value": ""
        },
        {
          "name": "United Arab Emirates Dirham",
          "value": "aed"
        },
        {
          "name": "Afghan Afghani",
          "value": "afn"
        },
        {
          "name": "Albanian Lek",
          "value": "all"
        },
        {
          "name": "Armenian Dram",
          "value": "amd"
        },
        {
          "name": "Netherlands Antillean Guilder",
          "value": "ang"
        },
        {
          "name": "Angolan Kwanza",
          "value": "aoa"
        },
        {
          "name": "Argentine Peso",
          "value": "ars"
        },
        {
          "name": "Australian Dollar",
          "value": "aud"
        },
        {
          "name": "Aruban Florin",
          "value": "awg"
        },
        {
          "name": "Azerbaijani Manat",
          "value": "azn"
        },
        {
          "name": "Bosnia-Herzegovina Convertible Mark",
          "value": "bam"
        },
        {
          "name": "Barbadian Dollar",
          "value": "bbd"
        },
        {
          "name": "Bangladeshi Taka",
          "value": "bdt"
        },
        {
          "name": "Bulgarian Lev",
          "value": "bgn"
        },
        {
          "name": "Bahraini Dinar",
          "value": "bhd"
        },
        {
          "name": "Burundian Franc",
          "value": "bif"
        },
        {
          "name": "Bermudan Dollar",
          "value": "bmd"
        },
        {
          "name": "Brunei Dollar",
          "value": "bnd"
        },
        {
          "name": "Bolivian Boliviano",
          "value": "bob"
        },
        {
          "name": "Brazilian Real",
          "value": "brl"
        },
        {
          "name": "Bahamian Dollar",
          "value": "bsd"
        },
        {
          "name": "Bitcoin",
          "value": "btc"
        },
        {
          "name": "Bhutanese Ngultrum",
          "value": "btn"
        },
        {
          "name": "Botswanan Pula",
          "value": "bwp"
        },
        {
          "name": "Belarusian Ruble",
          "value": "byn"
        },
        {
          "name": "Belize Dollar",
          "value": "bzd"
        },
        {
          "name": "Canadian Dollar",
          "value": "cad"
        },
        {
          "name": "Congolese Franc",
          "value": "cdf"
        },
        {
          "name": "Chilean Unit of Account (UF)",
          "value": "clf"
        },
        {
          "name": "Chilean Peso",
          "value": "clp"
        },
        {
          "name": "Chinese Yuan (Offshore)",
          "value": "cnh"
        },
        {
          "name": "Colombian Peso",
          "value": "cop"
        },
        {
          "name": "Costa Rican Colón",
          "value": "crc"
        },
        {
          "name": "Cuban Convertible Peso",
          "value": "cuc"
        },
        {
          "name": "Cuban Peso",
          "value": "cup"
        },
        {
          "name": "Cape Verdean Escudo",
          "value": "cve"
        },
        {
          "name": "Czech Republic Koruna",
          "value": "czk"
        },
        {
          "name": "Djiboutian Franc",
          "value": "djf"
        },
        {
          "name": "Danish Krone",
          "value": "dkk"
        },
        {
          "name": "Dominican Peso",
          "value": "dop"
        },
        {
          "name": "Algerian Dinar",
          "value": "dzd"
        },
        {
          "name": "Egyptian Pound",
          "value": "egp"
        },
        {
          "name": "Eritrean Nakfa",
          "value": "ern"
        },
        {
          "name": "Ethiopian Birr",
          "value": "etb"
        },
        {
          "name": "Fijian Dollar",
          "value": "fjd"
        },
        {
          "name": "Falkland Islands Pound",
          "value": "fkp"
        },
        {
          "name": "Georgian Lari",
          "value": "gel"
        },
        {
          "name": "Guernsey Pound",
          "value": "ggp"
        },
        {
          "name": "Ghanaian Cedi",
          "value": "ghs"
        },
        {
          "name": "Gibraltar Pound",
          "value": "gip"
        },
        {
          "name": "Gambian Dalasi",
          "value": "gmd"
        },
        {
          "name": "Guinean Franc",
          "value": "gnf"
        },
        {
          "name": "Guatemalan Quetzal",
          "value": "gtq"
        },
        {
          "name": "Guyanaese Dollar",
          "value": "gyd"
        },
        {
          "name": "Hong Kong Dollar",
          "value": "hkd"
        },
        {
          "name": "Honduran Lempira",
          "value": "hnl"
        },
        {
          "name": "Croatian Kuna",
          "value": "hrk"
        },
        {
          "name": "Haitian Gourde",
          "value": "htg"
        },
        {
          "name": "Hungarian Forint",
          "value": "huf"
        },
        {
          "name": "Indonesian Rupiah",
          "value": "idr"
        },
        {
          "name": "Israeli New Sheqel",
          "value": "ils"
        },
        {
          "name": "Manx Pound",
          "value": "imp"
        },
        {
          "name": "Indian Rupee",
          "value": "inr"
        },
        {
          "name": "Iraqi Dinar",
          "value": "iqd"
        },
        {
          "name": "Iranian Rial",
          "value": "irr"
        },
        {
          "name": "Icelandic Króna",
          "value": "isk"
        },
        {
          "name": "Jersey Pound",
          "value": "jep"
        },
        {
          "name": "Jamaican Dollar",
          "value": "jmd"
        },
        {
          "name": "Jordanian Dinar",
          "value": "jod"
        },
        {
          "name": "Japanese Yen",
          "value": "jpy"
        },
        {
          "name": "Kenyan Shilling",
          "value": "kes"
        },
        {
          "name": "Kyrgystani Som",
          "value": "kgs"
        },
        {
          "name": "Cambodian Riel",
          "value": "khr"
        },
        {
          "name": "Comorian Franc",
          "value": "kmf"
        },
        {
          "name": "North Korean Won",
          "value": "kpw"
        },
        {
          "name": "South Korean Won",
          "value": "krw"
        },
        {
          "name": "Kuwaiti Dinar",
          "value": "kwd"
        },
        {
          "name": "Cayman Islands Dollar",
          "value": "kyd"
        },
        {
          "name": "Kazakhstani Tenge",
          "value": "kzt"
        },
        {
          "name": "Laotian Kip",
          "value": "lak"
        },
        {
          "name": "Lebanese Pound",
          "value": "lbp"
        },
        {
          "name": "Sri Lankan Rupee",
          "value": "lkr"
        },
        {
          "name": "Liberian Dollar",
          "value": "lrd"
        },
        {
          "name": "Lesotho Loti",
          "value": "lsl"
        },
        {
          "name": "Libyan Dinar",
          "value": "lyd"
        },
        {
          "name": "Moroccan Dirham",
          "value": "mad"
        },
        {
          "name": "Moldovan Leu",
          "value": "mdl"
        },
        {
          "name": "Malagasy Ariary",
          "value": "mga"
        },
        {
          "name": "Macedonian Denar",
          "value": "mkd"
        },
        {
          "name": "Myanma Kyat",
          "value": "mmk"
        },
        {
          "name": "Mongolian Tugrik",
          "value": "mnt"
        },
        {
          "name": "Macanese Pataca",
          "value": "mop"
        },
        {
          "name": "Mauritanian Ouguiya (Pre-2018)",
          "value": "mro"
        },
        {
          "name": "Mauritanian Ouguiya",
          "value": "mru"
        },
        {
          "name": "Mauritian Rupee",
          "value": "mur"
        },
        {
          "name": "Maldivian Rufiyaa",
          "value": "mvr"
        },
        {
          "name": "Malawian Kwacha",
          "value": "mwk"
        },
        {
          "name": "Mexican Peso",
          "value": "mxn"
        },
        {
          "name": "Malaysian Ringgit",
          "value": "myr"
        },
        {
          "name": "Mozambican Metical",
          "value": "mzn"
        },
        {
          "name": "Namibian Dollar",
          "value": "nad"
        },
        {
          "name": "Nigerian Naira",
          "value": "ngn"
        },
        {
          "name": "Nicaraguan Córdoba",
          "value": "nio"
        },
        {
          "name": "Norwegian Krone",
          "value": "nok"
        },
        {
          "name": "Nepalese Rupee",
          "value": "npr"
        },
        {
          "name": "New Zealand Dollar",
          "value": "nzd"
        },
        {
          "name": "Omani Rial",
          "value": "omr"
        },
        {
          "name": "Panamanian Balboa",
          "value": "pab"
        },
        {
          "name": "Peruvian Nuevo Sol",
          "value": "pen"
        },
        {
          "name": "Papua New Guinean Kina",
          "value": "pgk"
        },
        {
          "name": "Philippine Peso",
          "value": "php"
        },
        {
          "name": "Pakistani Rupee",
          "value": "pkr"
        },
        {
          "name": "Polish Zloty",
          "value": "pln"
        },
        {
          "name": "Paraguayan Guarani",
          "value": "pyg"
        },
        {
          "name": "Qatari Rial",
          "value": "qar"
        },
        {
          "name": "Romanian Leu",
          "value": "ron"
        },
        {
          "name": "Serbian Dinar",
          "value": "rsd"
        },
        {
          "name": "Russian Ruble",
          "value": "rub"
        },
        {
          "name": "Rwandan Franc",
          "value": "rwf"
        },
        {
          "name": "Saudi Riyal",
          "value": "sar"
        },
        {
          "name": "Solomon Islands Dollar",
          "value": "sbd"
        },
        {
          "name": "Seychellois Rupee",
          "value": "scr"
        },
        {
          "name": "Sudanese Pound",
          "value": "sdg"
        },
        {
          "name": "Swedish Krona",
          "value": "sek"
        },
        {
          "name": "Singapore Dollar",
          "value": "sgd"
        },
        {
          "name": "Saint Helena Pound",
          "value": "shp"
        },
        {
          "name": "Sierra Leonean Leone",
          "value": "sll"
        },
        {
          "name": "Somali Shilling",
          "value": "sos"
        },
        {
          "name": "Surinamese Dollar",
          "value": "srd"
        },
        {
          "name": "South Sudanese Pound",
          "value": "ssp"
        },
        {
          "name": "São Tomé and Príncipe Dobra (Pre-2018)",
          "value": "std"
        },
        {
          "name": "São Tomé and Príncipe Dobra",
          "value": "stn"
        },
        {
          "name": "Salvadoran Colón",
          "value": "svc"
        },
        {
          "name": "Syrian Pound",
          "value": "syp"
        },
        {
          "name": "Swazi Lilangeni",
          "value": "szl"
        },
        {
          "name": "Thai Baht",
          "value": "thb"
        },
        {
          "name": "Tajikistani Somoni",
          "value": "tjs"
        },
        {
          "name": "Turkmenistani Manat",
          "value": "tmt"
        },
        {
          "name": "Tunisian Dinar",
          "value": "tnd"
        },
        {
          "name": "Tongan Pa'anga",
          "value": "top"
        },
        {
          "name": "Turkish Lira",
          "value": "try"
        },
        {
          "name": "Trinidad and Tobago Dollar",
          "value": "ttd"
        },
        {
          "name": "New Taiwan Dollar",
          "value": "twd"
        },
        {
          "name": "Tanzanian Shilling",
          "value": "tzs"
        },
        {
          "name": "Ukrainian Hryvnia",
          "value": "uah"
        },
        {
          "name": "Ugandan Shilling",
          "value": "ugx"
        },
        {
          "name": "Uruguayan Peso",
          "value": "uyu"
        },
        {
          "name": "Uzbekistan Som",
          "value": "uzs"
        },
        {
          "name": "Venezuelan Bolívar Fuerte",
          "value": "vef"
        },
        {
          "name": "Vietnamese Dong",
          "value": "vnd"
        },
        {
          "name": "Vanuatu Vatu",
          "value": "vuv"
        },
        {
          "name": "Samoan Tala",
          "value": "wst"
        },
        {
          "name": "CFA Franc BEAC",
          "value": "xaf"
        },
        {
          "name": "Silver Ounce",
          "value": "xag"
        },
        {
          "name": "Gold Ounce",
          "value": "xau"
        },
        {
          "name": "East Caribbean Dollar",
          "value": "xcd"
        },
        {
          "name": "Special Drawing Rights",
          "value": "xdr"
        },
        {
          "name": "CFA Franc BCEAO",
          "value": "xof"
        },
        {
          "name": "Palladium Ounce",
          "value": "xpd"
        },
        {
          "name": "CFP Franc",
          "value": "xpf"
        },
        {
          "name": "Platinum Ounce",
          "value": "xpt"
        },
        {
          "name": "Yemeni Rial",
          "value": "yer"
        },
        {
          "name": "South African Rand",
          "value": "zar"
        },
        {
          "name": "Zambian Kwacha",
          "value": "zmw"
        },
        {
          "name": "Zimbabwean Dollar",
          "value": "zwl"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Connection ID",
      "name": "connectionid",
      "type": "number",
      "default": 0,
      "description": "The ID of the connection from which this order originated",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerid",
      "type": "number",
      "default": 0,
      "description": "The ID of the customer associated with this order",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Creation Date",
      "name": "externalCreatedDate",
      "type": "dateTime",
      "default": "",
      "description": "The date the order was placed",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Abandoning Date",
      "name": "abandonedDate",
      "type": "dateTime",
      "default": "",
      "description": "The date the cart was abandoned. REQUIRED ONLY IF INCLUDING EXTERNALCHECKOUTID.",
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Products",
      "name": "orderProducts",
      "type": "collection",
      "default": {},
      "description": "All ordered products",
      "options": [
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The name of the product"
        },
        {
          "displayName": "Price",
          "name": "price",
          "type": "number",
          "default": 0,
          "description": "The price of the product, in cents. (i.e. $456.78 => 45678). Must be greater than or equal to zero."
        },
        {
          "displayName": "Product Quantity",
          "name": "quantity",
          "type": "number",
          "default": 0,
          "description": "The quantity ordered"
        },
        {
          "displayName": "Product External ID",
          "name": "externalid",
          "type": "string",
          "default": "",
          "description": "The ID of the product in the external service"
        },
        {
          "displayName": "Product Category",
          "name": "category",
          "type": "string",
          "default": "",
          "description": "The category of the product"
        },
        {
          "displayName": "SKU",
          "name": "sku",
          "type": "string",
          "default": "",
          "description": "The SKU for the product"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "The description of the product"
        },
        {
          "displayName": "Image URL",
          "name": "imageUrl",
          "type": "string",
          "default": "",
          "description": "An Image URL that displays an image of the product"
        },
        {
          "displayName": "Product URL",
          "name": "productUrl",
          "type": "string",
          "default": "",
          "description": "A URL linking to the product in your store"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add product"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Shipping Amount",
          "name": "shippingAmount",
          "type": "number",
          "default": 0,
          "description": "The total shipping amount for the order in cents"
        },
        {
          "displayName": "Tax Amount",
          "name": "taxAmount",
          "type": "number",
          "default": 0,
          "description": "The total tax amount for the order in cents"
        },
        {
          "displayName": "Discount Amount",
          "name": "discountAmount",
          "type": "number",
          "default": 0,
          "description": "The total discount amount for the order in cents"
        },
        {
          "displayName": "Order URL",
          "name": "orderUrl",
          "type": "string",
          "default": "",
          "description": "The URL for the order in the external service"
        },
        {
          "displayName": "External Updated Date",
          "name": "externalUpdatedDate",
          "type": "dateTime",
          "default": "",
          "description": "The date the order was updated"
        },
        {
          "displayName": "Shipping Method",
          "name": "shippingMethod",
          "type": "string",
          "default": "",
          "description": "The shipping method of the order"
        },
        {
          "displayName": "Order Number",
          "name": "orderNumber",
          "type": "string",
          "default": "",
          "description": "The order number. This can be different than the externalid."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "number",
      "default": 0,
      "description": "The ID of the e-commerce order",
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "External ID",
          "name": "externalid",
          "type": "string",
          "default": "",
          "description": "The ID of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED."
        },
        {
          "displayName": "External Checkout ID",
          "name": "externalcheckoutid",
          "type": "string",
          "default": "",
          "description": "The ID of the cart in the external service. ONLY REQUIRED IF EXTERNALID IS NOT INCLUDED."
        },
        {
          "displayName": "Order Source",
          "name": "source",
          "type": "number",
          "default": 0,
          "description": "The order source code (0 - will not trigger automations, 1 - will trigger automations)"
        },
        {
          "displayName": "Customer Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "The email address of the customer who placed the order"
        },
        {
          "displayName": "Total Price",
          "name": "totalPrice",
          "type": "number",
          "default": 0,
          "description": "The total price of the order in cents, including tax and shipping charges. (i.e. $456.78 => 45678). Must be greater than or equal to zero."
        },
        {
          "displayName": "Order Currency",
          "name": "currency",
          "type": "options",
          "default": "eur",
          "options": [
            {
              "name": "Euro",
              "value": "eur"
            },
            {
              "name": "United States Dollar",
              "value": "usd"
            },
            {
              "name": "British Pound Sterling",
              "value": "gbp"
            },
            {
              "name": "Swiss Franc",
              "value": "chf"
            },
            {
              "name": "Renminbi",
              "value": "cny"
            },
            {
              "name": "--------",
              "value": ""
            },
            {
              "name": "United Arab Emirates Dirham",
              "value": "aed"
            },
            {
              "name": "Afghan Afghani",
              "value": "afn"
            },
            {
              "name": "Albanian Lek",
              "value": "all"
            },
            {
              "name": "Armenian Dram",
              "value": "amd"
            },
            {
              "name": "Netherlands Antillean Guilder",
              "value": "ang"
            },
            {
              "name": "Angolan Kwanza",
              "value": "aoa"
            },
            {
              "name": "Argentine Peso",
              "value": "ars"
            },
            {
              "name": "Australian Dollar",
              "value": "aud"
            },
            {
              "name": "Aruban Florin",
              "value": "awg"
            },
            {
              "name": "Azerbaijani Manat",
              "value": "azn"
            },
            {
              "name": "Bosnia-Herzegovina Convertible Mark",
              "value": "bam"
            },
            {
              "name": "Barbadian Dollar",
              "value": "bbd"
            },
            {
              "name": "Bangladeshi Taka",
              "value": "bdt"
            },
            {
              "name": "Bulgarian Lev",
              "value": "bgn"
            },
            {
              "name": "Bahraini Dinar",
              "value": "bhd"
            },
            {
              "name": "Burundian Franc",
              "value": "bif"
            },
            {
              "name": "Bermudan Dollar",
              "value": "bmd"
            },
            {
              "name": "Brunei Dollar",
              "value": "bnd"
            },
            {
              "name": "Bolivian Boliviano",
              "value": "bob"
            },
            {
              "name": "Brazilian Real",
              "value": "brl"
            },
            {
              "name": "Bahamian Dollar",
              "value": "bsd"
            },
            {
              "name": "Bitcoin",
              "value": "btc"
            },
            {
              "name": "Bhutanese Ngultrum",
              "value": "btn"
            },
            {
              "name": "Botswanan Pula",
              "value": "bwp"
            },
            {
              "name": "Belarusian Ruble",
              "value": "byn"
            },
            {
              "name": "Belize Dollar",
              "value": "bzd"
            },
            {
              "name": "Canadian Dollar",
              "value": "cad"
            },
            {
              "name": "Congolese Franc",
              "value": "cdf"
            },
            {
              "name": "Chilean Unit of Account (UF)",
              "value": "clf"
            },
            {
              "name": "Chilean Peso",
              "value": "clp"
            },
            {
              "name": "Chinese Yuan (Offshore)",
              "value": "cnh"
            },
            {
              "name": "Colombian Peso",
              "value": "cop"
            },
            {
              "name": "Costa Rican Colón",
              "value": "crc"
            },
            {
              "name": "Cuban Convertible Peso",
              "value": "cuc"
            },
            {
              "name": "Cuban Peso",
              "value": "cup"
            },
            {
              "name": "Cape Verdean Escudo",
              "value": "cve"
            },
            {
              "name": "Czech Republic Koruna",
              "value": "czk"
            },
            {
              "name": "Djiboutian Franc",
              "value": "djf"
            },
            {
              "name": "Danish Krone",
              "value": "dkk"
            },
            {
              "name": "Dominican Peso",
              "value": "dop"
            },
            {
              "name": "Algerian Dinar",
              "value": "dzd"
            },
            {
              "name": "Egyptian Pound",
              "value": "egp"
            },
            {
              "name": "Eritrean Nakfa",
              "value": "ern"
            },
            {
              "name": "Ethiopian Birr",
              "value": "etb"
            },
            {
              "name": "Fijian Dollar",
              "value": "fjd"
            },
            {
              "name": "Falkland Islands Pound",
              "value": "fkp"
            },
            {
              "name": "Georgian Lari",
              "value": "gel"
            },
            {
              "name": "Guernsey Pound",
              "value": "ggp"
            },
            {
              "name": "Ghanaian Cedi",
              "value": "ghs"
            },
            {
              "name": "Gibraltar Pound",
              "value": "gip"
            },
            {
              "name": "Gambian Dalasi",
              "value": "gmd"
            },
            {
              "name": "Guinean Franc",
              "value": "gnf"
            },
            {
              "name": "Guatemalan Quetzal",
              "value": "gtq"
            },
            {
              "name": "Guyanaese Dollar",
              "value": "gyd"
            },
            {
              "name": "Hong Kong Dollar",
              "value": "hkd"
            },
            {
              "name": "Honduran Lempira",
              "value": "hnl"
            },
            {
              "name": "Croatian Kuna",
              "value": "hrk"
            },
            {
              "name": "Haitian Gourde",
              "value": "htg"
            },
            {
              "name": "Hungarian Forint",
              "value": "huf"
            },
            {
              "name": "Indonesian Rupiah",
              "value": "idr"
            },
            {
              "name": "Israeli New Sheqel",
              "value": "ils"
            },
            {
              "name": "Manx Pound",
              "value": "imp"
            },
            {
              "name": "Indian Rupee",
              "value": "inr"
            },
            {
              "name": "Iraqi Dinar",
              "value": "iqd"
            },
            {
              "name": "Iranian Rial",
              "value": "irr"
            },
            {
              "name": "Icelandic Króna",
              "value": "isk"
            },
            {
              "name": "Jersey Pound",
              "value": "jep"
            },
            {
              "name": "Jamaican Dollar",
              "value": "jmd"
            },
            {
              "name": "Jordanian Dinar",
              "value": "jod"
            },
            {
              "name": "Japanese Yen",
              "value": "jpy"
            },
            {
              "name": "Kenyan Shilling",
              "value": "kes"
            },
            {
              "name": "Kyrgystani Som",
              "value": "kgs"
            },
            {
              "name": "Cambodian Riel",
              "value": "khr"
            },
            {
              "name": "Comorian Franc",
              "value": "kmf"
            },
            {
              "name": "North Korean Won",
              "value": "kpw"
            },
            {
              "name": "South Korean Won",
              "value": "krw"
            },
            {
              "name": "Kuwaiti Dinar",
              "value": "kwd"
            },
            {
              "name": "Cayman Islands Dollar",
              "value": "kyd"
            },
            {
              "name": "Kazakhstani Tenge",
              "value": "kzt"
            },
            {
              "name": "Laotian Kip",
              "value": "lak"
            },
            {
              "name": "Lebanese Pound",
              "value": "lbp"
            },
            {
              "name": "Sri Lankan Rupee",
              "value": "lkr"
            },
            {
              "name": "Liberian Dollar",
              "value": "lrd"
            },
            {
              "name": "Lesotho Loti",
              "value": "lsl"
            },
            {
              "name": "Libyan Dinar",
              "value": "lyd"
            },
            {
              "name": "Moroccan Dirham",
              "value": "mad"
            },
            {
              "name": "Moldovan Leu",
              "value": "mdl"
            },
            {
              "name": "Malagasy Ariary",
              "value": "mga"
            },
            {
              "name": "Macedonian Denar",
              "value": "mkd"
            },
            {
              "name": "Myanma Kyat",
              "value": "mmk"
            },
            {
              "name": "Mongolian Tugrik",
              "value": "mnt"
            },
            {
              "name": "Macanese Pataca",
              "value": "mop"
            },
            {
              "name": "Mauritanian Ouguiya (Pre-2018)",
              "value": "mro"
            },
            {
              "name": "Mauritanian Ouguiya",
              "value": "mru"
            },
            {
              "name": "Mauritian Rupee",
              "value": "mur"
            },
            {
              "name": "Maldivian Rufiyaa",
              "value": "mvr"
            },
            {
              "name": "Malawian Kwacha",
              "value": "mwk"
            },
            {
              "name": "Mexican Peso",
              "value": "mxn"
            },
            {
              "name": "Malaysian Ringgit",
              "value": "myr"
            },
            {
              "name": "Mozambican Metical",
              "value": "mzn"
            },
            {
              "name": "Namibian Dollar",
              "value": "nad"
            },
            {
              "name": "Nigerian Naira",
              "value": "ngn"
            },
            {
              "name": "Nicaraguan Córdoba",
              "value": "nio"
            },
            {
              "name": "Norwegian Krone",
              "value": "nok"
            },
            {
              "name": "Nepalese Rupee",
              "value": "npr"
            },
            {
              "name": "New Zealand Dollar",
              "value": "nzd"
            },
            {
              "name": "Omani Rial",
              "value": "omr"
            },
            {
              "name": "Panamanian Balboa",
              "value": "pab"
            },
            {
              "name": "Peruvian Nuevo Sol",
              "value": "pen"
            },
            {
              "name": "Papua New Guinean Kina",
              "value": "pgk"
            },
            {
              "name": "Philippine Peso",
              "value": "php"
            },
            {
              "name": "Pakistani Rupee",
              "value": "pkr"
            },
            {
              "name": "Polish Zloty",
              "value": "pln"
            },
            {
              "name": "Paraguayan Guarani",
              "value": "pyg"
            },
            {
              "name": "Qatari Rial",
              "value": "qar"
            },
            {
              "name": "Romanian Leu",
              "value": "ron"
            },
            {
              "name": "Serbian Dinar",
              "value": "rsd"
            },
            {
              "name": "Russian Ruble",
              "value": "rub"
            },
            {
              "name": "Rwandan Franc",
              "value": "rwf"
            },
            {
              "name": "Saudi Riyal",
              "value": "sar"
            },
            {
              "name": "Solomon Islands Dollar",
              "value": "sbd"
            },
            {
              "name": "Seychellois Rupee",
              "value": "scr"
            },
            {
              "name": "Sudanese Pound",
              "value": "sdg"
            },
            {
              "name": "Swedish Krona",
              "value": "sek"
            },
            {
              "name": "Singapore Dollar",
              "value": "sgd"
            },
            {
              "name": "Saint Helena Pound",
              "value": "shp"
            },
            {
              "name": "Sierra Leonean Leone",
              "value": "sll"
            },
            {
              "name": "Somali Shilling",
              "value": "sos"
            },
            {
              "name": "Surinamese Dollar",
              "value": "srd"
            },
            {
              "name": "South Sudanese Pound",
              "value": "ssp"
            },
            {
              "name": "São Tomé and Príncipe Dobra (Pre-2018)",
              "value": "std"
            },
            {
              "name": "São Tomé and Príncipe Dobra",
              "value": "stn"
            },
            {
              "name": "Salvadoran Colón",
              "value": "svc"
            },
            {
              "name": "Syrian Pound",
              "value": "syp"
            },
            {
              "name": "Swazi Lilangeni",
              "value": "szl"
            },
            {
              "name": "Thai Baht",
              "value": "thb"
            },
            {
              "name": "Tajikistani Somoni",
              "value": "tjs"
            },
            {
              "name": "Turkmenistani Manat",
              "value": "tmt"
            },
            {
              "name": "Tunisian Dinar",
              "value": "tnd"
            },
            {
              "name": "Tongan Pa'anga",
              "value": "top"
            },
            {
              "name": "Turkish Lira",
              "value": "try"
            },
            {
              "name": "Trinidad and Tobago Dollar",
              "value": "ttd"
            },
            {
              "name": "New Taiwan Dollar",
              "value": "twd"
            },
            {
              "name": "Tanzanian Shilling",
              "value": "tzs"
            },
            {
              "name": "Ukrainian Hryvnia",
              "value": "uah"
            },
            {
              "name": "Ugandan Shilling",
              "value": "ugx"
            },
            {
              "name": "Uruguayan Peso",
              "value": "uyu"
            },
            {
              "name": "Uzbekistan Som",
              "value": "uzs"
            },
            {
              "name": "Venezuelan Bolívar Fuerte",
              "value": "vef"
            },
            {
              "name": "Vietnamese Dong",
              "value": "vnd"
            },
            {
              "name": "Vanuatu Vatu",
              "value": "vuv"
            },
            {
              "name": "Samoan Tala",
              "value": "wst"
            },
            {
              "name": "CFA Franc BEAC",
              "value": "xaf"
            },
            {
              "name": "Silver Ounce",
              "value": "xag"
            },
            {
              "name": "Gold Ounce",
              "value": "xau"
            },
            {
              "name": "East Caribbean Dollar",
              "value": "xcd"
            },
            {
              "name": "Special Drawing Rights",
              "value": "xdr"
            },
            {
              "name": "CFA Franc BCEAO",
              "value": "xof"
            },
            {
              "name": "Palladium Ounce",
              "value": "xpd"
            },
            {
              "name": "CFP Franc",
              "value": "xpf"
            },
            {
              "name": "Platinum Ounce",
              "value": "xpt"
            },
            {
              "name": "Yemeni Rial",
              "value": "yer"
            },
            {
              "name": "South African Rand",
              "value": "zar"
            },
            {
              "name": "Zambian Kwacha",
              "value": "zmw"
            },
            {
              "name": "Zimbabwean Dollar",
              "value": "zwl"
            }
          ],
          "description": "The currency of the order (3-digit ISO code, e.g., \"USD\")"
        },
        {
          "displayName": "Connection ID",
          "name": "connectionid",
          "type": "number",
          "default": 0,
          "description": "The ID of the connection from which this order originated"
        },
        {
          "displayName": "Customer ID",
          "name": "customerid",
          "type": "number",
          "default": 0,
          "description": "The ID of the customer associated with this order"
        },
        {
          "displayName": "Creation Date",
          "name": "externalupdatedDate",
          "type": "dateTime",
          "default": "",
          "description": "The date the order was placed"
        },
        {
          "displayName": "Abandoning Date",
          "name": "abandonedDate",
          "type": "dateTime",
          "default": "",
          "description": "The date the cart was abandoned. REQUIRED ONLY IF INCLUDING EXTERNALCHECKOUTID."
        },
        {
          "displayName": "Shipping Amount",
          "name": "shippingAmount",
          "type": "number",
          "default": 0,
          "description": "The total shipping amount for the order in cents"
        },
        {
          "displayName": "Tax Amount",
          "name": "taxAmount",
          "type": "number",
          "default": 0,
          "description": "The total tax amount for the order in cents"
        },
        {
          "displayName": "Discount Amount",
          "name": "discountAmount",
          "type": "number",
          "default": 0,
          "description": "The total discount amount for the order in cents"
        },
        {
          "displayName": "Order URL",
          "name": "orderUrl",
          "type": "string",
          "default": "",
          "description": "The URL for the order in the external service"
        },
        {
          "displayName": "External Updated Date",
          "name": "externalUpdatedDate",
          "type": "dateTime",
          "default": "",
          "description": "The date the order was updated"
        },
        {
          "displayName": "Shipping Method",
          "name": "shippingMethod",
          "type": "string",
          "default": "",
          "description": "The shipping method of the order"
        },
        {
          "displayName": "Order Number",
          "name": "orderNumber",
          "type": "string",
          "default": "",
          "description": "The order number. This can be different than the externalid."
        },
        {
          "displayName": "Products",
          "name": "orderProducts",
          "type": "collection",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add product"
          },
          "default": {},
          "description": "All ordered products",
          "placeholder": "Add product field",
          "options": [
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "description": "The name of the product"
            },
            {
              "displayName": "Price",
              "name": "price",
              "type": "number",
              "default": 0,
              "description": "The price of the product, in cents. (i.e. $456.78 => 45678). Must be greater than or equal to zero."
            },
            {
              "displayName": "Product Quantity",
              "name": "quantity",
              "type": "number",
              "default": 0,
              "description": "The quantity ordered"
            },
            {
              "displayName": "Product External ID",
              "name": "externalid",
              "type": "string",
              "default": "",
              "description": "The ID of the product in the external service"
            },
            {
              "displayName": "Product Category",
              "name": "category",
              "type": "string",
              "default": "",
              "description": "The category of the product"
            },
            {
              "displayName": "SKU",
              "name": "sku",
              "type": "string",
              "default": "",
              "description": "The SKU for the product"
            },
            {
              "displayName": "Description",
              "name": "description",
              "type": "string",
              "default": "",
              "description": "The description of the product"
            },
            {
              "displayName": "Image URL",
              "name": "imageUrl",
              "type": "string",
              "default": "",
              "description": "An Image URL that displays an image of the product"
            },
            {
              "displayName": "Product URL",
              "name": "productUrl",
              "type": "string",
              "default": "",
              "description": "A URL linking to the product in your store"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "number",
      "default": 0,
      "description": "The ID of the e-commerce order",
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "number",
      "default": 0,
      "description": "The ID of the e-commerce order",
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "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": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "ecommerceOrder"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "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": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "ecommerceOrder"
          ]
        }
      }
    },
    {
      "displayName": "Service ID",
      "name": "connectionid",
      "type": "string",
      "default": "",
      "description": "The ID of the connection object for the service where the customer originates",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "externalid",
      "type": "string",
      "default": "",
      "description": "The ID of the customer in the external service",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "displayName": "Customer Email",
      "name": "email",
      "type": "string",
      "default": "",
      "description": "The email address of the customer",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Accepts Marketing",
          "name": "acceptsMarketing",
          "type": "boolean",
          "default": false,
          "description": "Whether customer has opt-ed in to marketing communications"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create"
          ],
          "resource": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "ecommerceCustomerId",
      "type": "number",
      "default": 0,
      "description": "ID of the E-commerce customer to update",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "description": "The fields to update",
      "options": [
        {
          "displayName": "Service ID",
          "name": "connectionid",
          "type": "string",
          "default": "",
          "description": "The ID of the connection object for the service where the customer originates"
        },
        {
          "displayName": "Customer ID",
          "name": "externalid",
          "type": "string",
          "default": "",
          "description": "The ID of the customer in the external service"
        },
        {
          "displayName": "Customer Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "The email address of the customer"
        },
        {
          "displayName": "Accepts Marketing",
          "name": "acceptsMarketing",
          "type": "boolean",
          "default": false,
          "description": "Whether customer has opt-ed in to marketing communications"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ],
          "resource": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "ecommerceCustomerId",
      "type": "number",
      "default": 0,
      "description": "ID of the E-commerce customer to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "delete"
          ],
          "resource": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "ecommerceCustomerId",
      "type": "number",
      "default": 0,
      "description": "ID of the E-commerce customer to get",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get"
          ],
          "resource": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "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": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "ecommerceCustomer"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "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": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "ecommerceCustomer"
          ]
        }
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "number",
      "default": 0,
      "description": "The ID of the order whose products you'd like returned",
      "displayOptions": {
        "show": {
          "operation": [
            "getByOrderId"
          ],
          "resource": [
            "ecommerceOrderProducts"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "procuctId",
      "type": "number",
      "default": 0,
      "description": "The ID of the product you'd like returned",
      "displayOptions": {
        "show": {
          "operation": [
            "getByProductId"
          ],
          "resource": [
            "ecommerceOrderProducts"
          ]
        }
      }
    },
    {
      "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": [
            "ecommerceOrderProducts"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "ecommerceOrderProducts"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 500
      }
    },
    {
      "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": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "ecommerceOrderProducts"
          ]
        }
      }
    }
  ]

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


node_type: nodes-base.activeCampaignTrigger
package_name: n8n-nodes-base
display_name: ActiveCampaign Trigger
description: Handle ActiveCampaign events via webhooks
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "activeCampaignApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # ActiveCampaign Trigger node

  [ActiveCampaign](https://www.activecampaign.com/){:target=_blank .external-link} is a cloud software platform for small-to-mid-sized business. The company offers software for customer experience automation, which combines the email marketing, marketing automation, sales automation, and CRM categories.

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

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

properties_schema:
  [
    {
      "displayName": "Event Names or IDs",
      "name": "events",
      "type": "multiOptions",
      "default": [],
      "description": "Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
      "options": [],
      "typeOptions": {
        "loadOptionsMethod": "getEvents"
      }
    },
    {
      "displayName": "Source",
      "name": "sources",
      "type": "multiOptions",
      "default": [],
      "options": [
        {
          "name": "Public",
          "value": "public",
          "description": "Run the hooks when a contact triggers the action"
        },
        {
          "name": "Admin",
          "value": "admin",
          "description": "Run the hooks when an admin user triggers the action"
        },
        {
          "name": "Api",
          "value": "api",
          "description": "Run the hooks when an API call triggers the action"
        },
        {
          "name": "System",
          "value": "system",
          "description": "Run the hooks when automated systems triggers the action"
        }
      ]
    }
  ]


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

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

  # Acuity Scheduling Trigger node

  [Acuity Scheduling](https://acuityscheduling.com/){:target=_blank .external-link} is a cloud-based appointment scheduling software solution that enables business owners to manage their appointments online. It has the capability to automatically sync calendars according to users' time zones and can send regular alerts and reminders to users regarding their appointment schedules.

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

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

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "apiKey",
      "options": [
        {
          "name": "API Key",
          "value": "apiKey"
        },
        {
          "name": "OAuth2",
          "value": "oAuth2"
        }
      ]
    },
    {
      "displayName": "Event",
      "name": "event",
      "type": "options",
      "default": "",
      "options": [
        {
          "name": "appointment.canceled",
          "value": "appointment.canceled",
          "description": "Is called whenever an appointment is canceled"
        },
        {
          "name": "appointment.changed",
          "value": "appointment.changed",
          "description": "Is called when the appointment is changed in any way"
        },
        {
          "name": "appointment.rescheduled",
          "value": "appointment.rescheduled",
          "description": "Is called when the appointment is rescheduled to a new time"
        },
        {
          "name": "appointment.scheduled",
          "value": "appointment.scheduled",
          "description": "Is called once when an appointment is initially booked"
        },
        {
          "name": "order.completed",
          "value": "order.completed",
          "description": "Is called when an order is completed"
        }
      ],
      "required": true
    },
    {
      "displayName": "Resolve Data",
      "name": "resolveData",
      "type": "boolean",
      "default": true,
      "description": "By default does the webhook-data only contain the ID of the object. If this option gets activated, it will resolve the data automatically."
    }
  ]

credentials_required:
  [
    {
      "name": "acuitySchedulingApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "apiKey"
          ]
        }
      }
    },
    {
      "name": "acuitySchedulingOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "oAuth2"
          ]
        }
      }
    }
  ]


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

outputs:
  [
  "main"
  ]

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

  # Adalo node

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

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

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

  ## Operations

  * Collection
  	* Create
  	* Delete
  	* Get
  	* Get Many
  	* Update

  ## Templates and examples

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

  ## Related resources

  Refer to [Adalo's documentation](https://help.adalo.com/){:target=_blank .external-link} for more information on using Adalo. Their [External Collections with APIs](https://help.adalo.com/integrations/external-collections-with-apis){:target=_blank .external-link} page gives more detail about what you can do with Adalo collections.

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "collection",
      "options": [
        {
          "name": "Collection",
          "value": "collection"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a row",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            },
            "request": {
              "method": "POST",
              "url": "=/collections/{{$parameter[\"collectionId\"]}}"
            }
          },
          "action": "Create a row"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a row",
          "routing": {
            "request": {
              "method": "DELETE",
              "url": "=/collections/{{$parameter[\"collectionId\"]}}/{{$parameter[\"rowId\"]}}"
            },
            "output": {
              "postReceive": [
                {
                  "type": "set",
                  "properties": {
                    "value": "={{ { \"success\": true } }}"
                  }
                }
              ]
            }
          },
          "action": "Delete a row"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a row",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/collections/{{$parameter[\"collectionId\"]}}/{{$parameter[\"rowId\"]}}"
            }
          },
          "action": "Retrieve a row"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many rows",
          "routing": {
            "request": {
              "method": "GET",
              "url": "=/collections/{{$parameter[\"collectionId\"]}}",
              "qs": {
                "limit": "={{$parameter[\"limit\"]}}"
              }
            },
            "send": {
              "paginate": "={{$parameter[\"returnAll\"]}}"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "records"
                  }
                }
              ]
            }
          },
          "action": "Retrieve all rows"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a row",
          "routing": {
            "send": {
              "preSend": [
                null
              ]
            },
            "request": {
              "method": "PUT",
              "url": "=/collections/{{$parameter[\"collectionId\"]}}/{{$parameter[\"rowId\"]}}"
            }
          },
          "action": "Update a row"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Collection ID",
      "name": "collectionId",
      "type": "string",
      "default": "",
      "description": "Open your Adalo application and click on the three buttons beside the collection name, then select API Documentation",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "collection"
          ]
        }
      }
    },
    {
      "displayName": "Row ID",
      "name": "rowId",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "get",
            "delete",
            "update"
          ],
          "resource": [
            "collection"
          ]
        }
      }
    },
    {
      "displayName": "Data to Send",
      "name": "dataToSend",
      "type": "options",
      "default": "defineBelow",
      "description": "Whether to insert the input data this node receives in the new row",
      "options": [
        {
          "name": "Auto-Map Input Data to Columns",
          "value": "autoMapInputData",
          "description": "Use when node input properties match destination column names"
        },
        {
          "name": "Define Below for Each Column",
          "value": "defineBelow",
          "description": "Set the value for each destination column"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create",
            "update"
          ],
          "resource": [
            "collection"
          ]
        }
      }
    },
    {
      "displayName": "Inputs to Ignore",
      "name": "inputsToIgnore",
      "type": "string",
      "default": "",
      "description": "List of input properties to avoid sending, separated by commas. Leave empty to send all properties.",
      "displayOptions": {
        "show": {
          "operation": [
            "create",
            "update"
          ],
          "dataToSend": [
            "autoMapInputData"
          ],
          "resource": [
            "collection"
          ]
        }
      }
    },
    {
      "displayName": "Fields to Send",
      "name": "fieldsUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Field must be defined in the collection, otherwise it will be ignored. If field defined in the collection is not set here, it will be set to null.",
      "options": [
        {
          "displayName": "Field",
          "name": "fieldValues",
          "values": [
            {
              "displayName": "Field ID",
              "name": "fieldId",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "create",
            "update"
          ],
          "dataToSend": [
            "defineBelow"
          ],
          "resource": [
            "collection"
          ]
        }
      },
      "typeOptions": {
        "multipleValueButtonText": "Add Field to Send",
        "multipleValues": true
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "collection"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "getAll"
          ],
          "resource": [
            "collection"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    }
  ]

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


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

outputs:
  [
  "main"
  ]

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

  # Affinity node

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

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

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

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

  ## Operations

  * List
      * Get a list
      * Get all lists
  * List Entry
      * Create a list entry
      * Delete a list entry
      * Get a list entry
      * Get all list entries
  * Organization
      * Create an organization
      * Delete an organization
      * Get an organization
      * Get all organizations
      * Update an organization
  * Person
      * Create a person
      * Delete a person
      * Get a person
      * Get all persons
      * Update a person

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "organization",
      "options": [
        {
          "name": "List",
          "value": "list"
        },
        {
          "name": "List Entry",
          "value": "listEntry"
        },
        {
          "name": "Organization",
          "value": "organization"
        },
        {
          "name": "Person",
          "value": "person"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a list",
          "action": "Get a list"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many lists",
          "action": "Get many lists"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "List ID",
      "name": "listId",
      "type": "string",
      "default": "",
      "description": "The unique ID of the list object to be retrieved",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "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": [
            "list"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "list"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 10
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a list entry",
          "action": "Create a list entry"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a list entry",
          "action": "Delete a list entry"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a list entry",
          "action": "Get a list entry"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many list entries",
          "action": "Get many list entries"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "listEntry"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "List Name or ID",
      "name": "listId",
      "type": "options",
      "default": "",
      "description": "The unique ID of the list whose list entries are to be retrieved. 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": [
            "listEntry"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getLists"
      }
    },
    {
      "displayName": "Entity ID",
      "name": "entityId",
      "type": "string",
      "default": "",
      "description": "The unique ID of the entity (person, organization, or opportunity) to add to this list",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "listEntry"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Creator ID",
          "name": "creator_id",
          "type": "string",
          "default": "",
          "description": "The ID of a Person resource who should be recorded as adding the entry to the list. Must be a person who can access Affinity. If not provided the creator defaults to the owner of the API key."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "listEntry"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "List Name or ID",
      "name": "listId",
      "type": "options",
      "default": "",
      "description": "The unique ID of the list that contains the specified list_entry_id. 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": [
            "listEntry"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getLists"
      }
    },
    {
      "displayName": "List Entry ID",
      "name": "listEntryId",
      "type": "string",
      "default": "",
      "description": "The unique ID of the list entry object to be retrieved",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "listEntry"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "List Name or ID",
      "name": "listId",
      "type": "options",
      "default": "",
      "description": "The unique ID of the list whose list entries are to be retrieved. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "listEntry"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getLists"
      }
    },
    {
      "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": [
            "listEntry"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "listEntry"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 10
      }
    },
    {
      "displayName": "List Name or ID",
      "name": "listId",
      "type": "options",
      "default": "",
      "description": "The unique ID of the list that contains the specified list_entry_id. 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": [
            "listEntry"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getLists"
      }
    },
    {
      "displayName": "List Entry ID",
      "name": "listEntryId",
      "type": "string",
      "default": "",
      "description": "The unique ID of the list entry object to be deleted",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "listEntry"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "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 an organization",
          "action": "Get an organization"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many organizations",
          "action": "Get many organizations"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an organization",
          "action": "Update an organization"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the organization",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Domain",
      "name": "domain",
      "type": "string",
      "default": "",
      "description": "The domain name of the organization",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Person Names or IDs",
          "name": "persons",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getPersons"
          },
          "default": [],
          "description": "Persons that the new organization will be associated with. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Organization ID",
      "name": "organizationId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the organization",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Domain",
          "name": "domain",
          "type": "string",
          "default": "",
          "description": "The domain name of the organization"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The name of the organization"
        },
        {
          "displayName": "Person Names or IDs",
          "name": "persons",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getPersons"
          },
          "default": [],
          "description": "Persons that the new organization will be associated with. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Organization ID",
      "name": "organizationId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the organization",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "With Interaction Dates",
          "name": "withInteractionDates",
          "type": "boolean",
          "default": false,
          "description": "Whether interaction dates will be present on the returned resources"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "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": [
            "organization"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 10
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Term",
          "name": "term",
          "type": "string",
          "default": "",
          "description": "A string used to search all the organizations in your team’s address book. This could be an email address, a first name or a last name."
        },
        {
          "displayName": "With Interaction Dates",
          "name": "withInteractionDates",
          "type": "boolean",
          "default": false,
          "description": "Whether interaction dates will be present on the returned resources"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Organization ID",
      "name": "organizationId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the organization",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "organization"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "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 a person",
          "action": "Get a person"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many persons",
          "action": "Get many people"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a person",
          "action": "Update a person"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "First Name",
      "name": "firstName",
      "type": "string",
      "default": "",
      "description": "The first name of the person",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Last Name",
      "name": "lastName",
      "type": "string",
      "default": "",
      "description": "The last name of the person",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Organization Names or IDs",
          "name": "organizations",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizations"
          },
          "default": [],
          "description": "Organizations that the person is associated with. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Emails",
      "name": "emails",
      "type": "string",
      "default": [],
      "description": "The email addresses of the person",
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add To Email"
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the person",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "First Name",
          "name": "firstName",
          "type": "string",
          "default": "",
          "description": "The first name of the person"
        },
        {
          "displayName": "Last Name",
          "name": "lastName",
          "type": "string",
          "default": "",
          "description": "The last name of the person"
        },
        {
          "displayName": "Organization Names or IDs",
          "name": "organizations",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getOrganizations"
          },
          "default": [],
          "description": "Organizations that the person is associated with. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Emails",
      "name": "emails",
      "type": "string",
      "default": [],
      "description": "The email addresses of the person",
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "multipleValueButtonText": "Add To Email"
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the person",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "With Interaction Dates",
          "name": "withInteractionDates",
          "type": "boolean",
          "default": false,
          "description": "Whether interaction dates will be present on the returned resources"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "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": [
            "person"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 10
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Term",
          "name": "term",
          "type": "string",
          "default": "",
          "description": "A string used to search all the persons in your team’s address book. This could be an email address, a first name or a last name."
        },
        {
          "displayName": "With Interaction Dates",
          "name": "withInteractionDates",
          "type": "boolean",
          "default": false,
          "description": "Whether interaction dates will be present on the returned resources"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Person ID",
      "name": "personId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for the person",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "person"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a list"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many lists"
    }
  ]


node_type: nodes-base.affinityTrigger
package_name: n8n-nodes-base
display_name: Affinity Trigger
description: Handle Affinity events via webhooks
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "affinityApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

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

  # Affinity Trigger node

  [Affinity](https://www.affinity.co/){:target=_blank .external-link} is a powerful relationship intelligence platform enabling teams to leverage their network to close the next big deal.

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

  ///  note  | Examples and templates
  For usage examples and templates to help you get started, refer to n8n's [Affinity Trigger integrations](https://n8n.io/integrations/affinity-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": "field_value.created",
          "value": "field_value.created"
        },
        {
          "name": "field_value.deleted",
          "value": "field_value.deleted"
        },
        {
          "name": "field_value.updated",
          "value": "field_value.updated"
        },
        {
          "name": "field.created",
          "value": "field.created"
        },
        {
          "name": "field.deleted",
          "value": "field.deleted"
        },
        {
          "name": "field.updated",
          "value": "field.updated"
        },
        {
          "name": "file.created",
          "value": "file.created"
        },
        {
          "name": "file.deleted",
          "value": "file.deleted"
        },
        {
          "name": "list_entry.created",
          "value": "list_entry.created"
        },
        {
          "name": "list_entry.deleted",
          "value": "list_entry.deleted"
        },
        {
          "name": "list.created",
          "value": "list.created"
        },
        {
          "name": "list.deleted",
          "value": "list.deleted"
        },
        {
          "name": "list.updated",
          "value": "list.updated"
        },
        {
          "name": "note.created",
          "value": "note.created"
        },
        {
          "name": "note.deleted",
          "value": "note.deleted"
        },
        {
          "name": "note.updated",
          "value": "note.updated"
        },
        {
          "name": "opportunity.created",
          "value": "opportunity.created"
        },
        {
          "name": "opportunity.deleted",
          "value": "opportunity.deleted"
        },
        {
          "name": "opportunity.updated",
          "value": "opportunity.updated"
        },
        {
          "name": "organization.created",
          "value": "organization.created"
        },
        {
          "name": "organization.deleted",
          "value": "organization.deleted"
        },
        {
          "name": "organization.updated",
          "value": "organization.updated"
        },
        {
          "name": "person.created",
          "value": "person.created"
        },
        {
          "name": "person.deleted",
          "value": "person.deleted"
        },
        {
          "name": "person.updated",
          "value": "person.updated"
        }
      ],
      "required": true
    }
  ]


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

outputs:
  [
  "main"
  ]

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

  # Agile CRM node

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

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

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

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

  ## Operations

  * Company
      * Create a new company
      * Delete a company
      * Get a company
      * Get all companies
      * Update company properties
  * Contact
      * Create a new contact
      * Delete a contact
      * Get a contact
      * Get all contacts
      * Update contact properties
  * Deal
      * Create a new deal
      * Delete a deal
      * Get a deal
      * Get all deals
      * Update deal properties

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "contact",
      "options": [
        {
          "name": "Company",
          "value": "company"
        },
        {
          "name": "Contact",
          "value": "contact"
        },
        {
          "name": "Deal",
          "value": "deal"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new contact",
          "action": "Create a contact"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a contact",
          "action": "Delete a contact"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a contact",
          "action": "Get a contact"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many contacts",
          "action": "Get many contacts"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update contact properties",
          "action": "Update a contact"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for a particular contact",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 20,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filter",
      "name": "filterType",
      "type": "options",
      "default": "none",
      "options": [
        {
          "name": "None",
          "value": "none"
        },
        {
          "name": "Build Manually",
          "value": "manual"
        },
        {
          "name": "JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Must Match",
      "name": "matchType",
      "type": "options",
      "default": "anyFilter",
      "options": [
        {
          "name": "Any Filter",
          "value": "anyFilter"
        },
        {
          "name": "All Filters",
          "value": "allFilters"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "filterType": [
            "manual"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": false,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Conditions",
          "name": "conditions",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "description": "Any searchable field"
            },
            {
              "displayName": "Condition Type",
              "name": "condition_type",
              "type": "options",
              "options": [
                {
                  "name": "After",
                  "value": "AFTER"
                },
                {
                  "name": "Before",
                  "value": "BEFORE"
                },
                {
                  "name": "Between",
                  "value": "BETWEEN"
                },
                {
                  "name": "Equals",
                  "value": "EQUALS"
                },
                {
                  "name": "Last",
                  "value": "LAST"
                },
                {
                  "name": "Not Equal",
                  "value": "NOTEQUALS"
                },
                {
                  "name": "On",
                  "value": "ON"
                }
              ],
              "default": "EQUALS"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Value 2",
              "name": "value2",
              "type": "string",
              "displayOptions": {
                "show": {
                  "condition_type": [
                    "BETWEEN"
                  ]
                }
              },
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "filterType": [
            "manual"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "See <a href=\"https://github.com/agilecrm/rest-api#121-get-contacts-by-dynamic-filter\" target=\"_blank\">Agile CRM guide</a> to creating filters",
      "name": "jsonNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "filterType": [
            "json"
          ]
        }
      }
    },
    {
      "displayName": "Filters (JSON)",
      "name": "filterJson",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ],
          "filterType": [
            "json"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Sort",
          "name": "sort",
          "type": "fixedCollection",
          "placeholder": "Add Sort",
          "default": [],
          "options": [
            {
              "displayName": "Sort",
              "name": "sort",
              "values": [
                {
                  "displayName": "Direction",
                  "name": "direction",
                  "type": "options",
                  "options": [
                    {
                      "name": "Ascending",
                      "value": "ASC"
                    },
                    {
                      "name": "Descending",
                      "value": "DESC"
                    }
                  ],
                  "default": "ASC",
                  "description": "The sorting direction"
                },
                {
                  "displayName": "Field",
                  "name": "field",
                  "type": "string",
                  "default": "",
                  "description": "The sorting field"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFieldsJson",
      "type": "json",
      "default": "",
      "description": "Object of values to set as described <a href=\"https://github.com/agilecrm/rest-api#1-contacts---companies-api\">here</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            true
          ]
        }
      },
      "typeOptions": {
        "alwaysOpenEditWindow": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "addressOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Contacts address",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Address Properties",
              "name": "addressProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of address",
                  "options": [
                    {
                      "name": "Home",
                      "value": "home"
                    },
                    {
                      "name": "Postal",
                      "value": "postal"
                    },
                    {
                      "name": "Office",
                      "value": "office"
                    }
                  ]
                },
                {
                  "displayName": "Address",
                  "name": "address",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Full address"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Company",
          "name": "company",
          "type": "string",
          "default": "",
          "description": "Company Name"
        },
        {
          "displayName": "Email",
          "name": "emailOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Contact email",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Email Properties",
              "name": "emailProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of Email",
                  "options": [
                    {
                      "name": "Work",
                      "value": "work"
                    },
                    {
                      "name": "Personal",
                      "value": "personal"
                    }
                  ]
                },
                {
                  "displayName": "Email",
                  "name": "email",
                  "type": "string",
                  "placeholder": "name@email.com",
                  "required": true,
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "First Name",
          "name": "firstName",
          "type": "string",
          "default": "",
          "description": "Contact first name"
        },
        {
          "displayName": "Last Name",
          "name": "lastName",
          "type": "string",
          "default": "",
          "description": "Contact last name"
        },
        {
          "displayName": "Lead Score",
          "name": "leadScore",
          "type": "number",
          "default": "",
          "description": "Lead score of contact",
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Star Value",
          "name": "starValue",
          "type": "options",
          "default": "",
          "description": "Rating of contact (Max value 5). This is not applicable for companies.",
          "options": [
            {
              "name": "0",
              "value": 0
            },
            {
              "name": "1",
              "value": 1
            },
            {
              "name": "2",
              "value": 2
            },
            {
              "name": "3",
              "value": 3
            },
            {
              "name": "4",
              "value": 4
            },
            {
              "name": "5",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Phone",
          "name": "phoneOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Contacts phone",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Phone Properties",
              "name": "phoneProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of phone number",
                  "options": [
                    {
                      "name": "Home",
                      "value": "home"
                    },
                    {
                      "name": "Home Fax",
                      "value": "homeFax"
                    },
                    {
                      "name": "Main",
                      "value": "main"
                    },
                    {
                      "name": "Mobile",
                      "value": "mobile"
                    },
                    {
                      "name": "Other",
                      "value": "other"
                    },
                    {
                      "name": "Work",
                      "value": "work"
                    },
                    {
                      "name": "Work Fax",
                      "value": "workFax"
                    }
                  ]
                },
                {
                  "displayName": "Number",
                  "name": "number",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Phone number"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add Tag"
          },
          "default": [],
          "description": "Unique identifiers added to contact, for easy management of contacts. This is not applicable for companies."
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Professional title"
        },
        {
          "displayName": "Website",
          "name": "websiteOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Contacts websites",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Website Properties.",
              "name": "websiteProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of website",
                  "options": [
                    {
                      "name": "Facebook",
                      "value": "facebook"
                    },
                    {
                      "name": "Feed",
                      "value": "feed"
                    },
                    {
                      "name": "Flickr",
                      "value": "flickr"
                    },
                    {
                      "name": "Github",
                      "value": "github"
                    },
                    {
                      "name": "Google Plus",
                      "value": "googlePlus"
                    },
                    {
                      "name": "LinkedIn",
                      "value": "linkedin"
                    },
                    {
                      "name": "Skype",
                      "value": "skype"
                    },
                    {
                      "name": "Twitter",
                      "value": "twitter"
                    },
                    {
                      "name": "URL",
                      "value": "url"
                    },
                    {
                      "name": "Xing",
                      "value": "xing"
                    },
                    {
                      "name": "YouTube",
                      "value": "youtube"
                    }
                  ]
                },
                {
                  "displayName": "URL",
                  "name": "url",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Website URL"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Property",
              "name": "customProperty",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Property name"
                },
                {
                  "displayName": "Sub Type",
                  "name": "subtype",
                  "type": "string",
                  "default": "",
                  "description": "Property sub type"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Property value"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "description": "ID of contact to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Contact ID",
      "name": "contactId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for a particular contact",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFieldsJson",
      "type": "json",
      "default": "",
      "description": "Object of values to set as described <a href=\"https://github.com/agilecrm/rest-api#1-contacts---companies-api\">here</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ],
          "jsonParameters": [
            true
          ]
        }
      },
      "typeOptions": {
        "alwaysOpenEditWindow": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "addressOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Contacts address",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Address Properties",
              "name": "addressProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of address",
                  "options": [
                    {
                      "name": "Home",
                      "value": "home"
                    },
                    {
                      "name": "Office",
                      "value": "office"
                    },
                    {
                      "name": "Postal",
                      "value": "postal"
                    }
                  ]
                },
                {
                  "displayName": "Address",
                  "name": "address",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Full address"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Company",
          "name": "company",
          "type": "string",
          "default": "",
          "description": "Company Name"
        },
        {
          "displayName": "Email",
          "name": "emailOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Contact email",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Email Properties",
              "name": "emailProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of Email",
                  "options": [
                    {
                      "name": "Work",
                      "value": "work"
                    },
                    {
                      "name": "Personal",
                      "value": "personal"
                    }
                  ]
                },
                {
                  "displayName": "Email",
                  "name": "email",
                  "type": "string",
                  "placeholder": "name@email.com",
                  "required": true,
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "First Name",
          "name": "firstName",
          "type": "string",
          "default": "",
          "description": "Contact first name"
        },
        {
          "displayName": "Last Name",
          "name": "lastName",
          "type": "string",
          "default": "",
          "description": "Contact last name"
        },
        {
          "displayName": "Lead Score",
          "name": "leadScore",
          "type": "number",
          "default": "",
          "description": "Lead score of contact",
          "typeOptions": {
            "minValue": 0
          }
        },
        {
          "displayName": "Star Value",
          "name": "starValue",
          "type": "options",
          "default": "",
          "description": "Rating of contact (Max value 5). This is not applicable for companies.",
          "options": [
            {
              "name": "0",
              "value": 0
            },
            {
              "name": "1",
              "value": 1
            },
            {
              "name": "2",
              "value": 2
            },
            {
              "name": "3",
              "value": 3
            },
            {
              "name": "4",
              "value": 4
            },
            {
              "name": "5",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Phone",
          "name": "phoneOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Contacts phone",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Phone Properties",
              "name": "phoneProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of phone number",
                  "options": [
                    {
                      "name": "Home",
                      "value": "home"
                    },
                    {
                      "name": "Home Fax",
                      "value": "homeFax"
                    },
                    {
                      "name": "Main",
                      "value": "main"
                    },
                    {
                      "name": "Mobile",
                      "value": "mobile"
                    },
                    {
                      "name": "Other",
                      "value": "other"
                    },
                    {
                      "name": "Work",
                      "value": "work"
                    },
                    {
                      "name": "Work Fax",
                      "value": "workFax"
                    }
                  ]
                },
                {
                  "displayName": "Number",
                  "name": "number",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Phone number"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add Tag"
          },
          "default": [],
          "description": "Unique identifiers added to contact, for easy management of contacts. This is not applicable for companies."
        },
        {
          "displayName": "Title",
          "name": "title",
          "type": "string",
          "default": "",
          "description": "Professional title"
        },
        {
          "displayName": "Website",
          "name": "websiteOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Contacts websites",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Website Properties.",
              "name": "websiteProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of website",
                  "options": [
                    {
                      "name": "Facebook",
                      "value": "facebook"
                    },
                    {
                      "name": "Feed",
                      "value": "feed"
                    },
                    {
                      "name": "Flickr",
                      "value": "flickr"
                    },
                    {
                      "name": "Github",
                      "value": "github"
                    },
                    {
                      "name": "Google Plus",
                      "value": "googlePlus"
                    },
                    {
                      "name": "LinkedIn",
                      "value": "linkedin"
                    },
                    {
                      "name": "Skype",
                      "value": "skype"
                    },
                    {
                      "name": "Twitter",
                      "value": "twitter"
                    },
                    {
                      "name": "URL",
                      "value": "url"
                    },
                    {
                      "name": "Xing",
                      "value": "xing"
                    },
                    {
                      "name": "YouTube",
                      "value": "youtube"
                    }
                  ]
                },
                {
                  "displayName": "URL",
                  "name": "url",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Website URL"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Property",
              "name": "customProperty",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Property name"
                },
                {
                  "displayName": "Sub Type",
                  "name": "subtype",
                  "type": "string",
                  "default": "",
                  "description": "Property sub type"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Property value"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "contact"
          ],
          "operation": [
            "update"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new company",
          "action": "Create a company"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a company",
          "action": "Delete a company"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a company",
          "action": "Get a company"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many companies",
          "action": "Get many companies"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update company properties",
          "action": "Update a company"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Company ID",
      "name": "companyId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for a particular company",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 20,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filter",
      "name": "filterType",
      "type": "options",
      "default": "none",
      "options": [
        {
          "name": "None",
          "value": "none"
        },
        {
          "name": "Build Manually",
          "value": "manual"
        },
        {
          "name": "JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Must Match",
      "name": "matchType",
      "type": "options",
      "default": "anyFilter",
      "options": [
        {
          "name": "Any Filter",
          "value": "anyFilter"
        },
        {
          "name": "All Filters",
          "value": "allFilters"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ],
          "filterType": [
            "manual"
          ]
        }
      }
    },
    {
      "displayName": "Simplify",
      "name": "simple",
      "type": "boolean",
      "default": false,
      "description": "Whether to return a simplified version of the response instead of the raw data",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Conditions",
          "name": "conditions",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "string",
              "default": "",
              "description": "Any searchable field"
            },
            {
              "displayName": "Condition Type",
              "name": "condition_type",
              "type": "options",
              "options": [
                {
                  "name": "After",
                  "value": "AFTER"
                },
                {
                  "name": "Before",
                  "value": "BEFORE"
                },
                {
                  "name": "Between",
                  "value": "BETWEEN"
                },
                {
                  "name": "Equals",
                  "value": "EQUALS"
                },
                {
                  "name": "Last",
                  "value": "LAST"
                },
                {
                  "name": "Not Equal",
                  "value": "NOTEQUALS"
                },
                {
                  "name": "On",
                  "value": "ON"
                }
              ],
              "default": "EQUALS"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Value 2",
              "name": "value2",
              "type": "string",
              "displayOptions": {
                "show": {
                  "condition_type": [
                    "BETWEEN"
                  ]
                }
              },
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ],
          "filterType": [
            "manual"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "See <a href=\"https://github.com/agilecrm/rest-api#121-get-contacts-by-dynamic-filter\" target=\"_blank\">Agile CRM guide</a> to creating filters",
      "name": "jsonNotice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ],
          "filterType": [
            "json"
          ]
        }
      }
    },
    {
      "displayName": "Filters (JSON)",
      "name": "filterJson",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ],
          "filterType": [
            "json"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Sort",
          "name": "sort",
          "type": "fixedCollection",
          "placeholder": "Add Sort",
          "default": [],
          "options": [
            {
              "displayName": "Sort",
              "name": "sort",
              "values": [
                {
                  "displayName": "Direction",
                  "name": "direction",
                  "type": "options",
                  "options": [
                    {
                      "name": "Ascending",
                      "value": "ASC"
                    },
                    {
                      "name": "Descending",
                      "value": "DESC"
                    }
                  ],
                  "default": "ASC",
                  "description": "The sorting direction"
                },
                {
                  "displayName": "Field",
                  "name": "field",
                  "type": "string",
                  "default": "",
                  "description": "The sorting field"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFieldsJson",
      "type": "json",
      "default": "",
      "description": "Object of values to set as described <a href=\"https://github.com/agilecrm/rest-api#1-companys---companies-api\">here</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            true
          ]
        }
      },
      "typeOptions": {
        "alwaysOpenEditWindow": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "addressOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Company address",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Address Properties",
              "name": "addressProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of address",
                  "options": [
                    {
                      "name": "Postal",
                      "value": "postal"
                    },
                    {
                      "name": "Office",
                      "value": "office"
                    }
                  ]
                },
                {
                  "displayName": "Address",
                  "name": "address",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Full address"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Company email"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Company name"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "Company phone"
        },
        {
          "displayName": "Star Value",
          "name": "starValue",
          "type": "options",
          "default": "",
          "description": "Rating of company (Max value 5). This is not applicable for companies.",
          "options": [
            {
              "name": "0",
              "value": 0
            },
            {
              "name": "1",
              "value": 1
            },
            {
              "name": "2",
              "value": 2
            },
            {
              "name": "3",
              "value": 3
            },
            {
              "name": "4",
              "value": 4
            },
            {
              "name": "5",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add Tag"
          },
          "default": [],
          "description": "Unique identifiers added to company, for easy management of companys. This is not applicable for companies."
        },
        {
          "displayName": "Website",
          "name": "websiteOptions",
          "type": "fixedCollection",
          "description": "Companies websites",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Website Properties.",
              "name": "websiteProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of website",
                  "options": [
                    {
                      "name": "Facebook",
                      "value": "facebook"
                    },
                    {
                      "name": "Feed",
                      "value": "feed"
                    },
                    {
                      "name": "Flickr",
                      "value": "flickr"
                    },
                    {
                      "name": "Github",
                      "value": "github"
                    },
                    {
                      "name": "Google Plus",
                      "value": "googlePlus"
                    },
                    {
                      "name": "LinkedIn",
                      "value": "linkedin"
                    },
                    {
                      "name": "Skype",
                      "value": "skype"
                    },
                    {
                      "name": "Twitter",
                      "value": "twitter"
                    },
                    {
                      "name": "URL",
                      "value": "url"
                    },
                    {
                      "name": "Xing",
                      "value": "xing"
                    },
                    {
                      "name": "YouTube",
                      "value": "youtube"
                    }
                  ]
                },
                {
                  "displayName": "URL",
                  "name": "url",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Website URL"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Property",
              "name": "customProperty",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Property name"
                },
                {
                  "displayName": "Sub Type",
                  "name": "subtype",
                  "type": "string",
                  "default": "",
                  "description": "Property sub type"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Property value"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Company ID",
      "name": "companyId",
      "type": "string",
      "default": "",
      "description": "ID of company to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Company ID",
      "name": "companyId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for a particular company",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFieldsJson",
      "type": "json",
      "default": "",
      "description": "Object of values to set as described <a href=\"https://github.com/agilecrm/rest-api#1-companys---companies-api\">here</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "update"
          ],
          "jsonParameters": [
            true
          ]
        }
      },
      "typeOptions": {
        "alwaysOpenEditWindow": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "addressOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Company address",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Address Properties",
              "name": "addressProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of address",
                  "options": [
                    {
                      "name": "Postal",
                      "value": "postal"
                    },
                    {
                      "name": "Office",
                      "value": "office"
                    }
                  ]
                },
                {
                  "displayName": "Address",
                  "name": "address",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Full address"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Company email"
        },
        {
          "displayName": "Star Value",
          "name": "starValue",
          "type": "options",
          "default": "",
          "description": "Rating of company (Max value 5). This is not applicable for companies.",
          "options": [
            {
              "name": "0",
              "value": 0
            },
            {
              "name": "1",
              "value": 1
            },
            {
              "name": "2",
              "value": 2
            },
            {
              "name": "3",
              "value": 3
            },
            {
              "name": "4",
              "value": 4
            },
            {
              "name": "5",
              "value": 5
            }
          ]
        },
        {
          "displayName": "Tags",
          "name": "tags",
          "type": "string",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add Tag"
          },
          "default": [],
          "description": "Unique identifiers added to company, for easy management of companys. This is not applicable for companies."
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Company name"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "Company phone"
        },
        {
          "displayName": "Website",
          "name": "websiteOptions",
          "type": "fixedCollection",
          "default": {},
          "description": "Companys websites",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Website Properties.",
              "name": "websiteProperties",
              "values": [
                {
                  "displayName": "Type",
                  "name": "subtype",
                  "type": "options",
                  "required": true,
                  "default": "",
                  "description": "Type of website",
                  "options": [
                    {
                      "name": "Facebook",
                      "value": "facebook"
                    },
                    {
                      "name": "Feed",
                      "value": "feed"
                    },
                    {
                      "name": "Flickr",
                      "value": "flickr"
                    },
                    {
                      "name": "Github",
                      "value": "github"
                    },
                    {
                      "name": "Google Plus",
                      "value": "googlePlus"
                    },
                    {
                      "name": "LinkedIn",
                      "value": "linkedin"
                    },
                    {
                      "name": "Skype",
                      "value": "skype"
                    },
                    {
                      "name": "Twitter",
                      "value": "twitter"
                    },
                    {
                      "name": "URL",
                      "value": "url"
                    },
                    {
                      "name": "Xing",
                      "value": "xing"
                    },
                    {
                      "name": "YouTube",
                      "value": "youtube"
                    }
                  ]
                },
                {
                  "displayName": "URL",
                  "name": "url",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Website URL"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Custom Properties",
          "name": "customProperties",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Property",
              "name": "customProperty",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Property name"
                },
                {
                  "displayName": "Sub Type",
                  "name": "subtype",
                  "type": "string",
                  "default": "",
                  "description": "Property sub type"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Property value"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "company"
          ],
          "operation": [
            "update"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new deal",
          "action": "Create a deal"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a deal",
          "action": "Delete a deal"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a deal",
          "action": "Get a deal"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many deals",
          "action": "Get many deals"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update deal properties",
          "action": "Update a deal"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "string",
      "default": "",
      "description": "Unique identifier for a particular deal",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 20,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Close Date",
      "name": "closeDate",
      "type": "dateTime",
      "default": "",
      "description": "Closing date of deal",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Expected Value",
      "name": "expectedValue",
      "type": "number",
      "default": 1,
      "description": "Expected Value of deal",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "maxValue": 1000000000000
      }
    },
    {
      "displayName": "Milestone",
      "name": "milestone",
      "type": "string",
      "default": "",
      "description": "Milestone of deal",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of deal",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Probability",
      "name": "probability",
      "type": "number",
      "default": 50,
      "description": "Expected probability",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "maxValue": 100
      }
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFieldsJson",
      "type": "json",
      "default": "",
      "description": "Object of values to set as described <a href=\"https://github.com/agilecrm/rest-api#1-deals---companies-api\">here</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            true
          ]
        }
      },
      "typeOptions": {
        "alwaysOpenEditWindow": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Contact IDs",
          "name": "contactIds",
          "type": "string",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add ID"
          },
          "default": [],
          "description": "Unique contact identifiers"
        },
        {
          "displayName": "Custom Data",
          "name": "customData",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Property",
              "name": "customProperty",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Property name"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Property value"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "create"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "string",
      "default": "",
      "description": "ID of deal to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Deal ID",
      "name": "dealId",
      "type": "string",
      "default": "",
      "description": "ID of deal to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "JSON Parameters",
      "name": "jsonParameters",
      "type": "boolean",
      "default": false,
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFieldsJson",
      "type": "json",
      "default": "",
      "description": "Object of values to set as described <a href=\"https://github.com/agilecrm/rest-api#1-deals---companies-api\">here</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "update"
          ],
          "jsonParameters": [
            true
          ]
        }
      },
      "typeOptions": {
        "alwaysOpenEditWindow": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Expected Value",
          "name": "expectedValue",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 10000
          },
          "default": "",
          "description": "Expected Value of deal"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Name of deal"
        },
        {
          "displayName": "Probability",
          "name": "probability",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 100
          },
          "default": 50,
          "description": "Expected Value of deal"
        },
        {
          "displayName": "Contact IDs",
          "name": "contactIds",
          "type": "string",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add ID"
          },
          "default": [],
          "description": "Unique contact identifiers"
        },
        {
          "displayName": "Custom Data",
          "name": "customData",
          "type": "fixedCollection",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Property",
              "name": "customProperty",
              "values": [
                {
                  "displayName": "Name",
                  "name": "name",
                  "type": "string",
                  "required": true,
                  "default": "",
                  "description": "Property name"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "Property value"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "deal"
          ],
          "operation": [
            "update"
          ],
          "jsonParameters": [
            false
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new contact"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete a contact"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a contact"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many contacts"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update contact properties"
    }
  ]


node_type: nodes-base.airtable
package_name: n8n-nodes-base
display_name: Airtable
description: Read, update, write and delete data from Airtable
category: input
development_style: programmatic
version: 2.1
outputs:
  [
  "main"
  ]

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

  # Airtable node

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

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

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

  ## Operations

  * Append the data to a table
  * Delete data from a table
  * List data from a table
  * Read data from a table
  * Update data in a table

  ## Templates and examples

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

  ## Related resources

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

  Refer to [Airtable's documentation](https://airtable.com/developers/web/api/introduction){:target=_blank .external-link} for more information about the service.

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


  ## Node reference

  ### Get the Record ID

  To fetch data for a particular record, you need the Record ID. There are two ways to get the Record ID.

  ### Create a Record ID column in Airtable

  To create a `Record ID` column in your table, refer to this [article](https://support.airtable.com/docs/finding-airtable-ids){:target=_blank .external-link}. You can then use this Record ID in your Airtable node.

  ### Use the List operation

  To get the Record ID of your record, you can use the **List** operation of the Airtable node. This operation will return the Record ID along with the fields. You can then use this Record ID in your Airtable node.

  ### Filter records when using the List operation

  To filter records from your Airtable base, use the **Filter By Formula** option. For example, if you want to return all the users that belong to the organization `n8n`, follow the steps mentioned below:

  1. Select 'List' from the **Operation** dropdown list.
  2. Enter the base ID and the table name in the **Base ID** and **Table** field, respectively.
  3. Click on **Add Option** and select 'Filter By Formula' from the dropdown list.
  4. Enter the following formula in the **Filter By Formula** field: `{Organization}='n8n'`.

  Similarly, if you want to return all the users that don't belong to the organization `n8n`, use the following formula: `NOT({Organization}='n8n')`.

  Refer to the Airtable [documentation](https://support.airtable.com/hc/en-us/articles/203255215-Formula-Field-Reference){:target=_balnk .external-link} to learn more about the formulas.

  ## Common issues

  For common errors or issues and suggested resolution steps, refer to [Common Issues](/integrations/builtin/app-nodes/n8n-nodes-base.airtable/common-issues.md).

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "airtableTokenApi",
      "options": [
        {
          "name": "Access Token",
          "value": "airtableTokenApi"
        },
        {
          "name": "OAuth2",
          "value": "airtableOAuth2Api"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "record",
      "options": [
        {
          "name": "Base",
          "value": "base"
        },
        {
          "name": "Record",
          "value": "record"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new record in a table",
          "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": "deleteRecord",
          "description": "Delete a record from a table",
          "action": "Delete a record"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a record from a table",
          "action": "Get a record"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search for specific records or list all",
          "action": "Search records"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a record in a table",
          "action": "Update record"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Base",
      "name": "base",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "baseSearch",
            "searchable": true
          }
        },
        {
          "displayName": "By URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://airtable.com/app12DiScdfes/tbl9WvGeEPa6lZyVq/viwHdfasdfeieg5p",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https://airtable.com/([a-zA-Z0-9]{2,})/.*",
                "errorMessage": "Not a valid Airtable Base URL"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "https://airtable.com/([a-zA-Z0-9]{2,})"
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "[a-zA-Z0-9]{2,}",
                "errorMessage": "Not a valid Airtable Base ID"
              }
            }
          ],
          "placeholder": "e.g. appD3dfaeidke",
          "url": "=https://airtable.com/{{$value}}"
        }
      ]
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "base.value"
        ]
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "tableSearch",
            "searchable": true
          }
        },
        {
          "displayName": "By URL",
          "name": "url",
          "type": "string",
          "placeholder": "https://airtable.com/app12DiScdfes/tblAAAAAAAAAAAAA/viwHdfasdfeieg5p",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https://airtable.com/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})/.*",
                "errorMessage": "Not a valid Airtable Table URL"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "https://airtable.com/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})"
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "[a-zA-Z0-9]{2,}",
                "errorMessage": "Not a valid Airtable Table ID"
              }
            }
          ],
          "placeholder": "tbl3dirwqeidke"
        }
      ]
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "base.value"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getColumns",
          "mode": "add",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Typecast",
          "name": "typecast",
          "type": "boolean",
          "default": false,
          "description": "Whether the Airtable API should attempt mapping of string values for linked records & select options"
        },
        {
          "displayName": "Ignore Fields From Input",
          "name": "ignoreFields",
          "type": "string",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/columns.mappingMode": [
                "autoMapInputData"
              ]
            }
          },
          "default": "",
          "description": "Comma-separated list of fields in input to ignore when updating"
        },
        {
          "displayName": "Update All Matches",
          "name": "updateAllMatches",
          "type": "boolean",
          "default": false,
          "description": "Whether to update all records matching the value in the \"Column to Match On\". If not set, only the first matching record will be updated.",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "upsert"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Record ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "ID of the record to delete. <a href=\"https://support.airtable.com/docs/record-id\" target=\"_blank\">More info</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "deleteRecord"
          ]
        }
      }
    },
    {
      "displayName": "Record ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "ID of the record to get. <a href=\"https://support.airtable.com/docs/record-id\" target=\"_blank\">More info</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Additional options which decide which records should be returned",
      "options": [
        {
          "displayName": "Download Attachments",
          "name": "downloadFields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getAttachmentColumns",
            "loadOptionsDependsOn": [
              "base.value",
              "table.value"
            ]
          },
          "default": [],
          "description": "The fields of type 'attachment' that should be downloaded"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Filter By Formula",
      "name": "filterByFormula",
      "type": "string",
      "default": "",
      "description": "The formula will be evaluated for each record, and if the result is not 0, false, \"\", NaN, [], or #Error! the record will be included in the response. <a href=\"https://support.airtable.com/docs/formula-field-reference\" target=\"_blank\">More info</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "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": [
            "record"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "record"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "description": "Additional options which decide which records should be returned",
      "options": [
        {
          "displayName": "Download Attachments",
          "name": "downloadFields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getAttachmentColumns",
            "loadOptionsDependsOn": [
              "base.value",
              "table.value"
            ]
          },
          "default": [],
          "description": "The fields of type 'attachment' that should be downloaded"
        },
        {
          "displayName": "Output Fields",
          "name": "fields",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getColumns",
            "loadOptionsDependsOn": [
              "base.value",
              "table.value"
            ]
          },
          "default": [],
          "description": "The fields you want to include in the output"
        },
        {
          "displayName": "View",
          "name": "view",
          "type": "resourceLocator",
          "default": {
            "mode": "list",
            "value": ""
          },
          "modes": [
            {
              "displayName": "From List",
              "name": "list",
              "type": "list",
              "typeOptions": {
                "searchListMethod": "viewSearch",
                "searchable": true
              }
            },
            {
              "displayName": "By URL",
              "name": "url",
              "type": "string",
              "placeholder": "https://airtable.com/app12DiScdfes/tblAAAAAAAAAAAAA/viwHdfasdfeieg5p",
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "https://airtable.com/[a-zA-Z0-9]{2,}/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})/.*",
                    "errorMessage": "Not a valid Airtable View URL"
                  }
                }
              ],
              "extractValue": {
                "type": "regex",
                "regex": "https://airtable.com/[a-zA-Z0-9]{2,}/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})"
              }
            },
            {
              "displayName": "ID",
              "name": "id",
              "type": "string",
              "validation": [
                {
                  "type": "regex",
                  "properties": {
                    "regex": "[a-zA-Z0-9]{2,}",
                    "errorMessage": "Not a valid Airtable View ID"
                  }
                }
              ],
              "placeholder": "viw3dirwqeidke"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "description": "Defines how the returned records should be ordered",
      "options": [
        {
          "name": "property",
          "displayName": "Property",
          "values": [
            {
              "displayName": "Field",
              "name": "field",
              "type": "options",
              "typeOptions": {
                "loadOptionsMethod": "getColumns",
                "loadOptionsDependsOn": [
                  "base.value",
                  "table.value"
                ]
              },
              "default": "",
              "description": "Name of the field to sort on. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
            },
            {
              "displayName": "Direction",
              "name": "direction",
              "type": "options",
              "options": [
                {
                  "name": "ASC",
                  "value": "asc",
                  "description": "Sort in ascending order (small -> large)"
                },
                {
                  "name": "DESC",
                  "value": "desc",
                  "description": "Sort in descending order (large -> small)"
                }
              ],
              "default": "asc",
              "description": "The sort direction"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "search"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "base.value"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getColumnsWithRecordId",
          "mode": "update",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Typecast",
          "name": "typecast",
          "type": "boolean",
          "default": false,
          "description": "Whether the Airtable API should attempt mapping of string values for linked records & select options"
        },
        {
          "displayName": "Ignore Fields From Input",
          "name": "ignoreFields",
          "type": "string",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/columns.mappingMode": [
                "autoMapInputData"
              ]
            }
          },
          "default": "",
          "description": "Comma-separated list of fields in input to ignore when updating"
        },
        {
          "displayName": "Update All Matches",
          "name": "updateAllMatches",
          "type": "boolean",
          "default": false,
          "description": "Whether to update all records matching the value in the \"Column to Match On\". If not set, only the first matching record will be updated.",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "upsert"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "resourceMapper",
      "default": {
        "mappingMode": "defineBelow",
        "value": null
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "upsert"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsDependsOn": [
          "table.value",
          "base.value"
        ],
        "resourceMapper": {
          "resourceMapperMethod": "getColumnsWithRecordId",
          "mode": "update",
          "fieldWords": {
            "singular": "column",
            "plural": "columns"
          },
          "addAllFields": true,
          "multiKeyMatch": true
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Typecast",
          "name": "typecast",
          "type": "boolean",
          "default": false,
          "description": "Whether the Airtable API should attempt mapping of string values for linked records & select options"
        },
        {
          "displayName": "Ignore Fields From Input",
          "name": "ignoreFields",
          "type": "string",
          "requiresDataPath": "multiple",
          "displayOptions": {
            "show": {
              "/columns.mappingMode": [
                "autoMapInputData"
              ]
            }
          },
          "default": "",
          "description": "Comma-separated list of fields in input to ignore when updating"
        },
        {
          "displayName": "Update All Matches",
          "name": "updateAllMatches",
          "type": "boolean",
          "default": false,
          "description": "Whether to update all records matching the value in the \"Column to Match On\". If not set, only the first matching record will be updated.",
          "displayOptions": {
            "show": {
              "/operation": [
                "update",
                "upsert"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "record"
          ],
          "operation": [
            "upsert"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getMany",
      "options": [
        {
          "name": "Get Many",
          "value": "getMany",
          "description": "List all the bases",
          "action": "Get many bases"
        },
        {
          "name": "Get Schema",
          "value": "getSchema",
          "description": "Get the schema of the tables in a base",
          "action": "Get base schema"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "base"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "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": [
            "base"
          ],
          "operation": [
            "getMany"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 100,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "base"
          ],
          "operation": [
            "getMany"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Permission Level",
          "name": "permissionLevel",
          "type": "multiOptions",
          "options": [
            {
              "name": "Comment",
              "value": "comment"
            },
            {
              "name": "Create",
              "value": "create"
            },
            {
              "name": "Edit",
              "value": "edit"
            },
            {
              "name": "None",
              "value": "none"
            },
            {
              "name": "Read",
              "value": "read"
            }
          ],
          "default": [],
          "description": "Filter the returned bases by one or more permission levels"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "base"
          ],
          "operation": [
            "getMany"
          ]
        }
      }
    },
    {
      "displayName": "Base",
      "name": "base",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Airtable Base to retrieve the schema from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "base"
          ],
          "operation": [
            "getSchema"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "typeOptions": {
            "searchListMethod": "baseSearch",
            "searchable": true
          }
        },
        {
          "displayName": "By URL",
          "name": "url",
          "type": "string",
          "placeholder": "e.g. https://airtable.com/app12DiScdfes/tbl9WvGeEPa6lZyVq/viwHdfasdfeieg5p",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https://airtable.com/([a-zA-Z0-9]{2,})/.*",
                "errorMessage": "Not a valid Airtable Base URL"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "https://airtable.com/([a-zA-Z0-9]{2,})"
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "[a-zA-Z0-9]{2,}",
                "errorMessage": "Not a valid Airtable Base ID"
              }
            }
          ],
          "placeholder": "e.g. appD3dfaeidke",
          "url": "=https://airtable.com/{{$value}}"
        }
      ]
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new record in a table"
    },
    {
      "operation": "upsert",
      "name": "Create or Update",
      "description": "Create a new record, or update the current one if it already exists (upsert)"
    },
    {
      "operation": "deleteRecord",
      "name": "Delete",
      "description": "Delete a record from a table"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Retrieve a record from a table"
    },
    {
      "operation": "search",
      "name": "Search",
      "description": "Search for specific records or list all"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update a record in a table"
    }
  ]

credentials_required:
  [
    {
      "name": "airtableTokenApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "airtableTokenApi"
          ]
        }
      }
    },
    {
      "name": "airtableOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "airtableOAuth2Api"
          ]
        }
      }
    }
  ]


node_type: nodes-base.airtableTrigger
package_name: n8n-nodes-base
display_name: Airtable Trigger
description: Starts the workflow when Airtable events occur
category: trigger
development_style: programmatic
version: 1
operations: []
outputs:
  [
  "main"
  ]

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

  # Airtable Trigger node

  [Airtable](https://airtable.com/){:target=_blank .external-link} is a spreadsheet-database hybrid, with the features of a database but applied to a spreadsheet. The fields in an Airtable table are similar to cells in a spreadsheet, but have types such as 'checkbox', 'phone number', and 'drop-down list', and can reference file attachments like images.

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

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

  ## Events

  * **New Airtable event**

  ## Related resources

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

  View [example workflows and related content](https://n8n.io/integrations/airtable-trigger/) on n8n's website.

  Refer to [Airtable's documentation](https://airtable.com/developers/web/api/introduction) for details about their API.

  ## Node parameters

  Use these parameters to configure your node.

  ### Poll Times

  n8n's Airtable node uses polling for check for updates on configured Airtable resources. The **Poll Times** parameter configures the querying frequency:

  * Every Minute
  * Every Hour
  * Every Day
  * Every Week
  * Every Month
  * Every X: Check for updates every given number of minutes or hours.
  * Custom: Customize the polling interval by providing a [cron expression](https://en.wikipedia.org/wiki/Cron).

  Use the **Add Poll Time** button to add more polling intervals.

  ### Base

  The [Airtable base](https://support.airtable.com/docs/airtable-bases-overview) you want to check for updates on. You can provide your base's URL or [base ID](https://support.airtable.com/docs/finding-airtable-ids#finding-base-table-and-view-ids-from-urls).

  ### Table

  The [Airtable table](https://support.airtable.com/docs/tables-overview) within the Airtable base that you want to check for updates on. You can provide the table's URL or [table ID](https://support.airtable.com/docs/finding-airtable-ids#finding-base-table-and-view-ids-from-urls).

  ### Trigger Field

  A created or last modified field in your table. The Airtable Trigger node uses this to determine what updates occurred since the previous check.

  ### Download Attachments

  Whether to download attachments from the table. When enabled, the **Download Fields** parameter defines the attachment fields.

  ### Download Fields

  When you enable the **Download Attachments** toggle, this field defines which table fields to download. Field names are case sensitive. Use a comma to separate multiple field names.

  ### Additional Fields

  Use the **Add Field** button to add the following parameters:

  * **Fields**: A comma-separated list of fields to include in the output. If you don't specify anything here, the output will contain only the **Trigger Field**.
  * **Formula**: An [Airtable formula](https://support.airtable.com/docs/formula-field-reference) to further filter the results. You can use this to add further constraints to the events that trigger the workflow. Note that formula values aren't taken into account for manual executions, only for production polling.
  * **View ID**: The name or ID of a table view. When defined, only returns records available in the given view.

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "airtableApi",
      "options": [
        {
          "name": "API Key",
          "value": "airtableApi"
        },
        {
          "name": "Access Token",
          "value": "airtableTokenApi"
        },
        {
          "name": "OAuth2",
          "value": "airtableOAuth2Api"
        }
      ]
    },
    {
      "displayName": "Base",
      "name": "baseId",
      "type": "resourceLocator",
      "default": {
        "mode": "url",
        "value": ""
      },
      "description": "The Airtable Base in which to operate on",
      "required": true,
      "modes": [
        {
          "displayName": "By URL",
          "name": "url",
          "type": "string",
          "placeholder": "https://airtable.com/app12DiScdfes/tblAAAAAAAAAAAAA/viwHdfasdfeieg5p",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https://airtable.com/([a-zA-Z0-9]{2,})/.*",
                "errorMessage": "Not a valid Airtable Base URL"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "https://airtable.com/([a-zA-Z0-9]{2,})"
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "[a-zA-Z0-9]{2,}",
                "errorMessage": "Not a valid Airtable Base ID"
              }
            }
          ],
          "placeholder": "appD3dfaeidke",
          "url": "=https://airtable.com/{{$value}}"
        }
      ]
    },
    {
      "displayName": "Table",
      "name": "tableId",
      "type": "resourceLocator",
      "default": {
        "mode": "url",
        "value": ""
      },
      "required": true,
      "modes": [
        {
          "displayName": "By URL",
          "name": "url",
          "type": "string",
          "placeholder": "https://airtable.com/app12DiScdfes/tblAAAAAAAAAAAAA/viwHdfasdfeieg5p",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "https://airtable.com/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})/.*",
                "errorMessage": "Not a valid Airtable Table URL"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "https://airtable.com/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})"
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "[a-zA-Z0-9]{2,}",
                "errorMessage": "Not a valid Airtable Table ID"
              }
            }
          ],
          "placeholder": "tbl3dirwqeidke"
        }
      ]
    },
    {
      "displayName": "Trigger Field",
      "name": "triggerField",
      "type": "string",
      "default": "",
      "description": "A Created Time or Last Modified Time field that will be used to sort records. If you do not have a Created Time or Last Modified Time field in your schema, please create one, because without this field trigger will not work correctly.",
      "required": true
    },
    {
      "displayName": "Download Attachments",
      "name": "downloadAttachments",
      "type": "boolean",
      "default": false,
      "description": "Whether the attachment fields define in 'Download Fields' will be downloaded"
    },
    {
      "displayName": "Download Fields",
      "name": "downloadFieldNames",
      "type": "string",
      "default": "",
      "description": "Name of the fields of type 'attachment' that should be downloaded. Multiple ones can be defined separated by comma. Case sensitive.",
      "required": true,
      "displayOptions": {
        "show": {
          "downloadAttachments": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Fields",
          "name": "fields",
          "type": "string",
          "requiresDataPath": "multiple",
          "default": "",
          "description": "Fields to be included in the response. Multiple ones can be set separated by comma. Example: <code>name, id</code>. By default just the trigger field will be included."
        },
        {
          "displayName": "Formula",
          "name": "formula",
          "type": "string",
          "default": "",
          "description": "Formulas may involve functions, numeric operations, logical operations, and text operations that operate on fields. More info <a href=\"https://support.airtable.com/hc/en-us/articles/203255215-Formula-Field-Reference\">here</a>."
        },
        {
          "displayName": "View ID",
          "name": "viewId",
          "type": "string",
          "default": "",
          "description": "The name or ID of a view in the table. If set, only the records in that view will be returned."
        }
      ]
    }
  ]

credentials_required:
  [
    {
      "name": "airtableApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "airtableApi"
          ]
        }
      }
    },
    {
      "name": "airtableTokenApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "airtableTokenApi"
          ]
        }
      }
    },
    {
      "name": "airtableOAuth2Api",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "airtableOAuth2Api"
          ]
        }
      }
    }
  ]


node_type: nodes-base.airtop
package_name: n8n-nodes-base
display_name: Airtop
description: Scrape and control any site with Airtop
category: transform
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "run",
  "name": "Run",
  "description": "Run an Airtop agent"
  }
  ]

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

outputs:
  [
  "main"
  ]

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

  # Airtop node

  Use the Airtop node to automate work in Airtop, and integrate Airtop with other applications. n8n has built-in support for a wide range of Airtop features, enabling you to control a cloud-based web browser for tasks like querying, scraping, and interacting with web pages.

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

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


  ## Operations

  * Session
      * Create session
      * Save profile on termination
      * Terminate session
  * Window
      * Create a new browser window
      * Load URL
      * Take screenshot
      * Close window
  * Extraction
      * Query page
      * Query page with pagination
      * Smart scrape page
  * Interaction
      * Click an element
      * Hover on an element
      * Type


  ## Templates and examples

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


  ## Related resources

  Refer to [Airtop's documentation](https://docs.airtop.ai/api-reference/airtop-api) for more information about the service.

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

  Contact [Airtop's Support](https://docs.airtop.ai/guides/misc/support) for assistance or to create a feature request.

  ## Node reference

  ### Create a session and window

  Create an Airtop browser session to get a **Session ID**, then use it to create a new browser window. After this, you can use any extraction or interaction operation.

  ### Extract content

  Extract content from a web browser using these operations:

  - **Query page**: Extract information from the current window.
  - **Query page with pagination**: Extract information from pages with pagination or infinite scrolling.
  - **Smart scrape page**: Get the window content as markdown.

  Get JSON responses by using the **JSON Output Schema** parameter in query operations.

  ### Interacting with pages

  Click, hover, or type on elements by describing the element you want to interact with.

  ### Terminate a session

  End your session to save resources. Sessions are automatically terminated based on the **Idle Timeout** set in the **Create Session** operation or can be manually terminated using the **Terminate Session** operation.

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "session",
      "options": [
        {
          "name": "Agent",
          "value": "agent"
        },
        {
          "name": "Extraction",
          "value": "extraction"
        },
        {
          "name": "File",
          "value": "file"
        },
        {
          "name": "Interaction",
          "value": "interaction"
        },
        {
          "name": "Session",
          "value": "session"
        },
        {
          "name": "Window",
          "value": "window"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "run",
      "options": [
        {
          "name": "Run",
          "value": "run",
          "description": "Run an Airtop agent",
          "action": "Run an agent"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Webhook URL",
      "name": "webhookUrl",
      "type": "string",
      "default": "",
      "description": "Webhook URL to invoke the Airtop agent. Visit <a href=\"https://portal.airtop.ai/agents\" target=\"_blank\">Airtop Agents</a> for more information.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "run"
          ]
        }
      }
    },
    {
      "displayName": "Parameters",
      "name": "agentParameters",
      "type": "json",
      "default": "{}",
      "description": "Agent's input parameters in JSON format. Visit <a href=\"https://portal.airtop.ai/agents\" target=\"_blank\">Airtop Agents</a> for more information.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "run"
          ]
        }
      }
    },
    {
      "displayName": "Await Agent",
      "name": "awaitExecution",
      "type": "boolean",
      "default": true,
      "description": "Whether to wait for the agent to complete its execution",
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "run"
          ]
        }
      }
    },
    {
      "displayName": "Timeout",
      "name": "timeout",
      "type": "number",
      "default": 600,
      "description": "Timeout in seconds to wait for the agent to finish",
      "displayOptions": {
        "show": {
          "resource": [
            "agent"
          ],
          "operation": [
            "run"
          ],
          "awaitExecution": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create Session",
          "value": "create",
          "description": "Create an Airtop browser session",
          "action": "Create a session"
        },
        {
          "name": "Save Profile on Termination",
          "value": "save",
          "description": "Save in a profile changes made in your browsing session such as cookies and local storage",
          "action": "Save a profile on session termination"
        },
        {
          "name": "Terminate Session",
          "value": "terminate",
          "description": "Terminate a session",
          "action": "Terminate a session"
        },
        {
          "name": "Wait for Download",
          "value": "waitForDownload",
          "description": "Wait for a file download to become available",
          "action": "Wait for a download"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Profile Name",
      "name": "profileName",
      "type": "string",
      "default": "",
      "description": "The name of the Airtop profile to load or create",
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Save Profile",
      "name": "saveProfileOnTermination",
      "type": "boolean",
      "default": false,
      "description": "Whether to automatically save the <a href=\"https://docs.airtop.ai/guides/how-to/saving-a-profile\" target=\"_blank\">Airtop profile</a> for this session upon termination",
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Record Session",
      "name": "record",
      "type": "boolean",
      "default": false,
      "description": "Whether to record the browser session. <a href=\"https://docs.airtop.ai/guides/how-to/recording-a-session\" target=\"_blank\">More details</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Idle Timeout",
      "name": "timeoutMinutes",
      "type": "number",
      "default": 10,
      "description": "Minutes to wait before the session is terminated due to inactivity",
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Proxy",
      "name": "proxy",
      "type": "options",
      "default": "none",
      "description": "Choose how to configure the proxy for this session",
      "options": [
        {
          "name": "None",
          "value": "none",
          "description": "No proxy will be used"
        },
        {
          "name": "Integrated",
          "value": "integrated",
          "description": "Use Airtop-provided proxy"
        },
        {
          "name": "Proxy URL",
          "value": "proxyUrl",
          "description": "Use a proxy URL to configure the proxy"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Proxy Configuration",
      "name": "proxyConfig",
      "type": "collection",
      "default": {
        "country": "US",
        "sticky": true
      },
      "description": "The Airtop-provided configuration to use for the proxy",
      "options": [
        {
          "displayName": "Country",
          "name": "country",
          "type": "options",
          "default": "US",
          "description": "The country to use for the proxy. Not all countries are guaranteed to provide a proxy. Learn more <a href=\"https://docs.airtop.ai/api-reference/airtop-api/sessions/create#request.body.configuration.proxy.Proxy.Airtop-Proxy-Configuration.country\" target=\"_blank\">here</a>.",
          "options": [
            {
              "name": "Afghanistan",
              "value": "AF"
            },
            {
              "name": "Aland Islands",
              "value": "AX"
            },
            {
              "name": "Albania",
              "value": "AL"
            },
            {
              "name": "Algeria",
              "value": "DZ"
            },
            {
              "name": "American Samoa",
              "value": "AS"
            },
            {
              "name": "Andorra",
              "value": "AD"
            },
            {
              "name": "Angola",
              "value": "AO"
            },
            {
              "name": "Anguilla",
              "value": "AI"
            },
            {
              "name": "Antarctica",
              "value": "AQ"
            },
            {
              "name": "Antigua and Barbuda",
              "value": "AG"
            },
            {
              "name": "Argentina",
              "value": "AR"
            },
            {
              "name": "Armenia",
              "value": "AM"
            },
            {
              "name": "Aruba",
              "value": "AW"
            },
            {
              "name": "Australia",
              "value": "AU"
            },
            {
              "name": "Austria",
              "value": "AT"
            },
            {
              "name": "Azerbaijan",
              "value": "AZ"
            },
            {
              "name": "Bahamas",
              "value": "BS"
            },
            {
              "name": "Bahrain",
              "value": "BH"
            },
            {
              "name": "Bangladesh",
              "value": "BD"
            },
            {
              "name": "Barbados",
              "value": "BB"
            },
            {
              "name": "Belarus",
              "value": "BY"
            },
            {
              "name": "Belgium",
              "value": "BE"
            },
            {
              "name": "Belize",
              "value": "BZ"
            },
            {
              "name": "Benin",
              "value": "BJ"
            },
            {
              "name": "Bermuda",
              "value": "BM"
            },
            {
              "name": "Bhutan",
              "value": "BT"
            },
            {
              "name": "Bolivia, Plurinational State Of",
              "value": "BO"
            },
            {
              "name": "Bonaire, Sint Eustatius and Saba",
              "value": "BQ"
            },
            {
              "name": "Bosnia and Herzegovina",
              "value": "BA"
            },
            {
              "name": "Botswana",
              "value": "BW"
            },
            {
              "name": "Bouvet Island",
              "value": "BV"
            },
            {
              "name": "Brazil",
              "value": "BR"
            },
            {
              "name": "British Indian Ocean Territory",
              "value": "IO"
            },
            {
              "name": "Brunei Darussalam",
              "value": "BN"
            },
            {
              "name": "Bulgaria",
              "value": "BG"
            },
            {
              "name": "Burkina Faso",
              "value": "BF"
            },
            {
              "name": "Burundi",
              "value": "BI"
            },
            {
              "name": "Cabo Verde",
              "value": "CV"
            },
            {
              "name": "Cambodia",
              "value": "KH"
            },
            {
              "name": "Cameroon",
              "value": "CM"
            },
            {
              "name": "Canada",
              "value": "CA"
            },
            {
              "name": "Cayman Islands",
              "value": "KY"
            },
            {
              "name": "Central African Republic",
              "value": "CF"
            },
            {
              "name": "Chad",
              "value": "TD"
            },
            {
              "name": "Chile",
              "value": "CL"
            },
            {
              "name": "China",
              "value": "CN"
            },
            {
              "name": "Christmas Island",
              "value": "CX"
            },
            {
              "name": "Cocos (Keeling) Islands",
              "value": "CC"
            },
            {
              "name": "Colombia",
              "value": "CO"
            },
            {
              "name": "Comoros",
              "value": "KM"
            },
            {
              "name": "Congo",
              "value": "CG"
            },
            {
              "name": "Congo, Democratic Republic of The",
              "value": "CD"
            },
            {
              "name": "Cook Islands",
              "value": "CK"
            },
            {
              "name": "Costa Rica",
              "value": "CR"
            },
            {
              "name": "Cote d'Ivoire",
              "value": "CI"
            },
            {
              "name": "Croatia",
              "value": "HR"
            },
            {
              "name": "Cuba",
              "value": "CU"
            },
            {
              "name": "Curaçao",
              "value": "CW"
            },
            {
              "name": "Cyprus",
              "value": "CY"
            },
            {
              "name": "Czechia",
              "value": "CZ"
            },
            {
              "name": "Denmark",
              "value": "DK"
            },
            {
              "name": "Djibouti",
              "value": "DJ"
            },
            {
              "name": "Dominica",
              "value": "DM"
            },
            {
              "name": "Dominican Republic",
              "value": "DO"
            },
            {
              "name": "Ecuador",
              "value": "EC"
            },
            {
              "name": "Egypt",
              "value": "EG"
            },
            {
              "name": "El Salvador",
              "value": "SV"
            },
            {
              "name": "Equatorial Guinea",
              "value": "GQ"
            },
            {
              "name": "Eritrea",
              "value": "ER"
            },
            {
              "name": "Estonia",
              "value": "EE"
            },
            {
              "name": "Eswatini",
              "value": "SZ"
            },
            {
              "name": "Ethiopia",
              "value": "ET"
            },
            {
              "name": "Falkland Islands (Malvinas)",
              "value": "FK"
            },
            {
              "name": "Faroe Islands",
              "value": "FO"
            },
            {
              "name": "Fiji",
              "value": "FJ"
            },
            {
              "name": "Finland",
              "value": "FI"
            },
            {
              "name": "France",
              "value": "FR"
            },
            {
              "name": "French Guiana",
              "value": "GF"
            },
            {
              "name": "French Polynesia",
              "value": "PF"
            },
            {
              "name": "French Southern Territories",
              "value": "TF"
            },
            {
              "name": "Gabon",
              "value": "GA"
            },
            {
              "name": "Gambia",
              "value": "GM"
            },
            {
              "name": "Georgia",
              "value": "GE"
            },
            {
              "name": "Germany",
              "value": "DE"
            },
            {
              "name": "Ghana",
              "value": "GH"
            },
            {
              "name": "Gibraltar",
              "value": "GI"
            },
            {
              "name": "Greece",
              "value": "GR"
            },
            {
              "name": "Greenland",
              "value": "GL"
            },
            {
              "name": "Grenada",
              "value": "GD"
            },
            {
              "name": "Guadeloupe",
              "value": "GP"
            },
            {
              "name": "Guam",
              "value": "GU"
            },
            {
              "name": "Guatemala",
              "value": "GT"
            },
            {
              "name": "Guernsey",
              "value": "GG"
            },
            {
              "name": "Guinea",
              "value": "GN"
            },
            {
              "name": "Guinea-Bissau",
              "value": "GW"
            },
            {
              "name": "Guyana",
              "value": "GY"
            },
            {
              "name": "Haiti",
              "value": "HT"
            },
            {
              "name": "Heard Island and McDonald Islands",
              "value": "HM"
            },
            {
              "name": "Holy See",
              "value": "VA"
            },
            {
              "name": "Honduras",
              "value": "HN"
            },
            {
              "name": "Hong Kong",
              "value": "HK"
            },
            {
              "name": "Hungary",
              "value": "HU"
            },
            {
              "name": "Iceland",
              "value": "IS"
            },
            {
              "name": "India",
              "value": "IN"
            },
            {
              "name": "Indonesia",
              "value": "ID"
            },
            {
              "name": "Iran, Islamic Republic Of",
              "value": "IR"
            },
            {
              "name": "Iraq",
              "value": "IQ"
            },
            {
              "name": "Ireland",
              "value": "IE"
            },
            {
              "name": "Isle of Man",
              "value": "IM"
            },
            {
              "name": "Israel",
              "value": "IL"
            },
            {
              "name": "Italy",
              "value": "IT"
            },
            {
              "name": "Jamaica",
              "value": "JM"
            },
            {
              "name": "Japan",
              "value": "JP"
            },
            {
              "name": "Jersey",
              "value": "JE"
            },
            {
              "name": "Jordan",
              "value": "JO"
            },
            {
              "name": "Kazakhstan",
              "value": "KZ"
            },
            {
              "name": "Kenya",
              "value": "KE"
            },
            {
              "name": "Kiribati",
              "value": "KI"
            },
            {
              "name": "Korea, Democratic People's Republic Of",
              "value": "KP"
            },
            {
              "name": "Korea, Republic Of",
              "value": "KR"
            },
            {
              "name": "Kuwait",
              "value": "KW"
            },
            {
              "name": "Kyrgyzstan",
              "value": "KG"
            },
            {
              "name": "Lao People's Democratic Republic",
              "value": "LA"
            },
            {
              "name": "Latvia",
              "value": "LV"
            },
            {
              "name": "Lebanon",
              "value": "LB"
            },
            {
              "name": "Lesotho",
              "value": "LS"
            },
            {
              "name": "Liberia",
              "value": "LR"
            },
            {
              "name": "Libya",
              "value": "LY"
            },
            {
              "name": "Liechtenstein",
              "value": "LI"
            },
            {
              "name": "Lithuania",
              "value": "LT"
            },
            {
              "name": "Luxembourg",
              "value": "LU"
            },
            {
              "name": "Macao",
              "value": "MO"
            },
            {
              "name": "Madagascar",
              "value": "MG"
            },
            {
              "name": "Malawi",
              "value": "MW"
            },
            {
              "name": "Malaysia",
              "value": "MY"
            },
            {
              "name": "Maldives",
              "value": "MV"
            },
            {
              "name": "Mali",
              "value": "ML"
            },
            {
              "name": "Malta",
              "value": "MT"
            },
            {
              "name": "Marshall Islands",
              "value": "MH"
            },
            {
              "name": "Martinique",
              "value": "MQ"
            },
            {
              "name": "Mauritania",
              "value": "MR"
            },
            {
              "name": "Mauritius",
              "value": "MU"
            },
            {
              "name": "Mayotte",
              "value": "YT"
            },
            {
              "name": "Mexico",
              "value": "MX"
            },
            {
              "name": "Micronesia, Federated States Of",
              "value": "FM"
            },
            {
              "name": "Moldova, Republic Of",
              "value": "MD"
            },
            {
              "name": "Monaco",
              "value": "MC"
            },
            {
              "name": "Mongolia",
              "value": "MN"
            },
            {
              "name": "Montenegro",
              "value": "ME"
            },
            {
              "name": "Montserrat",
              "value": "MS"
            },
            {
              "name": "Morocco",
              "value": "MA"
            },
            {
              "name": "Mozambique",
              "value": "MZ"
            },
            {
              "name": "Myanmar",
              "value": "MM"
            },
            {
              "name": "Namibia",
              "value": "NA"
            },
            {
              "name": "Nauru",
              "value": "NR"
            },
            {
              "name": "Nepal",
              "value": "NP"
            },
            {
              "name": "Netherlands, Kingdom of The",
              "value": "NL"
            },
            {
              "name": "New Caledonia",
              "value": "NC"
            },
            {
              "name": "New Zealand",
              "value": "NZ"
            },
            {
              "name": "Nicaragua",
              "value": "NI"
            },
            {
              "name": "Niger",
              "value": "NE"
            },
            {
              "name": "Nigeria",
              "value": "NG"
            },
            {
              "name": "Niue",
              "value": "NU"
            },
            {
              "name": "Norfolk Island",
              "value": "NF"
            },
            {
              "name": "North Macedonia",
              "value": "MK"
            },
            {
              "name": "Northern Mariana Islands",
              "value": "MP"
            },
            {
              "name": "Norway",
              "value": "NO"
            },
            {
              "name": "Oman",
              "value": "OM"
            },
            {
              "name": "Pakistan",
              "value": "PK"
            },
            {
              "name": "Palau",
              "value": "PW"
            },
            {
              "name": "Palestine, State Of",
              "value": "PS"
            },
            {
              "name": "Panama",
              "value": "PA"
            },
            {
              "name": "Papua New Guinea",
              "value": "PG"
            },
            {
              "name": "Paraguay",
              "value": "PY"
            },
            {
              "name": "Peru",
              "value": "PE"
            },
            {
              "name": "Philippines",
              "value": "PH"
            },
            {
              "name": "Pitcairn",
              "value": "PN"
            },
            {
              "name": "Poland",
              "value": "PL"
            },
            {
              "name": "Portugal",
              "value": "PT"
            },
            {
              "name": "Puerto Rico",
              "value": "PR"
            },
            {
              "name": "Qatar",
              "value": "QA"
            },
            {
              "name": "Réunion",
              "value": "RE"
            },
            {
              "name": "Romania",
              "value": "RO"
            },
            {
              "name": "Russian Federation",
              "value": "RU"
            },
            {
              "name": "Rwanda",
              "value": "RW"
            },
            {
              "name": "Saint Barthelemy",
              "value": "BL"
            },
            {
              "name": "Saint Helena, Ascension and Tristan Da Cunha",
              "value": "SH"
            },
            {
              "name": "Saint Kitts and Nevis",
              "value": "KN"
            },
            {
              "name": "Saint Lucia",
              "value": "LC"
            },
            {
              "name": "Saint Martin (French Part)",
              "value": "MF"
            },
            {
              "name": "Saint Pierre and Miquelon",
              "value": "PM"
            },
            {
              "name": "Saint Vincent and the Grenadines",
              "value": "VC"
            },
            {
              "name": "Samoa",
              "value": "WS"
            },
            {
              "name": "San Marino",
              "value": "SM"
            },
            {
              "name": "Sao Tome and Principe",
              "value": "ST"
            },
            {
              "name": "Saudi Arabia",
              "value": "SA"
            },
            {
              "name": "Senegal",
              "value": "SN"
            },
            {
              "name": "Serbia",
              "value": "RS"
            },
            {
              "name": "Seychelles",
              "value": "SC"
            },
            {
              "name": "Sierra Leone",
              "value": "SL"
            },
            {
              "name": "Singapore",
              "value": "SG"
            },
            {
              "name": "Sint Maarten (Dutch Part)",
              "value": "SX"
            },
            {
              "name": "Slovakia",
              "value": "SK"
            },
            {
              "name": "Slovenia",
              "value": "SI"
            },
            {
              "name": "Solomon Islands",
              "value": "SB"
            },
            {
              "name": "Somalia",
              "value": "SO"
            },
            {
              "name": "South Africa",
              "value": "ZA"
            },
            {
              "name": "South Georgia and the South Sandwich Islands",
              "value": "GS"
            },
            {
              "name": "South Sudan",
              "value": "SS"
            },
            {
              "name": "Spain",
              "value": "ES"
            },
            {
              "name": "Sri Lanka",
              "value": "LK"
            },
            {
              "name": "Sudan",
              "value": "SD"
            },
            {
              "name": "Suriname",
              "value": "SR"
            },
            {
              "name": "Svalbard and Jan Mayen",
              "value": "SJ"
            },
            {
              "name": "Sweden",
              "value": "SE"
            },
            {
              "name": "Switzerland",
              "value": "CH"
            },
            {
              "name": "Syrian Arab Republic",
              "value": "SY"
            },
            {
              "name": "Taiwan, Province of China",
              "value": "TW"
            },
            {
              "name": "Tajikistan",
              "value": "TJ"
            },
            {
              "name": "Tanzania, United Republic Of",
              "value": "TZ"
            },
            {
              "name": "Thailand",
              "value": "TH"
            },
            {
              "name": "Timor-Leste",
              "value": "TL"
            },
            {
              "name": "Togo",
              "value": "TG"
            },
            {
              "name": "Tokelau",
              "value": "TK"
            },
            {
              "name": "Tonga",
              "value": "TO"
            },
            {
              "name": "Trinidad and Tobago",
              "value": "TT"
            },
            {
              "name": "Tunisia",
              "value": "TN"
            },
            {
              "name": "Turkey",
              "value": "TR"
            },
            {
              "name": "Turkmenistan",
              "value": "TM"
            },
            {
              "name": "Turks and Caicos Islands",
              "value": "TC"
            },
            {
              "name": "Tuvalu",
              "value": "TV"
            },
            {
              "name": "Uganda",
              "value": "UG"
            },
            {
              "name": "Ukraine",
              "value": "UA"
            },
            {
              "name": "United Arab Emirates",
              "value": "AE"
            },
            {
              "name": "United Kingdom of Great Britain and Northern Ireland",
              "value": "GB"
            },
            {
              "name": "United States Minor Outlying Islands",
              "value": "UM"
            },
            {
              "name": "United States of America",
              "value": "US"
            },
            {
              "name": "Uruguay",
              "value": "UY"
            },
            {
              "name": "Uzbekistan",
              "value": "UZ"
            },
            {
              "name": "Vanuatu",
              "value": "VU"
            },
            {
              "name": "Venezuela, Bolivarian Republic Of",
              "value": "VE"
            },
            {
              "name": "Viet Nam",
              "value": "VN"
            },
            {
              "name": "Virgin Islands (British)",
              "value": "VG"
            },
            {
              "name": "Virgin Islands (U.S.)",
              "value": "VI"
            },
            {
              "name": "Wallis and Futuna",
              "value": "WF"
            },
            {
              "name": "Western Sahara",
              "value": "EH"
            },
            {
              "name": "Yemen",
              "value": "YE"
            },
            {
              "name": "Zambia",
              "value": "ZM"
            },
            {
              "name": "Zimbabwe",
              "value": "ZW"
            }
          ]
        },
        {
          "displayName": "Keep Same IP",
          "name": "sticky",
          "type": "boolean",
          "default": true,
          "description": "Whether to try to maintain the same IP address for the duration of the session. Airtop can guarantee that the same IP address will be available for up to a maximum of 30 minutes."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "create"
          ],
          "proxy": [
            "integrated"
          ]
        }
      }
    },
    {
      "displayName": "Proxy URL",
      "name": "proxyUrl",
      "type": "string",
      "default": "",
      "description": "The URL of the proxy to use",
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "create"
          ],
          "proxy": [
            "proxyUrl"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Auto Solve Captchas",
          "name": "solveCaptcha",
          "type": "boolean",
          "default": false,
          "description": "Whether to automatically solve <a href=\"https://docs.airtop.ai/guides/how-to/solving-captchas\" target=\"_blank\">captcha challenges</a>"
        },
        {
          "displayName": "Extension IDs",
          "name": "extensionIds",
          "type": "string",
          "default": "",
          "placeholder": "e.g. extId1, extId2, ...",
          "description": "Comma-separated extension IDs from the Google Web Store to be loaded into the session. Learn more <a href=\"https://docs.airtop.ai/guides/how-to/using-chrome-extensions\" target=\"_blank\">here</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Note: This operation is not needed if you enabled 'Save Profile' in the 'Create Session' operation",
      "name": "notice",
      "type": "notice",
      "default": "This operation will save the profile on session termination",
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "save"
          ]
        }
      }
    },
    {
      "displayName": "Session ID",
      "name": "sessionId",
      "type": "string",
      "default": "={{ $json[\"sessionId\"] }}",
      "description": "The ID of the <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-session\" target=\"_blank\">Session</a> to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "save"
          ]
        }
      }
    },
    {
      "displayName": "Profile Name",
      "name": "profileName",
      "type": "string",
      "default": "",
      "description": "The name of the <a href=\"https://docs.airtop.ai/guides/how-to/saving-a-profile\" target=\"_blank\">Profile</a> to save",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "save"
          ]
        }
      }
    },
    {
      "displayName": "Session ID",
      "name": "sessionId",
      "type": "string",
      "default": "={{ $json[\"sessionId\"] }}",
      "description": "The ID of the <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-session\" target=\"_blank\">Session</a> to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "terminate"
          ]
        }
      }
    },
    {
      "displayName": "Session ID",
      "name": "sessionId",
      "type": "string",
      "default": "={{ $json[\"sessionId\"] }}",
      "description": "The ID of the <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-session\" target=\"_blank\">Session</a> to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "waitForDownload"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Timeout",
          "description": "Time in seconds to wait for the download to become available",
          "name": "timeout",
          "type": "number",
          "default": 30
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "session"
          ],
          "operation": [
            "waitForDownload"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Close Window",
          "value": "close",
          "description": "Close a window inside a session",
          "action": "Close a window"
        },
        {
          "name": "Create a New Browser Window",
          "value": "create",
          "description": "Create a new browser window inside a session. Can load a URL when created.",
          "action": "Create a window"
        },
        {
          "name": "Get Live View",
          "value": "getLiveView",
          "description": "Get information about a browser window, including the live view URL",
          "action": "Get live view"
        },
        {
          "name": "List Windows",
          "value": "list",
          "description": "List all browser windows in a session",
          "action": "List windows"
        },
        {
          "name": "Load URL",
          "value": "load",
          "description": "Load a URL in an existing window",
          "action": "Load a page"
        },
        {
          "name": "Take Screenshot",
          "value": "takeScreenshot",
          "description": "Take a screenshot of the current window",
          "action": "Take screenshot"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ]
        }
      },
      "typeOptions": {
        "sortable": false
      },
      "noDataExpression": true
    },
    {
      "displayName": "Session ID",
      "name": "sessionId",
      "type": "string",
      "default": "={{ $json[\"sessionId\"] }}",
      "description": "The ID of the <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-session\" target=\"_blank\">Session</a> to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ]
        }
      }
    },
    {
      "displayName": "Window ID",
      "name": "windowId",
      "type": "string",
      "default": "={{ $json[\"windowId\"] }}",
      "description": "The ID of the <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-session#windows\" target=\"_blank\">Window</a> to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "close",
            "takeScreenshot",
            "load",
            "getLiveView"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "Initial URL to load in the window. Defaults to https://www.google.com.",
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Get Live View",
      "name": "getLiveView",
      "type": "boolean",
      "default": false,
      "description": "Whether to get the URL of the window's <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-live-view\" target=\"_blank\">Live View</a>",
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Include Navigation Bar",
      "name": "includeNavigationBar",
      "type": "boolean",
      "default": false,
      "description": "Whether to include the navigation bar in the Live View. When enabled, the navigation bar will be visible allowing you to navigate between pages.",
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "create"
          ],
          "getLiveView": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Screen Resolution",
      "name": "screenResolution",
      "type": "string",
      "default": "",
      "description": "The screen resolution of the Live View. Setting a resolution will force the window to open at that specific size.",
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "create"
          ],
          "getLiveView": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Disable Resize",
      "name": "disableResize",
      "type": "boolean",
      "default": false,
      "description": "Whether to disable the window from being resized in the Live View",
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "create"
          ],
          "getLiveView": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Wait Until",
          "name": "waitUntil",
          "type": "options",
          "description": "Wait until the specified loading event occurs",
          "default": "load",
          "options": [
            {
              "name": "Load",
              "value": "load",
              "description": "Wait until the page dom and its assets have loaded"
            },
            {
              "name": "DOM Content Loaded",
              "value": "domContentLoaded",
              "description": "Wait until the page DOM has loaded"
            },
            {
              "name": "Complete",
              "value": "complete",
              "description": "Wait until all iframes in the page have loaded"
            },
            {
              "name": "No Wait",
              "value": "noWait",
              "description": "Do not wait for any loading event and it will return immediately"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Include Navigation Bar",
          "name": "includeNavigationBar",
          "type": "boolean",
          "default": false,
          "description": "Whether to include the navigation bar in the Live View. When enabled, the navigation bar will be visible allowing you to navigate between pages."
        },
        {
          "displayName": "Screen Resolution",
          "name": "screenResolution",
          "type": "string",
          "default": "",
          "description": "The screen resolution of the Live View. Setting a resolution will force the window to open at that specific size.",
          "placeholder": "e.g. 1280x720"
        },
        {
          "displayName": "Disable Resize",
          "name": "disableResize",
          "type": "boolean",
          "default": false,
          "description": "Whether to disable the window from being resized in the Live View"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "getLiveView"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "URL to load in the window",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "load"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Wait Until",
          "name": "waitUntil",
          "type": "options",
          "default": "load",
          "description": "Wait until the specified loading event occurs. Defaults to 'Fully Loaded'.",
          "options": [
            {
              "name": "Complete",
              "value": "complete",
              "description": "Wait until the page and all it's iframes have loaded it's dom and assets"
            },
            {
              "name": "DOM Only Loaded",
              "value": "domContentLoaded",
              "description": "Wait until the dom has loaded"
            },
            {
              "name": "Fully Loaded",
              "value": "load",
              "description": "Wait until the page dom and it's assets have loaded"
            },
            {
              "name": "No Wait",
              "value": "noWait",
              "description": "Do not wait for any loading event and will return immediately"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "load"
          ]
        }
      }
    },
    {
      "displayName": "Output Binary Image",
      "name": "outputImageAsBinary",
      "type": "boolean",
      "default": false,
      "description": "Whether to output the image as a binary file instead of a base64 encoded string",
      "displayOptions": {
        "show": {
          "resource": [
            "window"
          ],
          "operation": [
            "takeScreenshot"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getMany",
      "options": [
        {
          "name": "Delete",
          "value": "deleteFile",
          "description": "Delete an uploaded file",
          "action": "Delete a file"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a details of an uploaded file",
          "action": "Get a file"
        },
        {
          "name": "Get Many",
          "value": "getMany",
          "description": "Get details of multiple uploaded files",
          "action": "Get many files"
        },
        {
          "name": "Load",
          "value": "load",
          "description": "Load a file into a session",
          "action": "Load a file"
        },
        {
          "name": "Upload",
          "value": "upload",
          "description": "Upload a file into a session",
          "action": "Upload a file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "description": "ID of the file to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "deleteFile"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "description": "ID of the file to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Output Binary File",
      "name": "outputBinaryFile",
      "type": "boolean",
      "default": false,
      "description": "Whether to output the file in binary format if the file is ready for download",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "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": [
            "file"
          ],
          "operation": [
            "getMany"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 10,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "getMany"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Session IDs",
      "name": "sessionIds",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of <a href=\"https://docs.airtop.ai/api-reference/airtop-api/sessions/create\" target=\"_blank\">Session IDs</a> to filter files by. When empty, all files from all sessions will be returned.",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "getMany"
          ]
        }
      }
    },
    {
      "displayName": "Output Files in Single Item",
      "name": "outputSingleItem",
      "type": "boolean",
      "default": true,
      "description": "Whether to output one item containing all files or output each file as a separate item",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "getMany"
          ]
        }
      }
    },
    {
      "displayName": "Session ID",
      "name": "sessionId",
      "type": "string",
      "default": "={{ $json[\"sessionId\"] }}",
      "description": "The session ID to load the file into",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "load"
          ]
        }
      }
    },
    {
      "displayName": "Window ID",
      "name": "windowId",
      "type": "string",
      "default": "={{ $json[\"windowId\"] }}",
      "description": "The window ID to trigger the file input in",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "load"
          ]
        }
      }
    },
    {
      "displayName": "File ID",
      "name": "fileId",
      "type": "string",
      "default": "",
      "description": "ID of the file to load into the session",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "load"
          ]
        }
      }
    },
    {
      "displayName": "Element Description",
      "name": "elementDescription",
      "type": "string",
      "default": "",
      "description": "Optional description of the file input to interact with",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "load"
          ]
        }
      }
    },
    {
      "displayName": "Include Hidden Elements",
      "name": "includeHiddenElements",
      "type": "boolean",
      "default": true,
      "description": "Whether to include hidden elements in the interaction",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "load"
          ]
        }
      }
    },
    {
      "displayName": "Session ID",
      "name": "sessionId",
      "type": "string",
      "default": "={{ $json[\"sessionId\"] }}",
      "description": "The session ID to load the file into",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Window ID",
      "name": "windowId",
      "type": "string",
      "default": "={{ $json[\"windowId\"] }}",
      "description": "The window ID to trigger the file input in",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "File Name",
      "name": "fileName",
      "type": "string",
      "default": "",
      "description": "Name for the file to upload. For a session, all files loaded should have <b>unique names</b>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "File Type",
      "name": "fileType",
      "type": "options",
      "default": "customer_upload",
      "description": "Choose the type of file to upload. Defaults to 'Customer Upload'.",
      "options": [
        {
          "name": "Browser Download",
          "value": "browser_download"
        },
        {
          "name": "Screenshot",
          "value": "screenshot"
        },
        {
          "name": "Video",
          "value": "video"
        },
        {
          "name": "Customer Upload",
          "value": "customer_upload"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Source",
      "name": "source",
      "type": "options",
      "default": "url",
      "description": "Source of the file to upload",
      "options": [
        {
          "name": "URL",
          "value": "url"
        },
        {
          "name": "Binary",
          "value": "binary"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Binary Property",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "description": "Name of the binary property containing the file data",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "binary"
          ],
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "URL from where to fetch the file to upload",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "url"
          ],
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Trigger File Input",
      "name": "triggerFileInputParameter",
      "type": "boolean",
      "default": true,
      "description": "Whether to automatically trigger the file input dialog in the current window. If disabled, the file will only be uploaded to the session without opening the file input dialog.",
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Element Description",
      "name": "elementDescription",
      "type": "string",
      "default": "",
      "description": "Optional description of the file input to interact with",
      "displayOptions": {
        "show": {
          "triggerFileInputParameter": [
            true
          ],
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Include Hidden Elements",
      "name": "includeHiddenElements",
      "type": "boolean",
      "default": true,
      "description": "Whether to include hidden elements in the interaction",
      "displayOptions": {
        "show": {
          "triggerFileInputParameter": [
            true
          ],
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getPaginated",
      "options": [
        {
          "name": "Query Page",
          "value": "query",
          "description": "Query a page to extract data or ask a question given the data on the page",
          "action": "Query page"
        },
        {
          "name": "Query Page with Pagination",
          "value": "getPaginated",
          "description": "Extract content from paginated or dynamically loaded pages",
          "action": "Query page with pagination"
        },
        {
          "name": "Smart Scrape",
          "value": "scrape",
          "description": "Scrape a page and return the data as markdown",
          "action": "Smart scrape page"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Session Mode",
      "name": "sessionMode",
      "type": "options",
      "default": "existing",
      "description": "Choose between creating a new session or using an existing one",
      "options": [
        {
          "name": "Automatically Create Session",
          "description": "Automatically create a new session and window for this operation",
          "value": "new"
        },
        {
          "name": "Use Existing Session",
          "description": "Use an existing session and window for this operation",
          "value": "existing"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "operation": [
            "getPaginated",
            "query",
            "scrape"
          ]
        }
      }
    },
    {
      "displayName": "Session ID",
      "name": "sessionId",
      "type": "string",
      "default": "={{ $json[\"sessionId\"] }}",
      "description": "The ID of the <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-session\" target=\"_blank\">Session</a> to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "sessionMode": [
            "existing"
          ]
        }
      }
    },
    {
      "displayName": "Window ID",
      "name": "windowId",
      "type": "string",
      "default": "={{ $json[\"windowId\"] }}",
      "description": "The ID of the <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-session#windows\" target=\"_blank\">Window</a> to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "sessionMode": [
            "existing"
          ]
        }
      }
    },
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "URL to load in the window",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "sessionMode": [
            "new"
          ]
        }
      }
    },
    {
      "displayName": "Profile Name",
      "name": "profileName",
      "type": "string",
      "default": "",
      "description": "The name of the Airtop profile to load or create",
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "sessionMode": [
            "new"
          ]
        }
      }
    },
    {
      "displayName": "Auto-Terminate Session",
      "name": "autoTerminateSession",
      "type": "boolean",
      "default": true,
      "description": "Whether to terminate the session after the operation is complete. When disabled, you must manually terminate the session. By default, idle sessions timeout after 10 minutes",
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "sessionMode": [
            "new"
          ]
        }
      }
    },
    {
      "displayName": "Prompt",
      "name": "prompt",
      "type": "string",
      "default": "",
      "description": "The prompt to extract data from the pages",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "operation": [
            "getPaginated"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "JSON Output Schema",
          "name": "outputSchema",
          "description": "JSON schema defining the structure of the output",
          "hint": "If you want to force your output to be JSON, provide a valid JSON schema describing the output. You can generate one automatically in the <a href=\"https://portal.airtop.ai/\" target=\"_blank\">Airtop API Playground</a>.",
          "type": "json",
          "default": ""
        },
        {
          "displayName": "Parse JSON Output",
          "name": "parseJsonOutput",
          "type": "boolean",
          "default": true,
          "description": "Whether to parse the model's response to JSON in the output. Requires the 'JSON Output Schema' parameter to be set."
        },
        {
          "displayName": "Interaction Mode",
          "name": "interactionMode",
          "type": "options",
          "default": "auto",
          "description": "The strategy for interacting with the page",
          "options": [
            {
              "name": "Auto",
              "description": "Automatically choose the most cost-effective mode",
              "value": "auto"
            },
            {
              "name": "Accurate",
              "description": "Prioritize accuracy over cost",
              "value": "accurate"
            },
            {
              "name": "Cost Efficient",
              "description": "Minimize costs while ensuring effectiveness",
              "value": "cost-efficient"
            }
          ]
        },
        {
          "displayName": "Pagination Mode",
          "name": "paginationMode",
          "type": "options",
          "default": "auto",
          "description": "The pagination approach to use",
          "options": [
            {
              "name": "Auto",
              "description": "Look for pagination links first, then try infinite scrolling",
              "value": "auto"
            },
            {
              "name": "Paginated",
              "description": "Only use pagination links",
              "value": "paginated"
            },
            {
              "name": "Infinite Scroll",
              "description": "Scroll the page to load more content",
              "value": "infinite-scroll"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "operation": [
            "getPaginated"
          ]
        }
      }
    },
    {
      "displayName": "Prompt",
      "name": "prompt",
      "type": "string",
      "default": "",
      "description": "The prompt to query the page content",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "operation": [
            "query"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "JSON Output Schema",
          "name": "outputSchema",
          "description": "JSON schema defining the structure of the output",
          "hint": "If you want to force your output to be JSON, provide a valid JSON schema describing the output. You can generate one automatically in the <a href=\"https://portal.airtop.ai/\" target=\"_blank\">Airtop API Playground</a>.",
          "type": "json",
          "default": ""
        },
        {
          "displayName": "Parse JSON Output",
          "name": "parseJsonOutput",
          "type": "boolean",
          "default": true,
          "description": "Whether to parse the model's response to JSON in the output. Requires the 'JSON Output Schema' parameter to be set."
        },
        {
          "displayName": "Include Visual Analysis",
          "name": "includeVisualAnalysis",
          "type": "boolean",
          "default": false,
          "description": "Whether to analyze the web page visually when fulfilling the request"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "extraction"
          ],
          "operation": [
            "query"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "click",
      "options": [
        {
          "name": "Click an Element",
          "value": "click",
          "description": "Execute a click on an element given a description",
          "action": "Click an element"
        },
        {
          "name": "Fill Form",
          "value": "fill",
          "description": "Fill a form with the provided information",
          "action": "Fill form"
        },
        {
          "name": "Hover on an Element",
          "value": "hover",
          "description": "Execute a hover action on an element given a description",
          "action": "Hover on an element"
        },
        {
          "name": "Scroll",
          "value": "scroll",
          "description": "Execute a scroll action on the page",
          "action": "Scroll on page"
        },
        {
          "name": "Type",
          "value": "type",
          "description": "Execute a Type action on an element given a description",
          "action": "Type text"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Session ID",
      "name": "sessionId",
      "type": "string",
      "default": "={{ $json[\"sessionId\"] }}",
      "description": "The ID of the <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-session\" target=\"_blank\">Session</a> to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ]
        }
      }
    },
    {
      "displayName": "Window ID",
      "name": "windowId",
      "type": "string",
      "default": "={{ $json[\"windowId\"] }}",
      "description": "The ID of the <a href=\"https://docs.airtop.ai/guides/how-to/creating-a-session#windows\" target=\"_blank\">Window</a> to use",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ]
        }
      }
    },
    {
      "displayName": "Element Description",
      "name": "elementDescription",
      "type": "string",
      "default": "",
      "description": "A specific description of the element to execute the interaction on",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "click"
          ]
        }
      }
    },
    {
      "displayName": "Click Type",
      "name": "clickType",
      "type": "options",
      "default": "click",
      "description": "The type of click to perform. Defaults to left click.",
      "options": [
        {
          "name": "Left Click",
          "value": "click"
        },
        {
          "name": "Double Click",
          "value": "doubleClick"
        },
        {
          "name": "Right Click",
          "value": "rightClick"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "click"
          ]
        }
      }
    },
    {
      "displayName": "Form Data",
      "name": "formData",
      "type": "string",
      "default": "",
      "description": "The information to fill into the form written in natural language",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "fill"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Element Description",
      "name": "elementDescription",
      "type": "string",
      "default": "",
      "description": "A specific description of the element to execute the interaction on",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "hover"
          ]
        }
      }
    },
    {
      "displayName": "Scroll Mode",
      "name": "scrollingMode",
      "type": "options",
      "default": "automatic",
      "description": "Choose the mode of scrolling",
      "options": [
        {
          "name": "Automatic",
          "value": "automatic",
          "description": "Describe with natural language the element to scroll to"
        },
        {
          "name": "Manual",
          "value": "manual",
          "description": "Define the direction and amount to scroll by"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "scroll"
          ]
        }
      }
    },
    {
      "displayName": "Element Description",
      "name": "scrollToElement",
      "type": "string",
      "default": "",
      "description": "A natural language description of the element to scroll to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "scroll"
          ],
          "scrollingMode": [
            "automatic"
          ]
        }
      }
    },
    {
      "displayName": "Scroll To Edge",
      "name": "scrollToEdge",
      "type": "fixedCollection",
      "default": {},
      "description": "The direction to scroll to. When 'Scroll By' is defined, 'Scroll To Edge' action will be executed first, then 'Scroll By' action.",
      "options": [
        {
          "displayName": "Page Edges",
          "name": "edgeValues",
          "values": [
            {
              "displayName": "Vertically",
              "name": "yAxis",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Empty",
                  "value": ""
                },
                {
                  "name": "Top",
                  "value": "top"
                },
                {
                  "name": "Bottom",
                  "value": "bottom"
                }
              ]
            },
            {
              "displayName": "Horizontally",
              "name": "xAxis",
              "type": "options",
              "default": "",
              "options": [
                {
                  "name": "Empty",
                  "value": ""
                },
                {
                  "name": "Left",
                  "value": "left"
                },
                {
                  "name": "Right",
                  "value": "right"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "scroll"
          ],
          "scrollingMode": [
            "manual"
          ]
        }
      }
    },
    {
      "displayName": "Scroll By",
      "name": "scrollBy",
      "type": "fixedCollection",
      "default": {},
      "description": "The amount to scroll by. When 'Scroll To Edge' is defined, 'Scroll By' action will be executed after 'Scroll To Edge'.",
      "options": [
        {
          "name": "scrollValues",
          "displayName": "Scroll Values",
          "description": "The amount in pixels or percentage to scroll by",
          "values": [
            {
              "displayName": "Vertically",
              "name": "yAxis",
              "type": "string",
              "default": "",
              "placeholder": "e.g. 200px, 50%, -100px"
            },
            {
              "displayName": "Horizontally",
              "name": "xAxis",
              "type": "string",
              "default": "",
              "placeholder": "e.g. 50px, 10%, -200px"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "scroll"
          ],
          "scrollingMode": [
            "manual"
          ]
        }
      }
    },
    {
      "displayName": "Scrollable Area",
      "name": "scrollWithin",
      "type": "string",
      "default": "",
      "description": "Scroll within an element on the page",
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "scroll"
          ]
        }
      }
    },
    {
      "displayName": "Text",
      "name": "text",
      "type": "string",
      "default": "",
      "description": "The text to type into the browser window",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "type"
          ]
        }
      }
    },
    {
      "displayName": "Press Enter Key",
      "name": "pressEnterKey",
      "type": "boolean",
      "default": false,
      "description": "Whether to press the Enter key after typing the text",
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "type"
          ]
        }
      }
    },
    {
      "displayName": "Element Description",
      "name": "elementDescription",
      "type": "string",
      "default": "",
      "description": "A specific description of the element to execute the interaction on",
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "type"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Visual Scope",
          "name": "visualScope",
          "type": "options",
          "default": "auto",
          "description": "Defines the strategy for visual analysis of the current window",
          "options": [
            {
              "name": "Auto",
              "description": "Provides the simplest out-of-the-box experience for most web pages",
              "value": "auto"
            },
            {
              "name": "Viewport",
              "description": "For analysis of the current browser view only",
              "value": "viewport"
            },
            {
              "name": "Page",
              "description": "For analysis of the entire page",
              "value": "page"
            },
            {
              "name": "Scan",
              "description": "For a full page analysis on sites that have compatibility issues with 'Page' mode",
              "value": "scan"
            }
          ]
        },
        {
          "displayName": "Wait Until Event After Navigation",
          "name": "waitForNavigation",
          "type": "options",
          "default": "load",
          "description": "The condition to wait for the navigation to complete after an interaction (click, type or hover). Defaults to 'Fully Loaded'.",
          "options": [
            {
              "name": "Fully Loaded (Slower)",
              "value": "load"
            },
            {
              "name": "DOM Only Loaded (Faster)",
              "value": "domcontentloaded"
            },
            {
              "name": "All Network Activity Has Stopped",
              "value": "networkidle0"
            },
            {
              "name": "Most Network Activity Has Stopped",
              "value": "networkidle2"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "interaction"
          ],
          "operation": [
            "click",
            "hover",
            "type",
            "scroll"
          ]
        }
      }
    }
  ]


