interface EmeliaNodeParameters {
additionalFields?: {
customFieldsUi?: {
customFieldsValues: {
fieldName?: string;
value?: string;
}[];
};
firstName?: string;
lastContacted?: string;
lastName?: string;
lastOpen?: string;
lastReplied?: string;
mailsSent?: number;
phoneNumber?: string;
};
campaignId?: string;
campaignName?: string;
contactEmail?: string;
contactListId?: string;
limit?: number;
operation?: | "create"
| "get"
| "getAll"
| "add"
| "start"
| "addContact"
| "duplicate"
| "pause";
options?: {
copyContacts?: boolean;
copyMails?: boolean;
copyProvider?: boolean;
copySettings?: boolean;
};
resource?: "contactList"
| "campaign";
returnAll?: boolean;
}Properties§
§§§§§§§§§
readonly additional Fields?: { ... }§
readonly campaign Id?: stringThe ID of the campaign to add the contact to. Choose from the list, or specify an ID using an expression. Default: [] Type options: {"loadOptionsMethod":"getCampaigns"}
readonly campaign Name?: stringThe name of the campaign to create
readonly contact Email?: stringThe email of the contact to add to the campaign
readonly contact List Id?: stringThe ID of the contact list to add the contact to. Choose from the list, or specify an ID using an expression. Default: [] Type options: {"loadOptionsMethod":"getContactLists"}
readonly limit?: numberMax number of results to return Default: 100 Type options: {"minValue":1,"maxValue":100}
readonly operation?:
| "create"
| "get"
| "getAll"
| "add"
| "start"
| "addContact"
| "duplicate"
| "pause"Default: "get"
readonly options?: { ... }Default: {}
readonly resource?: "contactList" | "campaign"Default: "campaign"
readonly return All?: booleanWhether to return all results or only up to a given limit
Default: {}