# nodes

node_type: nodes-base.actionNetworkTool
package_name: n8n-nodes-base
display_name: Action Network Tool
description: Consume the Action Network API (AI Tool variant for use with AI Agents)
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "actionNetworkApi",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-03-25 21:12:27
tool_variant_of: nodes-base.actionNetwork
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": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Action Network"
    },
    {
      "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.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: 2026-03-25 21:12:27
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.activeCampaignTool
package_name: n8n-nodes-base
display_name: ActiveCampaign Tool
description: Create and edit data in ActiveCampaign (AI Tool variant for use with AI Agents)
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "activeCampaignApi",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-03-25 21:12:27
tool_variant_of: nodes-base.activeCampaign
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": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with ActiveCampaign"
    },
    {
      "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.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: 2026-03-25 21:12:27
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"
    }
  ]


