interface WhatsAppNodeParameters {
additionalFields?:
| {
addresses?: {
address: {
city?: string;
country?: string;
country_code?: string;
state?: string;
street?: string;
type?: "HOME"
| "WORK";
zip?: string;
}[];
};
birthday?: string;
emails?: {
data: { email?: string; type?: "HOME"
| "WORK" }[];
};
organization?: {
data: {
company?: string;
department?: string;
title?: string;
};
};
phones?: {
data: {
phone?: string;
type?: | "HOME"
| "WORK"
| "CELL"
| "IPHONE"
| "MAIN"
| "wa_id";
}[];
};
urls?: {
url: { type?: "HOME"
| "WORK"; url?: string }[];
};
}
| {
nameAndAddress: {
address?: string;
name?: string;
};
}
| { mediaCaption?: string; mediaFilename?: string }
| { previewUrl?: boolean }
| { mediaFileName?: string };
approvalOptions?: {
values: {
approvalType?: "single" | "double";
approveLabel?: string;
disapproveLabel?: string;
};
};
components?: {
component: {
bodyParameters?: {
parameter: {
amount_1000?: number;
code?: | "ALL"
| "ARS"
| "AUD"
| "BRL"
| "CAD"
| "CHF"
| "CNY"
| "CZK"
| "DKK"
| "EUR"
| "GBP"
| "HKD"
| "HUF"
| "INR"
| "JPY"
| "KRW"
| "MXN"
| "NOK"
| "NZD"
| "PLN"
| "RUB"
| "SEK"
| "SGD"
| "THB"
| "TWD"
| "USD"
| "ZAR"
| "AFN"
| "DZD"
| "AZN"
| "BSD"
| "BBD"
| "BZD"
| "BMD"
| "BOB"
| "BND"
| "BGN"
| "CLP"
| "COP"
| "NIO"
| "CRC"
| "DOP"
| "VND"
| "XCD"
| "EGP"
| "FJD"
| "UAH"
| "JMD"
| "KES"
| "PGK"
| "HRK"
| "MMK"
| "LAK"
| "LBP"
| "HNL"
| "LRD"
| "MYR"
| "MUR"
| "MAD"
| "NPR"
| "ILS"
| "TOP"
| "PKR"
| "MOP"
| "PHP"
| "BWP"
| "QAR"
| "GTQ"
| "RON"
| "MVR"
| "IDR"
| "SAR"
| "SCR"
| "PEN"
| "SBD"
| "LKR"
| "SYP"
| "BDT"
| "WST"
| "KZT"
| "TTD"
| "TRY"
| "AED"
| "VUV"
| "XOF"
| "YER"
| "ISK"
| "AMD"
| "ANG"
| "AOA"
| "AWG"
| "BAM"
| "BHD"
| "BIF"
| "BOV"
| "BTN"
| "BYN"
| "CDF"
| "CHE"
| "CHW"
| "CLF"
| "COU"
| "CUC"
| "CUP"
| "CVE"
| "DJF"
| "ERN"
| "ETB"
| "FKP"
| "GEL"
| "GHS"
| "GIP"
| "GMD"
| "GNF"
| "GYD"
| "HTG"
| "IQD"
| "IRR"
| "JOD"
| "KGS"
| "KHR"
| "KMF"
| "KPW"
| "KWD"
| "KYD"
| "LSL"
| "LYD"
| "MDL"
| "MGA"
| "MKD"
| "MNT"
| "MRU"
| "MWK"
| "MXV"
| "MZN"
| "NAD"
| "NGN"
| "OMR"
| "PAB"
| "PYG"
| "RSD"
| "RWF"
| "SDG"
| "SHP"
| "SLL"
| "SOS"
| "SRD"
| "SSP"
| "STN"
| "SVC"
| "SZL"
| "TJS"
| "TMT"
| "TND"
| "TZS"
| "UGX"
| "USN"
| "UYI"
| "UYU"
| "UYW"
| "UZS"
| "VES"
| "XAF"
| "XAG"
| "XAU"
| "XBA"
| "XBB"
| "XBC"
| "XBD"
| "XDR"
| "XPD"
| "XPF"
| "XPT"
| "XSU"
| "XTS"
| "XUA"
| "XXX"
| "ZMW"
| "ZWL";
date_time?: string;
fallback_value?: string;
text?: string;
type?: "text"
| "currency"
| "date_time";
}[];
};
buttonParameters?: {
parameter: {
payload?: string;
text?: string;
type?: "text"
| "payload";
};
};
headerParameters?: {
parameter: {
amount_1000?: number;
code?: | "ALL"
| "ARS"
| "AUD"
| "BRL"
| "CAD"
| "CHF"
| "CNY"
| "CZK"
| "DKK"
| "EUR"
| "GBP"
| "HKD"
| "HUF"
| "INR"
| "JPY"
| "KRW"
| "MXN"
| "NOK"
| "NZD"
| "PLN"
| "RUB"
| "SEK"
| "SGD"
| "THB"
| "TWD"
| "USD"
| "ZAR"
| "AFN"
| "DZD"
| "AZN"
| "BSD"
| "BBD"
| "BZD"
| "BMD"
| "BOB"
| "BND"
| "BGN"
| "CLP"
| "COP"
| "NIO"
| "CRC"
| "DOP"
| "VND"
| "XCD"
| "EGP"
| "FJD"
| "UAH"
| "JMD"
| "KES"
| "PGK"
| "HRK"
| "MMK"
| "LAK"
| "LBP"
| "HNL"
| "LRD"
| "MYR"
| "MUR"
| "MAD"
| "NPR"
| "ILS"
| "TOP"
| "PKR"
| "MOP"
| "PHP"
| "BWP"
| "QAR"
| "GTQ"
| "RON"
| "MVR"
| "IDR"
| "SAR"
| "SCR"
| "PEN"
| "SBD"
| "LKR"
| "SYP"
| "BDT"
| "WST"
| "KZT"
| "TTD"
| "TRY"
| "AED"
| "VUV"
| "XOF"
| "YER"
| "ISK"
| "AMD"
| "ANG"
| "AOA"
| "AWG"
| "BAM"
| "BHD"
| "BIF"
| "BOV"
| "BTN"
| "BYN"
| "CDF"
| "CHE"
| "CHW"
| "CLF"
| "COU"
| "CUC"
| "CUP"
| "CVE"
| "DJF"
| "ERN"
| "ETB"
| "FKP"
| "GEL"
| "GHS"
| "GIP"
| "GMD"
| "GNF"
| "GYD"
| "HTG"
| "IQD"
| "IRR"
| "JOD"
| "KGS"
| "KHR"
| "KMF"
| "KPW"
| "KWD"
| "KYD"
| "LSL"
| "LYD"
| "MDL"
| "MGA"
| "MKD"
| "MNT"
| "MRU"
| "MWK"
| "MXV"
| "MZN"
| "NAD"
| "NGN"
| "OMR"
| "PAB"
| "PYG"
| "RSD"
| "RWF"
| "SDG"
| "SHP"
| "SLL"
| "SOS"
| "SRD"
| "SSP"
| "STN"
| "SVC"
| "SZL"
| "TJS"
| "TMT"
| "TND"
| "TZS"
| "UGX"
| "USN"
| "UYI"
| "UYU"
| "UYW"
| "UZS"
| "VES"
| "XAF"
| "XAG"
| "XAU"
| "XBA"
| "XBB"
| "XBC"
| "XBD"
| "XDR"
| "XPD"
| "XPF"
| "XPT"
| "XSU"
| "XTS"
| "XUA"
| "XXX"
| "ZMW"
| "ZWL";
date_time?: string;
imageLink?: string;
text?: string;
type?: "image"
| "text"
| "currency"
| "date_time";
}[];
};
index?: number;
sub_type?: "url"
| "quick_reply";
type?: "header" | "body" | "button";
}[];
};
defineForm?: "json"
| "fields";
formFields?: {
values: {
acceptFileTypes?: string;
elementName?: string;
fieldLabel: string;
fieldName?: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "date"
| "html"
| "checkbox"
| "dropdown"
| "hiddenField"
| "password"
| "radio"
| "textarea";
fieldValue?: string;
formatDate?: string;
html?: string;
limitSelection?: "exact"
| "range"
| "unlimited";
maxSelections?: number;
minSelections?: number;
multipleFiles?: boolean;
multiselect?: boolean;
multiselectLegacyNotice?: string;
numberOfSelections?: number;
placeholder?: string;
requiredField?: boolean;
}[];
};
jsonOutput?: string;
latitude?: number;
longitude?: number;
mediaDeleteId?: string;
mediaFilename?: string;
mediaGetId?: string;
mediaId?: string;
mediaLink?: string;
mediaPath?: | "useMediaLink"
| "useMediaId"
| "useMedian8n";
mediaPropertyName?: string;
message?: string;
messageType?: | "video"
| "document"
| "image"
| "text"
| "audio"
| "location"
| "contacts";
name?: {
data: {
first_name?: string;
formatted_name: string;
last_name?: string;
middle_name?: string;
prefix?: string;
suffix?: string;
};
};
operation?: | "send"
| "sendTemplate"
| "sendAndWait"
| "mediaUpload"
| "mediaUrlGet"
| "mediaDelete";
options?: | {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
}
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
messageButtonLabel?: string;
responseFormButtonLabel?: string;
responseFormCustomCss?: string;
responseFormDescription?: string;
responseFormTitle?: string;
};
phoneNumberId?: string;
recipientPhoneNumber?: string;
resource?: "message"
| "media";
responseType?: "approval" | "freeText" | "customForm";
template?: string;
textBody?: string;
}
Properties§
Source§readonly additional Fields?:
| {
addresses?: {
address: {
city?: string;
country?: string;
country_code?: string;
state?: string;
street?: string;
type?: "HOME"
| "WORK";
zip?: string;
}[];
};
birthday?: string;
emails?: {
data: { email?: string; type?: "HOME"
| "WORK" }[];
};
organization?: {
data: {
company?: string;
department?: string;
title?: string;
};
};
phones?: {
data: {
phone?: string;
type?: | "HOME"
| "WORK"
| "CELL"
| "IPHONE"
| "MAIN"
| "wa_id";
}[];
};
urls?: {
url: { type?: "HOME"
| "WORK"; url?: string }[];
};
}
| {
nameAndAddress: { address?: string; name?: string };
}
| { mediaCaption?: string; mediaFilename?: string }
| { previewUrl?: boolean }
| { mediaFileName?: string }
readonly additional Fields?:
| {
addresses?: {
address: {
city?: string;
country?: string;
country_code?: string;
state?: string;
street?: string;
type?: "HOME"
| "WORK";
zip?: string;
}[];
};
birthday?: string;
emails?: {
data: { email?: string; type?: "HOME"
| "WORK" }[];
};
organization?: {
data: {
company?: string;
department?: string;
title?: string;
};
};
phones?: {
data: {
phone?: string;
type?: | "HOME"
| "WORK"
| "CELL"
| "IPHONE"
| "MAIN"
| "wa_id";
}[];
};
urls?: {
url: { type?: "HOME"
| "WORK"; url?: string }[];
};
}
| {
nameAndAddress: { address?: string; name?: string };
}
| { mediaCaption?: string; mediaFilename?: string }
| { previewUrl?: boolean }
| { mediaFileName?: string }
Source§readonly approval Options?: {
values: {
approvalType?: "single" | "double";
approveLabel?: string;
disapproveLabel?: string;
};
}
readonly approval Options?: {
values: {
approvalType?: "single" | "double";
approveLabel?: string;
disapproveLabel?: string;
};
}
Default: {}
Source§readonly components?: {
component: {
bodyParameters?: {
parameter: {
amount_1000?: number;
code?:
| "ALL"
| "ARS"
| "AUD"
| "BRL"
| "CAD"
| "CHF"
| "CNY"
| "CZK"
| "DKK"
| "EUR"
| "GBP"
| "HKD"
| "HUF"
| "INR"
| "JPY"
| "KRW"
| "MXN"
| "NOK"
| "NZD"
| "PLN"
| "RUB"
| "SEK"
| "SGD"
| "THB"
| "TWD"
| "USD"
| "ZAR"
| "AFN"
| "DZD"
| "AZN"
| "BSD"
| "BBD"
| "BZD"
| "BMD"
| "BOB"
| "BND"
| "BGN"
| "CLP"
| "COP"
| "NIO"
| "CRC"
| "DOP"
| "VND"
| "XCD"
| "EGP"
| "FJD"
| "UAH"
| "JMD"
| "KES"
| "PGK"
| "HRK"
| "MMK"
| "LAK"
| "LBP"
| "HNL"
| "LRD"
| "MYR"
| "MUR"
| "MAD"
| "NPR"
| "ILS"
| "TOP"
| "PKR"
| "MOP"
| "PHP"
| "BWP"
| "QAR"
| "GTQ"
| "RON"
| "MVR"
| "IDR"
| "SAR"
| "SCR"
| "PEN"
| "SBD"
| "LKR"
| "SYP"
| "BDT"
| "WST"
| "KZT"
| "TTD"
| "TRY"
| "AED"
| "VUV"
| "XOF"
| "YER"
| "ISK"
| "AMD"
| "ANG"
| "AOA"
| "AWG"
| "BAM"
| "BHD"
| "BIF"
| "BOV"
| "BTN"
| "BYN"
| "CDF"
| "CHE"
| "CHW"
| "CLF"
| "COU"
| "CUC"
| "CUP"
| "CVE"
| "DJF"
| "ERN"
| "ETB"
| "FKP"
| "GEL"
| "GHS"
| "GIP"
| "GMD"
| "GNF"
| "GYD"
| "HTG"
| "IQD"
| "IRR"
| "JOD"
| "KGS"
| "KHR"
| "KMF"
| "KPW"
| "KWD"
| "KYD"
| "LSL"
| "LYD"
| "MDL"
| "MGA"
| "MKD"
| "MNT"
| "MRU"
| "MWK"
| "MXV"
| "MZN"
| "NAD"
| "NGN"
| "OMR"
| "PAB"
| "PYG"
| "RSD"
| "RWF"
| "SDG"
| "SHP"
| "SLL"
| "SOS"
| "SRD"
| "SSP"
| "STN"
| "SVC"
| "SZL"
| "TJS"
| "TMT"
| "TND"
| "TZS"
| "UGX"
| "USN"
| "UYI"
| "UYU"
| "UYW"
| "UZS"
| "VES"
| "XAF"
| "XAG"
| "XAU"
| "XBA"
| "XBB"
| "XBC"
| "XBD"
| "XDR"
| "XPD"
| "XPF"
| "XPT"
| "XSU"
| "XTS"
| "XUA"
| "XXX"
| "ZMW"
| "ZWL";
date_time?: string;
fallback_value?: string;
text?: string;
type?: "text"
| "currency"
| "date_time";
}[];
};
buttonParameters?: {
parameter: {
payload?: string;
text?: string;
type?: "text"
| "payload";
};
};
headerParameters?: {
parameter: {
amount_1000?: number;
code?: | "ALL"
| "ARS"
| "AUD"
| "BRL"
| "CAD"
| "CHF"
| "CNY"
| "CZK"
| "DKK"
| "EUR"
| "GBP"
| "HKD"
| "HUF"
| "INR"
| "JPY"
| "KRW"
| "MXN"
| "NOK"
| "NZD"
| "PLN"
| "RUB"
| "SEK"
| "SGD"
| "THB"
| "TWD"
| "USD"
| "ZAR"
| "AFN"
| "DZD"
| "AZN"
| "BSD"
| "BBD"
| "BZD"
| "BMD"
| "BOB"
| "BND"
| "BGN"
| "CLP"
| "COP"
| "NIO"
| "CRC"
| "DOP"
| "VND"
| "XCD"
| "EGP"
| "FJD"
| "UAH"
| "JMD"
| "KES"
| "PGK"
| "HRK"
| "MMK"
| "LAK"
| "LBP"
| "HNL"
| "LRD"
| "MYR"
| "MUR"
| "MAD"
| "NPR"
| "ILS"
| "TOP"
| "PKR"
| "MOP"
| "PHP"
| "BWP"
| "QAR"
| "GTQ"
| "RON"
| "MVR"
| "IDR"
| "SAR"
| "SCR"
| "PEN"
| "SBD"
| "LKR"
| "SYP"
| "BDT"
| "WST"
| "KZT"
| "TTD"
| "TRY"
| "AED"
| "VUV"
| "XOF"
| "YER"
| "ISK"
| "AMD"
| "ANG"
| "AOA"
| "AWG"
| "BAM"
| "BHD"
| "BIF"
| "BOV"
| "BTN"
| "BYN"
| "CDF"
| "CHE"
| "CHW"
| "CLF"
| "COU"
| "CUC"
| "CUP"
| "CVE"
| "DJF"
| "ERN"
| "ETB"
| "FKP"
| "GEL"
| "GHS"
| "GIP"
| "GMD"
| "GNF"
| "GYD"
| "HTG"
| "IQD"
| "IRR"
| "JOD"
| "KGS"
| "KHR"
| "KMF"
| "KPW"
| "KWD"
| "KYD"
| "LSL"
| "LYD"
| "MDL"
| "MGA"
| "MKD"
| "MNT"
| "MRU"
| "MWK"
| "MXV"
| "MZN"
| "NAD"
| "NGN"
| "OMR"
| "PAB"
| "PYG"
| "RSD"
| "RWF"
| "SDG"
| "SHP"
| "SLL"
| "SOS"
| "SRD"
| "SSP"
| "STN"
| "SVC"
| "SZL"
| "TJS"
| "TMT"
| "TND"
| "TZS"
| "UGX"
| "USN"
| "UYI"
| "UYU"
| "UYW"
| "UZS"
| "VES"
| "XAF"
| "XAG"
| "XAU"
| "XBA"
| "XBB"
| "XBC"
| "XBD"
| "XDR"
| "XPD"
| "XPF"
| "XPT"
| "XSU"
| "XTS"
| "XUA"
| "XXX"
| "ZMW"
| "ZWL";
date_time?: string;
imageLink?: string;
text?: string;
type?: "image"
| "text"
| "currency"
| "date_time";
}[];
};
index?: number;
sub_type?: "url"
| "quick_reply";
type?: "header" | "body" | "button";
}[];
}
readonly components?: {
component: {
bodyParameters?: {
parameter: {
amount_1000?: number;
code?:
| "ALL"
| "ARS"
| "AUD"
| "BRL"
| "CAD"
| "CHF"
| "CNY"
| "CZK"
| "DKK"
| "EUR"
| "GBP"
| "HKD"
| "HUF"
| "INR"
| "JPY"
| "KRW"
| "MXN"
| "NOK"
| "NZD"
| "PLN"
| "RUB"
| "SEK"
| "SGD"
| "THB"
| "TWD"
| "USD"
| "ZAR"
| "AFN"
| "DZD"
| "AZN"
| "BSD"
| "BBD"
| "BZD"
| "BMD"
| "BOB"
| "BND"
| "BGN"
| "CLP"
| "COP"
| "NIO"
| "CRC"
| "DOP"
| "VND"
| "XCD"
| "EGP"
| "FJD"
| "UAH"
| "JMD"
| "KES"
| "PGK"
| "HRK"
| "MMK"
| "LAK"
| "LBP"
| "HNL"
| "LRD"
| "MYR"
| "MUR"
| "MAD"
| "NPR"
| "ILS"
| "TOP"
| "PKR"
| "MOP"
| "PHP"
| "BWP"
| "QAR"
| "GTQ"
| "RON"
| "MVR"
| "IDR"
| "SAR"
| "SCR"
| "PEN"
| "SBD"
| "LKR"
| "SYP"
| "BDT"
| "WST"
| "KZT"
| "TTD"
| "TRY"
| "AED"
| "VUV"
| "XOF"
| "YER"
| "ISK"
| "AMD"
| "ANG"
| "AOA"
| "AWG"
| "BAM"
| "BHD"
| "BIF"
| "BOV"
| "BTN"
| "BYN"
| "CDF"
| "CHE"
| "CHW"
| "CLF"
| "COU"
| "CUC"
| "CUP"
| "CVE"
| "DJF"
| "ERN"
| "ETB"
| "FKP"
| "GEL"
| "GHS"
| "GIP"
| "GMD"
| "GNF"
| "GYD"
| "HTG"
| "IQD"
| "IRR"
| "JOD"
| "KGS"
| "KHR"
| "KMF"
| "KPW"
| "KWD"
| "KYD"
| "LSL"
| "LYD"
| "MDL"
| "MGA"
| "MKD"
| "MNT"
| "MRU"
| "MWK"
| "MXV"
| "MZN"
| "NAD"
| "NGN"
| "OMR"
| "PAB"
| "PYG"
| "RSD"
| "RWF"
| "SDG"
| "SHP"
| "SLL"
| "SOS"
| "SRD"
| "SSP"
| "STN"
| "SVC"
| "SZL"
| "TJS"
| "TMT"
| "TND"
| "TZS"
| "UGX"
| "USN"
| "UYI"
| "UYU"
| "UYW"
| "UZS"
| "VES"
| "XAF"
| "XAG"
| "XAU"
| "XBA"
| "XBB"
| "XBC"
| "XBD"
| "XDR"
| "XPD"
| "XPF"
| "XPT"
| "XSU"
| "XTS"
| "XUA"
| "XXX"
| "ZMW"
| "ZWL";
date_time?: string;
fallback_value?: string;
text?: string;
type?: "text"
| "currency"
| "date_time";
}[];
};
buttonParameters?: {
parameter: {
payload?: string;
text?: string;
type?: "text"
| "payload";
};
};
headerParameters?: {
parameter: {
amount_1000?: number;
code?: | "ALL"
| "ARS"
| "AUD"
| "BRL"
| "CAD"
| "CHF"
| "CNY"
| "CZK"
| "DKK"
| "EUR"
| "GBP"
| "HKD"
| "HUF"
| "INR"
| "JPY"
| "KRW"
| "MXN"
| "NOK"
| "NZD"
| "PLN"
| "RUB"
| "SEK"
| "SGD"
| "THB"
| "TWD"
| "USD"
| "ZAR"
| "AFN"
| "DZD"
| "AZN"
| "BSD"
| "BBD"
| "BZD"
| "BMD"
| "BOB"
| "BND"
| "BGN"
| "CLP"
| "COP"
| "NIO"
| "CRC"
| "DOP"
| "VND"
| "XCD"
| "EGP"
| "FJD"
| "UAH"
| "JMD"
| "KES"
| "PGK"
| "HRK"
| "MMK"
| "LAK"
| "LBP"
| "HNL"
| "LRD"
| "MYR"
| "MUR"
| "MAD"
| "NPR"
| "ILS"
| "TOP"
| "PKR"
| "MOP"
| "PHP"
| "BWP"
| "QAR"
| "GTQ"
| "RON"
| "MVR"
| "IDR"
| "SAR"
| "SCR"
| "PEN"
| "SBD"
| "LKR"
| "SYP"
| "BDT"
| "WST"
| "KZT"
| "TTD"
| "TRY"
| "AED"
| "VUV"
| "XOF"
| "YER"
| "ISK"
| "AMD"
| "ANG"
| "AOA"
| "AWG"
| "BAM"
| "BHD"
| "BIF"
| "BOV"
| "BTN"
| "BYN"
| "CDF"
| "CHE"
| "CHW"
| "CLF"
| "COU"
| "CUC"
| "CUP"
| "CVE"
| "DJF"
| "ERN"
| "ETB"
| "FKP"
| "GEL"
| "GHS"
| "GIP"
| "GMD"
| "GNF"
| "GYD"
| "HTG"
| "IQD"
| "IRR"
| "JOD"
| "KGS"
| "KHR"
| "KMF"
| "KPW"
| "KWD"
| "KYD"
| "LSL"
| "LYD"
| "MDL"
| "MGA"
| "MKD"
| "MNT"
| "MRU"
| "MWK"
| "MXV"
| "MZN"
| "NAD"
| "NGN"
| "OMR"
| "PAB"
| "PYG"
| "RSD"
| "RWF"
| "SDG"
| "SHP"
| "SLL"
| "SOS"
| "SRD"
| "SSP"
| "STN"
| "SVC"
| "SZL"
| "TJS"
| "TMT"
| "TND"
| "TZS"
| "UGX"
| "USN"
| "UYI"
| "UYU"
| "UYW"
| "UZS"
| "VES"
| "XAF"
| "XAG"
| "XAU"
| "XBA"
| "XBB"
| "XBC"
| "XBD"
| "XDR"
| "XPD"
| "XPF"
| "XPT"
| "XSU"
| "XTS"
| "XUA"
| "XXX"
| "ZMW"
| "ZWL";
date_time?: string;
imageLink?: string;
text?: string;
type?: "image"
| "text"
| "currency"
| "date_time";
}[];
};
index?: number;
sub_type?: "url"
| "quick_reply";
type?: "header" | "body" | "button";
}[];
}
Default: {} Type options: {"multipleValues":true}
Source§readonly form Fields?: {
values: {
acceptFileTypes?: string;
elementName?: string;
fieldLabel: string;
fieldName?: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "date"
| "html"
| "checkbox"
| "dropdown"
| "hiddenField"
| "password"
| "radio"
| "textarea";
fieldValue?: string;
formatDate?: string;
html?: string;
limitSelection?: "exact"
| "range"
| "unlimited";
maxSelections?: number;
minSelections?: number;
multipleFiles?: boolean;
multiselect?: boolean;
multiselectLegacyNotice?: string;
numberOfSelections?: number;
placeholder?: string;
requiredField?: boolean;
}[];
}
readonly form Fields?: {
values: {
acceptFileTypes?: string;
elementName?: string;
fieldLabel: string;
fieldName?: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "date"
| "html"
| "checkbox"
| "dropdown"
| "hiddenField"
| "password"
| "radio"
| "textarea";
fieldValue?: string;
formatDate?: string;
html?: string;
limitSelection?: "exact"
| "range"
| "unlimited";
maxSelections?: number;
minSelections?: number;
multipleFiles?: boolean;
multiselect?: boolean;
multiselectLegacyNotice?: string;
numberOfSelections?: number;
placeholder?: string;
requiredField?: boolean;
}[];
}
Default: {} Type options: {"multipleValues":true,"sortable":true}
Source§readonly json Output?: string
readonly json Output?: string
Default: "[\n {\n "fieldLabel":"Name",\n "placeholder":"enter you 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]" Type options: {"rows":5}
Source§readonly media Path?: "useMediaLink" | "useMediaId" | "useMedian8n"
readonly media Path?: "useMediaLink" | "useMediaId" | "useMedian8n"
Use a link, an ID, or n8n to upload an audio file Default: "useMediaLink"
Source§readonly media Property Name?: string
readonly media Property Name?: string
The name of the input field containing the binary file data to be uploaded Default: "data"
Source§readonly message Type?:
| "video"
| "document"
| "image"
| "text"
| "audio"
| "location"
| "contacts"
readonly message Type?:
| "video"
| "document"
| "image"
| "text"
| "audio"
| "location"
| "contacts"
The type of the message Default: "text"
Source§readonly name?: {
data: {
first_name?: string;
formatted_name: string;
last_name?: string;
middle_name?: string;
prefix?: string;
suffix?: string;
};
}
readonly name?: {
data: {
first_name?: string;
formatted_name: string;
last_name?: string;
middle_name?: string;
prefix?: string;
suffix?: string;
};
}
Default: {} Type options: {"multipleValues":false}
Source§readonly operation?:
| "send"
| "sendTemplate"
| "sendAndWait"
| "mediaUpload"
| "mediaUrlGet"
| "mediaDelete"
readonly operation?:
| "send"
| "sendTemplate"
| "sendAndWait"
| "mediaUpload"
| "mediaUrlGet"
| "mediaDelete"
Default: "sendTemplate"
Source§readonly options?:
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
}
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
messageButtonLabel?: string;
responseFormButtonLabel?: string;
responseFormCustomCss?: string;
responseFormDescription?: string;
responseFormTitle?: string;
}
readonly options?:
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
}
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
messageButtonLabel?: string;
responseFormButtonLabel?: string;
responseFormCustomCss?: string;
responseFormDescription?: string;
responseFormTitle?: string;
}
Default: {}
Source§readonly phone Number Id?: string
readonly phone Number Id?: string
The ID of the business account's phone number from which the message will be sent from Type options: {"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"}}]}}}}
Source§readonly template?: string
readonly template?: string
Name of the template Type options: {"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"}}]}}}}
Default: {}