Interface LemlistV1NodeParameters

Source
interface LemlistV1NodeParameters {
    additionalFields?: {
        companyName?: string;
        deduplicate?: boolean;
        firstName?: string;
        icebreaker?: string;
        lastName?: string;
        linkedinUrl?: string;
        phone?: string;
        picture?: string;
    };
    campaignId?: string;
    email?: string;
    filters?: {
        campaignId?: string;
        type?: | "emailsSent"
        | "emailsOpened"
        | "emailsClicked"
        | "emailsReplied"
        | "emailsBounced"
        | "emailsSendFailed"
        | "emailsUnsubscribed";
    };
    limit?: number;
    operation?: | "create"
    | "get"
    | "getAll"
    | "add"
    | "delete"
    | "unsubscribe";
    resource?: | "lead"
    | "activity"
    | "campaign"
    | "unsubscribe"
    | "team";
    returnAll?: boolean;
}

Properties§

Source§

readonly additionalFields?: {
    companyName?: string;
    deduplicate?: boolean;
    firstName?: string;
    icebreaker?: string;
    lastName?: string;
    linkedinUrl?: string;
    phone?: string;
    picture?: string;
}

Default: {}

Source§

readonly campaignId?: string

ID of the campaign to create the lead under. Choose from the list, or specify an ID using an expression. Default: [] Type options: {"loadOptionsMethod":"getCampaigns"}

Source§

readonly email?: string

Email of the lead to create

Source§

readonly filters?: {
    campaignId?: string;
    type?:
        | "emailsSent"
        | "emailsOpened"
        | "emailsClicked"
        | "emailsReplied"
        | "emailsBounced"
        | "emailsSendFailed"
        | "emailsUnsubscribed";
}

Default: {}

Source§

readonly limit?: number

Max number of results to return Default: 5 Type options: {"minValue":1,"maxValue":1000}

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "add"
    | "delete"
    | "unsubscribe"

Default: "getAll"

Source§

readonly resource?: "lead" | "activity" | "campaign" | "unsubscribe" | "team"

Default: "activity"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit