Interface ConvertKitNodeParameters

Source
interface ConvertKitNodeParameters {
    additionalFields?:
        | {
            fieldsUi?: {
                fieldsValues: { key?: string; value?: string }[];
            };
            firstName?: string;
        }
        | { subscriberState?: "active"
        | "cancelled" }
        | {
            fieldsUi?: {
                fieldsValues: { key?: string; value?: string }[];
            };
            firstName?: string;
            tags?: unknown[];
        }
        | {
            fields?: {
                field: { key?: string; value?: string }[];
            };
            firstName?: string;
        };
    email?: string;
    id?: string;
    label?: string;
    limit?: number;
    name?: string;
    operation?: | "create"
    | "getAll"
    | "update"
    | "add"
    | "delete"
    | "addSubscriber"
    | "getSubscriptions";
    resource?: | "tag"
    | "form"
    | "customField"
    | "sequence"
    | "tagSubscriber";
    returnAll?: boolean;
    tagId?: string;
}

Properties§

Source§

readonly additionalFields?:
    | {
        fieldsUi?: {
            fieldsValues: { key?: string; value?: string }[];
        };
        firstName?: string;
    }
    | { subscriberState?: "active"
    | "cancelled" }
    | {
        fieldsUi?: {
            fieldsValues: { key?: string; value?: string }[];
        };
        firstName?: string;
        tags?: unknown[];
    }
    | {
        fields?: {
            field: { key?: string; value?: string }[];
        };
        firstName?: string;
    }

Default: {}

Source§

readonly email?: string

The subscriber's email address

Source§

readonly id?: string

The ID of your custom field

Source§

readonly label?: string

The label of the custom field

Source§

readonly limit?: number

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

Source§

readonly name?: string

Tag name, multiple can be added separated by comma

Source§

readonly operation?:
    | "create"
    | "getAll"
    | "update"
    | "add"
    | "delete"
    | "addSubscriber"
    | "getSubscriptions"

Default: "update"

Source§

readonly resource?:
    | "tag"
    | "form"
    | "customField"
    | "sequence"
    | "tagSubscriber"

Default: "form"

Source§

readonly returnAll?: boolean

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

Source§

readonly tagId?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getTags"}