# nodes

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

outputs:
  [
  "main"
  ]

updated_at: 2026-03-04 11:46:58
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: WhatsApp Trigger node documentation
  description: Learn how to use the WhatsApp Trigger node in n8n. Follow technical documentation to integrate WhatsApp Trigger node into your workflows.
  contentType: [integration, reference]
  priority: high
  ---

  # WhatsApp Trigger node

  Use the WhatsApp Trigger node to respond to events in WhatsApp and integrate WhatsApp with other applications. n8n has built-in support for a wide range of WhatsApp events, including account, message, and phone number events.

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

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

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

  ## Events

  * Account Review Update
  * Account Update
  * Business Capability Update
  * Message Template Quality Update
  * Message Template Status Update
  * Messages
  * Phone Number Name Update
  * Phone Number Quality Update
  * Security
  * Template Category Update

  ## Related resources

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

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

  Refer to [WhatsApp's documentation](https://developers.facebook.com/docs/whatsapp/cloud-api){:target=_blank .external-link} for details about their API.

  ## Common issues

  Here are some common errors and issues with the WhatsApp Trigger node and steps to resolve or troubleshoot them.

  ### Workflow only works in testing or production

  WhatsApp only allows you to register a single webhook per app. This means that every time you switch from using the testing URL to the production URL (and vice versa), WhatsApp overwrites the registered webhook URL. 

  You may have trouble with this if you try to test a workflow that's also active in production. WhatsApp will only send events to one of the two webhook URLs, so the other will never receive event notifications.

  To work around this, you can disable your workflow when testing:

  /// warning | Halts production traffic
  This workaround temporarily disables your production workflow for testing. Your workflow will no longer receive production traffic while it's deactivated.
  ///

  1. Go to your workflow page.
  2. Toggle the **Active** switch in the top panel to disable the workflow temporarily.
  3. Test your workflow using the test webhook URL.
  4. When you finish testing, toggle the **Inactive** toggle to enable the workflow again. The production webhook URL should resume working.

properties_schema:
  [
    {
      "displayName": "Due to Facebook API limitations, you can use just one WhatsApp trigger for each Facebook App",
      "name": "whatsAppNotice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Trigger On",
      "name": "updates",
      "type": "multiOptions",
      "default": [],
      "options": [
        {
          "name": "Account Review Update",
          "value": "account_review_update"
        },
        {
          "name": "Account Update",
          "value": "account_update"
        },
        {
          "name": "Business Capability Update",
          "value": "business_capability_update"
        },
        {
          "name": "Message Template Quality Update",
          "value": "message_template_quality_update"
        },
        {
          "name": "Message Template Status Update",
          "value": "message_template_status_update"
        },
        {
          "name": "Messages",
          "value": "messages"
        },
        {
          "name": "Phone Number Name Update",
          "value": "phone_number_name_update"
        },
        {
          "name": "Phone Number Quality Update",
          "value": "phone_number_quality_update"
        },
        {
          "name": "Security",
          "value": "security"
        },
        {
          "name": "Template Category Update",
          "value": "template_category_update"
        }
      ],
      "required": true
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Receive Message Status Updates",
          "name": "messageStatusUpdates",
          "type": "multiOptions",
          "default": [
            "all"
          ],
          "description": "WhatsApp sends notifications to the Trigger when the status of a message changes (for example from Sent to Delivered and from Delivered to Read). To avoid multiple executions for one WhatsApp message, you can set the Trigger to execute only on selected message status updates.",
          "options": [
            {
              "name": "All",
              "value": "all"
            },
            {
              "name": "Deleted",
              "value": "deleted"
            },
            {
              "name": "Delivered",
              "value": "delivered"
            },
            {
              "name": "Failed",
              "value": "failed"
            },
            {
              "name": "Read",
              "value": "read"
            },
            {
              "name": "Sent",
              "value": "sent"
            }
          ]
        }
      ]
    }
  ]


node_type: nodes-base.whatsAppTool
package_name: n8n-nodes-base
display_name: WhatsApp Business Cloud Tool
description: Access WhatsApp API (AI Tool variant for use with AI Agents)
category: output
development_style: programmatic
version: 1.1
credentials_required:
  [
  {
  "name": "whatsAppApi",
  "required": true
  }
  ]

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

output_names:
  [
  "Tool"
  ]

