/** * Lemlist Node - Version 1 * Discriminator: resource=lead, operation=create */ interface Credentials { lemlistApi: CredentialReference; } export type LemlistV1LeadCreateParams = { resource: 'lead'; operation: 'create'; /** * ID of the campaign to create the lead under. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ campaignId?: string | Expression; /** * Email of the lead to create */ email?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Company name of the lead to create */ companyName?: string | Expression | PlaceholderValue; /** Whether to do not insert if this email is already present in another campaign * @default false */ deduplicate?: boolean | Expression; /** First name of the lead to create */ firstName?: string | Expression | PlaceholderValue; /** Last name of the lead to create */ lastName?: string | Expression | PlaceholderValue; /** Icebreaker of the lead to create */ icebreaker?: string | Expression | PlaceholderValue; /** Phone number of the lead to create */ phone?: string | Expression | PlaceholderValue; /** Picture URL of the lead to create */ picture?: string | Expression | PlaceholderValue; /** LinkedIn URL of the lead to create */ linkedinUrl?: string | Expression | PlaceholderValue; }; }; export type LemlistV1LeadCreateNode = { type: 'n8n-nodes-base.lemlist'; version: 1; credentials?: Credentials; config: NodeConfig; };