interface SendyNodeParameters {
additionalFields?:
| {
excludeListIds?: string;
excludeSegmentIds?: string;
listIds?: string;
plainText?: string;
queryString?: string;
segmentIds?: string;
trackClicks?: boolean;
trackOpens?: boolean;
}
| {
country?: string;
gdpr?: boolean;
hp?: boolean;
ipaddress?: string;
name?: string;
referrer?: string;
silent?: boolean;
};
brandId?: string;
email?: string;
fromEmail?: string;
fromName?: string;
htmlText?: string;
listId?: string;
operation?: | "create"
| "add"
| "remove"
| "delete"
| "status"
| "count";
replyTo?: string;
resource?: "campaign"
| "subscriber";
sendCampaign?: boolean;
subject?: string;
title?: string;
}Properties§
§§§§§§§§§§§
readonly additional Fields?:
| {
excludeListIds?: string;
excludeSegmentIds?: string;
listIds?: string;
plainText?: string;
queryString?: string;
segmentIds?: string;
trackClicks?: boolean;
trackOpens?: boolean;
}
| {
country?: string;
gdpr?: boolean;
hp?: boolean;
ipaddress?: string;
name?: string;
referrer?: string;
silent?: boolean;
}§
readonly brand Id?: string§readonly email?: stringEmail address of the subscriber
readonly from Email?: stringThe 'From email' of your campaign
readonly from Name?: stringThe 'From name' of your campaign
readonly html Text?: stringThe 'HTML version' of your campaign
readonly list Id?: stringThe list ID you want to subscribe a user to. This encrypted & hashed ID can be found under View all lists section named ID.
readonly operation?: "create" | "add" | "remove" | "delete" | "status" | "count"Default: "create"
readonly reply To?: stringThe 'Reply to' of your campaign
readonly resource?: "campaign" | "subscriber"Default: "subscriber"
readonly send Campaign?: booleanWhether to send the campaign as well and not just create a draft. Default is false.
readonly subject?: stringThe 'Subject' of your campaign
readonly title?: stringThe 'Title' of your campaign
Default: {}