updated_at: 2026-03-04 11:46:58
tool_variant_of: nodes-base.whatsApp
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: WhatsApp Business Cloud node documentation
  description: Learn how to use the WhatsApp Business Cloud node in n8n. Follow technical documentation to integrate WhatsApp Business Cloud node into your workflows.
  contentType: [integration, reference]
  priority: high
  ---

  # WhatsApp Business Cloud node

  Use the WhatsApp Business Cloud node to automate work in WhatsApp Business, and integrate WhatsApp Business with other applications. n8n has built-in support for a wide range of WhatsApp Business features, including sending messages, and uploading, downloading, and deleting media. 

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

  /// note | Credentials
  Refer to [WhatsApp Business Cloud credentials](/integrations/builtin/credentials/whatsapp.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Message
  	* Send
  	* Send and Wait for Response
  	* Send Template
  * Media
  	* Upload
  	* Download
  	* Delete

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

  ## Templates and examples

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

  ## Related resources

  Refer to [WhatsApp Business Platform's Cloud API documentation](https://developers.facebook.com/docs/whatsapp/cloud-api){:target=_blank} for details about the operations.

  ## Common issues

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

  --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 WhatsApp Business Cloud"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "message",
      "options": [
        {
          "name": "Message",
          "value": "message"
        },
        {
          "name": "Media",
          "value": "media"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "sendTemplate",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "action": "Send message"
        },
        {
          "name": "Send and Wait for Response",
          "value": "sendAndWait",
          "action": "Send message and wait for response"
        },
        {
          "name": "Send Template",
          "value": "sendTemplate",
          "action": "Send template"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Messaging Product",
      "name": "messagingProduct",
      "type": "hidden",
      "default": "whatsapp",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Sender Phone Number (or ID)",
      "name": "phoneNumberId",
      "type": "options",
      "default": "",
      "description": "The ID of the business account's phone number from which the message will be sent from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "url": "={{$credentials.businessAccountId}}/phone_numbers",
              "method": "GET"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.display_phone_number}} - {{$responseItem.verified_name}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Recipient's Phone Number",
      "name": "recipientPhoneNumber",
      "type": "string",
      "default": "",
      "description": "Phone number of the recipient of the message",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "MessageType",
      "name": "messageType",
      "type": "options",
      "default": "text",
      "description": "The type of the message",
      "options": [
        {
          "name": "Audio",
          "value": "audio"
        },
        {
          "name": "Contacts",
          "value": "contacts"
        },
        {
          "name": "Document",
          "value": "document"
        },
        {
          "name": "Image",
          "value": "image"
        },
        {
          "name": "Location",
          "value": "location"
        },
        {
          "name": "Text",
          "value": "text"
        },
        {
          "name": "Video",
          "value": "video"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "mediaUpload",
      "description": "The operation to perform on the media",
      "options": [
        {
          "name": "Upload",
          "value": "mediaUpload",
          "action": "Upload media"
        },
        {
          "name": "Download",
          "value": "mediaUrlGet",
          "action": "Download media"
        },
        {
          "name": "Delete",
          "value": "mediaDelete",
          "action": "Delete media"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "media"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "data",
          "values": [
            {
              "displayName": "Formatted Name",
              "name": "formatted_name",
              "type": "string",
              "required": true,
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.formatted_name"
                }
              }
            },
            {
              "displayName": "First Name",
              "name": "first_name",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.first_name"
                }
              }
            },
            {
              "displayName": "Last Name",
              "name": "last_name",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.last_name"
                }
              }
            },
            {
              "displayName": "Middle Name",
              "name": "middle_name",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.middle_name"
                }
              }
            },
            {
              "displayName": "Suffix",
              "name": "suffix",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.suffix"
                }
              }
            },
            {
              "displayName": "Prefix",
              "name": "prefix",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.prefix"
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "contacts"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Addresses",
          "name": "addresses",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "Address",
              "name": "address",
              "values": [
                {
                  "displayName": "Type",
                  "name": "type",
                  "type": "options",
                  "options": [
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "HOME",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].street",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].city",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].state",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Zip",
                  "name": "zip",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].zip",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].country",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Country Code",
                  "name": "country_code",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].country_code",
                      "type": "body"
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "Birthday",
          "name": "birthday",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "contacts[0].birthday",
              "type": "body"
            }
          },
          "placeholder": "YYYY-MM-DD"
        },
        {
          "displayName": "Emails",
          "name": "emails",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "Email",
              "name": "data",
              "values": [
                {
                  "displayName": "Type",
                  "name": "type",
                  "type": "options",
                  "options": [
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "HOME",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].emails[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Email",
                  "name": "email",
                  "type": "string",
                  "placeholder": "name@email.com",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].emails[{{$index}}].email",
                      "type": "body"
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "Organization",
          "name": "organization",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "Organization",
              "name": "data",
              "values": [
                {
                  "displayName": "Company",
                  "name": "company",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "type": "body",
                      "property": "contacts[0].org.company"
                    }
                  }
                },
                {
                  "displayName": "Department",
                  "name": "department",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "type": "body",
                      "property": "contacts[0].org.department"
                    }
                  }
                },
                {
                  "displayName": "Title",
                  "name": "title",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "type": "body",
                      "property": "contacts[0].org.title"
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "Phones",
          "name": "phones",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "Phone",
              "name": "data",
              "values": [
                {
                  "displayName": "Type",
                  "name": "type",
                  "displayOptions": {
                    "show": {
                      "@version": [
                        1
                      ]
                    }
                  },
                  "type": "options",
                  "options": [
                    {
                      "name": "Cell",
                      "value": "CELL"
                    },
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Iphone",
                      "value": "IPHONE"
                    },
                    {
                      "name": "Main",
                      "value": "MAIN"
                    },
                    {
                      "name": "WhatsApp ID",
                      "value": "wa_id"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "CELL",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].phones[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Type",
                  "name": "type",
                  "displayOptions": {
                    "show": {
                      "@version": [
                        {
                          "_cnd": {
                            "gt": 1
                          }
                        }
                      ]
                    }
                  },
                  "type": "options",
                  "options": [
                    {
                      "name": "Cell",
                      "value": "CELL"
                    },
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Iphone",
                      "value": "IPHONE"
                    },
                    {
                      "name": "Main",
                      "value": "MAIN"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "CELL",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].phones[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Phone",
                  "name": "phone",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].phones[{{$index}}].phone",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "WhatsApp User ID",
                  "name": "whatsapp_user_id",
                  "type": "string",
                  "default": "",
                  "description": "If omitted, the message will display an Invite to WhatsApp button instead of the standard buttons",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].phones[{{$index}}].wa_id",
                      "type": "body"
                    }
                  },
                  "displayOptions": {
                    "hide": {
                      "@version": [
                        {
                          "_cnd": {
                            "lt": 1.1
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "URLs",
          "name": "urls",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "URL",
              "name": "url",
              "values": [
                {
                  "displayName": "Type",
                  "name": "type",
                  "type": "options",
                  "options": [
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "HOME",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].urls[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "URL",
                  "name": "url",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].urls[{{$index}}].url",
                      "type": "body"
                    }
                  }
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "contacts"
          ]
        }
      }
    },
    {
      "displayName": "Longitude",
      "name": "longitude",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "location"
          ]
        }
      },
      "typeOptions": {
        "minValue": -180,
        "maxValue": 180
      }
    },
    {
      "displayName": "Latitude",
      "name": "latitude",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "location"
          ]
        }
      },
      "typeOptions": {
        "minValue": -90,
        "maxValue": 90
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Name and Address",
          "name": "nameAndAddress",
          "values": [
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "location.name"
                }
              }
            },
            {
              "displayName": "Address",
              "name": "address",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "location.address"
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "location"
          ]
        }
      }
    },
    {
      "displayName": "Text Body",
      "name": "textBody",
      "type": "string",
      "default": "",
      "description": "The body of the message (max 4096 characters)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Take Audio From",
      "name": "mediaPath",
      "type": "options",
      "default": "useMediaLink",
      "description": "Use a link, an ID, or n8n to upload an audio file",
      "options": [
        {
          "name": "Link",
          "value": "useMediaLink",
          "description": "WhatsApp will download the audio, saving you the step of uploading audio yourself"
        },
        {
          "name": "WhatsApp Media",
          "value": "useMediaId",
          "description": "If you have already uploaded the audio to WhatsApp"
        },
        {
          "name": "n8n",
          "value": "useMedian8n",
          "description": "Use binary data passed into this node"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "audio"
          ]
        }
      }
    },
    {
      "displayName": "Take Document From",
      "name": "mediaPath",
      "type": "options",
      "default": "useMediaLink",
      "description": "Use a link, an ID, or n8n to upload a document",
      "options": [
        {
          "name": "Link",
          "value": "useMediaLink",
          "description": "When using a link, WhatsApp will download the document, saving you the step of uploading document yourself"
        },
        {
          "name": "WhatsApp Media",
          "value": "useMediaId",
          "description": "You can use an ID if you have already uploaded the document to WhatsApp"
        },
        {
          "name": "n8n",
          "value": "useMedian8n",
          "description": "Upload a binary file on the item being processed in n8n"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "document"
          ]
        }
      }
    },
    {
      "displayName": "Take Image From",
      "name": "mediaPath",
      "type": "options",
      "default": "useMediaLink",
      "description": "Use a link, an ID, or n8n to upload an image",
      "options": [
        {
          "name": "Link",
          "value": "useMediaLink",
          "description": "When using a link, WhatsApp will download the image, saving you the step of uploading image yourself"
        },
        {
          "name": "WhatsApp Media",
          "value": "useMediaId",
          "description": "You can use an ID if you have already uploaded the image to WhatsApp"
        },
        {
          "name": "n8n",
          "value": "useMedian8n",
          "description": "Upload a binary file on the item being processed in n8n"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "image"
          ]
        }
      }
    },
    {
      "displayName": "Take Video From",
      "name": "mediaPath",
      "type": "options",
      "default": "useMediaLink",
      "description": "Use a link, an ID, or n8n to upload a video",
      "options": [
        {
          "name": "Link",
          "value": "useMediaLink",
          "description": "When using a link, WhatsApp will download the video, saving you the step of uploading video yourself"
        },
        {
          "name": "WhatsApp Media",
          "value": "useMediaId",
          "description": "You can use an ID if you have already uploaded the video to WhatsApp"
        },
        {
          "name": "n8n",
          "value": "useMedian8n",
          "description": "Upload a binary file on the item being processed in n8n"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "video"
          ]
        }
      }
    },
    {
      "displayName": "Link",
      "name": "mediaLink",
      "type": "string",
      "default": "",
      "description": "Link of the media to be sent",
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "image",
            "video",
            "audio",
            "sticker",
            "document"
          ],
          "mediaPath": [
            "useMediaLink"
          ]
        }
      }
    },
    {
      "displayName": "ID",
      "name": "mediaId",
      "type": "string",
      "default": "",
      "description": "ID of the media to be sent",
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "image",
            "video",
            "audio",
            "sticker",
            "document"
          ],
          "mediaPath": [
            "useMediaId"
          ]
        }
      }
    },
    {
      "displayName": "Input Data Field Name",
      "name": "mediaPropertyName",
      "type": "string",
      "default": "data",
      "description": "The name of the input field containing the binary file data to be uploaded",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "image",
            "video",
            "audio",
            "sticker",
            "document"
          ],
          "mediaPath": [
            "useMedian8n"
          ]
        }
      }
    },
    {
      "displayName": "Filename",
      "name": "mediaFilename",
      "type": "string",
      "default": "",
      "description": "The name of the file (required when using a file ID)",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "document"
          ],
          "mediaPath": [
            "useMediaId"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filename",
          "name": "mediaFilename",
          "type": "string",
          "default": "",
          "description": "The name of the file",
          "routing": {
            "send": {
              "type": "body",
              "property": "={{$parameter[\"messageType\"]}}.filename"
            }
          },
          "displayOptions": {
            "show": {
              "/messageType": [
                "document"
              ]
            }
          }
        },
        {
          "displayName": "Caption",
          "name": "mediaCaption",
          "type": "string",
          "default": "",
          "description": "The caption of the media",
          "routing": {
            "send": {
              "type": "body",
              "property": "={{$parameter[\"messageType\"]}}.caption"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "image",
            "video",
            "audio",
            "sticker",
            "document"
          ]
        }
      }
    },
    {
      "displayName": "Template",
      "name": "template",
      "type": "options",
      "default": "",
      "description": "Name of the template",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "sendTemplate"
          ],
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "url": "={{$credentials.businessAccountId}}/message_templates",
              "method": "GET"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.name}} - {{$responseItem.language}}",
                    "value": "={{$responseItem.name}}|{{$responseItem.language}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Components",
      "name": "components",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "component",
          "displayName": "Component",
          "values": [
            {
              "displayName": "Type",
              "name": "type",
              "type": "options",
              "options": [
                {
                  "name": "Body",
                  "value": "body"
                },
                {
                  "name": "Button",
                  "value": "button"
                },
                {
                  "name": "Header",
                  "value": "header"
                }
              ],
              "default": "body"
            },
            {
              "displayName": "Parameters",
              "name": "bodyParameters",
              "type": "fixedCollection",
              "typeOptions": {
                "sortable": true,
                "multipleValues": true
              },
              "displayOptions": {
                "show": {
                  "type": [
                    "body"
                  ]
                }
              },
              "placeholder": "Add Parameter",
              "default": {},
              "options": [
                {
                  "displayName": "Parameter",
                  "name": "parameter",
                  "values": [
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "options",
                      "options": [
                        {
                          "name": "Text",
                          "value": "text"
                        },
                        {
                          "name": "Currency",
                          "value": "currency"
                        },
                        {
                          "name": "Date Time",
                          "value": "date_time"
                        }
                      ],
                      "default": "text"
                    },
                    {
                      "displayName": "Text",
                      "name": "text",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "text"
                          ]
                        }
                      },
                      "default": ""
                    },
                    {
                      "displayName": "Currency Code",
                      "name": "code",
                      "type": "options",
                      "options": [
                        {
                          "name": "AED - UAE Dirham",
                          "value": "AED"
                        },
                        {
                          "name": "AFN - Afghani",
                          "value": "AFN"
                        },
                        {
                          "name": "ALL - Lek",
                          "value": "ALL"
                        },
                        {
                          "name": "AMD - Armenian Dram",
                          "value": "AMD"
                        },
                        {
                          "name": "ANG - Netherlands Antillean Guilder",
                          "value": "ANG"
                        },
                        {
                          "name": "AOA - Kwanza",
                          "value": "AOA"
                        },
                        {
                          "name": "ARS - Argentine Peso",
                          "value": "ARS"
                        },
                        {
                          "name": "AUD - Australian Dollar",
                          "value": "AUD"
                        },
                        {
                          "name": "AWG - Aruban Florin",
                          "value": "AWG"
                        },
                        {
                          "name": "AZN - Azerbaijan Manat",
                          "value": "AZN"
                        },
                        {
                          "name": "BAM - Convertible Mark",
                          "value": "BAM"
                        },
                        {
                          "name": "BBD - Barbados Dollar",
                          "value": "BBD"
                        },
                        {
                          "name": "BDT - Taka",
                          "value": "BDT"
                        },
                        {
                          "name": "BGN - Bulgarian Lev",
                          "value": "BGN"
                        },
                        {
                          "name": "BHD - Bahraini Dinar",
                          "value": "BHD"
                        },
                        {
                          "name": "BIF - Burundi Franc",
                          "value": "BIF"
                        },
                        {
                          "name": "BMD - Bermudian Dollar",
                          "value": "BMD"
                        },
                        {
                          "name": "BND - Brunei Dollar",
                          "value": "BND"
                        },
                        {
                          "name": "BOB - Boliviano",
                          "value": "BOB"
                        },
                        {
                          "name": "BOV - Mvdol",
                          "value": "BOV"
                        },
                        {
                          "name": "BRL - Brazilian Real",
                          "value": "BRL"
                        },
                        {
                          "name": "BSD - Bahamian Dollar",
                          "value": "BSD"
                        },
                        {
                          "name": "BTN - Ngultrum",
                          "value": "BTN"
                        },
                        {
                          "name": "BWP - Pula",
                          "value": "BWP"
                        },
                        {
                          "name": "BYN - Belarusian Ruble",
                          "value": "BYN"
                        },
                        {
                          "name": "BZD - Belize Dollar",
                          "value": "BZD"
                        },
                        {
                          "name": "CAD - Canadian Dollar",
                          "value": "CAD"
                        },
                        {
                          "name": "CDF - Congolese Franc",
                          "value": "CDF"
                        },
                        {
                          "name": "CHE - WIR Euro",
                          "value": "CHE"
                        },
                        {
                          "name": "CHF - Swiss Franc",
                          "value": "CHF"
                        },
                        {
                          "name": "CHW - WIR Franc",
                          "value": "CHW"
                        },
                        {
                          "name": "CLF - Unidad de Fomento",
                          "value": "CLF"
                        },
                        {
                          "name": "CLP - Chilean Peso",
                          "value": "CLP"
                        },
                        {
                          "name": "CNY - Yuan Renminbi",
                          "value": "CNY"
                        },
                        {
                          "name": "COP - Colombian Peso",
                          "value": "COP"
                        },
                        {
                          "name": "COU - Unidad de Valor Real",
                          "value": "COU"
                        },
                        {
                          "name": "CRC - Costa Rican Colon",
                          "value": "CRC"
                        },
                        {
                          "name": "CUC - Peso Convertible",
                          "value": "CUC"
                        },
                        {
                          "name": "CUP - Cuban Peso",
                          "value": "CUP"
                        },
                        {
                          "name": "CVE - Cabo Verde Escudo",
                          "value": "CVE"
                        },
                        {
                          "name": "CZK - Czech Koruna",
                          "value": "CZK"
                        },
                        {
                          "name": "DJF - Djibouti Franc",
                          "value": "DJF"
                        },
                        {
                          "name": "DKK - Danish Krone",
                          "value": "DKK"
                        },
                        {
                          "name": "DOP - Dominican Peso",
                          "value": "DOP"
                        },
                        {
                          "name": "DZD - Algerian Dinar",
                          "value": "DZD"
                        },
                        {
                          "name": "EGP - Egyptian Pound",
                          "value": "EGP"
                        },
                        {
                          "name": "ERN - Nakfa",
                          "value": "ERN"
                        },
                        {
                          "name": "ETB - Ethiopian Birr",
                          "value": "ETB"
                        },
                        {
                          "name": "EUR - Euro",
                          "value": "EUR"
                        },
                        {
                          "name": "FJD - Fiji Dollar",
                          "value": "FJD"
                        },
                        {
                          "name": "FKP - Falkland Islands Pound",
                          "value": "FKP"
                        },
                        {
                          "name": "GBP - Pound Sterling",
                          "value": "GBP"
                        },
                        {
                          "name": "GEL - Lari",
                          "value": "GEL"
                        },
                        {
                          "name": "GHS - Ghana Cedi",
                          "value": "GHS"
                        },
                        {
                          "name": "GIP - Gibraltar Pound",
                          "value": "GIP"
                        },
                        {
                          "name": "GMD - Dalasi",
                          "value": "GMD"
                        },
                        {
                          "name": "GNF - Guinean Franc",
                          "value": "GNF"
                        },
                        {
                          "name": "GTQ - Quetzal",
                          "value": "GTQ"
                        },
                        {
                          "name": "GYD - Guyana Dollar",
                          "value": "GYD"
                        },
                        {
                          "name": "HKD - Hong Kong Dollar",
                          "value": "HKD"
                        },
                        {
                          "name": "HNL - Lempira",
                          "value": "HNL"
                        },
                        {
                          "name": "HRK - Kuna",
                          "value": "HRK"
                        },
                        {
                          "name": "HTG - Gourde",
                          "value": "HTG"
                        },
                        {
                          "name": "HUF - Forint",
                          "value": "HUF"
                        },
                        {
                          "name": "IDR - Rupiah",
                          "value": "IDR"
                        },
                        {
                          "name": "ILS - New Israeli Sheqel",
                          "value": "ILS"
                        },
                        {
                          "name": "INR - Indian Rupee",
                          "value": "INR"
                        },
                        {
                          "name": "IQD - Iraqi Dinar",
                          "value": "IQD"
                        },
                        {
                          "name": "IRR - Iranian Rial",
                          "value": "IRR"
                        },
                        {
                          "name": "ISK - Iceland Krona",
                          "value": "ISK"
                        },
                        {
                          "name": "JMD - Jamaican Dollar",
                          "value": "JMD"
                        },
                        {
                          "name": "JOD - Jordanian Dinar",
                          "value": "JOD"
                        },
                        {
                          "name": "JPY - Yen",
                          "value": "JPY"
                        },
                        {
                          "name": "KES - Kenyan Shilling",
                          "value": "KES"
                        },
                        {
                          "name": "KGS - Som",
                          "value": "KGS"
                        },
                        {
                          "name": "KHR - Riel",
                          "value": "KHR"
                        },
                        {
                          "name": "KMF - Comorian Franc ",
                          "value": "KMF"
                        },
                        {
                          "name": "KPW - North Korean Won",
                          "value": "KPW"
                        },
                        {
                          "name": "KRW - Won",
                          "value": "KRW"
                        },
                        {
                          "name": "KWD - Kuwaiti Dinar",
                          "value": "KWD"
                        },
                        {
                          "name": "KYD - Cayman Islands Dollar",
                          "value": "KYD"
                        },
                        {
                          "name": "KZT - Tenge",
                          "value": "KZT"
                        },
                        {
                          "name": "LAK - Lao Kip",
                          "value": "LAK"
                        },
                        {
                          "name": "LBP - Lebanese Pound",
                          "value": "LBP"
                        },
                        {
                          "name": "LKR - Sri Lanka Rupee",
                          "value": "LKR"
                        },
                        {
                          "name": "LRD - Liberian Dollar",
                          "value": "LRD"
                        },
                        {
                          "name": "LSL - Loti",
                          "value": "LSL"
                        },
                        {
                          "name": "LYD - Libyan Dinar",
                          "value": "LYD"
                        },
                        {
                          "name": "MAD - Moroccan Dirham",
                          "value": "MAD"
                        },
                        {
                          "name": "MDL - Moldovan Leu",
                          "value": "MDL"
                        },
                        {
                          "name": "MGA - Malagasy Ariary",
                          "value": "MGA"
                        },
                        {
                          "name": "MKD - Denar",
                          "value": "MKD"
                        },
                        {
                          "name": "MMK - Kyat",
                          "value": "MMK"
                        },
                        {
                          "name": "MNT - Tugrik",
                          "value": "MNT"
                        },
                        {
                          "name": "MOP - Pataca",
                          "value": "MOP"
                        },
                        {
                          "name": "MRU - Ouguiya",
                          "value": "MRU"
                        },
                        {
                          "name": "MUR - Mauritius Rupee",
                          "value": "MUR"
                        },
                        {
                          "name": "MVR - Rufiyaa",
                          "value": "MVR"
                        },
                        {
                          "name": "MWK - Malawi Kwacha",
                          "value": "MWK"
                        },
                        {
                          "name": "MXN - Mexican Peso",
                          "value": "MXN"
                        },
                        {
                          "name": "MXV - Mexican Unidad de Inversion (UDI)",
                          "value": "MXV"
                        },
                        {
                          "name": "MYR - Malaysian Ringgit",
                          "value": "MYR"
                        },
                        {
                          "name": "MZN - Mozambique Metical",
                          "value": "MZN"
                        },
                        {
                          "name": "NAD - Namibia Dollar",
                          "value": "NAD"
                        },
                        {
                          "name": "NGN - Naira",
                          "value": "NGN"
                        },
                        {
                          "name": "NIO - Cordoba Oro",
                          "value": "NIO"
                        },
                        {
                          "name": "NOK - Norwegian Krone",
                          "value": "NOK"
                        },
                        {
                          "name": "NPR - Nepalese Rupee",
                          "value": "NPR"
                        },
                        {
                          "name": "NZD - New Zealand Dollar",
                          "value": "NZD"
                        },
                        {
                          "name": "OMR - Rial Omani",
                          "value": "OMR"
                        },
                        {
                          "name": "PAB - Balboa",
                          "value": "PAB"
                        },
                        {
                          "name": "PEN - Sol",
                          "value": "PEN"
                        },
                        {
                          "name": "PGK - Kina",
                          "value": "PGK"
                        },
                        {
                          "name": "PHP - Philippine Peso",
                          "value": "PHP"
                        },
                        {
                          "name": "PKR - Pakistan Rupee",
                          "value": "PKR"
                        },
                        {
                          "name": "PLN - Zloty",
                          "value": "PLN"
                        },
                        {
                          "name": "PYG - Guarani",
                          "value": "PYG"
                        },
                        {
                          "name": "QAR - Qatari Rial",
                          "value": "QAR"
                        },
                        {
                          "name": "RON - Romanian Leu",
                          "value": "RON"
                        },
                        {
                          "name": "RSD - Serbian Dinar",
                          "value": "RSD"
                        },
                        {
                          "name": "RUB - Russian Ruble",
                          "value": "RUB"
                        },
                        {
                          "name": "RWF - Rwanda Franc",
                          "value": "RWF"
                        },
                        {
                          "name": "SAR - Saudi Riyal",
                          "value": "SAR"
                        },
                        {
                          "name": "SBD - Solomon Islands Dollar",
                          "value": "SBD"
                        },
                        {
                          "name": "SCR - Seychelles Rupee",
                          "value": "SCR"
                        },
                        {
                          "name": "SDG - Sudanese Pound",
                          "value": "SDG"
                        },
                        {
                          "name": "SEK - Swedish Krona",
                          "value": "SEK"
                        },
                        {
                          "name": "SGD - Singapore Dollar",
                          "value": "SGD"
                        },
                        {
                          "name": "SHP - Saint Helena Pound",
                          "value": "SHP"
                        },
                        {
                          "name": "SLL - Leone",
                          "value": "SLL"
                        },
                        {
                          "name": "SOS - Somali Shilling",
                          "value": "SOS"
                        },
                        {
                          "name": "SRD - Surinam Dollar",
                          "value": "SRD"
                        },
                        {
                          "name": "SSP - South Sudanese Pound",
                          "value": "SSP"
                        },
                        {
                          "name": "STN - Dobra",
                          "value": "STN"
                        },
                        {
                          "name": "SVC - El Salvador Colon",
                          "value": "SVC"
                        },
                        {
                          "name": "SYP - Syrian Pound",
                          "value": "SYP"
                        },
                        {
                          "name": "SZL - Lilangeni",
                          "value": "SZL"
                        },
                        {
                          "name": "THB - Baht",
                          "value": "THB"
                        },
                        {
                          "name": "TJS - Somoni",
                          "value": "TJS"
                        },
                        {
                          "name": "TMT - Turkmenistan New Manat",
                          "value": "TMT"
                        },
                        {
                          "name": "TND - Tunisian Dinar",
                          "value": "TND"
                        },
                        {
                          "name": "TOP - Pa’anga",
                          "value": "TOP"
                        },
                        {
                          "name": "TRY - Turkish Lira",
                          "value": "TRY"
                        },
                        {
                          "name": "TTD - Trinidad and Tobago Dollar",
                          "value": "TTD"
                        },
                        {
                          "name": "TWD - New Taiwan Dollar",
                          "value": "TWD"
                        },
                        {
                          "name": "TZS - Tanzanian Shilling",
                          "value": "TZS"
                        },
                        {
                          "name": "UAH - Hryvnia",
                          "value": "UAH"
                        },
                        {
                          "name": "UGX - Uganda Shilling",
                          "value": "UGX"
                        },
                        {
                          "name": "USD - US Dollar",
                          "value": "USD"
                        },
                        {
                          "name": "USN - US Dollar (Next day)",
                          "value": "USN"
                        },
                        {
                          "name": "UYI - Uruguay Peso en Unidades Indexadas (UI)",
                          "value": "UYI"
                        },
                        {
                          "name": "UYU - Peso Uruguayo",
                          "value": "UYU"
                        },
                        {
                          "name": "UYW - Unidad Previsional",
                          "value": "UYW"
                        },
                        {
                          "name": "UZS - Uzbekistan Sum",
                          "value": "UZS"
                        },
                        {
                          "name": "VES - Bolívar Soberano",
                          "value": "VES"
                        },
                        {
                          "name": "VND - Dong",
                          "value": "VND"
                        },
                        {
                          "name": "VUV - Vatu",
                          "value": "VUV"
                        },
                        {
                          "name": "WST - Tala",
                          "value": "WST"
                        },
                        {
                          "name": "XAF - CFA Franc BEAC",
                          "value": "XAF"
                        },
                        {
                          "name": "XAG - Silver",
                          "value": "XAG"
                        },
                        {
                          "name": "XAU - Gold",
                          "value": "XAU"
                        },
                        {
                          "name": "XBA - Bond Markets Unit European Composite Unit (EURCO)",
                          "value": "XBA"
                        },
                        {
                          "name": "XBB - Bond Markets Unit European Monetary Unit (E.M.U.-6)",
                          "value": "XBB"
                        },
                        {
                          "name": "XBC - Bond Markets Unit European Unit of Account 9 (E.U.A.-9)",
                          "value": "XBC"
                        },
                        {
                          "name": "XBD - Bond Markets Unit European Unit of Account 17 (E.U.A.-17)",
                          "value": "XBD"
                        },
                        {
                          "name": "XCD - East Caribbean Dollar",
                          "value": "XCD"
                        },
                        {
                          "name": "XDR - SDR (Special Drawing Right)",
                          "value": "XDR"
                        },
                        {
                          "name": "XOF - CFA Franc BCEAO",
                          "value": "XOF"
                        },
                        {
                          "name": "XPD - Palladium",
                          "value": "XPD"
                        },
                        {
                          "name": "XPF - CFP Franc",
                          "value": "XPF"
                        },
                        {
                          "name": "XPT - Platinum",
                          "value": "XPT"
                        },
                        {
                          "name": "XSU - Sucre",
                          "value": "XSU"
                        },
                        {
                          "name": "XTS - Codes specifically reserved for testing purposes",
                          "value": "XTS"
                        },
                        {
                          "name": "XUA - ADB Unit of Account",
                          "value": "XUA"
                        },
                        {
                          "name": "XXX - The codes assigned for transactions where no currency is involved",
                          "value": "XXX"
                        },
                        {
                          "name": "YER - Yemeni Rial",
                          "value": "YER"
                        },
                        {
                          "name": "ZAR - Rand",
                          "value": "ZAR"
                        },
                        {
                          "name": "ZMW - Zambian Kwacha",
                          "value": "ZMW"
                        },
                        {
                          "name": "ZWL - Zimbabwe Dollar",
                          "value": "ZWL"
                        }
                      ],
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": "USD"
                    },
                    {
                      "displayName": "Amount",
                      "name": "amount_1000",
                      "type": "number",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": ""
                    },
                    {
                      "displayName": "Date Time",
                      "name": "date_time",
                      "type": "dateTime",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "date_time"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": ""
                    },
                    {
                      "displayName": "Fallback Value",
                      "name": "fallback_value",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Sub Type",
              "name": "sub_type",
              "type": "options",
              "displayOptions": {
                "show": {
                  "type": [
                    "button"
                  ]
                }
              },
              "options": [
                {
                  "name": "Quick Reply",
                  "value": "quick_reply",
                  "description": "Allows your customer to call a phone number and visit a website"
                },
                {
                  "name": "URL",
                  "value": "url"
                }
              ],
              "default": "quick_reply"
            },
            {
              "displayName": "Index",
              "name": "index",
              "type": "number",
              "typeOptions": {
                "maxValue": 2,
                "minValue": 0
              },
              "displayOptions": {
                "show": {
                  "type": [
                    "button"
                  ]
                }
              },
              "default": 0
            },
            {
              "displayName": "Parameters",
              "name": "buttonParameters",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "displayOptions": {
                "show": {
                  "type": [
                    "button"
                  ]
                }
              },
              "placeholder": "Add Parameter",
              "default": {},
              "options": [
                {
                  "displayName": "Parameter",
                  "name": "parameter",
                  "values": [
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "options",
                      "options": [
                        {
                          "name": "Payload",
                          "value": "payload"
                        },
                        {
                          "name": "Text",
                          "value": "text"
                        }
                      ],
                      "default": "payload"
                    },
                    {
                      "displayName": "Payload",
                      "name": "payload",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "payload"
                          ]
                        }
                      },
                      "default": ""
                    },
                    {
                      "displayName": "Text",
                      "name": "text",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "text"
                          ]
                        }
                      },
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Parameters",
              "name": "headerParameters",
              "type": "fixedCollection",
              "typeOptions": {
                "sortable": true,
                "multipleValues": true
              },
              "displayOptions": {
                "show": {
                  "type": [
                    "header"
                  ]
                }
              },
              "placeholder": "Add Parameter",
              "default": {},
              "options": [
                {
                  "displayName": "Parameter",
                  "name": "parameter",
                  "values": [
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "options",
                      "options": [
                        {
                          "name": "Text",
                          "value": "text"
                        },
                        {
                          "name": "Currency",
                          "value": "currency"
                        },
                        {
                          "name": "Date Time",
                          "value": "date_time"
                        },
                        {
                          "name": "Image",
                          "value": "image"
                        }
                      ],
                      "default": "text"
                    },
                    {
                      "displayName": "Text",
                      "name": "text",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "text"
                          ]
                        }
                      },
                      "default": ""
                    },
                    {
                      "displayName": "Currency Code",
                      "name": "code",
                      "type": "options",
                      "options": [
                        {
                          "name": "AED - UAE Dirham",
                          "value": "AED"
                        },
                        {
                          "name": "AFN - Afghani",
                          "value": "AFN"
                        },
                        {
                          "name": "ALL - Lek",
                          "value": "ALL"
                        },
                        {
                          "name": "AMD - Armenian Dram",
                          "value": "AMD"
                        },
                        {
                          "name": "ANG - Netherlands Antillean Guilder",
                          "value": "ANG"
                        },
                        {
                          "name": "AOA - Kwanza",
                          "value": "AOA"
                        },
                        {
                          "name": "ARS - Argentine Peso",
                          "value": "ARS"
                        },
                        {
                          "name": "AUD - Australian Dollar",
                          "value": "AUD"
                        },
                        {
                          "name": "AWG - Aruban Florin",
                          "value": "AWG"
                        },
                        {
                          "name": "AZN - Azerbaijan Manat",
                          "value": "AZN"
                        },
                        {
                          "name": "BAM - Convertible Mark",
                          "value": "BAM"
                        },
                        {
                          "name": "BBD - Barbados Dollar",
                          "value": "BBD"
                        },
                        {
                          "name": "BDT - Taka",
                          "value": "BDT"
                        },
                        {
                          "name": "BGN - Bulgarian Lev",
                          "value": "BGN"
                        },
                        {
                          "name": "BHD - Bahraini Dinar",
                          "value": "BHD"
                        },
                        {
                          "name": "BIF - Burundi Franc",
                          "value": "BIF"
                        },
                        {
                          "name": "BMD - Bermudian Dollar",
                          "value": "BMD"
                        },
                        {
                          "name": "BND - Brunei Dollar",
                          "value": "BND"
                        },
                        {
                          "name": "BOB - Boliviano",
                          "value": "BOB"
                        },
                        {
                          "name": "BOV - Mvdol",
                          "value": "BOV"
                        },
                        {
                          "name": "BRL - Brazilian Real",
                          "value": "BRL"
                        },
                        {
                          "name": "BSD - Bahamian Dollar",
                          "value": "BSD"
                        },
                        {
                          "name": "BTN - Ngultrum",
                          "value": "BTN"
                        },
                        {
                          "name": "BWP - Pula",
                          "value": "BWP"
                        },
                        {
                          "name": "BYN - Belarusian Ruble",
                          "value": "BYN"
                        },
                        {
                          "name": "BZD - Belize Dollar",
                          "value": "BZD"
                        },
                        {
                          "name": "CAD - Canadian Dollar",
                          "value": "CAD"
                        },
                        {
                          "name": "CDF - Congolese Franc",
                          "value": "CDF"
                        },
                        {
                          "name": "CHE - WIR Euro",
                          "value": "CHE"
                        },
                        {
                          "name": "CHF - Swiss Franc",
                          "value": "CHF"
                        },
                        {
                          "name": "CHW - WIR Franc",
                          "value": "CHW"
                        },
                        {
                          "name": "CLF - Unidad de Fomento",
                          "value": "CLF"
                        },
                        {
                          "name": "CLP - Chilean Peso",
                          "value": "CLP"
                        },
                        {
                          "name": "CNY - Yuan Renminbi",
                          "value": "CNY"
                        },
                        {
                          "name": "COP - Colombian Peso",
                          "value": "COP"
                        },
                        {
                          "name": "COU - Unidad de Valor Real",
                          "value": "COU"
                        },
                        {
                          "name": "CRC - Costa Rican Colon",
                          "value": "CRC"
                        },
                        {
                          "name": "CUC - Peso Convertible",
                          "value": "CUC"
                        },
                        {
                          "name": "CUP - Cuban Peso",
                          "value": "CUP"
                        },
                        {
                          "name": "CVE - Cabo Verde Escudo",
                          "value": "CVE"
                        },
                        {
                          "name": "CZK - Czech Koruna",
                          "value": "CZK"
                        },
                        {
                          "name": "DJF - Djibouti Franc",
                          "value": "DJF"
                        },
                        {
                          "name": "DKK - Danish Krone",
                          "value": "DKK"
                        },
                        {
                          "name": "DOP - Dominican Peso",
                          "value": "DOP"
                        },
                        {
                          "name": "DZD - Algerian Dinar",
                          "value": "DZD"
                        },
                        {
                          "name": "EGP - Egyptian Pound",
                          "value": "EGP"
                        },
                        {
                          "name": "ERN - Nakfa",
                          "value": "ERN"
                        },
                        {
                          "name": "ETB - Ethiopian Birr",
                          "value": "ETB"
                        },
                        {
                          "name": "EUR - Euro",
                          "value": "EUR"
                        },
                        {
                          "name": "FJD - Fiji Dollar",
                          "value": "FJD"
                        },
                        {
                          "name": "FKP - Falkland Islands Pound",
                          "value": "FKP"
                        },
                        {
                          "name": "GBP - Pound Sterling",
                          "value": "GBP"
                        },
                        {
                          "name": "GEL - Lari",
                          "value": "GEL"
                        },
                        {
                          "name": "GHS - Ghana Cedi",
                          "value": "GHS"
                        },
                        {
                          "name": "GIP - Gibraltar Pound",
                          "value": "GIP"
                        },
                        {
                          "name": "GMD - Dalasi",
                          "value": "GMD"
                        },
                        {
                          "name": "GNF - Guinean Franc",
                          "value": "GNF"
                        },
                        {
                          "name": "GTQ - Quetzal",
                          "value": "GTQ"
                        },
                        {
                          "name": "GYD - Guyana Dollar",
                          "value": "GYD"
                        },
                        {
                          "name": "HKD - Hong Kong Dollar",
                          "value": "HKD"
                        },
                        {
                          "name": "HNL - Lempira",
                          "value": "HNL"
                        },
                        {
                          "name": "HRK - Kuna",
                          "value": "HRK"
                        },
                        {
                          "name": "HTG - Gourde",
                          "value": "HTG"
                        },
                        {
                          "name": "HUF - Forint",
                          "value": "HUF"
                        },
                        {
                          "name": "IDR - Rupiah",
                          "value": "IDR"
                        },
                        {
                          "name": "ILS - New Israeli Sheqel",
                          "value": "ILS"
                        },
                        {
                          "name": "INR - Indian Rupee",
                          "value": "INR"
                        },
                        {
                          "name": "IQD - Iraqi Dinar",
                          "value": "IQD"
                        },
                        {
                          "name": "IRR - Iranian Rial",
                          "value": "IRR"
                        },
                        {
                          "name": "ISK - Iceland Krona",
                          "value": "ISK"
                        },
                        {
                          "name": "JMD - Jamaican Dollar",
                          "value": "JMD"
                        },
                        {
                          "name": "JOD - Jordanian Dinar",
                          "value": "JOD"
                        },
                        {
                          "name": "JPY - Yen",
                          "value": "JPY"
                        },
                        {
                          "name": "KES - Kenyan Shilling",
                          "value": "KES"
                        },
                        {
                          "name": "KGS - Som",
                          "value": "KGS"
                        },
                        {
                          "name": "KHR - Riel",
                          "value": "KHR"
                        },
                        {
                          "name": "KMF - Comorian Franc ",
                          "value": "KMF"
                        },
                        {
                          "name": "KPW - North Korean Won",
                          "value": "KPW"
                        },
                        {
                          "name": "KRW - Won",
                          "value": "KRW"
                        },
                        {
                          "name": "KWD - Kuwaiti Dinar",
                          "value": "KWD"
                        },
                        {
                          "name": "KYD - Cayman Islands Dollar",
                          "value": "KYD"
                        },
                        {
                          "name": "KZT - Tenge",
                          "value": "KZT"
                        },
                        {
                          "name": "LAK - Lao Kip",
                          "value": "LAK"
                        },
                        {
                          "name": "LBP - Lebanese Pound",
                          "value": "LBP"
                        },
                        {
                          "name": "LKR - Sri Lanka Rupee",
                          "value": "LKR"
                        },
                        {
                          "name": "LRD - Liberian Dollar",
                          "value": "LRD"
                        },
                        {
                          "name": "LSL - Loti",
                          "value": "LSL"
                        },
                        {
                          "name": "LYD - Libyan Dinar",
                          "value": "LYD"
                        },
                        {
                          "name": "MAD - Moroccan Dirham",
                          "value": "MAD"
                        },
                        {
                          "name": "MDL - Moldovan Leu",
                          "value": "MDL"
                        },
                        {
                          "name": "MGA - Malagasy Ariary",
                          "value": "MGA"
                        },
                        {
                          "name": "MKD - Denar",
                          "value": "MKD"
                        },
                        {
                          "name": "MMK - Kyat",
                          "value": "MMK"
                        },
                        {
                          "name": "MNT - Tugrik",
                          "value": "MNT"
                        },
                        {
                          "name": "MOP - Pataca",
                          "value": "MOP"
                        },
                        {
                          "name": "MRU - Ouguiya",
                          "value": "MRU"
                        },
                        {
                          "name": "MUR - Mauritius Rupee",
                          "value": "MUR"
                        },
                        {
                          "name": "MVR - Rufiyaa",
                          "value": "MVR"
                        },
                        {
                          "name": "MWK - Malawi Kwacha",
                          "value": "MWK"
                        },
                        {
                          "name": "MXN - Mexican Peso",
                          "value": "MXN"
                        },
                        {
                          "name": "MXV - Mexican Unidad de Inversion (UDI)",
                          "value": "MXV"
                        },
                        {
                          "name": "MYR - Malaysian Ringgit",
                          "value": "MYR"
                        },
                        {
                          "name": "MZN - Mozambique Metical",
                          "value": "MZN"
                        },
                        {
                          "name": "NAD - Namibia Dollar",
                          "value": "NAD"
                        },
                        {
                          "name": "NGN - Naira",
                          "value": "NGN"
                        },
                        {
                          "name": "NIO - Cordoba Oro",
                          "value": "NIO"
                        },
                        {
                          "name": "NOK - Norwegian Krone",
                          "value": "NOK"
                        },
                        {
                          "name": "NPR - Nepalese Rupee",
                          "value": "NPR"
                        },
                        {
                          "name": "NZD - New Zealand Dollar",
                          "value": "NZD"
                        },
                        {
                          "name": "OMR - Rial Omani",
                          "value": "OMR"
                        },
                        {
                          "name": "PAB - Balboa",
                          "value": "PAB"
                        },
                        {
                          "name": "PEN - Sol",
                          "value": "PEN"
                        },
                        {
                          "name": "PGK - Kina",
                          "value": "PGK"
                        },
                        {
                          "name": "PHP - Philippine Peso",
                          "value": "PHP"
                        },
                        {
                          "name": "PKR - Pakistan Rupee",
                          "value": "PKR"
                        },
                        {
                          "name": "PLN - Zloty",
                          "value": "PLN"
                        },
                        {
                          "name": "PYG - Guarani",
                          "value": "PYG"
                        },
                        {
                          "name": "QAR - Qatari Rial",
                          "value": "QAR"
                        },
                        {
                          "name": "RON - Romanian Leu",
                          "value": "RON"
                        },
                        {
                          "name": "RSD - Serbian Dinar",
                          "value": "RSD"
                        },
                        {
                          "name": "RUB - Russian Ruble",
                          "value": "RUB"
                        },
                        {
                          "name": "RWF - Rwanda Franc",
                          "value": "RWF"
                        },
                        {
                          "name": "SAR - Saudi Riyal",
                          "value": "SAR"
                        },
                        {
                          "name": "SBD - Solomon Islands Dollar",
                          "value": "SBD"
                        },
                        {
                          "name": "SCR - Seychelles Rupee",
                          "value": "SCR"
                        },
                        {
                          "name": "SDG - Sudanese Pound",
                          "value": "SDG"
                        },
                        {
                          "name": "SEK - Swedish Krona",
                          "value": "SEK"
                        },
                        {
                          "name": "SGD - Singapore Dollar",
                          "value": "SGD"
                        },
                        {
                          "name": "SHP - Saint Helena Pound",
                          "value": "SHP"
                        },
                        {
                          "name": "SLL - Leone",
                          "value": "SLL"
                        },
                        {
                          "name": "SOS - Somali Shilling",
                          "value": "SOS"
                        },
                        {
                          "name": "SRD - Surinam Dollar",
                          "value": "SRD"
                        },
                        {
                          "name": "SSP - South Sudanese Pound",
                          "value": "SSP"
                        },
                        {
                          "name": "STN - Dobra",
                          "value": "STN"
                        },
                        {
                          "name": "SVC - El Salvador Colon",
                          "value": "SVC"
                        },
                        {
                          "name": "SYP - Syrian Pound",
                          "value": "SYP"
                        },
                        {
                          "name": "SZL - Lilangeni",
                          "value": "SZL"
                        },
                        {
                          "name": "THB - Baht",
                          "value": "THB"
                        },
                        {
                          "name": "TJS - Somoni",
                          "value": "TJS"
                        },
                        {
                          "name": "TMT - Turkmenistan New Manat",
                          "value": "TMT"
                        },
                        {
                          "name": "TND - Tunisian Dinar",
                          "value": "TND"
                        },
                        {
                          "name": "TOP - Pa’anga",
                          "value": "TOP"
                        },
                        {
                          "name": "TRY - Turkish Lira",
                          "value": "TRY"
                        },
                        {
                          "name": "TTD - Trinidad and Tobago Dollar",
                          "value": "TTD"
                        },
                        {
                          "name": "TWD - New Taiwan Dollar",
                          "value": "TWD"
                        },
                        {
                          "name": "TZS - Tanzanian Shilling",
                          "value": "TZS"
                        },
                        {
                          "name": "UAH - Hryvnia",
                          "value": "UAH"
                        },
                        {
                          "name": "UGX - Uganda Shilling",
                          "value": "UGX"
                        },
                        {
                          "name": "USD - US Dollar",
                          "value": "USD"
                        },
                        {
                          "name": "USN - US Dollar (Next day)",
                          "value": "USN"
                        },
                        {
                          "name": "UYI - Uruguay Peso en Unidades Indexadas (UI)",
                          "value": "UYI"
                        },
                        {
                          "name": "UYU - Peso Uruguayo",
                          "value": "UYU"
                        },
                        {
                          "name": "UYW - Unidad Previsional",
                          "value": "UYW"
                        },
                        {
                          "name": "UZS - Uzbekistan Sum",
                          "value": "UZS"
                        },
                        {
                          "name": "VES - Bolívar Soberano",
                          "value": "VES"
                        },
                        {
                          "name": "VND - Dong",
                          "value": "VND"
                        },
                        {
                          "name": "VUV - Vatu",
                          "value": "VUV"
                        },
                        {
                          "name": "WST - Tala",
                          "value": "WST"
                        },
                        {
                          "name": "XAF - CFA Franc BEAC",
                          "value": "XAF"
                        },
                        {
                          "name": "XAG - Silver",
                          "value": "XAG"
                        },
                        {
                          "name": "XAU - Gold",
                          "value": "XAU"
                        },
                        {
                          "name": "XBA - Bond Markets Unit European Composite Unit (EURCO)",
                          "value": "XBA"
                        },
                        {
                          "name": "XBB - Bond Markets Unit European Monetary Unit (E.M.U.-6)",
                          "value": "XBB"
                        },
                        {
                          "name": "XBC - Bond Markets Unit European Unit of Account 9 (E.U.A.-9)",
                          "value": "XBC"
                        },
                        {
                          "name": "XBD - Bond Markets Unit European Unit of Account 17 (E.U.A.-17)",
                          "value": "XBD"
                        },
                        {
                          "name": "XCD - East Caribbean Dollar",
                          "value": "XCD"
                        },
                        {
                          "name": "XDR - SDR (Special Drawing Right)",
                          "value": "XDR"
                        },
                        {
                          "name": "XOF - CFA Franc BCEAO",
                          "value": "XOF"
                        },
                        {
                          "name": "XPD - Palladium",
                          "value": "XPD"
                        },
                        {
                          "name": "XPF - CFP Franc",
                          "value": "XPF"
                        },
                        {
                          "name": "XPT - Platinum",
                          "value": "XPT"
                        },
                        {
                          "name": "XSU - Sucre",
                          "value": "XSU"
                        },
                        {
                          "name": "XTS - Codes specifically reserved for testing purposes",
                          "value": "XTS"
                        },
                        {
                          "name": "XUA - ADB Unit of Account",
                          "value": "XUA"
                        },
                        {
                          "name": "XXX - The codes assigned for transactions where no currency is involved",
                          "value": "XXX"
                        },
                        {
                          "name": "YER - Yemeni Rial",
                          "value": "YER"
                        },
                        {
                          "name": "ZAR - Rand",
                          "value": "ZAR"
                        },
                        {
                          "name": "ZMW - Zambian Kwacha",
                          "value": "ZMW"
                        },
                        {
                          "name": "ZWL - Zimbabwe Dollar",
                          "value": "ZWL"
                        }
                      ],
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": "USD"
                    },
                    {
                      "displayName": "Amount",
                      "name": "amount_1000",
                      "type": "number",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": ""
                    },
                    {
                      "displayName": "Date Time",
                      "name": "date_time",
                      "type": "dateTime",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "date_time"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": ""
                    },
                    {
                      "displayName": "Image Link",
                      "name": "imageLink",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "image"
                          ]
                        }
                      },
                      "default": ""
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "sendTemplate"
          ],
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Show URL Previews",
          "name": "previewUrl",
          "type": "boolean",
          "default": false,
          "description": "Whether to display URL previews in text messages",
          "routing": {
            "send": {
              "type": "body",
              "property": "text.preview_url"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Sender Phone Number (or ID)",
      "name": "phoneNumberId",
      "type": "options",
      "default": "",
      "description": "The ID of the business account's phone number to store the media",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "mediaUpload"
          ],
          "resource": [
            "media"
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "url": "={{$credentials.businessAccountId}}/phone_numbers",
              "method": "GET"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.display_phone_number}} - {{$responseItem.verified_name}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Property Name",
      "name": "mediaPropertyName",
      "type": "string",
      "default": "data",
      "description": "Name of the binary property which contains the data for the file to be uploaded",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "mediaUpload"
          ],
          "resource": [
            "media"
          ]
        }
      }
    },
    {
      "displayName": "Media ID",
      "name": "mediaGetId",
      "type": "string",
      "default": "",
      "description": "The ID of the media",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "mediaUrlGet"
          ],
          "resource": [
            "media"
          ]
        }
      }
    },
    {
      "displayName": "Media ID",
      "name": "mediaDeleteId",
      "type": "string",
      "default": "",
      "description": "The ID of the media",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "mediaDelete"
          ],
          "resource": [
            "media"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filename",
          "name": "mediaFileName",
          "type": "string",
          "default": "",
          "description": "The name to use for the file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "media"
          ],
          "operation": [
            "mediaUpload"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Response Type",
      "name": "responseType",
      "type": "options",
      "default": "approval",
      "options": [
        {
          "name": "Approval",
          "value": "approval",
          "description": "User can approve/disapprove from within the message"
        },
        {
          "name": "Free Text",
          "value": "freeText",
          "description": "User can submit a response via a form"
        },
        {
          "name": "Custom Form",
          "value": "customForm",
          "description": "User can submit a response via a custom form"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Define Form",
      "name": "defineForm",
      "type": "options",
      "default": "fields",
      "options": [
        {
          "name": "Using Fields Below",
          "value": "fields"
        },
        {
          "name": "Using JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Form Fields",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n  {\n    \"fieldLabel\": \"Name\",\n    \"placeholder\": \"enter your name\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Age\",\n    \"fieldType\": \"number\",\n    \"placeholder\": \"enter your age\"\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Textarea\",\n    \"fieldType\": \"textarea\"\n  },\n  {\n    \"fieldLabel\": \"Dropdown Options\",\n    \"fieldType\": \"dropdown\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    },\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Checkboxes\",\n    \"fieldType\": \"checkbox\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Radio\",\n    \"fieldType\": \"radio\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"placeholder\": \"me@mail.con\"\n  },\n  {\n    \"fieldLabel\": \"File\",\n    \"fieldType\": \"file\",\n    \"multipleFiles\": true,\n    \"acceptFileTypes\": \".jpg, .png\"\n  },\n  {\n    \"fieldLabel\": \"Number\",\n    \"fieldType\": \"number\"\n  },\n  {\n    \"fieldLabel\": \"Password\",\n    \"fieldType\": \"password\"\n  }\n]\n",
      "displayOptions": {
        "show": {
          "defineForm": [
            "json"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text Input",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "lt": 2.5
              }
            }
          ],
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true,
        "fixedCollection": {
          "itemTitle": "={{ $collection.item.properties.find(p => p.name === \"fieldType\").options.find(o => o.value === $collection.item.value.fieldType).name }}"
        }
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text Input",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "gte": 2.5
              }
            }
          ],
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true,
        "hideOptionalFields": true,
        "addOptionalFieldButtonText": "Add Attributes",
        "fixedCollection": {
          "itemTitle": "={{ $collection.item.properties.find(p => p.name === \"fieldType\").options.find(o => o.value === $collection.item.value.fieldType).name }}"
        }
      }
    },
    {
      "displayName": "Approval Options",
      "name": "approvalOptions",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Type of Approval",
              "name": "approvalType",
              "type": "options",
              "placeholder": "Add option",
              "default": "single",
              "options": [
                {
                  "name": "Approve Only",
                  "value": "single"
                },
                {
                  "name": "Approve and Disapprove",
                  "value": "double"
                }
              ]
            },
            {
              "displayName": "Approve Button Label",
              "name": "approveLabel",
              "type": "string",
              "default": "✓ Approve",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Label",
              "name": "disapproveLabel",
              "type": "string",
              "default": "✗ Decline",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether to limit the time this node should wait for a user response before execution resumes",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Message Button Label",
          "name": "messageButtonLabel",
          "type": "string",
          "default": "Respond"
        },
        {
          "displayName": "Response Form Title",
          "name": "responseFormTitle",
          "description": "Title of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Description",
          "name": "responseFormDescription",
          "description": "Description of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Button Label",
          "name": "responseFormButtonLabel",
          "type": "string",
          "default": "Submit"
        },
        {
          "displayName": "Response Form Custom Styling",
          "name": "responseFormCustomCss",
          "type": "string",
          "typeOptions": {
            "rows": 10,
            "editor": "cssEditor"
          },
          "default": ":root {\n\t--font-family: 'Open Sans', sans-serif;\n\t--font-weight-normal: 400;\n\t--font-weight-bold: 600;\n\t--font-size-body: 12px;\n\t--font-size-label: 14px;\n\t--font-size-test-notice: 12px;\n\t--font-size-input: 14px;\n\t--font-size-header: 20px;\n\t--font-size-paragraph: 14px;\n\t--font-size-link: 12px;\n\t--font-size-error: 12px;\n\t--font-size-html-h1: 28px;\n\t--font-size-html-h2: 20px;\n\t--font-size-html-h3: 16px;\n\t--font-size-html-h4: 14px;\n\t--font-size-html-h5: 12px;\n\t--font-size-html-h6: 10px;\n\t--font-size-subheader: 14px;\n\n\t/* Colors */\n\t--color-background: #fbfcfe;\n\t--color-test-notice-text: #e6a23d;\n\t--color-test-notice-bg: #fefaf6;\n\t--color-test-notice-border: #f6dcb7;\n\t--color-card-bg: #ffffff;\n\t--color-card-border: #dbdfe7;\n\t--color-card-shadow: rgba(99, 77, 255, 0.06);\n\t--color-link: #7e8186;\n\t--color-header: #525356;\n\t--color-label: #555555;\n\t--color-input-border: #dbdfe7;\n\t--color-input-text: #71747A;\n\t--color-focus-border: rgb(90, 76, 194);\n\t--color-submit-btn-bg: #ff6d5a;\n\t--color-submit-btn-text: #ffffff;\n\t--color-error: #ea1f30;\n\t--color-required: #ff6d5a;\n\t--color-clear-button-bg: #7e8186;\n\t--color-html-text: #555;\n\t--color-html-link: #ff6d5a;\n\t--color-header-subtext: #7e8186;\n\n\t/* Border Radii */\n\t--border-radius-card: 8px;\n\t--border-radius-input: 6px;\n\t--border-radius-clear-btn: 50%;\n\t--card-border-radius: 8px;\n\n\t/* Spacing */\n\t--padding-container-top: 24px;\n\t--padding-card: 24px;\n\t--padding-test-notice-vertical: 12px;\n\t--padding-test-notice-horizontal: 24px;\n\t--margin-bottom-card: 16px;\n\t--padding-form-input: 12px;\n\t--card-padding: 24px;\n\t--card-margin-bottom: 16px;\n\n\t/* Dimensions */\n\t--container-width: 448px;\n\t--submit-btn-height: 48px;\n\t--checkbox-size: 18px;\n\n\t/* Others */\n\t--box-shadow-card: 0px 4px 16px 0px var(--color-card-shadow);\n\t--opacity-placeholder: 0.5;\n}",
          "description": "Override default styling of the response form with CSS"
        },
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether to limit the time this node should wait for a user response before execution resumes",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "freeText",
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "send",
      "name": "Send"
    },
    {
      "operation": "sendAndWait",
      "name": "Send and Wait for Response"
    },
    {
      "operation": "sendTemplate",
      "name": "Send Template"
    }
  ]


