/** * Lemlist Node - Version 2 * Discriminator: resource=lead, operation=create */ interface Credentials { lemlistApi: CredentialReference; } export type LemlistV2LeadCreateParams = { 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; /** Company domain of the lead to create */ companyDomain?: string | Expression | PlaceholderValue; /** Whether to do not insert if this email is already present in another campaign * @default false */ deduplicate?: boolean | Expression; /** Whether to find verified email * @default false */ findEmail?: boolean | Expression; /** Whether to find phone number * @default false */ findPhone?: boolean | Expression; /** First name of the lead to create */ firstName?: string | Expression | PlaceholderValue; /** Icebreaker of the lead to create */ icebreaker?: string | Expression | PlaceholderValue; /** Job title of the lead to create */ jobTitle?: string | Expression | PlaceholderValue; /** Last name of the lead to create */ lastName?: string | Expression | PlaceholderValue; /** Whether to run the LinkedIn enrichment * @default false */ linkedinEnrichment?: boolean | Expression; /** LinkedIn URL of the lead to create */ linkedinUrl?: 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; /** Whether to verify existing email (debounce) * @default false */ verifyEmail?: boolean | Expression; }; }; export type LemlistV2LeadCreateOutput = { _id?: string; campaignId?: string; campaignName?: string; companyName?: string; contactId?: string; email?: string; firstName?: string; isPaused?: boolean; jobTitle?: string; lastName?: string; linkedinUrl?: string; }; export type LemlistV2LeadCreateNode = { type: 'n8n-nodes-base.lemlist'; version: 2; credentials?: Credentials; config: NodeConfig; output?: Items; };