node_type: nodes-base.whatsApp
package_name: n8n-nodes-base
display_name: WhatsApp Business Cloud
description: Access WhatsApp API
category: output
development_style: programmatic
version: 1.1
credentials_required:
  [
  {
  "name": "whatsAppApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-03-04 11:46:58
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: WhatsApp Business Cloud node documentation
  description: Learn how to use the WhatsApp Business Cloud node in n8n. Follow technical documentation to integrate WhatsApp Business Cloud node into your workflows.
  contentType: [integration, reference]
  priority: high
  ---

  # WhatsApp Business Cloud node

  Use the WhatsApp Business Cloud node to automate work in WhatsApp Business, and integrate WhatsApp Business with other applications. n8n has built-in support for a wide range of WhatsApp Business features, including sending messages, and uploading, downloading, and deleting media. 

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

  /// note | Credentials
  Refer to [WhatsApp Business Cloud credentials](/integrations/builtin/credentials/whatsapp.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Message
  	* Send
  	* Send and Wait for Response
  	* Send Template
  * Media
  	* Upload
  	* Download
  	* Delete

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

  ## Templates and examples

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

  ## Related resources

  Refer to [WhatsApp Business Platform's Cloud API documentation](https://developers.facebook.com/docs/whatsapp/cloud-api){:target=_blank} for details about the operations.

  ## Common issues

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

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "message",
      "options": [
        {
          "name": "Message",
          "value": "message"
        },
        {
          "name": "Media",
          "value": "media"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "sendTemplate",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "action": "Send message"
        },
        {
          "name": "Send and Wait for Response",
          "value": "sendAndWait",
          "action": "Send message and wait for response"
        },
        {
          "name": "Send Template",
          "value": "sendTemplate",
          "action": "Send template"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Messaging Product",
      "name": "messagingProduct",
      "type": "hidden",
      "default": "whatsapp",
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "Sender Phone Number (or ID)",
      "name": "phoneNumberId",
      "type": "options",
      "default": "",
      "description": "The ID of the business account's phone number from which the message will be sent from",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "url": "={{$credentials.businessAccountId}}/phone_numbers",
              "method": "GET"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.display_phone_number}} - {{$responseItem.verified_name}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Recipient's Phone Number",
      "name": "recipientPhoneNumber",
      "type": "string",
      "default": "",
      "description": "Phone number of the recipient of the message",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ]
        }
      }
    },
    {
      "displayName": "MessageType",
      "name": "messageType",
      "type": "options",
      "default": "text",
      "description": "The type of the message",
      "options": [
        {
          "name": "Audio",
          "value": "audio"
        },
        {
          "name": "Contacts",
          "value": "contacts"
        },
        {
          "name": "Document",
          "value": "document"
        },
        {
          "name": "Image",
          "value": "image"
        },
        {
          "name": "Location",
          "value": "location"
        },
        {
          "name": "Text",
          "value": "text"
        },
        {
          "name": "Video",
          "value": "video"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "mediaUpload",
      "description": "The operation to perform on the media",
      "options": [
        {
          "name": "Upload",
          "value": "mediaUpload",
          "action": "Upload media"
        },
        {
          "name": "Download",
          "value": "mediaUrlGet",
          "action": "Download media"
        },
        {
          "name": "Delete",
          "value": "mediaDelete",
          "action": "Delete media"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "media"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Name",
          "name": "data",
          "values": [
            {
              "displayName": "Formatted Name",
              "name": "formatted_name",
              "type": "string",
              "required": true,
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.formatted_name"
                }
              }
            },
            {
              "displayName": "First Name",
              "name": "first_name",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.first_name"
                }
              }
            },
            {
              "displayName": "Last Name",
              "name": "last_name",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.last_name"
                }
              }
            },
            {
              "displayName": "Middle Name",
              "name": "middle_name",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.middle_name"
                }
              }
            },
            {
              "displayName": "Suffix",
              "name": "suffix",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.suffix"
                }
              }
            },
            {
              "displayName": "Prefix",
              "name": "prefix",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "contacts[0].name.prefix"
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "contacts"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Addresses",
          "name": "addresses",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "Address",
              "name": "address",
              "values": [
                {
                  "displayName": "Type",
                  "name": "type",
                  "type": "options",
                  "options": [
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "HOME",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Street",
                  "name": "street",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].street",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].city",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].state",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Zip",
                  "name": "zip",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].zip",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].country",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Country Code",
                  "name": "country_code",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].addresses[{{$index}}].country_code",
                      "type": "body"
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "Birthday",
          "name": "birthday",
          "type": "string",
          "default": "",
          "routing": {
            "send": {
              "property": "contacts[0].birthday",
              "type": "body"
            }
          },
          "placeholder": "YYYY-MM-DD"
        },
        {
          "displayName": "Emails",
          "name": "emails",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "Email",
              "name": "data",
              "values": [
                {
                  "displayName": "Type",
                  "name": "type",
                  "type": "options",
                  "options": [
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "HOME",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].emails[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Email",
                  "name": "email",
                  "type": "string",
                  "placeholder": "name@email.com",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].emails[{{$index}}].email",
                      "type": "body"
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "Organization",
          "name": "organization",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": false
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "Organization",
              "name": "data",
              "values": [
                {
                  "displayName": "Company",
                  "name": "company",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "type": "body",
                      "property": "contacts[0].org.company"
                    }
                  }
                },
                {
                  "displayName": "Department",
                  "name": "department",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "type": "body",
                      "property": "contacts[0].org.department"
                    }
                  }
                },
                {
                  "displayName": "Title",
                  "name": "title",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "type": "body",
                      "property": "contacts[0].org.title"
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "Phones",
          "name": "phones",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "Phone",
              "name": "data",
              "values": [
                {
                  "displayName": "Type",
                  "name": "type",
                  "displayOptions": {
                    "show": {
                      "@version": [
                        1
                      ]
                    }
                  },
                  "type": "options",
                  "options": [
                    {
                      "name": "Cell",
                      "value": "CELL"
                    },
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Iphone",
                      "value": "IPHONE"
                    },
                    {
                      "name": "Main",
                      "value": "MAIN"
                    },
                    {
                      "name": "WhatsApp ID",
                      "value": "wa_id"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "CELL",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].phones[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Type",
                  "name": "type",
                  "displayOptions": {
                    "show": {
                      "@version": [
                        {
                          "_cnd": {
                            "gt": 1
                          }
                        }
                      ]
                    }
                  },
                  "type": "options",
                  "options": [
                    {
                      "name": "Cell",
                      "value": "CELL"
                    },
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Iphone",
                      "value": "IPHONE"
                    },
                    {
                      "name": "Main",
                      "value": "MAIN"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "CELL",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].phones[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "Phone",
                  "name": "phone",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].phones[{{$index}}].phone",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "WhatsApp User ID",
                  "name": "whatsapp_user_id",
                  "type": "string",
                  "default": "",
                  "description": "If omitted, the message will display an Invite to WhatsApp button instead of the standard buttons",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].phones[{{$index}}].wa_id",
                      "type": "body"
                    }
                  },
                  "displayOptions": {
                    "hide": {
                      "@version": [
                        {
                          "_cnd": {
                            "lt": 1.1
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          ]
        },
        {
          "displayName": "URLs",
          "name": "urls",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Parameter",
          "default": {},
          "options": [
            {
              "displayName": "URL",
              "name": "url",
              "values": [
                {
                  "displayName": "Type",
                  "name": "type",
                  "type": "options",
                  "options": [
                    {
                      "name": "Home",
                      "value": "HOME"
                    },
                    {
                      "name": "Work",
                      "value": "WORK"
                    }
                  ],
                  "default": "HOME",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].urls[{{$index}}].type",
                      "type": "body"
                    }
                  }
                },
                {
                  "displayName": "URL",
                  "name": "url",
                  "type": "string",
                  "default": "",
                  "routing": {
                    "send": {
                      "property": "=contacts[0].urls[{{$index}}].url",
                      "type": "body"
                    }
                  }
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "contacts"
          ]
        }
      }
    },
    {
      "displayName": "Longitude",
      "name": "longitude",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "location"
          ]
        }
      },
      "typeOptions": {
        "minValue": -180,
        "maxValue": 180
      }
    },
    {
      "displayName": "Latitude",
      "name": "latitude",
      "type": "number",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "location"
          ]
        }
      },
      "typeOptions": {
        "minValue": -90,
        "maxValue": 90
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Name and Address",
          "name": "nameAndAddress",
          "values": [
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "location.name"
                }
              }
            },
            {
              "displayName": "Address",
              "name": "address",
              "type": "string",
              "default": "",
              "routing": {
                "send": {
                  "type": "body",
                  "property": "location.address"
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "location"
          ]
        }
      }
    },
    {
      "displayName": "Text Body",
      "name": "textBody",
      "type": "string",
      "default": "",
      "description": "The body of the message (max 4096 characters)",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Take Audio From",
      "name": "mediaPath",
      "type": "options",
      "default": "useMediaLink",
      "description": "Use a link, an ID, or n8n to upload an audio file",
      "options": [
        {
          "name": "Link",
          "value": "useMediaLink",
          "description": "WhatsApp will download the audio, saving you the step of uploading audio yourself"
        },
        {
          "name": "WhatsApp Media",
          "value": "useMediaId",
          "description": "If you have already uploaded the audio to WhatsApp"
        },
        {
          "name": "n8n",
          "value": "useMedian8n",
          "description": "Use binary data passed into this node"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "audio"
          ]
        }
      }
    },
    {
      "displayName": "Take Document From",
      "name": "mediaPath",
      "type": "options",
      "default": "useMediaLink",
      "description": "Use a link, an ID, or n8n to upload a document",
      "options": [
        {
          "name": "Link",
          "value": "useMediaLink",
          "description": "When using a link, WhatsApp will download the document, saving you the step of uploading document yourself"
        },
        {
          "name": "WhatsApp Media",
          "value": "useMediaId",
          "description": "You can use an ID if you have already uploaded the document to WhatsApp"
        },
        {
          "name": "n8n",
          "value": "useMedian8n",
          "description": "Upload a binary file on the item being processed in n8n"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "document"
          ]
        }
      }
    },
    {
      "displayName": "Take Image From",
      "name": "mediaPath",
      "type": "options",
      "default": "useMediaLink",
      "description": "Use a link, an ID, or n8n to upload an image",
      "options": [
        {
          "name": "Link",
          "value": "useMediaLink",
          "description": "When using a link, WhatsApp will download the image, saving you the step of uploading image yourself"
        },
        {
          "name": "WhatsApp Media",
          "value": "useMediaId",
          "description": "You can use an ID if you have already uploaded the image to WhatsApp"
        },
        {
          "name": "n8n",
          "value": "useMedian8n",
          "description": "Upload a binary file on the item being processed in n8n"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "image"
          ]
        }
      }
    },
    {
      "displayName": "Take Video From",
      "name": "mediaPath",
      "type": "options",
      "default": "useMediaLink",
      "description": "Use a link, an ID, or n8n to upload a video",
      "options": [
        {
          "name": "Link",
          "value": "useMediaLink",
          "description": "When using a link, WhatsApp will download the video, saving you the step of uploading video yourself"
        },
        {
          "name": "WhatsApp Media",
          "value": "useMediaId",
          "description": "You can use an ID if you have already uploaded the video to WhatsApp"
        },
        {
          "name": "n8n",
          "value": "useMedian8n",
          "description": "Upload a binary file on the item being processed in n8n"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "video"
          ]
        }
      }
    },
    {
      "displayName": "Link",
      "name": "mediaLink",
      "type": "string",
      "default": "",
      "description": "Link of the media to be sent",
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "image",
            "video",
            "audio",
            "sticker",
            "document"
          ],
          "mediaPath": [
            "useMediaLink"
          ]
        }
      }
    },
    {
      "displayName": "ID",
      "name": "mediaId",
      "type": "string",
      "default": "",
      "description": "ID of the media to be sent",
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "image",
            "video",
            "audio",
            "sticker",
            "document"
          ],
          "mediaPath": [
            "useMediaId"
          ]
        }
      }
    },
    {
      "displayName": "Input Data Field Name",
      "name": "mediaPropertyName",
      "type": "string",
      "default": "data",
      "description": "The name of the input field containing the binary file data to be uploaded",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "image",
            "video",
            "audio",
            "sticker",
            "document"
          ],
          "mediaPath": [
            "useMedian8n"
          ]
        }
      }
    },
    {
      "displayName": "Filename",
      "name": "mediaFilename",
      "type": "string",
      "default": "",
      "description": "The name of the file (required when using a file ID)",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "messageType": [
            "document"
          ],
          "mediaPath": [
            "useMediaId"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filename",
          "name": "mediaFilename",
          "type": "string",
          "default": "",
          "description": "The name of the file",
          "routing": {
            "send": {
              "type": "body",
              "property": "={{$parameter[\"messageType\"]}}.filename"
            }
          },
          "displayOptions": {
            "show": {
              "/messageType": [
                "document"
              ]
            }
          }
        },
        {
          "displayName": "Caption",
          "name": "mediaCaption",
          "type": "string",
          "default": "",
          "description": "The caption of the media",
          "routing": {
            "send": {
              "type": "body",
              "property": "={{$parameter[\"messageType\"]}}.caption"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "image",
            "video",
            "audio",
            "sticker",
            "document"
          ]
        }
      }
    },
    {
      "displayName": "Template",
      "name": "template",
      "type": "options",
      "default": "",
      "description": "Name of the template",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "sendTemplate"
          ],
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "url": "={{$credentials.businessAccountId}}/message_templates",
              "method": "GET"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.name}} - {{$responseItem.language}}",
                    "value": "={{$responseItem.name}}|{{$responseItem.language}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Components",
      "name": "components",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "name": "component",
          "displayName": "Component",
          "values": [
            {
              "displayName": "Type",
              "name": "type",
              "type": "options",
              "options": [
                {
                  "name": "Body",
                  "value": "body"
                },
                {
                  "name": "Button",
                  "value": "button"
                },
                {
                  "name": "Header",
                  "value": "header"
                }
              ],
              "default": "body"
            },
            {
              "displayName": "Parameters",
              "name": "bodyParameters",
              "type": "fixedCollection",
              "typeOptions": {
                "sortable": true,
                "multipleValues": true
              },
              "displayOptions": {
                "show": {
                  "type": [
                    "body"
                  ]
                }
              },
              "placeholder": "Add Parameter",
              "default": {},
              "options": [
                {
                  "displayName": "Parameter",
                  "name": "parameter",
                  "values": [
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "options",
                      "options": [
                        {
                          "name": "Text",
                          "value": "text"
                        },
                        {
                          "name": "Currency",
                          "value": "currency"
                        },
                        {
                          "name": "Date Time",
                          "value": "date_time"
                        }
                      ],
                      "default": "text"
                    },
                    {
                      "displayName": "Text",
                      "name": "text",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "text"
                          ]
                        }
                      },
                      "default": ""
                    },
                    {
                      "displayName": "Currency Code",
                      "name": "code",
                      "type": "options",
                      "options": [
                        {
                          "name": "AED - UAE Dirham",
                          "value": "AED"
                        },
                        {
                          "name": "AFN - Afghani",
                          "value": "AFN"
                        },
                        {
                          "name": "ALL - Lek",
                          "value": "ALL"
                        },
                        {
                          "name": "AMD - Armenian Dram",
                          "value": "AMD"
                        },
                        {
                          "name": "ANG - Netherlands Antillean Guilder",
                          "value": "ANG"
                        },
                        {
                          "name": "AOA - Kwanza",
                          "value": "AOA"
                        },
                        {
                          "name": "ARS - Argentine Peso",
                          "value": "ARS"
                        },
                        {
                          "name": "AUD - Australian Dollar",
                          "value": "AUD"
                        },
                        {
                          "name": "AWG - Aruban Florin",
                          "value": "AWG"
                        },
                        {
                          "name": "AZN - Azerbaijan Manat",
                          "value": "AZN"
                        },
                        {
                          "name": "BAM - Convertible Mark",
                          "value": "BAM"
                        },
                        {
                          "name": "BBD - Barbados Dollar",
                          "value": "BBD"
                        },
                        {
                          "name": "BDT - Taka",
                          "value": "BDT"
                        },
                        {
                          "name": "BGN - Bulgarian Lev",
                          "value": "BGN"
                        },
                        {
                          "name": "BHD - Bahraini Dinar",
                          "value": "BHD"
                        },
                        {
                          "name": "BIF - Burundi Franc",
                          "value": "BIF"
                        },
                        {
                          "name": "BMD - Bermudian Dollar",
                          "value": "BMD"
                        },
                        {
                          "name": "BND - Brunei Dollar",
                          "value": "BND"
                        },
                        {
                          "name": "BOB - Boliviano",
                          "value": "BOB"
                        },
                        {
                          "name": "BOV - Mvdol",
                          "value": "BOV"
                        },
                        {
                          "name": "BRL - Brazilian Real",
                          "value": "BRL"
                        },
                        {
                          "name": "BSD - Bahamian Dollar",
                          "value": "BSD"
                        },
                        {
                          "name": "BTN - Ngultrum",
                          "value": "BTN"
                        },
                        {
                          "name": "BWP - Pula",
                          "value": "BWP"
                        },
                        {
                          "name": "BYN - Belarusian Ruble",
                          "value": "BYN"
                        },
                        {
                          "name": "BZD - Belize Dollar",
                          "value": "BZD"
                        },
                        {
                          "name": "CAD - Canadian Dollar",
                          "value": "CAD"
                        },
                        {
                          "name": "CDF - Congolese Franc",
                          "value": "CDF"
                        },
                        {
                          "name": "CHE - WIR Euro",
                          "value": "CHE"
                        },
                        {
                          "name": "CHF - Swiss Franc",
                          "value": "CHF"
                        },
                        {
                          "name": "CHW - WIR Franc",
                          "value": "CHW"
                        },
                        {
                          "name": "CLF - Unidad de Fomento",
                          "value": "CLF"
                        },
                        {
                          "name": "CLP - Chilean Peso",
                          "value": "CLP"
                        },
                        {
                          "name": "CNY - Yuan Renminbi",
                          "value": "CNY"
                        },
                        {
                          "name": "COP - Colombian Peso",
                          "value": "COP"
                        },
                        {
                          "name": "COU - Unidad de Valor Real",
                          "value": "COU"
                        },
                        {
                          "name": "CRC - Costa Rican Colon",
                          "value": "CRC"
                        },
                        {
                          "name": "CUC - Peso Convertible",
                          "value": "CUC"
                        },
                        {
                          "name": "CUP - Cuban Peso",
                          "value": "CUP"
                        },
                        {
                          "name": "CVE - Cabo Verde Escudo",
                          "value": "CVE"
                        },
                        {
                          "name": "CZK - Czech Koruna",
                          "value": "CZK"
                        },
                        {
                          "name": "DJF - Djibouti Franc",
                          "value": "DJF"
                        },
                        {
                          "name": "DKK - Danish Krone",
                          "value": "DKK"
                        },
                        {
                          "name": "DOP - Dominican Peso",
                          "value": "DOP"
                        },
                        {
                          "name": "DZD - Algerian Dinar",
                          "value": "DZD"
                        },
                        {
                          "name": "EGP - Egyptian Pound",
                          "value": "EGP"
                        },
                        {
                          "name": "ERN - Nakfa",
                          "value": "ERN"
                        },
                        {
                          "name": "ETB - Ethiopian Birr",
                          "value": "ETB"
                        },
                        {
                          "name": "EUR - Euro",
                          "value": "EUR"
                        },
                        {
                          "name": "FJD - Fiji Dollar",
                          "value": "FJD"
                        },
                        {
                          "name": "FKP - Falkland Islands Pound",
                          "value": "FKP"
                        },
                        {
                          "name": "GBP - Pound Sterling",
                          "value": "GBP"
                        },
                        {
                          "name": "GEL - Lari",
                          "value": "GEL"
                        },
                        {
                          "name": "GHS - Ghana Cedi",
                          "value": "GHS"
                        },
                        {
                          "name": "GIP - Gibraltar Pound",
                          "value": "GIP"
                        },
                        {
                          "name": "GMD - Dalasi",
                          "value": "GMD"
                        },
                        {
                          "name": "GNF - Guinean Franc",
                          "value": "GNF"
                        },
                        {
                          "name": "GTQ - Quetzal",
                          "value": "GTQ"
                        },
                        {
                          "name": "GYD - Guyana Dollar",
                          "value": "GYD"
                        },
                        {
                          "name": "HKD - Hong Kong Dollar",
                          "value": "HKD"
                        },
                        {
                          "name": "HNL - Lempira",
                          "value": "HNL"
                        },
                        {
                          "name": "HRK - Kuna",
                          "value": "HRK"
                        },
                        {
                          "name": "HTG - Gourde",
                          "value": "HTG"
                        },
                        {
                          "name": "HUF - Forint",
                          "value": "HUF"
                        },
                        {
                          "name": "IDR - Rupiah",
                          "value": "IDR"
                        },
                        {
                          "name": "ILS - New Israeli Sheqel",
                          "value": "ILS"
                        },
                        {
                          "name": "INR - Indian Rupee",
                          "value": "INR"
                        },
                        {
                          "name": "IQD - Iraqi Dinar",
                          "value": "IQD"
                        },
                        {
                          "name": "IRR - Iranian Rial",
                          "value": "IRR"
                        },
                        {
                          "name": "ISK - Iceland Krona",
                          "value": "ISK"
                        },
                        {
                          "name": "JMD - Jamaican Dollar",
                          "value": "JMD"
                        },
                        {
                          "name": "JOD - Jordanian Dinar",
                          "value": "JOD"
                        },
                        {
                          "name": "JPY - Yen",
                          "value": "JPY"
                        },
                        {
                          "name": "KES - Kenyan Shilling",
                          "value": "KES"
                        },
                        {
                          "name": "KGS - Som",
                          "value": "KGS"
                        },
                        {
                          "name": "KHR - Riel",
                          "value": "KHR"
                        },
                        {
                          "name": "KMF - Comorian Franc ",
                          "value": "KMF"
                        },
                        {
                          "name": "KPW - North Korean Won",
                          "value": "KPW"
                        },
                        {
                          "name": "KRW - Won",
                          "value": "KRW"
                        },
                        {
                          "name": "KWD - Kuwaiti Dinar",
                          "value": "KWD"
                        },
                        {
                          "name": "KYD - Cayman Islands Dollar",
                          "value": "KYD"
                        },
                        {
                          "name": "KZT - Tenge",
                          "value": "KZT"
                        },
                        {
                          "name": "LAK - Lao Kip",
                          "value": "LAK"
                        },
                        {
                          "name": "LBP - Lebanese Pound",
                          "value": "LBP"
                        },
                        {
                          "name": "LKR - Sri Lanka Rupee",
                          "value": "LKR"
                        },
                        {
                          "name": "LRD - Liberian Dollar",
                          "value": "LRD"
                        },
                        {
                          "name": "LSL - Loti",
                          "value": "LSL"
                        },
                        {
                          "name": "LYD - Libyan Dinar",
                          "value": "LYD"
                        },
                        {
                          "name": "MAD - Moroccan Dirham",
                          "value": "MAD"
                        },
                        {
                          "name": "MDL - Moldovan Leu",
                          "value": "MDL"
                        },
                        {
                          "name": "MGA - Malagasy Ariary",
                          "value": "MGA"
                        },
                        {
                          "name": "MKD - Denar",
                          "value": "MKD"
                        },
                        {
                          "name": "MMK - Kyat",
                          "value": "MMK"
                        },
                        {
                          "name": "MNT - Tugrik",
                          "value": "MNT"
                        },
                        {
                          "name": "MOP - Pataca",
                          "value": "MOP"
                        },
                        {
                          "name": "MRU - Ouguiya",
                          "value": "MRU"
                        },
                        {
                          "name": "MUR - Mauritius Rupee",
                          "value": "MUR"
                        },
                        {
                          "name": "MVR - Rufiyaa",
                          "value": "MVR"
                        },
                        {
                          "name": "MWK - Malawi Kwacha",
                          "value": "MWK"
                        },
                        {
                          "name": "MXN - Mexican Peso",
                          "value": "MXN"
                        },
                        {
                          "name": "MXV - Mexican Unidad de Inversion (UDI)",
                          "value": "MXV"
                        },
                        {
                          "name": "MYR - Malaysian Ringgit",
                          "value": "MYR"
                        },
                        {
                          "name": "MZN - Mozambique Metical",
                          "value": "MZN"
                        },
                        {
                          "name": "NAD - Namibia Dollar",
                          "value": "NAD"
                        },
                        {
                          "name": "NGN - Naira",
                          "value": "NGN"
                        },
                        {
                          "name": "NIO - Cordoba Oro",
                          "value": "NIO"
                        },
                        {
                          "name": "NOK - Norwegian Krone",
                          "value": "NOK"
                        },
                        {
                          "name": "NPR - Nepalese Rupee",
                          "value": "NPR"
                        },
                        {
                          "name": "NZD - New Zealand Dollar",
                          "value": "NZD"
                        },
                        {
                          "name": "OMR - Rial Omani",
                          "value": "OMR"
                        },
                        {
                          "name": "PAB - Balboa",
                          "value": "PAB"
                        },
                        {
                          "name": "PEN - Sol",
                          "value": "PEN"
                        },
                        {
                          "name": "PGK - Kina",
                          "value": "PGK"
                        },
                        {
                          "name": "PHP - Philippine Peso",
                          "value": "PHP"
                        },
                        {
                          "name": "PKR - Pakistan Rupee",
                          "value": "PKR"
                        },
                        {
                          "name": "PLN - Zloty",
                          "value": "PLN"
                        },
                        {
                          "name": "PYG - Guarani",
                          "value": "PYG"
                        },
                        {
                          "name": "QAR - Qatari Rial",
                          "value": "QAR"
                        },
                        {
                          "name": "RON - Romanian Leu",
                          "value": "RON"
                        },
                        {
                          "name": "RSD - Serbian Dinar",
                          "value": "RSD"
                        },
                        {
                          "name": "RUB - Russian Ruble",
                          "value": "RUB"
                        },
                        {
                          "name": "RWF - Rwanda Franc",
                          "value": "RWF"
                        },
                        {
                          "name": "SAR - Saudi Riyal",
                          "value": "SAR"
                        },
                        {
                          "name": "SBD - Solomon Islands Dollar",
                          "value": "SBD"
                        },
                        {
                          "name": "SCR - Seychelles Rupee",
                          "value": "SCR"
                        },
                        {
                          "name": "SDG - Sudanese Pound",
                          "value": "SDG"
                        },
                        {
                          "name": "SEK - Swedish Krona",
                          "value": "SEK"
                        },
                        {
                          "name": "SGD - Singapore Dollar",
                          "value": "SGD"
                        },
                        {
                          "name": "SHP - Saint Helena Pound",
                          "value": "SHP"
                        },
                        {
                          "name": "SLL - Leone",
                          "value": "SLL"
                        },
                        {
                          "name": "SOS - Somali Shilling",
                          "value": "SOS"
                        },
                        {
                          "name": "SRD - Surinam Dollar",
                          "value": "SRD"
                        },
                        {
                          "name": "SSP - South Sudanese Pound",
                          "value": "SSP"
                        },
                        {
                          "name": "STN - Dobra",
                          "value": "STN"
                        },
                        {
                          "name": "SVC - El Salvador Colon",
                          "value": "SVC"
                        },
                        {
                          "name": "SYP - Syrian Pound",
                          "value": "SYP"
                        },
                        {
                          "name": "SZL - Lilangeni",
                          "value": "SZL"
                        },
                        {
                          "name": "THB - Baht",
                          "value": "THB"
                        },
                        {
                          "name": "TJS - Somoni",
                          "value": "TJS"
                        },
                        {
                          "name": "TMT - Turkmenistan New Manat",
                          "value": "TMT"
                        },
                        {
                          "name": "TND - Tunisian Dinar",
                          "value": "TND"
                        },
                        {
                          "name": "TOP - Pa’anga",
                          "value": "TOP"
                        },
                        {
                          "name": "TRY - Turkish Lira",
                          "value": "TRY"
                        },
                        {
                          "name": "TTD - Trinidad and Tobago Dollar",
                          "value": "TTD"
                        },
                        {
                          "name": "TWD - New Taiwan Dollar",
                          "value": "TWD"
                        },
                        {
                          "name": "TZS - Tanzanian Shilling",
                          "value": "TZS"
                        },
                        {
                          "name": "UAH - Hryvnia",
                          "value": "UAH"
                        },
                        {
                          "name": "UGX - Uganda Shilling",
                          "value": "UGX"
                        },
                        {
                          "name": "USD - US Dollar",
                          "value": "USD"
                        },
                        {
                          "name": "USN - US Dollar (Next day)",
                          "value": "USN"
                        },
                        {
                          "name": "UYI - Uruguay Peso en Unidades Indexadas (UI)",
                          "value": "UYI"
                        },
                        {
                          "name": "UYU - Peso Uruguayo",
                          "value": "UYU"
                        },
                        {
                          "name": "UYW - Unidad Previsional",
                          "value": "UYW"
                        },
                        {
                          "name": "UZS - Uzbekistan Sum",
                          "value": "UZS"
                        },
                        {
                          "name": "VES - Bolívar Soberano",
                          "value": "VES"
                        },
                        {
                          "name": "VND - Dong",
                          "value": "VND"
                        },
                        {
                          "name": "VUV - Vatu",
                          "value": "VUV"
                        },
                        {
                          "name": "WST - Tala",
                          "value": "WST"
                        },
                        {
                          "name": "XAF - CFA Franc BEAC",
                          "value": "XAF"
                        },
                        {
                          "name": "XAG - Silver",
                          "value": "XAG"
                        },
                        {
                          "name": "XAU - Gold",
                          "value": "XAU"
                        },
                        {
                          "name": "XBA - Bond Markets Unit European Composite Unit (EURCO)",
                          "value": "XBA"
                        },
                        {
                          "name": "XBB - Bond Markets Unit European Monetary Unit (E.M.U.-6)",
                          "value": "XBB"
                        },
                        {
                          "name": "XBC - Bond Markets Unit European Unit of Account 9 (E.U.A.-9)",
                          "value": "XBC"
                        },
                        {
                          "name": "XBD - Bond Markets Unit European Unit of Account 17 (E.U.A.-17)",
                          "value": "XBD"
                        },
                        {
                          "name": "XCD - East Caribbean Dollar",
                          "value": "XCD"
                        },
                        {
                          "name": "XDR - SDR (Special Drawing Right)",
                          "value": "XDR"
                        },
                        {
                          "name": "XOF - CFA Franc BCEAO",
                          "value": "XOF"
                        },
                        {
                          "name": "XPD - Palladium",
                          "value": "XPD"
                        },
                        {
                          "name": "XPF - CFP Franc",
                          "value": "XPF"
                        },
                        {
                          "name": "XPT - Platinum",
                          "value": "XPT"
                        },
                        {
                          "name": "XSU - Sucre",
                          "value": "XSU"
                        },
                        {
                          "name": "XTS - Codes specifically reserved for testing purposes",
                          "value": "XTS"
                        },
                        {
                          "name": "XUA - ADB Unit of Account",
                          "value": "XUA"
                        },
                        {
                          "name": "XXX - The codes assigned for transactions where no currency is involved",
                          "value": "XXX"
                        },
                        {
                          "name": "YER - Yemeni Rial",
                          "value": "YER"
                        },
                        {
                          "name": "ZAR - Rand",
                          "value": "ZAR"
                        },
                        {
                          "name": "ZMW - Zambian Kwacha",
                          "value": "ZMW"
                        },
                        {
                          "name": "ZWL - Zimbabwe Dollar",
                          "value": "ZWL"
                        }
                      ],
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": "USD"
                    },
                    {
                      "displayName": "Amount",
                      "name": "amount_1000",
                      "type": "number",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": ""
                    },
                    {
                      "displayName": "Date Time",
                      "name": "date_time",
                      "type": "dateTime",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "date_time"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": ""
                    },
                    {
                      "displayName": "Fallback Value",
                      "name": "fallback_value",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Sub Type",
              "name": "sub_type",
              "type": "options",
              "displayOptions": {
                "show": {
                  "type": [
                    "button"
                  ]
                }
              },
              "options": [
                {
                  "name": "Quick Reply",
                  "value": "quick_reply",
                  "description": "Allows your customer to call a phone number and visit a website"
                },
                {
                  "name": "URL",
                  "value": "url"
                }
              ],
              "default": "quick_reply"
            },
            {
              "displayName": "Index",
              "name": "index",
              "type": "number",
              "typeOptions": {
                "maxValue": 2,
                "minValue": 0
              },
              "displayOptions": {
                "show": {
                  "type": [
                    "button"
                  ]
                }
              },
              "default": 0
            },
            {
              "displayName": "Parameters",
              "name": "buttonParameters",
              "type": "fixedCollection",
              "typeOptions": {
                "multipleValues": false
              },
              "displayOptions": {
                "show": {
                  "type": [
                    "button"
                  ]
                }
              },
              "placeholder": "Add Parameter",
              "default": {},
              "options": [
                {
                  "displayName": "Parameter",
                  "name": "parameter",
                  "values": [
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "options",
                      "options": [
                        {
                          "name": "Payload",
                          "value": "payload"
                        },
                        {
                          "name": "Text",
                          "value": "text"
                        }
                      ],
                      "default": "payload"
                    },
                    {
                      "displayName": "Payload",
                      "name": "payload",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "payload"
                          ]
                        }
                      },
                      "default": ""
                    },
                    {
                      "displayName": "Text",
                      "name": "text",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "text"
                          ]
                        }
                      },
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Parameters",
              "name": "headerParameters",
              "type": "fixedCollection",
              "typeOptions": {
                "sortable": true,
                "multipleValues": true
              },
              "displayOptions": {
                "show": {
                  "type": [
                    "header"
                  ]
                }
              },
              "placeholder": "Add Parameter",
              "default": {},
              "options": [
                {
                  "displayName": "Parameter",
                  "name": "parameter",
                  "values": [
                    {
                      "displayName": "Type",
                      "name": "type",
                      "type": "options",
                      "options": [
                        {
                          "name": "Text",
                          "value": "text"
                        },
                        {
                          "name": "Currency",
                          "value": "currency"
                        },
                        {
                          "name": "Date Time",
                          "value": "date_time"
                        },
                        {
                          "name": "Image",
                          "value": "image"
                        }
                      ],
                      "default": "text"
                    },
                    {
                      "displayName": "Text",
                      "name": "text",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "text"
                          ]
                        }
                      },
                      "default": ""
                    },
                    {
                      "displayName": "Currency Code",
                      "name": "code",
                      "type": "options",
                      "options": [
                        {
                          "name": "AED - UAE Dirham",
                          "value": "AED"
                        },
                        {
                          "name": "AFN - Afghani",
                          "value": "AFN"
                        },
                        {
                          "name": "ALL - Lek",
                          "value": "ALL"
                        },
                        {
                          "name": "AMD - Armenian Dram",
                          "value": "AMD"
                        },
                        {
                          "name": "ANG - Netherlands Antillean Guilder",
                          "value": "ANG"
                        },
                        {
                          "name": "AOA - Kwanza",
                          "value": "AOA"
                        },
                        {
                          "name": "ARS - Argentine Peso",
                          "value": "ARS"
                        },
                        {
                          "name": "AUD - Australian Dollar",
                          "value": "AUD"
                        },
                        {
                          "name": "AWG - Aruban Florin",
                          "value": "AWG"
                        },
                        {
                          "name": "AZN - Azerbaijan Manat",
                          "value": "AZN"
                        },
                        {
                          "name": "BAM - Convertible Mark",
                          "value": "BAM"
                        },
                        {
                          "name": "BBD - Barbados Dollar",
                          "value": "BBD"
                        },
                        {
                          "name": "BDT - Taka",
                          "value": "BDT"
                        },
                        {
                          "name": "BGN - Bulgarian Lev",
                          "value": "BGN"
                        },
                        {
                          "name": "BHD - Bahraini Dinar",
                          "value": "BHD"
                        },
                        {
                          "name": "BIF - Burundi Franc",
                          "value": "BIF"
                        },
                        {
                          "name": "BMD - Bermudian Dollar",
                          "value": "BMD"
                        },
                        {
                          "name": "BND - Brunei Dollar",
                          "value": "BND"
                        },
                        {
                          "name": "BOB - Boliviano",
                          "value": "BOB"
                        },
                        {
                          "name": "BOV - Mvdol",
                          "value": "BOV"
                        },
                        {
                          "name": "BRL - Brazilian Real",
                          "value": "BRL"
                        },
                        {
                          "name": "BSD - Bahamian Dollar",
                          "value": "BSD"
                        },
                        {
                          "name": "BTN - Ngultrum",
                          "value": "BTN"
                        },
                        {
                          "name": "BWP - Pula",
                          "value": "BWP"
                        },
                        {
                          "name": "BYN - Belarusian Ruble",
                          "value": "BYN"
                        },
                        {
                          "name": "BZD - Belize Dollar",
                          "value": "BZD"
                        },
                        {
                          "name": "CAD - Canadian Dollar",
                          "value": "CAD"
                        },
                        {
                          "name": "CDF - Congolese Franc",
                          "value": "CDF"
                        },
                        {
                          "name": "CHE - WIR Euro",
                          "value": "CHE"
                        },
                        {
                          "name": "CHF - Swiss Franc",
                          "value": "CHF"
                        },
                        {
                          "name": "CHW - WIR Franc",
                          "value": "CHW"
                        },
                        {
                          "name": "CLF - Unidad de Fomento",
                          "value": "CLF"
                        },
                        {
                          "name": "CLP - Chilean Peso",
                          "value": "CLP"
                        },
                        {
                          "name": "CNY - Yuan Renminbi",
                          "value": "CNY"
                        },
                        {
                          "name": "COP - Colombian Peso",
                          "value": "COP"
                        },
                        {
                          "name": "COU - Unidad de Valor Real",
                          "value": "COU"
                        },
                        {
                          "name": "CRC - Costa Rican Colon",
                          "value": "CRC"
                        },
                        {
                          "name": "CUC - Peso Convertible",
                          "value": "CUC"
                        },
                        {
                          "name": "CUP - Cuban Peso",
                          "value": "CUP"
                        },
                        {
                          "name": "CVE - Cabo Verde Escudo",
                          "value": "CVE"
                        },
                        {
                          "name": "CZK - Czech Koruna",
                          "value": "CZK"
                        },
                        {
                          "name": "DJF - Djibouti Franc",
                          "value": "DJF"
                        },
                        {
                          "name": "DKK - Danish Krone",
                          "value": "DKK"
                        },
                        {
                          "name": "DOP - Dominican Peso",
                          "value": "DOP"
                        },
                        {
                          "name": "DZD - Algerian Dinar",
                          "value": "DZD"
                        },
                        {
                          "name": "EGP - Egyptian Pound",
                          "value": "EGP"
                        },
                        {
                          "name": "ERN - Nakfa",
                          "value": "ERN"
                        },
                        {
                          "name": "ETB - Ethiopian Birr",
                          "value": "ETB"
                        },
                        {
                          "name": "EUR - Euro",
                          "value": "EUR"
                        },
                        {
                          "name": "FJD - Fiji Dollar",
                          "value": "FJD"
                        },
                        {
                          "name": "FKP - Falkland Islands Pound",
                          "value": "FKP"
                        },
                        {
                          "name": "GBP - Pound Sterling",
                          "value": "GBP"
                        },
                        {
                          "name": "GEL - Lari",
                          "value": "GEL"
                        },
                        {
                          "name": "GHS - Ghana Cedi",
                          "value": "GHS"
                        },
                        {
                          "name": "GIP - Gibraltar Pound",
                          "value": "GIP"
                        },
                        {
                          "name": "GMD - Dalasi",
                          "value": "GMD"
                        },
                        {
                          "name": "GNF - Guinean Franc",
                          "value": "GNF"
                        },
                        {
                          "name": "GTQ - Quetzal",
                          "value": "GTQ"
                        },
                        {
                          "name": "GYD - Guyana Dollar",
                          "value": "GYD"
                        },
                        {
                          "name": "HKD - Hong Kong Dollar",
                          "value": "HKD"
                        },
                        {
                          "name": "HNL - Lempira",
                          "value": "HNL"
                        },
                        {
                          "name": "HRK - Kuna",
                          "value": "HRK"
                        },
                        {
                          "name": "HTG - Gourde",
                          "value": "HTG"
                        },
                        {
                          "name": "HUF - Forint",
                          "value": "HUF"
                        },
                        {
                          "name": "IDR - Rupiah",
                          "value": "IDR"
                        },
                        {
                          "name": "ILS - New Israeli Sheqel",
                          "value": "ILS"
                        },
                        {
                          "name": "INR - Indian Rupee",
                          "value": "INR"
                        },
                        {
                          "name": "IQD - Iraqi Dinar",
                          "value": "IQD"
                        },
                        {
                          "name": "IRR - Iranian Rial",
                          "value": "IRR"
                        },
                        {
                          "name": "ISK - Iceland Krona",
                          "value": "ISK"
                        },
                        {
                          "name": "JMD - Jamaican Dollar",
                          "value": "JMD"
                        },
                        {
                          "name": "JOD - Jordanian Dinar",
                          "value": "JOD"
                        },
                        {
                          "name": "JPY - Yen",
                          "value": "JPY"
                        },
                        {
                          "name": "KES - Kenyan Shilling",
                          "value": "KES"
                        },
                        {
                          "name": "KGS - Som",
                          "value": "KGS"
                        },
                        {
                          "name": "KHR - Riel",
                          "value": "KHR"
                        },
                        {
                          "name": "KMF - Comorian Franc ",
                          "value": "KMF"
                        },
                        {
                          "name": "KPW - North Korean Won",
                          "value": "KPW"
                        },
                        {
                          "name": "KRW - Won",
                          "value": "KRW"
                        },
                        {
                          "name": "KWD - Kuwaiti Dinar",
                          "value": "KWD"
                        },
                        {
                          "name": "KYD - Cayman Islands Dollar",
                          "value": "KYD"
                        },
                        {
                          "name": "KZT - Tenge",
                          "value": "KZT"
                        },
                        {
                          "name": "LAK - Lao Kip",
                          "value": "LAK"
                        },
                        {
                          "name": "LBP - Lebanese Pound",
                          "value": "LBP"
                        },
                        {
                          "name": "LKR - Sri Lanka Rupee",
                          "value": "LKR"
                        },
                        {
                          "name": "LRD - Liberian Dollar",
                          "value": "LRD"
                        },
                        {
                          "name": "LSL - Loti",
                          "value": "LSL"
                        },
                        {
                          "name": "LYD - Libyan Dinar",
                          "value": "LYD"
                        },
                        {
                          "name": "MAD - Moroccan Dirham",
                          "value": "MAD"
                        },
                        {
                          "name": "MDL - Moldovan Leu",
                          "value": "MDL"
                        },
                        {
                          "name": "MGA - Malagasy Ariary",
                          "value": "MGA"
                        },
                        {
                          "name": "MKD - Denar",
                          "value": "MKD"
                        },
                        {
                          "name": "MMK - Kyat",
                          "value": "MMK"
                        },
                        {
                          "name": "MNT - Tugrik",
                          "value": "MNT"
                        },
                        {
                          "name": "MOP - Pataca",
                          "value": "MOP"
                        },
                        {
                          "name": "MRU - Ouguiya",
                          "value": "MRU"
                        },
                        {
                          "name": "MUR - Mauritius Rupee",
                          "value": "MUR"
                        },
                        {
                          "name": "MVR - Rufiyaa",
                          "value": "MVR"
                        },
                        {
                          "name": "MWK - Malawi Kwacha",
                          "value": "MWK"
                        },
                        {
                          "name": "MXN - Mexican Peso",
                          "value": "MXN"
                        },
                        {
                          "name": "MXV - Mexican Unidad de Inversion (UDI)",
                          "value": "MXV"
                        },
                        {
                          "name": "MYR - Malaysian Ringgit",
                          "value": "MYR"
                        },
                        {
                          "name": "MZN - Mozambique Metical",
                          "value": "MZN"
                        },
                        {
                          "name": "NAD - Namibia Dollar",
                          "value": "NAD"
                        },
                        {
                          "name": "NGN - Naira",
                          "value": "NGN"
                        },
                        {
                          "name": "NIO - Cordoba Oro",
                          "value": "NIO"
                        },
                        {
                          "name": "NOK - Norwegian Krone",
                          "value": "NOK"
                        },
                        {
                          "name": "NPR - Nepalese Rupee",
                          "value": "NPR"
                        },
                        {
                          "name": "NZD - New Zealand Dollar",
                          "value": "NZD"
                        },
                        {
                          "name": "OMR - Rial Omani",
                          "value": "OMR"
                        },
                        {
                          "name": "PAB - Balboa",
                          "value": "PAB"
                        },
                        {
                          "name": "PEN - Sol",
                          "value": "PEN"
                        },
                        {
                          "name": "PGK - Kina",
                          "value": "PGK"
                        },
                        {
                          "name": "PHP - Philippine Peso",
                          "value": "PHP"
                        },
                        {
                          "name": "PKR - Pakistan Rupee",
                          "value": "PKR"
                        },
                        {
                          "name": "PLN - Zloty",
                          "value": "PLN"
                        },
                        {
                          "name": "PYG - Guarani",
                          "value": "PYG"
                        },
                        {
                          "name": "QAR - Qatari Rial",
                          "value": "QAR"
                        },
                        {
                          "name": "RON - Romanian Leu",
                          "value": "RON"
                        },
                        {
                          "name": "RSD - Serbian Dinar",
                          "value": "RSD"
                        },
                        {
                          "name": "RUB - Russian Ruble",
                          "value": "RUB"
                        },
                        {
                          "name": "RWF - Rwanda Franc",
                          "value": "RWF"
                        },
                        {
                          "name": "SAR - Saudi Riyal",
                          "value": "SAR"
                        },
                        {
                          "name": "SBD - Solomon Islands Dollar",
                          "value": "SBD"
                        },
                        {
                          "name": "SCR - Seychelles Rupee",
                          "value": "SCR"
                        },
                        {
                          "name": "SDG - Sudanese Pound",
                          "value": "SDG"
                        },
                        {
                          "name": "SEK - Swedish Krona",
                          "value": "SEK"
                        },
                        {
                          "name": "SGD - Singapore Dollar",
                          "value": "SGD"
                        },
                        {
                          "name": "SHP - Saint Helena Pound",
                          "value": "SHP"
                        },
                        {
                          "name": "SLL - Leone",
                          "value": "SLL"
                        },
                        {
                          "name": "SOS - Somali Shilling",
                          "value": "SOS"
                        },
                        {
                          "name": "SRD - Surinam Dollar",
                          "value": "SRD"
                        },
                        {
                          "name": "SSP - South Sudanese Pound",
                          "value": "SSP"
                        },
                        {
                          "name": "STN - Dobra",
                          "value": "STN"
                        },
                        {
                          "name": "SVC - El Salvador Colon",
                          "value": "SVC"
                        },
                        {
                          "name": "SYP - Syrian Pound",
                          "value": "SYP"
                        },
                        {
                          "name": "SZL - Lilangeni",
                          "value": "SZL"
                        },
                        {
                          "name": "THB - Baht",
                          "value": "THB"
                        },
                        {
                          "name": "TJS - Somoni",
                          "value": "TJS"
                        },
                        {
                          "name": "TMT - Turkmenistan New Manat",
                          "value": "TMT"
                        },
                        {
                          "name": "TND - Tunisian Dinar",
                          "value": "TND"
                        },
                        {
                          "name": "TOP - Pa’anga",
                          "value": "TOP"
                        },
                        {
                          "name": "TRY - Turkish Lira",
                          "value": "TRY"
                        },
                        {
                          "name": "TTD - Trinidad and Tobago Dollar",
                          "value": "TTD"
                        },
                        {
                          "name": "TWD - New Taiwan Dollar",
                          "value": "TWD"
                        },
                        {
                          "name": "TZS - Tanzanian Shilling",
                          "value": "TZS"
                        },
                        {
                          "name": "UAH - Hryvnia",
                          "value": "UAH"
                        },
                        {
                          "name": "UGX - Uganda Shilling",
                          "value": "UGX"
                        },
                        {
                          "name": "USD - US Dollar",
                          "value": "USD"
                        },
                        {
                          "name": "USN - US Dollar (Next day)",
                          "value": "USN"
                        },
                        {
                          "name": "UYI - Uruguay Peso en Unidades Indexadas (UI)",
                          "value": "UYI"
                        },
                        {
                          "name": "UYU - Peso Uruguayo",
                          "value": "UYU"
                        },
                        {
                          "name": "UYW - Unidad Previsional",
                          "value": "UYW"
                        },
                        {
                          "name": "UZS - Uzbekistan Sum",
                          "value": "UZS"
                        },
                        {
                          "name": "VES - Bolívar Soberano",
                          "value": "VES"
                        },
                        {
                          "name": "VND - Dong",
                          "value": "VND"
                        },
                        {
                          "name": "VUV - Vatu",
                          "value": "VUV"
                        },
                        {
                          "name": "WST - Tala",
                          "value": "WST"
                        },
                        {
                          "name": "XAF - CFA Franc BEAC",
                          "value": "XAF"
                        },
                        {
                          "name": "XAG - Silver",
                          "value": "XAG"
                        },
                        {
                          "name": "XAU - Gold",
                          "value": "XAU"
                        },
                        {
                          "name": "XBA - Bond Markets Unit European Composite Unit (EURCO)",
                          "value": "XBA"
                        },
                        {
                          "name": "XBB - Bond Markets Unit European Monetary Unit (E.M.U.-6)",
                          "value": "XBB"
                        },
                        {
                          "name": "XBC - Bond Markets Unit European Unit of Account 9 (E.U.A.-9)",
                          "value": "XBC"
                        },
                        {
                          "name": "XBD - Bond Markets Unit European Unit of Account 17 (E.U.A.-17)",
                          "value": "XBD"
                        },
                        {
                          "name": "XCD - East Caribbean Dollar",
                          "value": "XCD"
                        },
                        {
                          "name": "XDR - SDR (Special Drawing Right)",
                          "value": "XDR"
                        },
                        {
                          "name": "XOF - CFA Franc BCEAO",
                          "value": "XOF"
                        },
                        {
                          "name": "XPD - Palladium",
                          "value": "XPD"
                        },
                        {
                          "name": "XPF - CFP Franc",
                          "value": "XPF"
                        },
                        {
                          "name": "XPT - Platinum",
                          "value": "XPT"
                        },
                        {
                          "name": "XSU - Sucre",
                          "value": "XSU"
                        },
                        {
                          "name": "XTS - Codes specifically reserved for testing purposes",
                          "value": "XTS"
                        },
                        {
                          "name": "XUA - ADB Unit of Account",
                          "value": "XUA"
                        },
                        {
                          "name": "XXX - The codes assigned for transactions where no currency is involved",
                          "value": "XXX"
                        },
                        {
                          "name": "YER - Yemeni Rial",
                          "value": "YER"
                        },
                        {
                          "name": "ZAR - Rand",
                          "value": "ZAR"
                        },
                        {
                          "name": "ZMW - Zambian Kwacha",
                          "value": "ZMW"
                        },
                        {
                          "name": "ZWL - Zimbabwe Dollar",
                          "value": "ZWL"
                        }
                      ],
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": "USD"
                    },
                    {
                      "displayName": "Amount",
                      "name": "amount_1000",
                      "type": "number",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "currency"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": ""
                    },
                    {
                      "displayName": "Date Time",
                      "name": "date_time",
                      "type": "dateTime",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "date_time"
                          ]
                        }
                      },
                      "default": "",
                      "placeholder": ""
                    },
                    {
                      "displayName": "Image Link",
                      "name": "imageLink",
                      "type": "string",
                      "displayOptions": {
                        "show": {
                          "type": [
                            "image"
                          ]
                        }
                      },
                      "default": ""
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "sendTemplate"
          ],
          "resource": [
            "message"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Show URL Previews",
          "name": "previewUrl",
          "type": "boolean",
          "default": false,
          "description": "Whether to display URL previews in text messages",
          "routing": {
            "send": {
              "type": "body",
              "property": "text.preview_url"
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "send"
          ],
          "messageType": [
            "text"
          ]
        }
      }
    },
    {
      "displayName": "Sender Phone Number (or ID)",
      "name": "phoneNumberId",
      "type": "options",
      "default": "",
      "description": "The ID of the business account's phone number to store the media",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "mediaUpload"
          ],
          "resource": [
            "media"
          ]
        }
      },
      "typeOptions": {
        "loadOptions": {
          "routing": {
            "request": {
              "url": "={{$credentials.businessAccountId}}/phone_numbers",
              "method": "GET"
            },
            "output": {
              "postReceive": [
                {
                  "type": "rootProperty",
                  "properties": {
                    "property": "data"
                  }
                },
                {
                  "type": "setKeyValue",
                  "properties": {
                    "name": "={{$responseItem.display_phone_number}} - {{$responseItem.verified_name}}",
                    "value": "={{$responseItem.id}}"
                  }
                },
                {
                  "type": "sort",
                  "properties": {
                    "key": "name"
                  }
                }
              ]
            }
          }
        }
      }
    },
    {
      "displayName": "Property Name",
      "name": "mediaPropertyName",
      "type": "string",
      "default": "data",
      "description": "Name of the binary property which contains the data for the file to be uploaded",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "mediaUpload"
          ],
          "resource": [
            "media"
          ]
        }
      }
    },
    {
      "displayName": "Media ID",
      "name": "mediaGetId",
      "type": "string",
      "default": "",
      "description": "The ID of the media",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "mediaUrlGet"
          ],
          "resource": [
            "media"
          ]
        }
      }
    },
    {
      "displayName": "Media ID",
      "name": "mediaDeleteId",
      "type": "string",
      "default": "",
      "description": "The ID of the media",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "mediaDelete"
          ],
          "resource": [
            "media"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Filename",
          "name": "mediaFileName",
          "type": "string",
          "default": "",
          "description": "The name to use for the file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "media"
          ],
          "operation": [
            "mediaUpload"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 4
      }
    },
    {
      "displayName": "Response Type",
      "name": "responseType",
      "type": "options",
      "default": "approval",
      "options": [
        {
          "name": "Approval",
          "value": "approval",
          "description": "User can approve/disapprove from within the message"
        },
        {
          "name": "Free Text",
          "value": "freeText",
          "description": "User can submit a response via a form"
        },
        {
          "name": "Custom Form",
          "value": "customForm",
          "description": "User can submit a response via a custom form"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Define Form",
      "name": "defineForm",
      "type": "options",
      "default": "fields",
      "options": [
        {
          "name": "Using Fields Below",
          "value": "fields"
        },
        {
          "name": "Using JSON",
          "value": "json"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Form Fields",
      "name": "jsonOutput",
      "type": "json",
      "default": "[\n  {\n    \"fieldLabel\": \"Name\",\n    \"placeholder\": \"enter your name\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Age\",\n    \"fieldType\": \"number\",\n    \"placeholder\": \"enter your age\"\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Textarea\",\n    \"fieldType\": \"textarea\"\n  },\n  {\n    \"fieldLabel\": \"Dropdown Options\",\n    \"fieldType\": \"dropdown\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    },\n    \"requiredField\": true\n  },\n  {\n    \"fieldLabel\": \"Checkboxes\",\n    \"fieldType\": \"checkbox\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Radio\",\n    \"fieldType\": \"radio\",\n    \"fieldOptions\": {\n      \"values\": [\n        {\n          \"option\": \"option 1\"\n        },\n        {\n          \"option\": \"option 2\"\n        }\n      ]\n    }\n  },\n  {\n    \"fieldLabel\": \"Email\",\n    \"fieldType\": \"email\",\n    \"placeholder\": \"me@mail.con\"\n  },\n  {\n    \"fieldLabel\": \"File\",\n    \"fieldType\": \"file\",\n    \"multipleFiles\": true,\n    \"acceptFileTypes\": \".jpg, .png\"\n  },\n  {\n    \"fieldLabel\": \"Number\",\n    \"fieldType\": \"number\"\n  },\n  {\n    \"fieldLabel\": \"Password\",\n    \"fieldType\": \"password\"\n  }\n]\n",
      "displayOptions": {
        "show": {
          "defineForm": [
            "json"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "rows": 5
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text Input",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "lt": 2.5
              }
            }
          ],
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true,
        "fixedCollection": {
          "itemTitle": "={{ $collection.item.properties.find(p => p.name === \"fieldType\").options.find(o => o.value === $collection.item.value.fieldType).name }}"
        }
      }
    },
    {
      "displayName": "Form Elements",
      "name": "formFields",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "required": true,
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    2.4
                  ]
                }
              }
            },
            {
              "displayName": "Label",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldLabel",
              "type": "string",
              "default": "",
              "placeholder": "e.g. What is your name?",
              "description": "Label that appears above the input field",
              "required": true,
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "hiddenField",
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.4
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Element Type",
              "name": "fieldType",
              "type": "options",
              "default": "text",
              "description": "The type of field to add to the form",
              "options": [
                {
                  "name": "Checkboxes",
                  "value": "checkbox"
                },
                {
                  "name": "Custom HTML",
                  "value": "html"
                },
                {
                  "name": "Date",
                  "value": "date"
                },
                {
                  "name": "Dropdown",
                  "value": "dropdown"
                },
                {
                  "name": "Email",
                  "value": "email"
                },
                {
                  "name": "File",
                  "value": "file"
                },
                {
                  "name": "Hidden Field",
                  "value": "hiddenField"
                },
                {
                  "name": "Number",
                  "value": "number"
                },
                {
                  "name": "Password",
                  "value": "password"
                },
                {
                  "name": "Radio Buttons",
                  "value": "radio"
                },
                {
                  "name": "Text Input",
                  "value": "text"
                },
                {
                  "name": "Textarea",
                  "value": "textarea"
                }
              ],
              "required": true
            },
            {
              "displayName": "Element Name",
              "name": "elementName",
              "type": "string",
              "default": "",
              "placeholder": "e.g. content-section",
              "description": "Optional field. It can be used to include the html in the output.",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Custom Field Name",
              "name": "fieldName",
              "description": "The name of the field, used in input attributes and referenced by the workflow",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html"
                  ]
                },
                "show": {
                  "@version": [
                    {
                      "_cnd": {
                        "gte": 2.5
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Placeholder",
              "name": "placeholder",
              "description": "Sample text to display inside the field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "dropdown",
                    "date",
                    "file",
                    "html",
                    "hiddenField",
                    "radio",
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-filled in the form field",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "text",
                    "number",
                    "email",
                    "textarea"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default date value that will be pre-filled in the form field (format: YYYY-MM-DD)",
              "type": "dateTime",
              "typeOptions": {
                "dateOnly": true
              },
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value that will be pre-selected. Must match one of the option labels.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown",
                    "radio"
                  ]
                }
              }
            },
            {
              "displayName": "Default Value",
              "name": "defaultValue",
              "description": "Default value(s) that will be pre-selected. Must match one or multiple of the option labels. Separate multiple pre-selected options with a comma.",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Field Value",
              "name": "fieldValue",
              "description": "Input value can be set here or will be passed as a query parameter via Field Name if no value is set",
              "type": "string",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "hiddenField"
                  ]
                }
              }
            },
            {
              "displayName": "Field Options",
              "name": "fieldOptions",
              "placeholder": "Add Field Option",
              "description": "List of options that can be selected from the dropdown",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Option",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Checkboxes",
              "name": "fieldOptions",
              "placeholder": "Add Checkbox",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Checkbox Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Radio Buttons",
              "name": "fieldOptions",
              "placeholder": "Add Radio Button",
              "type": "fixedCollection",
              "default": {
                "values": [
                  {
                    "option": ""
                  }
                ]
              },
              "required": true,
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "radio"
                  ]
                }
              },
              "typeOptions": {
                "multipleValues": true,
                "sortable": true
              },
              "options": [
                {
                  "displayName": "Values",
                  "name": "values",
                  "values": [
                    {
                      "displayName": "Radio Button Label",
                      "name": "option",
                      "type": "string",
                      "default": ""
                    }
                  ]
                }
              ]
            },
            {
              "displayName": "Multiple Choice is a legacy option, please use Checkboxes or Radio Buttons field type instead",
              "name": "multiselectLegacyNotice",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "multiselect": [
                    true
                  ],
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Choice",
              "name": "multiselect",
              "type": "boolean",
              "default": false,
              "description": "Whether to allow the user to select multiple options from the dropdown list",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "dropdown"
                  ],
                  "@version": [
                    {
                      "_cnd": {
                        "lt": 2.3
                      }
                    }
                  ]
                }
              }
            },
            {
              "displayName": "Limit Selection",
              "name": "limitSelection",
              "type": "options",
              "default": "unlimited",
              "options": [
                {
                  "name": "Exact Number",
                  "value": "exact"
                },
                {
                  "name": "Range",
                  "value": "range"
                },
                {
                  "name": "Unlimited",
                  "value": "unlimited"
                }
              ],
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ]
                }
              }
            },
            {
              "displayName": "Number of Selections",
              "name": "numberOfSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "exact"
                  ]
                }
              }
            },
            {
              "displayName": "Minimum Selections",
              "name": "minSelections",
              "type": "number",
              "default": 0,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 0,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "Maximum Selections",
              "name": "maxSelections",
              "type": "number",
              "default": 1,
              "typeOptions": {
                "numberPrecision": 0,
                "minValue": 1,
                "showEvenWhenOptional": true
              },
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "checkbox"
                  ],
                  "limitSelection": [
                    "range"
                  ]
                }
              }
            },
            {
              "displayName": "HTML",
              "name": "html",
              "typeOptions": {
                "editor": "htmlEditor"
              },
              "type": "string",
              "noDataExpression": true,
              "default": "<!-- Your custom HTML here --->\n\n\n",
              "description": "HTML elements to display on the form page",
              "hint": "Does not accept <code>&lt;script&gt;</code>, <code>&lt;style&gt;</code> or <code>&lt;input&gt;</code> tags",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "html"
                  ]
                }
              }
            },
            {
              "displayName": "Multiple Files",
              "name": "multipleFiles",
              "type": "boolean",
              "default": true,
              "description": "Whether to allow the user to select multiple files from the file input or just one",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "Accepted File Types",
              "name": "acceptFileTypes",
              "type": "string",
              "default": "",
              "description": "Comma-separated list of allowed file extensions",
              "hint": "Leave empty to allow all file types",
              "placeholder": "e.g. .jpg, .png",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "file"
                  ]
                }
              }
            },
            {
              "displayName": "The displayed date is formatted based on the locale of the user's browser",
              "name": "formatDate",
              "type": "notice",
              "default": "",
              "displayOptions": {
                "show": {
                  "fieldType": [
                    "date"
                  ]
                }
              }
            },
            {
              "displayName": "Required Field",
              "name": "requiredField",
              "type": "boolean",
              "default": false,
              "description": "Whether to require the user to enter a value for this field before submitting the form",
              "displayOptions": {
                "hide": {
                  "fieldType": [
                    "html",
                    "hiddenField"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "@version": [
            {
              "_cnd": {
                "gte": 2.5
              }
            }
          ],
          "defineForm": [
            "fields"
          ],
          "responseType": [
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true,
        "sortable": true,
        "hideOptionalFields": true,
        "addOptionalFieldButtonText": "Add Attributes",
        "fixedCollection": {
          "itemTitle": "={{ $collection.item.properties.find(p => p.name === \"fieldType\").options.find(o => o.value === $collection.item.value.fieldType).name }}"
        }
      }
    },
    {
      "displayName": "Approval Options",
      "name": "approvalOptions",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Type of Approval",
              "name": "approvalType",
              "type": "options",
              "placeholder": "Add option",
              "default": "single",
              "options": [
                {
                  "name": "Approve Only",
                  "value": "single"
                },
                {
                  "name": "Approve and Disapprove",
                  "value": "double"
                }
              ]
            },
            {
              "displayName": "Approve Button Label",
              "name": "approveLabel",
              "type": "string",
              "default": "✓ Approve",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "single",
                    "double"
                  ]
                }
              }
            },
            {
              "displayName": "Disapprove Button Label",
              "name": "disapproveLabel",
              "type": "string",
              "default": "✗ Decline",
              "displayOptions": {
                "show": {
                  "approvalType": [
                    "double"
                  ]
                }
              }
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether to limit the time this node should wait for a user response before execution resumes",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "approval"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Message Button Label",
          "name": "messageButtonLabel",
          "type": "string",
          "default": "Respond"
        },
        {
          "displayName": "Response Form Title",
          "name": "responseFormTitle",
          "description": "Title of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Description",
          "name": "responseFormDescription",
          "description": "Description of the form that the user can access to provide their response",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Response Form Button Label",
          "name": "responseFormButtonLabel",
          "type": "string",
          "default": "Submit"
        },
        {
          "displayName": "Response Form Custom Styling",
          "name": "responseFormCustomCss",
          "type": "string",
          "typeOptions": {
            "rows": 10,
            "editor": "cssEditor"
          },
          "default": ":root {\n\t--font-family: 'Open Sans', sans-serif;\n\t--font-weight-normal: 400;\n\t--font-weight-bold: 600;\n\t--font-size-body: 12px;\n\t--font-size-label: 14px;\n\t--font-size-test-notice: 12px;\n\t--font-size-input: 14px;\n\t--font-size-header: 20px;\n\t--font-size-paragraph: 14px;\n\t--font-size-link: 12px;\n\t--font-size-error: 12px;\n\t--font-size-html-h1: 28px;\n\t--font-size-html-h2: 20px;\n\t--font-size-html-h3: 16px;\n\t--font-size-html-h4: 14px;\n\t--font-size-html-h5: 12px;\n\t--font-size-html-h6: 10px;\n\t--font-size-subheader: 14px;\n\n\t/* Colors */\n\t--color-background: #fbfcfe;\n\t--color-test-notice-text: #e6a23d;\n\t--color-test-notice-bg: #fefaf6;\n\t--color-test-notice-border: #f6dcb7;\n\t--color-card-bg: #ffffff;\n\t--color-card-border: #dbdfe7;\n\t--color-card-shadow: rgba(99, 77, 255, 0.06);\n\t--color-link: #7e8186;\n\t--color-header: #525356;\n\t--color-label: #555555;\n\t--color-input-border: #dbdfe7;\n\t--color-input-text: #71747A;\n\t--color-focus-border: rgb(90, 76, 194);\n\t--color-submit-btn-bg: #ff6d5a;\n\t--color-submit-btn-text: #ffffff;\n\t--color-error: #ea1f30;\n\t--color-required: #ff6d5a;\n\t--color-clear-button-bg: #7e8186;\n\t--color-html-text: #555;\n\t--color-html-link: #ff6d5a;\n\t--color-header-subtext: #7e8186;\n\n\t/* Border Radii */\n\t--border-radius-card: 8px;\n\t--border-radius-input: 6px;\n\t--border-radius-clear-btn: 50%;\n\t--card-border-radius: 8px;\n\n\t/* Spacing */\n\t--padding-container-top: 24px;\n\t--padding-card: 24px;\n\t--padding-test-notice-vertical: 12px;\n\t--padding-test-notice-horizontal: 24px;\n\t--margin-bottom-card: 16px;\n\t--padding-form-input: 12px;\n\t--card-padding: 24px;\n\t--card-margin-bottom: 16px;\n\n\t/* Dimensions */\n\t--container-width: 448px;\n\t--submit-btn-height: 48px;\n\t--checkbox-size: 18px;\n\n\t/* Others */\n\t--box-shadow-card: 0px 4px 16px 0px var(--color-card-shadow);\n\t--opacity-placeholder: 0.5;\n}",
          "description": "Override default styling of the response form with CSS"
        },
        {
          "displayName": "Limit Wait Time",
          "name": "limitWaitTime",
          "type": "fixedCollection",
          "description": "Whether to limit the time this node should wait for a user response before execution resumes",
          "default": {
            "values": {
              "limitType": "afterTimeInterval",
              "resumeAmount": 45,
              "resumeUnit": "minutes"
            }
          },
          "options": [
            {
              "displayName": "Values",
              "name": "values",
              "values": [
                {
                  "displayName": "Limit Type",
                  "name": "limitType",
                  "type": "options",
                  "default": "afterTimeInterval",
                  "description": "Sets the condition for the execution to resume. Can be a specified date or after some time.",
                  "options": [
                    {
                      "name": "After Time Interval",
                      "description": "Waits for a certain amount of time",
                      "value": "afterTimeInterval"
                    },
                    {
                      "name": "At Specified Time",
                      "description": "Waits until the set date and time to continue",
                      "value": "atSpecifiedTime"
                    }
                  ]
                },
                {
                  "displayName": "Amount",
                  "name": "resumeAmount",
                  "type": "number",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "typeOptions": {
                    "minValue": 0,
                    "numberPrecision": 2
                  },
                  "default": 1,
                  "description": "The time to wait"
                },
                {
                  "displayName": "Unit",
                  "name": "resumeUnit",
                  "type": "options",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "afterTimeInterval"
                      ]
                    }
                  },
                  "options": [
                    {
                      "name": "Minutes",
                      "value": "minutes"
                    },
                    {
                      "name": "Hours",
                      "value": "hours"
                    },
                    {
                      "name": "Days",
                      "value": "days"
                    }
                  ],
                  "default": "hours",
                  "description": "Unit of the interval value"
                },
                {
                  "displayName": "Max Date and Time",
                  "name": "maxDateAndTime",
                  "type": "dateTime",
                  "displayOptions": {
                    "show": {
                      "limitType": [
                        "atSpecifiedTime"
                      ]
                    }
                  },
                  "default": "",
                  "description": "Continue execution after the specified date and time"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Append n8n Attribution",
          "name": "appendAttribution",
          "type": "boolean",
          "default": true,
          "description": "Whether to include the phrase \"This message was sent automatically with n8n\" to the end of the message"
        }
      ],
      "displayOptions": {
        "show": {
          "responseType": [
            "freeText",
            "customForm"
          ],
          "resource": [
            "message"
          ],
          "operation": [
            "sendAndWait"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "send",
      "name": "Send"
    },
    {
      "operation": "sendAndWait",
      "name": "Send and Wait for Response"
    },
    {
      "operation": "sendTemplate",
      "name": "Send Template"
    }
  ]


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

outputs:
  [
  "main"
  ]

updated_at: 2026-03-04 11:46:58
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Wise node documentation
  description: Learn how to use the Wise node in n8n. Follow technical documentation to integrate Wise node into your workflows.
  contentType: [integration, reference]
  ---

  # Wise node

  Use the Wise node to automate work in Wise, and integrate Wise with other applications. n8n has built-in support for a wide range of Wise features, including getting profiles, exchange rates, and recipients. 

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

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

  ## Operations

  * Account
      * Retrieve balances for all account currencies of this user.
      * Retrieve currencies in the borderless account of this user.
      * Retrieve the statement for the borderless account of this user.
  * Exchange Rate
      * Get
  * Profile
      * Get
      * Get All
  * Recipient
      * Get All
  * Quote
      * Create
      * Get
  * Transfer
      * Create
      * Delete
      * Execute
      * Get
      * Get All

  ## Templates and examples

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

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "account",
      "options": [
        {
          "name": "Account",
          "value": "account"
        },
        {
          "name": "Exchange Rate",
          "value": "exchangeRate"
        },
        {
          "name": "Profile",
          "value": "profile"
        },
        {
          "name": "Quote",
          "value": "quote"
        },
        {
          "name": "Recipient",
          "value": "recipient"
        },
        {
          "name": "Transfer",
          "value": "transfer"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getBalances",
      "options": [
        {
          "name": "Get Balances",
          "value": "getBalances",
          "description": "Retrieve balances for all account currencies of this user",
          "action": "Get balances"
        },
        {
          "name": "Get Currencies",
          "value": "getCurrencies",
          "description": "Retrieve currencies in the borderless account of this user",
          "action": "Get currencies"
        },
        {
          "name": "Get Statement",
          "value": "getStatement",
          "description": "Retrieve the statement for the borderless account of this user",
          "action": "Get a statement"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Profile Name or ID",
      "name": "profileId",
      "type": "options",
      "default": [],
      "description": "ID of the user profile to retrieve the balance of. 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": [
            "account"
          ],
          "operation": [
            "getBalances"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProfiles"
      }
    },
    {
      "displayName": "Profile Name or ID",
      "name": "profileId",
      "type": "options",
      "default": [],
      "description": "ID of the user profile whose account to retrieve the statement of. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getStatement"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProfiles"
      }
    },
    {
      "displayName": "Borderless Account Name or ID",
      "name": "borderlessAccountId",
      "type": "options",
      "default": [],
      "description": "ID of the borderless account to retrieve the statement of. 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": [
            "account"
          ],
          "operation": [
            "getStatement"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getBorderlessAccounts",
        "loadOptionsDependsOn": [
          "profileId"
        ]
      }
    },
    {
      "displayName": "Currency",
      "name": "currency",
      "type": "string",
      "default": "",
      "description": "Code of the currency of the borderless account to retrieve the statement of",
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getStatement"
          ]
        }
      }
    },
    {
      "displayName": "Format",
      "name": "format",
      "type": "options",
      "default": "json",
      "description": "File format to retrieve the statement in",
      "options": [
        {
          "name": "JSON",
          "value": "json"
        },
        {
          "name": "CSV",
          "value": "csv"
        },
        {
          "name": "PDF",
          "value": "pdf"
        },
        {
          "name": "XML (CAMT.053)",
          "value": "xml"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getStatement"
          ]
        }
      }
    },
    {
      "displayName": "Put Output File in Field",
      "name": "binaryProperty",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getStatement"
          ],
          "format": [
            "csv",
            "pdf",
            "xml"
          ]
        }
      }
    },
    {
      "displayName": "File Name",
      "name": "fileName",
      "type": "string",
      "default": "",
      "description": "Name of the file that will be downloaded",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getStatement"
          ],
          "format": [
            "csv",
            "pdf",
            "xml"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Line Style",
          "name": "lineStyle",
          "type": "options",
          "default": "COMPACT",
          "description": "Line style to retrieve the statement in",
          "options": [
            {
              "name": "Compact",
              "value": "COMPACT",
              "description": "Single line per transaction"
            },
            {
              "name": "Flat",
              "value": "FLAT",
              "description": "Separate lines for transaction fees"
            }
          ]
        },
        {
          "displayName": "Range",
          "name": "range",
          "type": "fixedCollection",
          "placeholder": "Add Range",
          "default": {},
          "options": [
            {
              "displayName": "Range Properties",
              "name": "rangeProperties",
              "values": [
                {
                  "displayName": "Range Start",
                  "name": "intervalStart",
                  "type": "dateTime",
                  "default": ""
                },
                {
                  "displayName": "Range End",
                  "name": "intervalEnd",
                  "type": "dateTime",
                  "default": ""
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "account"
          ],
          "operation": [
            "getStatement"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get an exchange rate"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "exchangeRate"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Source Currency",
      "name": "source",
      "type": "string",
      "default": "",
      "description": "Code of the source currency to retrieve the exchange rate for",
      "displayOptions": {
        "show": {
          "resource": [
            "exchangeRate"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Target Currency",
      "name": "target",
      "type": "string",
      "default": "",
      "description": "Code of the target currency to retrieve the exchange rate for",
      "displayOptions": {
        "show": {
          "resource": [
            "exchangeRate"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Interval",
          "name": "interval",
          "type": "options",
          "default": "day",
          "options": [
            {
              "name": "Day",
              "value": "day"
            },
            {
              "name": "Hour",
              "value": "hour"
            },
            {
              "name": "Minute",
              "value": "minute"
            }
          ]
        },
        {
          "displayName": "Range",
          "name": "range",
          "type": "fixedCollection",
          "placeholder": "Add Range",
          "description": "Range of time to retrieve the exchange rate for",
          "default": {},
          "options": [
            {
              "displayName": "Range Properties",
              "name": "rangeProperties",
              "values": [
                {
                  "displayName": "Range Start",
                  "name": "from",
                  "type": "dateTime",
                  "default": ""
                },
                {
                  "displayName": "Range End",
                  "name": "to",
                  "type": "dateTime",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Time",
          "name": "time",
          "type": "dateTime",
          "default": "",
          "description": "Point in time to retrieve the exchange rate for"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "exchangeRate"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "action": "Get a profile"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many profiles"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "profile"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Profile Name or ID",
      "name": "profileId",
      "type": "options",
      "default": [],
      "description": "ID of the user profile to retrieve. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "profile"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProfiles"
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a quote"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a quote"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Profile Name or ID",
      "name": "profileId",
      "type": "options",
      "default": [],
      "description": "ID of the user profile to create the quote under. 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": [
            "quote"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProfiles"
      }
    },
    {
      "displayName": "Target Account Name or ID",
      "name": "targetAccountId",
      "type": "options",
      "default": [],
      "description": "ID of the account that will receive the funds. 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": [
            "quote"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getRecipients"
      }
    },
    {
      "displayName": "Amount Type",
      "name": "amountType",
      "type": "options",
      "default": "source",
      "description": "Whether the amount is to be sent or received",
      "options": [
        {
          "name": "Source",
          "value": "source"
        },
        {
          "name": "Target",
          "value": "target"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Amount",
      "name": "amount",
      "type": "number",
      "default": 1,
      "description": "Amount of funds for the quote to create",
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Source Currency",
      "name": "sourceCurrency",
      "type": "string",
      "default": "",
      "description": "Code of the currency to send for the quote to create",
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Target Currency",
      "name": "targetCurrency",
      "type": "string",
      "default": "",
      "description": "Code of the currency to receive for the quote to create",
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Quote ID",
      "name": "quoteId",
      "type": "string",
      "default": "",
      "description": "ID of the quote to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "quote"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many recipients"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "recipient"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "recipient"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "recipient"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "action": "Create a transfer"
        },
        {
          "name": "Delete",
          "value": "delete",
          "action": "Delete a transfer"
        },
        {
          "name": "Execute",
          "value": "execute",
          "action": "Execute a transfer"
        },
        {
          "name": "Get",
          "value": "get",
          "action": "Get a transfer"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "action": "Get many transfers"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Profile Name or ID",
      "name": "profileId",
      "type": "options",
      "default": [],
      "description": "ID of the user profile to retrieve the balance of. 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": [
            "transfer"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProfiles",
        "loadOptionsDependsOn": [
          "profileId"
        ]
      }
    },
    {
      "displayName": "Quote ID",
      "name": "quoteId",
      "type": "string",
      "default": "",
      "description": "ID of the quote based on which to create the transfer",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Target Account Name or ID",
      "name": "targetAccountId",
      "type": "options",
      "default": [],
      "description": "ID of the account that will receive the funds. 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": [
            "transfer"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getRecipients"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Reference",
          "name": "reference",
          "type": "string",
          "default": "",
          "description": "Reference text to show in the recipient's bank statement"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Transfer ID",
      "name": "transferId",
      "type": "string",
      "default": "",
      "description": "ID of the transfer to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Profile Name or ID",
      "name": "profileId",
      "type": "options",
      "default": [],
      "description": "ID of the user profile to execute the transfer under. 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": [
            "transfer"
          ],
          "operation": [
            "execute"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProfiles"
      }
    },
    {
      "displayName": "Transfer ID",
      "name": "transferId",
      "type": "string",
      "default": "",
      "description": "ID of the transfer to execute",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "execute"
          ]
        }
      }
    },
    {
      "displayName": "Transfer ID",
      "name": "transferId",
      "type": "string",
      "default": "",
      "description": "ID of the transfer to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Download Receipt",
      "name": "downloadReceipt",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the transfer receipt as a PDF file. Only for executed transfers, having status 'Outgoing Payment Sent'.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Put Output File in Field",
      "name": "binaryProperty",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "get"
          ],
          "downloadReceipt": [
            true
          ]
        }
      }
    },
    {
      "displayName": "File Name",
      "name": "fileName",
      "type": "string",
      "default": "",
      "description": "Name of the file that will be downloaded",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "get"
          ],
          "downloadReceipt": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Profile Name or ID",
      "name": "profileId",
      "type": "options",
      "default": [],
      "description": "ID of the user profile to retrieve. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getProfiles"
      }
    },
    {
      "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": [
            "transfer"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 5,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Range",
          "name": "range",
          "type": "fixedCollection",
          "placeholder": "Add Range",
          "description": "Range of time for filtering the transfers",
          "default": {},
          "options": [
            {
              "displayName": "Range Properties",
              "name": "rangeProperties",
              "values": [
                {
                  "displayName": "Created Date Start",
                  "name": "createdDateStart",
                  "type": "dateTime",
                  "default": ""
                },
                {
                  "displayName": "Created Date End",
                  "name": "createdDateEnd",
                  "type": "dateTime",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Source Currency",
          "name": "sourceCurrency",
          "type": "string",
          "default": "",
          "description": "Code of the source currency for filtering the transfers"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "default": "processing",
          "options": [
            {
              "name": "Bounced Back",
              "value": "bounced_back"
            },
            {
              "name": "Cancelled",
              "value": "cancelled"
            },
            {
              "name": "Charged Back",
              "value": "charged_back"
            },
            {
              "name": "Funds Converted",
              "value": "funds_converted"
            },
            {
              "name": "Funds Refunded",
              "value": "funds_refunded"
            },
            {
              "name": "Incoming Payment Waiting",
              "value": "incoming_payment_waiting"
            },
            {
              "name": "Outgoing Payment Sent",
              "value": "outgoing_payment_sent"
            },
            {
              "name": "Processing",
              "value": "processing"
            },
            {
              "name": "Unknown",
              "value": "unknown"
            },
            {
              "name": "Waiting for Recipient Input to Proceed",
              "value": "waiting_recipient_input_to_proceed"
            }
          ]
        },
        {
          "displayName": "Target Currency",
          "name": "targetCurrency",
          "type": "string",
          "default": "",
          "description": "Code of the target currency for filtering the transfers"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "transfer"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "getBalances",
      "name": "Get Balances",
      "description": "Retrieve balances for all account currencies of this user"
    },
    {
      "operation": "getCurrencies",
      "name": "Get Currencies",
      "description": "Retrieve currencies in the borderless account of this user"
    },
    {
      "operation": "getStatement",
      "name": "Get Statement",
      "description": "Retrieve the statement for the borderless account of this user"
    }
  ]


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

outputs:
  [
  "main"
  ]

updated_at: 2026-03-04 11:46:58
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Wise Trigger node documentation
  description: Learn how to use the Wise Trigger node in n8n. Follow technical documentation to integrate Wise Trigger node into your workflows.
  contentType: [integration, reference]
  ---

  # Wise Trigger node

  [Wise](https://wise.com) allows you to transfer money abroad with low-cost money transfers, receive money with international account details, and track transactions on your phone.

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

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

  ## Events

  - Triggered every time a balance account is credited
  - Triggered every time a balance account is credited or debited
  - Triggered every time a transfer's list of active cases is updated
  - Triggered every time a transfer's status is updated 

properties_schema:
  [
    {
      "displayName": "Profile Name or ID",
      "name": "profileId",
      "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,
      "typeOptions": {
        "loadOptionsMethod": "getProfiles"
      }
    },
    {
      "displayName": "Event",
      "name": "event",
      "type": "options",
      "default": "",
      "options": [
        {
          "name": "Balance Credit",
          "value": "balanceCredit",
          "description": "Triggered every time a balance account is credited"
        },
        {
          "name": "Balance Update",
          "value": "balanceUpdate",
          "description": "Triggered every time a balance account is credited or debited"
        },
        {
          "name": "Transfer Active Case",
          "value": "transferActiveCases",
          "description": "Triggered every time a transfer's list of active cases is updated"
        },
        {
          "name": "Transfer State Changed",
          "value": "tranferStateChange",
          "description": "Triggered every time a transfer's status is updated"
        }
      ],
      "required": true
    }
  ]


node_type: nodes-base.wooCommerceTool
package_name: n8n-nodes-base
display_name: WooCommerce Tool
description: Consume WooCommerce API (AI Tool variant for use with AI Agents)
category: output
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "wooCommerceApi",
  "required": true
  }
  ]

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

output_names:
  [
  "Tool"
  ]

updated_at: 2026-03-04 11:46:58
tool_variant_of: nodes-base.wooCommerce
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: WooCommerce node documentation
  description: Learn how to use the WooCommerce node in n8n. Follow technical documentation to integrate WooCommerce node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # WooCommerce node

  Use the WooCommerce node to automate work in WooCommerce, and integrate WooCommerce with other applications. n8n has built-in support for a wide range of WooCommerce features, including creating and deleting customers, orders, and products. 

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

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

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

  ## Operations

  * Customer
      * Create a customer
      * Delete a customer
      * Retrieve a customer
      * Retrieve all customers
      * Update a customer
  * Order
      * Create a order
      * Delete a order
      * Get a order
      * Get all orders
      * Update an order
  * Product
      * Create a product
      * Delete a product
      * Get a product
      * Get all products
      * Update a product

  ## Templates and examples

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

  --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 WooCommerce"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "product",
      "options": [
        {
          "name": "Customer",
          "value": "customer"
        },
        {
          "name": "Order",
          "value": "order"
        },
        {
          "name": "Product",
          "value": "product"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a customer",
          "action": "Create a customer"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a customer",
          "action": "Delete a customer"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a customer",
          "action": "Get a customer"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many customers",
          "action": "Get many customers"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a customer",
          "action": "Update a customer"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Email",
      "name": "email",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Billing Address",
          "name": "billing",
          "type": "collection",
          "default": {},
          "placeholder": "Add Field",
          "options": [
            {
              "displayName": "First Name",
              "name": "first_name",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Last Name",
              "name": "last_name",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Company",
              "name": "company",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address 1",
              "name": "address_1",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address 2",
              "name": "address_2",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "City",
              "name": "city",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "State",
              "name": "state",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Postcode",
              "name": "postcode",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Country",
              "name": "country",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Email",
              "name": "email",
              "type": "string",
              "placeholder": "name@email.com",
              "default": ""
            },
            {
              "displayName": "Phone",
              "name": "phone",
              "type": "string",
              "default": ""
            }
          ]
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Metadata",
          "name": "meta_data",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "placeholder": "Add Metadata Field",
          "options": [
            {
              "displayName": "Metadata Fields",
              "name": "meta_data_fields",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "displayOptions": {
            "show": {
              "/resource": [
                "customer"
              ],
              "/operation": [
                "create"
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "Shipping Address",
          "name": "shipping",
          "type": "collection",
          "default": {},
          "placeholder": "Add Field",
          "options": [
            {
              "displayName": "First Name",
              "name": "first_name",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Last Name",
              "name": "last_name",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Company",
              "name": "company",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address 1",
              "name": "address_1",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address 2",
              "name": "address_2",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "City",
              "name": "city",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "State",
              "name": "state",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Postcode",
              "name": "postcode",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Country",
              "name": "country",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Email",
              "name": "email",
              "type": "string",
              "placeholder": "name@email.com",
              "default": ""
            },
            {
              "displayName": "Phone",
              "name": "phone",
              "type": "string",
              "default": ""
            }
          ]
        },
        {
          "displayName": "Username",
          "name": "username",
          "type": "string",
          "default": ""
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Email address to filter customers by"
        },
        {
          "displayName": "Sort Order",
          "name": "order",
          "description": "Order to sort customers in",
          "type": "options",
          "options": [
            {
              "name": "Ascending",
              "value": "asc"
            },
            {
              "name": "Descending",
              "value": "desc"
            }
          ],
          "default": "asc"
        },
        {
          "displayName": "Order By",
          "name": "orderby",
          "description": "Field to sort customers by",
          "type": "options",
          "options": [
            {
              "name": "ID",
              "value": "id"
            },
            {
              "name": "Include",
              "value": "include"
            },
            {
              "name": "Name",
              "value": "name"
            },
            {
              "name": "Registered Date",
              "value": "registered_date"
            }
          ],
          "default": "id"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Billing Address",
          "name": "billing",
          "type": "collection",
          "default": {},
          "placeholder": "Add Field",
          "options": [
            {
              "displayName": "First Name",
              "name": "first_name",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Last Name",
              "name": "last_name",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Company",
              "name": "company",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address 1",
              "name": "address_1",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address 2",
              "name": "address_2",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "City",
              "name": "city",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "State",
              "name": "state",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Postcode",
              "name": "postcode",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Country",
              "name": "country",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Email",
              "name": "email",
              "type": "string",
              "placeholder": "name@email.com",
              "default": ""
            },
            {
              "displayName": "Phone",
              "name": "phone",
              "type": "string",
              "default": ""
            }
          ]
        },
        {
          "displayName": "First Name",
          "name": "first_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Last Name",
          "name": "last_name",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Metadata",
          "name": "meta_data",
          "type": "fixedCollection",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "placeholder": "Add Metadata Field",
          "options": [
            {
              "displayName": "Metadata Fields",
              "name": "meta_data_fields",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "displayOptions": {
            "show": {
              "/resource": [
                "customer"
              ],
              "/operation": [
                "create"
              ]
            }
          },
          "default": ""
        },
        {
          "displayName": "Shipping Address",
          "name": "shipping",
          "type": "collection",
          "default": {},
          "placeholder": "Add Field",
          "options": [
            {
              "displayName": "First Name",
              "name": "first_name",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Last Name",
              "name": "last_name",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Company",
              "name": "company",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address 1",
              "name": "address_1",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address 2",
              "name": "address_2",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "City",
              "name": "city",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "State",
              "name": "state",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Postcode",
              "name": "postcode",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Country",
              "name": "country",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Email",
              "name": "email",
              "type": "string",
              "placeholder": "name@email.com",
              "default": ""
            },
            {
              "displayName": "Phone",
              "name": "phone",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a product",
          "action": "Create a product"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a product",
          "action": "Delete a product"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a product",
          "action": "Get a product"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many products",
          "action": "Get many products"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a product",
          "action": "Update a product"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Product name",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Backorders",
          "name": "backorders",
          "type": "options",
          "options": [
            {
              "name": "No",
              "value": "no"
            },
            {
              "name": "Notify",
              "value": "notify"
            },
            {
              "name": "Yes",
              "value": "yes"
            }
          ],
          "default": "no",
          "description": "If managing stock, this controls if backorders are allowed"
        },
        {
          "displayName": "Button Text",
          "name": "buttonText",
          "type": "string",
          "default": "",
          "description": "Product external button text. Only for external products."
        },
        {
          "displayName": "Catalog Visibility",
          "name": "catalogVisibility",
          "type": "options",
          "options": [
            {
              "name": "Catalog",
              "value": "catalog"
            },
            {
              "name": "Hidden",
              "value": "hidden"
            },
            {
              "name": "Search",
              "value": "search"
            },
            {
              "name": "Visible",
              "value": "visible"
            }
          ],
          "default": "visible"
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getCategories"
          },
          "default": [],
          "description": "List of categories. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Cross Sell IDs",
          "name": "crossSellIds",
          "type": "string",
          "default": "",
          "description": "List of cross-sell products IDs. Multiple can be added separated by ,."
        },
        {
          "displayName": "Date On Sale From",
          "name": "dateOnSaleFrom",
          "type": "dateTime",
          "default": "",
          "description": "Start date of sale price, in the site's timezone"
        },
        {
          "displayName": "Date On Sale To",
          "name": "dateOnSaleTo",
          "type": "dateTime",
          "default": "",
          "description": "Ennd date of sale price, in the site's timezone"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Product description"
        },
        {
          "displayName": "Downloadable",
          "name": "downloadable",
          "type": "boolean",
          "default": false,
          "description": "Whether the product is downloadable"
        },
        {
          "displayName": "External URL",
          "name": "externalUrl",
          "type": "string",
          "default": "",
          "description": "Product external URL. Only for external products."
        },
        {
          "displayName": "Featured",
          "name": "featured",
          "type": "boolean",
          "default": false,
          "description": "Whether the product is featured"
        },
        {
          "displayName": "Manage Stock",
          "name": "manageStock",
          "type": "boolean",
          "default": false,
          "description": "Stock management at product level"
        },
        {
          "displayName": "Menu Order",
          "name": "menuOrder",
          "type": "number",
          "default": 1,
          "description": "Menu order, used to custom sort products"
        },
        {
          "displayName": "Parent ID",
          "name": "parentId",
          "type": "string",
          "default": "",
          "description": "Product parent ID"
        },
        {
          "displayName": "Purchase Note",
          "name": "purchaseNote",
          "type": "string",
          "default": "",
          "description": "Optional note to send the customer after purchase"
        },
        {
          "displayName": "Regular Price",
          "name": "regularPrice",
          "type": "string",
          "default": "",
          "description": "Product regular price"
        },
        {
          "displayName": "Reviews Allowed",
          "name": "reviewsAllowed",
          "type": "boolean",
          "default": true,
          "description": "Whether to allow reviews"
        },
        {
          "displayName": "Sale Price",
          "name": "salePrice",
          "type": "string",
          "default": "",
          "description": "Product sale price"
        },
        {
          "displayName": "Shipping Class",
          "name": "shippingClass",
          "type": "string",
          "default": "",
          "description": "Shipping class slug"
        },
        {
          "displayName": "Short Description",
          "name": "shortDescription",
          "type": "string",
          "default": "",
          "description": "Product short description"
        },
        {
          "displayName": "SKU",
          "name": "sku",
          "type": "string",
          "default": "",
          "description": "Unique identifier"
        },
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "Product slug"
        },
        {
          "displayName": "Sold Individually",
          "name": "soldIndividually",
          "type": "boolean",
          "default": false,
          "description": "Whether to allow one item to be bought in a single order"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Draft",
              "value": "draft"
            },
            {
              "name": "Pending",
              "value": "pending"
            },
            {
              "name": "Private",
              "value": "private"
            },
            {
              "name": "Publish",
              "value": "publish"
            }
          ],
          "default": "publish",
          "description": "A named status for the product"
        },
        {
          "displayName": "Stock Quantity",
          "name": "stockQuantity",
          "type": "number",
          "default": 1
        },
        {
          "displayName": "Stock Status",
          "name": "stockStatus",
          "type": "options",
          "options": [
            {
              "name": "In Stock",
              "value": "instock"
            },
            {
              "name": "Out Of Stock",
              "value": "outofstock"
            },
            {
              "name": "On Back Order",
              "value": "onbackorder"
            }
          ],
          "default": "instock",
          "description": "Controls the stock status of the product"
        },
        {
          "displayName": "Tag Names or IDs",
          "name": "tags",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getTags"
          },
          "default": [],
          "description": "List of tags. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Tax Class",
          "name": "taxClass",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Tax Status",
          "name": "taxStatus",
          "type": "options",
          "options": [
            {
              "name": "Taxable",
              "value": "taxable"
            },
            {
              "name": "Shipping",
              "value": "shipping"
            },
            {
              "name": "None",
              "value": "none"
            }
          ],
          "default": "taxable"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Simple",
              "value": "simple"
            },
            {
              "name": "Grouped",
              "value": "grouped"
            },
            {
              "name": "External",
              "value": "external"
            },
            {
              "name": "Variable",
              "value": "variable"
            }
          ],
          "default": "simple",
          "description": "Product type"
        },
        {
          "displayName": "Upsell IDs",
          "name": "upsellIds",
          "type": "string",
          "default": "",
          "description": "List of up-sell products IDs. Multiple can be added separated by ,."
        },
        {
          "displayName": "Virtual",
          "name": "virtual",
          "type": "boolean",
          "default": false,
          "description": "Whether the product is virtual"
        },
        {
          "displayName": "Weight",
          "name": "weight",
          "type": "string",
          "default": "",
          "description": "Product weight"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Dimensions",
      "name": "dimensionsUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Product dimensions",
      "options": [
        {
          "name": "dimensionsValues",
          "displayName": "Dimension",
          "values": [
            {
              "displayName": "Height",
              "name": "height",
              "type": "string",
              "default": "",
              "description": "Product height"
            },
            {
              "displayName": "Length",
              "name": "length",
              "type": "string",
              "default": "",
              "description": "Product length"
            },
            {
              "displayName": "Width",
              "name": "width",
              "type": "string",
              "default": "",
              "description": "Product width"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Images",
      "name": "imagesUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Product Image",
      "options": [
        {
          "name": "imagesValues",
          "displayName": "Image",
          "values": [
            {
              "displayName": "Alt",
              "name": "alt",
              "type": "string",
              "default": "",
              "description": "Image alternative text"
            },
            {
              "displayName": "Src",
              "name": "src",
              "type": "string",
              "default": "",
              "description": "Image URL"
            },
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "description": "Image name"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Metadata",
      "name": "metadataUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Meta data",
      "options": [
        {
          "name": "metadataValues",
          "displayName": "Metadata",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": "",
              "description": "Name of the metadata key to add"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "description": "Value to set for the metadata key"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Backorders",
          "name": "backorders",
          "type": "options",
          "options": [
            {
              "name": "No",
              "value": "no"
            },
            {
              "name": "Notify",
              "value": "notify"
            },
            {
              "name": "Yes",
              "value": "yes"
            }
          ],
          "default": "no",
          "description": "If managing stock, this controls if backorders are allowed"
        },
        {
          "displayName": "Button Text",
          "name": "buttonText",
          "type": "string",
          "default": "",
          "description": "Product external button text. Only for external products."
        },
        {
          "displayName": "Catalog Visibility",
          "name": "catalogVisibility",
          "type": "options",
          "options": [
            {
              "name": "Visible",
              "value": "visible"
            },
            {
              "name": "Catalog",
              "value": "catalog"
            },
            {
              "name": "Search",
              "value": "search"
            },
            {
              "name": "Hidden",
              "value": "hidden"
            }
          ],
          "default": "visible"
        },
        {
          "displayName": "Category Names or IDs",
          "name": "categories",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getCategories"
          },
          "default": [],
          "description": "List of categories. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Cross Sell IDs",
          "name": "crossSellIds",
          "type": "string",
          "default": "",
          "description": "List of cross-sell products IDs. Multiple can be added separated by ,."
        },
        {
          "displayName": "Date On Sale From",
          "name": "dateOnSaleFrom",
          "type": "dateTime",
          "default": "",
          "description": "Start date of sale price, in the site's timezone"
        },
        {
          "displayName": "Date On Sale To",
          "name": "dateOnSaleTo",
          "type": "dateTime",
          "default": "",
          "description": "Ennd date of sale price, in the site's timezone"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Product description"
        },
        {
          "displayName": "Downloadable",
          "name": "downloadable",
          "type": "boolean",
          "default": false,
          "description": "Whether the product is downloadable"
        },
        {
          "displayName": "External URL",
          "name": "externalUrl",
          "type": "string",
          "default": "",
          "description": "Product external URL. Only for external products."
        },
        {
          "displayName": "Featured",
          "name": "featured",
          "type": "boolean",
          "default": false,
          "description": "Whether the product is featured"
        },
        {
          "displayName": "Manage Stock",
          "name": "manageStock",
          "type": "boolean",
          "default": false,
          "description": "Stock management at product level"
        },
        {
          "displayName": "Menu Order",
          "name": "menuOrder",
          "type": "number",
          "default": 1,
          "description": "Menu order, used to custom sort products"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Product name"
        },
        {
          "displayName": "Parent ID",
          "name": "parentId",
          "type": "string",
          "default": "",
          "description": "Product parent ID"
        },
        {
          "displayName": "Purchase Note",
          "name": "purchaseNote",
          "type": "string",
          "default": "",
          "description": "Optional note to send the customer after purchase"
        },
        {
          "displayName": "Regular Price",
          "name": "regularPrice",
          "type": "string",
          "default": "",
          "description": "Product regular price"
        },
        {
          "displayName": "Reviews Allowed",
          "name": "reviewsAllowed",
          "type": "boolean",
          "default": true,
          "description": "Whether to allow reviews"
        },
        {
          "displayName": "Sale Price",
          "name": "salePrice",
          "type": "string",
          "default": "",
          "description": "Product sale price"
        },
        {
          "displayName": "Shipping Class",
          "name": "shippingClass",
          "type": "string",
          "default": "",
          "description": "Shipping class slug"
        },
        {
          "displayName": "Short Description",
          "name": "shortDescription",
          "type": "string",
          "default": "",
          "description": "Product short description"
        },
        {
          "displayName": "SKU",
          "name": "sku",
          "type": "string",
          "default": "",
          "description": "Unique identifier"
        },
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "Product slug"
        },
        {
          "displayName": "Sold Individually",
          "name": "soldIndividually",
          "type": "boolean",
          "default": false,
          "description": "Whether to allow one item to be bought in a single order"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Draft",
              "value": "draft"
            },
            {
              "name": "Pending",
              "value": "pending"
            },
            {
              "name": "Private",
              "value": "private"
            },
            {
              "name": "Publish",
              "value": "publish"
            }
          ],
          "default": "publish",
          "description": "A named status for the product"
        },
        {
          "displayName": "Stock Quantity",
          "name": "stockQuantity",
          "type": "number",
          "default": 1
        },
        {
          "displayName": "Stock Status",
          "name": "stockStatus",
          "type": "options",
          "options": [
            {
              "name": "In Stock",
              "value": "instock"
            },
            {
              "name": "Out Of Stock",
              "value": "outofstock"
            },
            {
              "name": "On Back Order",
              "value": "onbackorder"
            }
          ],
          "default": "instock",
          "description": "Controls the stock status of the product"
        },
        {
          "displayName": "Tag Names or IDs",
          "name": "tags",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getTags"
          },
          "default": [],
          "description": "List of tags. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Tax Class",
          "name": "taxClass",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Tax Status",
          "name": "taxStatus",
          "type": "options",
          "options": [
            {
              "name": "Taxable",
              "value": "taxable"
            },
            {
              "name": "Shipping",
              "value": "shipping"
            },
            {
              "name": "None",
              "value": "none"
            }
          ],
          "default": "taxable"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Simple",
              "value": "simple"
            },
            {
              "name": "Grouped",
              "value": "grouped"
            },
            {
              "name": "External",
              "value": "external"
            },
            {
              "name": "Variable",
              "value": "variable"
            }
          ],
          "default": "simple",
          "description": "Product type"
        },
        {
          "displayName": "Upsell IDs",
          "name": "upsellIds",
          "type": "string",
          "default": "",
          "description": "List of up-sell products IDs. Multiple can be added separated by ,."
        },
        {
          "displayName": "Virtual",
          "name": "virtual",
          "type": "boolean",
          "default": false,
          "description": "Whether the product is virtual"
        },
        {
          "displayName": "Weight",
          "name": "weight",
          "type": "string",
          "default": "",
          "description": "Product weight"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Dimensions",
      "name": "dimensionsUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Product dimensions",
      "options": [
        {
          "name": "dimensionsValues",
          "displayName": "Dimension",
          "values": [
            {
              "displayName": "Height",
              "name": "height",
              "type": "string",
              "default": "",
              "description": "Product height"
            },
            {
              "displayName": "Length",
              "name": "length",
              "type": "string",
              "default": "",
              "description": "Product length"
            },
            {
              "displayName": "Width",
              "name": "width",
              "type": "string",
              "default": "",
              "description": "Product width"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Images",
      "name": "imagesUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Product Image",
      "options": [
        {
          "name": "imagesValues",
          "displayName": "Image",
          "values": [
            {
              "displayName": "Alt",
              "name": "alt",
              "type": "string",
              "default": "",
              "description": "Image alternative text"
            },
            {
              "displayName": "Src",
              "name": "src",
              "type": "string",
              "default": "",
              "description": "Image URL"
            },
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "description": "Image name"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Metadata",
      "name": "metadataUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Meta data",
      "options": [
        {
          "name": "metadataValues",
          "displayName": "Metadata",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": "",
              "description": "Name of the metadata key to add"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "description": "Value to set for the metadata key"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "After",
          "name": "after",
          "type": "dateTime",
          "default": "",
          "description": "Limit response to resources published after a given ISO8601 compliant date"
        },
        {
          "displayName": "Before",
          "name": "before",
          "type": "dateTime",
          "default": "",
          "description": "Limit response to resources published before a given ISO8601 compliant date"
        },
        {
          "displayName": "Category Name or ID",
          "name": "category",
          "type": "options",
          "default": "",
          "typeOptions": {
            "loadOptionsMethod": "getCategories"
          },
          "description": "Limit result set to products assigned a specific category ID. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Context",
          "name": "context",
          "type": "options",
          "options": [
            {
              "name": "View",
              "value": "view"
            },
            {
              "name": "Embed",
              "value": "embed"
            },
            {
              "name": "Edit",
              "value": "edit"
            }
          ],
          "default": "view",
          "description": "Scope under which the request is made; determines fields present in response"
        },
        {
          "displayName": "Featured",
          "name": "featured",
          "type": "boolean",
          "default": false,
          "description": "Whether to limit the result set to featured products"
        },
        {
          "displayName": "Max Price",
          "name": "maxPrice",
          "type": "string",
          "default": "",
          "description": "Limit result set to products based on a maximun price"
        },
        {
          "displayName": "Min Price",
          "name": "minPrice",
          "type": "string",
          "default": "",
          "description": "Limit result set to products based on a minimum price"
        },
        {
          "displayName": "Order",
          "name": "order",
          "type": "options",
          "options": [
            {
              "name": "ASC",
              "value": "asc"
            },
            {
              "name": "DESC",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Order sort attribute ascending or descending"
        },
        {
          "displayName": "Order By",
          "name": "orderBy",
          "type": "options",
          "options": [
            {
              "name": "Date",
              "value": "date"
            },
            {
              "name": "ID",
              "value": "id"
            },
            {
              "name": "Include",
              "value": "include"
            },
            {
              "name": "Slug",
              "value": "slug"
            },
            {
              "name": "Title",
              "value": "title"
            }
          ],
          "default": "id",
          "description": "Sort collection by object attribute"
        },
        {
          "displayName": "Search",
          "name": "search",
          "type": "string",
          "default": "",
          "description": "Limit results to those matching a string"
        },
        {
          "displayName": "SKU",
          "name": "sku",
          "type": "string",
          "default": "",
          "description": "Limit result set to products with a specific SKU"
        },
        {
          "displayName": "Slug",
          "name": "slug",
          "type": "string",
          "default": "",
          "description": "Limit result set to products with a specific slug"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Any",
              "value": "any"
            },
            {
              "name": "Draft",
              "value": "draft"
            },
            {
              "name": "Pending",
              "value": "pending"
            },
            {
              "name": "Private",
              "value": "private"
            },
            {
              "name": "Publish",
              "value": "publish"
            }
          ],
          "default": "any",
          "description": "Limit result set to products assigned a specific status"
        },
        {
          "displayName": "Stock Status",
          "name": "stockStatus",
          "type": "options",
          "options": [
            {
              "name": "In Stock",
              "value": "instock"
            },
            {
              "name": "Out Of Stock",
              "value": "outofstock"
            },
            {
              "name": "On Back Order",
              "value": "onbackorder"
            }
          ],
          "default": "",
          "description": "Controls the stock status of the product"
        },
        {
          "displayName": "Tag Name or ID",
          "name": "tag",
          "type": "options",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getTags"
          },
          "description": "Limit result set to products assigned a specific tag ID. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        },
        {
          "displayName": "Tax Class",
          "name": "taxClass",
          "type": "options",
          "options": [
            {
              "name": "Standar",
              "value": "standard"
            },
            {
              "name": "Reduced Rate",
              "value": "reduced-rate"
            },
            {
              "name": "Zero Rate",
              "value": "zero-rate."
            }
          ],
          "default": "",
          "description": "Limit result set to products with a specific tax class"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "options",
          "options": [
            {
              "name": "Simple",
              "value": "simple"
            },
            {
              "name": "Grouped",
              "value": "grouped"
            },
            {
              "name": "External",
              "value": "external"
            },
            {
              "name": "Variable",
              "value": "variable"
            }
          ],
          "default": "simple",
          "description": "Product type"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Product ID",
      "name": "productId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "product"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a order",
          "action": "Create an order"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a order",
          "action": "Delete an order"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a order",
          "action": "Get an order"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many orders",
          "action": "Get many orders"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a order",
          "action": "Update an order"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Currency",
          "name": "currency",
          "type": "string",
          "default": "",
          "description": "Currency the order was created with"
        },
        {
          "displayName": "Customer ID",
          "name": "customerId",
          "type": "string",
          "default": "",
          "description": "User ID who owns the order. 0 for guests."
        },
        {
          "displayName": "Customer Note",
          "name": "customerNote",
          "type": "string",
          "default": "",
          "description": "Note left by customer during checkout"
        },
        {
          "displayName": "Parent ID",
          "name": "parentId",
          "type": "string",
          "default": "",
          "description": "Parent order ID"
        },
        {
          "displayName": "Payment Method ID",
          "name": "paymentMethodId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Payment Method Title",
          "name": "paymentMethodTitle",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Set Paid",
          "name": "setPaid",
          "type": "boolean",
          "default": false,
          "description": "Whether the order is paid. It will set the status to processing and reduce stock items."
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Cancelled",
              "value": "cancelled"
            },
            {
              "name": "Completed",
              "value": "completed"
            },
            {
              "name": "Failed",
              "value": "failed"
            },
            {
              "name": "on-hold",
              "value": "on-hold"
            },
            {
              "name": "Pending",
              "value": "pending"
            },
            {
              "name": "Processing",
              "value": "processing"
            },
            {
              "name": "Refunded",
              "value": "refunded"
            },
            {
              "name": "Trash",
              "value": "trash"
            }
          ],
          "default": "pending",
          "description": "A named status for the order"
        },
        {
          "displayName": "Transaction ID",
          "name": "transactionID",
          "type": "string",
          "default": "",
          "description": "Unique transaction ID"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Billing",
      "name": "billingUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Billing address",
      "options": [
        {
          "name": "billingValues",
          "displayName": "Address",
          "values": [
            {
              "displayName": "First Name",
              "name": "firstName",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Last Name",
              "name": "lastName",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Company",
              "name": "company",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address Line 1",
              "name": "address_1",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address Line 2",
              "name": "address_2",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "City",
              "name": "city",
              "type": "string",
              "default": "",
              "description": "ISO code or name of the state, province or district"
            },
            {
              "displayName": "Postal Code",
              "name": "postcode",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Country",
              "name": "country",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Email",
              "name": "email",
              "type": "string",
              "placeholder": "name@email.com",
              "default": ""
            },
            {
              "displayName": "Phone",
              "name": "phone",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Coupon Lines",
      "name": "couponLinesUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Coupons line data",
      "options": [
        {
          "name": "couponLinesValues",
          "displayName": "Coupon Line",
          "values": [
            {
              "displayName": "Code",
              "name": "code",
              "type": "string",
              "default": "",
              "description": "Coupon code"
            },
            {
              "displayName": "Metadata",
              "name": "metadataUi",
              "placeholder": "Add Metadata",
              "type": "fixedCollection",
              "default": {},
              "typeOptions": {
                "multipleValues": true
              },
              "description": "Meta data",
              "options": [
                {
                  "name": "metadataValues",
                  "displayName": "Metadata",
                  "values": [
                    {
                      "displayName": "Key",
                      "name": "key",
                      "type": "string",
                      "default": "",
                      "description": "Name of the metadata key to add"
                    },
                    {
                      "displayName": "Value",
                      "name": "value",
                      "type": "string",
                      "default": "",
                      "description": "Value to set for the metadata key"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Fee Lines",
      "name": "feeLinesUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Fee line data",
      "options": [
        {
          "name": "feeLinesValues",
          "displayName": "Fee Line",
          "values": [
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "description": "Fee name"
            },
            {
              "displayName": "Tax Class",
              "name": "taxClass",
              "type": "string",
              "description": "Tax class of fee",
              "default": ""
            },
            {
              "displayName": "Tax Status",
              "name": "taxStatus",
              "type": "options",
              "options": [
                {
                  "name": "Taxable",
                  "value": "taxable"
                },
                {
                  "name": "None",
                  "value": "none"
                }
              ],
              "default": "",
              "description": "Tax class of fee"
            },
            {
              "displayName": "Total",
              "name": "total",
              "type": "string",
              "default": "",
              "description": "Line total (after discounts)"
            },
            {
              "displayName": "Metadata",
              "name": "metadataUi",
              "placeholder": "Add Metadata",
              "type": "fixedCollection",
              "default": {},
              "typeOptions": {
                "multipleValues": true
              },
              "description": "Meta data",
              "options": [
                {
                  "name": "metadataValues",
                  "displayName": "Metadata",
                  "values": [
                    {
                      "displayName": "Key",
                      "name": "key",
                      "type": "string",
                      "default": "",
                      "description": "Name of the metadata key to add"
                    },
                    {
                      "displayName": "Value",
                      "name": "value",
                      "type": "string",
                      "default": "",
                      "description": "Value to set for the metadata key"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Line Items",
      "name": "lineItemsUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Line item data",
      "options": [
        {
          "name": "lineItemsValues",
          "displayName": "Line Item",
          "values": [
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "description": "Product name"
            },
            {
              "displayName": "Product ID",
              "name": "productId",
              "type": "number",
              "default": 0
            },
            {
              "displayName": "Variation ID",
              "name": "variationId",
              "type": "number",
              "default": 0,
              "description": "Variation ID, if applicable"
            },
            {
              "displayName": "Quantity",
              "name": "quantity",
              "type": "number",
              "default": 1,
              "description": "Quantity ordered"
            },
            {
              "displayName": "Tax Class",
              "name": "taxClass",
              "type": "string",
              "default": "",
              "description": "Slug of the tax class of product"
            },
            {
              "displayName": "Subtotal",
              "name": "subtotal",
              "type": "string",
              "default": "",
              "description": "Line subtotal (before discounts)"
            },
            {
              "displayName": "Total",
              "name": "total",
              "type": "string",
              "default": "",
              "description": "Line total (after discounts)"
            },
            {
              "displayName": "Metadata",
              "name": "metadataUi",
              "placeholder": "Add Metadata",
              "type": "fixedCollection",
              "default": {},
              "typeOptions": {
                "multipleValues": true
              },
              "description": "Meta data",
              "options": [
                {
                  "name": "metadataValues",
                  "displayName": "Metadata",
                  "values": [
                    {
                      "displayName": "Key",
                      "name": "key",
                      "type": "string",
                      "default": "",
                      "description": "Name of the metadata key to add"
                    },
                    {
                      "displayName": "Value",
                      "name": "value",
                      "type": "string",
                      "default": "",
                      "description": "Value to set for the metadata key"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Metadata",
      "name": "metadataUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Meta data",
      "options": [
        {
          "name": "metadataValues",
          "displayName": "Metadata",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": "",
              "description": "Name of the metadata key to add"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "description": "Value to set for the metadata key"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Shipping",
      "name": "shippingUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Shipping address",
      "options": [
        {
          "name": "shippingValues",
          "displayName": "Address",
          "values": [
            {
              "displayName": "First Name",
              "name": "firstName",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Last Name",
              "name": "lastName",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Company",
              "name": "company",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address Line 1",
              "name": "address_1",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address Line 2",
              "name": "address_2",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "City",
              "name": "city",
              "type": "string",
              "default": "",
              "description": "ISO code or name of the state, province or district"
            },
            {
              "displayName": "Postal Code",
              "name": "postcode",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Country",
              "name": "country",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Shipping Lines",
      "name": "shippingLinesUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Shipping line data",
      "options": [
        {
          "name": "shippingLinesValues",
          "displayName": "Fee Line",
          "values": [
            {
              "displayName": "Method Title",
              "name": "methodTitle",
              "type": "string",
              "default": "",
              "description": "Shipping method name"
            },
            {
              "displayName": "Method ID",
              "name": "method ID",
              "type": "string",
              "description": "Shipping method ID",
              "default": ""
            },
            {
              "displayName": "Total",
              "name": "total",
              "type": "string",
              "default": "",
              "description": "Line total (after discounts)"
            },
            {
              "displayName": "Metadata",
              "name": "metadataUi",
              "placeholder": "Add Metadata",
              "type": "fixedCollection",
              "default": {},
              "typeOptions": {
                "multipleValues": true
              },
              "description": "Meta data",
              "options": [
                {
                  "name": "metadataValues",
                  "displayName": "Metadata",
                  "values": [
                    {
                      "displayName": "Key",
                      "name": "key",
                      "type": "string",
                      "default": "",
                      "description": "Name of the metadata key to add"
                    },
                    {
                      "displayName": "Value",
                      "name": "value",
                      "type": "string",
                      "default": "",
                      "description": "Value to set for the metadata key"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Currency",
          "name": "currency",
          "type": "string",
          "default": "",
          "description": "Currency the order was created with"
        },
        {
          "displayName": "Customer ID",
          "name": "customerId",
          "type": "string",
          "default": "",
          "description": "User ID who owns the order. 0 for guests."
        },
        {
          "displayName": "Customer Note",
          "name": "customerNote",
          "type": "string",
          "default": "",
          "description": "Note left by customer during checkout"
        },
        {
          "displayName": "Parent ID",
          "name": "parentId",
          "type": "string",
          "default": "",
          "description": "Parent order ID"
        },
        {
          "displayName": "Payment Method ID",
          "name": "paymentMethodId",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Payment Method Title",
          "name": "paymentMethodTitle",
          "type": "string",
          "default": ""
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Cancelled",
              "value": "cancelled"
            },
            {
              "name": "Completed",
              "value": "completed"
            },
            {
              "name": "Failed",
              "value": "failed"
            },
            {
              "name": "on-hold",
              "value": "on-hold"
            },
            {
              "name": "Pending",
              "value": "pending"
            },
            {
              "name": "Processing",
              "value": "processing"
            },
            {
              "name": "Refunded",
              "value": "refunded"
            },
            {
              "name": "Trash",
              "value": "trash"
            }
          ],
          "default": "pending",
          "description": "A named status for the order"
        },
        {
          "displayName": "Transaction ID",
          "name": "transactionID",
          "type": "string",
          "default": "",
          "description": "Unique transaction ID"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Billing",
      "name": "billingUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Billing address",
      "options": [
        {
          "name": "billingValues",
          "displayName": "Address",
          "values": [
            {
              "displayName": "First Name",
              "name": "firstName",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Last Name",
              "name": "lastName",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Company",
              "name": "company",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address Line 1",
              "name": "address_1",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address Line 2",
              "name": "address_2",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "City",
              "name": "city",
              "type": "string",
              "default": "",
              "description": "ISO code or name of the state, province or district"
            },
            {
              "displayName": "Postal Code",
              "name": "postalCode",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Country",
              "name": "country",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Email",
              "name": "email",
              "type": "string",
              "placeholder": "name@email.com",
              "default": ""
            },
            {
              "displayName": "Phone",
              "name": "phone",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Coupon Lines",
      "name": "couponLinesUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Coupons line data",
      "options": [
        {
          "name": "couponLinesValues",
          "displayName": "Coupon Line",
          "values": [
            {
              "displayName": "Code",
              "name": "code",
              "type": "string",
              "default": "",
              "description": "Coupon code"
            },
            {
              "displayName": "Metadata",
              "name": "metadataUi",
              "placeholder": "Add Metadata",
              "type": "fixedCollection",
              "default": {},
              "typeOptions": {
                "multipleValues": true
              },
              "description": "Meta data",
              "options": [
                {
                  "name": "metadataValues",
                  "displayName": "Metadata",
                  "values": [
                    {
                      "displayName": "Key",
                      "name": "key",
                      "type": "string",
                      "default": "",
                      "description": "Name of the metadata key to add"
                    },
                    {
                      "displayName": "Value",
                      "name": "value",
                      "type": "string",
                      "default": "",
                      "description": "Value to set for the metadata key"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Fee Lines",
      "name": "feeLinesUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Fee line data",
      "options": [
        {
          "name": "feeLinesValues",
          "displayName": "Fee Line",
          "values": [
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "description": "Fee name"
            },
            {
              "displayName": "Tax Class",
              "name": "taxClass",
              "type": "string",
              "description": "Tax class of fee",
              "default": ""
            },
            {
              "displayName": "Tax Status",
              "name": "taxStatus",
              "type": "options",
              "options": [
                {
                  "name": "Taxable",
                  "value": "taxable"
                },
                {
                  "name": "None",
                  "value": "none"
                }
              ],
              "default": "",
              "description": "Tax class of fee"
            },
            {
              "displayName": "Total",
              "name": "total",
              "type": "string",
              "default": "",
              "description": "Line total (after discounts)"
            },
            {
              "displayName": "Metadata",
              "name": "metadataUi",
              "placeholder": "Add Metadata",
              "type": "fixedCollection",
              "default": {},
              "typeOptions": {
                "multipleValues": true
              },
              "description": "Meta data",
              "options": [
                {
                  "name": "metadataValues",
                  "displayName": "Metadata",
                  "values": [
                    {
                      "displayName": "Key",
                      "name": "key",
                      "type": "string",
                      "default": "",
                      "description": "Name of the metadata key to add"
                    },
                    {
                      "displayName": "Value",
                      "name": "value",
                      "type": "string",
                      "default": "",
                      "description": "Value to set for the metadata key"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Line Items",
      "name": "lineItemsUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Line item data",
      "options": [
        {
          "name": "lineItemsValues",
          "displayName": "Line Item",
          "values": [
            {
              "displayName": "Name",
              "name": "name",
              "type": "string",
              "default": "",
              "description": "Product name"
            },
            {
              "displayName": "Product ID",
              "name": "productId",
              "type": "number",
              "default": 0
            },
            {
              "displayName": "Variation ID",
              "name": "variationId",
              "type": "number",
              "default": 0,
              "description": "Variation ID, if applicable"
            },
            {
              "displayName": "Quantity",
              "name": "quantity",
              "type": "number",
              "default": 1,
              "description": "Quantity ordered"
            },
            {
              "displayName": "Tax Class",
              "name": "taxClass",
              "type": "string",
              "default": "",
              "description": "Slug of the tax class of product"
            },
            {
              "displayName": "Subtotal",
              "name": "subtotal",
              "type": "string",
              "default": "",
              "description": "Line subtotal (before discounts)"
            },
            {
              "displayName": "Total",
              "name": "total",
              "type": "string",
              "default": "",
              "description": "Line total (after discounts)"
            },
            {
              "displayName": "Metadata",
              "name": "metadataUi",
              "placeholder": "Add Metadata",
              "type": "fixedCollection",
              "default": {},
              "typeOptions": {
                "multipleValues": true
              },
              "description": "Meta data",
              "options": [
                {
                  "name": "metadataValues",
                  "displayName": "Metadata",
                  "values": [
                    {
                      "displayName": "Key",
                      "name": "key",
                      "type": "string",
                      "default": "",
                      "description": "Name of the metadata key to add"
                    },
                    {
                      "displayName": "Value",
                      "name": "value",
                      "type": "string",
                      "default": "",
                      "description": "Value to set for the metadata key"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Metadata",
      "name": "metadataUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Meta data",
      "options": [
        {
          "name": "metadataValues",
          "displayName": "Metadata",
          "values": [
            {
              "displayName": "Key",
              "name": "key",
              "type": "string",
              "default": "",
              "description": "Name of the metadata key to add"
            },
            {
              "displayName": "Value",
              "name": "value",
              "type": "string",
              "default": "",
              "description": "Value to set for the metadata key"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Shipping",
      "name": "shippingUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Shipping address",
      "options": [
        {
          "name": "shippingValues",
          "displayName": "Address",
          "values": [
            {
              "displayName": "First Name",
              "name": "firstName",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Last Name",
              "name": "lastName",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Company",
              "name": "company",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address Line 1",
              "name": "address_1",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Address Line 2",
              "name": "address_2",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "City",
              "name": "city",
              "type": "string",
              "default": "",
              "description": "ISO code or name of the state, province or district"
            },
            {
              "displayName": "Postal Code",
              "name": "postalCode",
              "type": "string",
              "default": ""
            },
            {
              "displayName": "Country",
              "name": "country",
              "type": "string",
              "default": ""
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": false
      }
    },
    {
      "displayName": "Shipping Lines",
      "name": "shippingLinesUi",
      "type": "fixedCollection",
      "default": {},
      "description": "Shipping line data",
      "options": [
        {
          "name": "shippingLinesValues",
          "displayName": "Fee Line",
          "values": [
            {
              "displayName": "Method Title",
              "name": "methodTitle",
              "type": "string",
              "default": "",
              "description": "Shipping method name"
            },
            {
              "displayName": "Method ID",
              "name": "method ID",
              "type": "string",
              "description": "Shipping method ID",
              "default": ""
            },
            {
              "displayName": "Total",
              "name": "total",
              "type": "string",
              "default": "",
              "description": "Line total (after discounts)"
            },
            {
              "displayName": "Metadata",
              "name": "metadataUi",
              "placeholder": "Add Metadata",
              "type": "fixedCollection",
              "default": {},
              "typeOptions": {
                "multipleValues": true
              },
              "description": "Meta data",
              "options": [
                {
                  "name": "metadataValues",
                  "displayName": "Metadata",
                  "values": [
                    {
                      "displayName": "Key",
                      "name": "key",
                      "type": "string",
                      "default": "",
                      "description": "Name of the metadata key to add"
                    },
                    {
                      "displayName": "Value",
                      "name": "value",
                      "type": "string",
                      "default": "",
                      "description": "Value to set for the metadata key"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "typeOptions": {
        "multipleValues": true
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "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": [
            "order"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "After",
          "name": "after",
          "type": "dateTime",
          "default": "",
          "description": "Limit response to resources published after a given ISO8601 compliant date"
        },
        {
          "displayName": "Before",
          "name": "before",
          "type": "dateTime",
          "default": "",
          "description": "Limit response to resources published before a given ISO8601 compliant date"
        },
        {
          "displayName": "Customer",
          "name": "customer",
          "type": "string",
          "default": "",
          "description": "Limit result set to orders assigned a specific customer"
        },
        {
          "displayName": "Decimal Points",
          "name": "decimalPoints",
          "type": "number",
          "typeOptions": {
            "minValue": 0,
            "maxValue": 10
          },
          "default": 2,
          "description": "Number of decimal points to use in each resource"
        },
        {
          "displayName": "Order",
          "name": "order",
          "type": "options",
          "options": [
            {
              "name": "ASC",
              "value": "asc"
            },
            {
              "name": "DESC",
              "value": "desc"
            }
          ],
          "default": "desc",
          "description": "Order sort attribute ascending or descending"
        },
        {
          "displayName": "Product",
          "name": "product",
          "type": "string",
          "default": "",
          "description": "Limit result set to orders assigned a specific product"
        },
        {
          "displayName": "Order By",
          "name": "orderBy",
          "type": "options",
          "options": [
            {
              "name": "Date",
              "value": "date"
            },
            {
              "name": "ID",
              "value": "id"
            },
            {
              "name": "Include",
              "value": "include"
            },
            {
              "name": "Slug",
              "value": "slug"
            },
            {
              "name": "Title",
              "value": "title"
            }
          ],
          "default": "id",
          "description": "Sort collection by object attribute"
        },
        {
          "displayName": "Search",
          "name": "search",
          "type": "string",
          "default": "",
          "description": "Limit results to those matching a string"
        },
        {
          "displayName": "Status",
          "name": "status",
          "type": "options",
          "options": [
            {
              "name": "Any",
              "value": "any"
            },
            {
              "name": "Cancelled",
              "value": "cancelled"
            },
            {
              "name": "Completed",
              "value": "completed"
            },
            {
              "name": "Failed",
              "value": "failed"
            },
            {
              "name": "On-Hold",
              "value": "on-hold"
            },
            {
              "name": "Pending",
              "value": "pending"
            },
            {
              "name": "Processing",
              "value": "processing"
            },
            {
              "name": "Refunded",
              "value": "refunded"
            },
            {
              "name": "Trash",
              "value": "trash"
            }
          ],
          "default": "any",
          "description": "Limit result set to orders assigned a specific status"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Order ID",
      "name": "orderId",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "order"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    }
  ]

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


