Use Lemlist to retrieve campaign activities and replies, look up a lead by email or ID, and send an email through the Lemlist inbox. Filter activity by type, campaign, or lead and page with the provided limit and offset.
Triggers can start workflows from Lemlist activity events. Use activity data to summarize campaign performance, sync replies to a CRM, or decide which leads need follow-up. The block does not expose campaign creation or multi-channel sequence management.
Retrieve campaign activities and replies, get lead information, and send emails through the Lemlist inbox.
Retrieves campaign activities and steps performed, including email opens, clicks, replies, and other events.
Parameter Type Required Description apiKeystring Yes Lemlist API key typestring No Filter by activity type (e.g., emailOpened, emailClicked, emailReplied, paused) campaignIdstring No Filter by campaign ID (e.g., "cam_abc123def456") leadIdstring No Filter by lead ID (e.g., "lea_abc123def456") isFirstboolean No Filter for first activity only limitnumber No Number of results per request (e.g., 50). Max 100, default 100 offsetnumber No Number of records to skip for pagination (e.g., 0, 100, 200)
Parameter Type Description activitiesarray List of activities ↳ _id string Activity ID ↳ type string Activity type ↳ leadId string Associated lead ID ↳ campaignId string Campaign ID ↳ sequenceId string Sequence ID ↳ stepId string Step ID ↳ createdAt string When the activity occurred countnumber Number of activities returned
Retrieves lead information by email address or lead ID.
Parameter Type Required Description apiKeystring Yes Lemlist API key leadIdentifierstring Yes Lead email address (e.g., "john@example.com ") or lead ID (e.g., "lea_abc123def456")
Parameter Type Description _idstring Lead ID emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Company name jobTitlestring Job title companyDomainstring Company domain isPausedboolean Whether the lead is paused campaignIdstring Campaign ID the lead belongs to contactIdstring Contact ID emailStatusstring Email deliverability status
Sends an email to a contact through the Lemlist inbox.
Parameter Type Required Description apiKeystring Yes Lemlist API key sendUserIdstring Yes Identifier for the user sending the message (e.g., "usr_abc123def456") sendUserEmailstring Yes Email address of the sender (e.g., "sales@company.com ") sendUserMailboxIdstring Yes Mailbox identifier for the sender (e.g., "mbx_abc123def456") contactIdstring Yes Recipient contact identifier (e.g., "con_abc123def456") leadIdstring Yes Associated lead identifier (e.g., "lea_abc123def456") subjectstring Yes Email subject line messagestring Yes Email message body in HTML format ccjson No Array of CC email addresses
Parameter Type Description okboolean Whether the email was sent successfully
A trigger starts a workflow when a supported event occurs in this service.
Trigger workflow when an email bounces
Configuration and outputsParameter Type Required Description apiKeystring Yes Required to create the webhook in Lemlist. campaignIdstring No Optionally scope the webhook to a specific campaign
Parameter Type Description _idstring Unique activity identifier typestring Activity type (e.g., emailsSent, emailsReplied) createdAtstring Activity creation timestamp (ISO 8601) teamIdstring Lemlist team identifier leadIdstring Lead identifier (only present for campaign activities) campaignIdstring Campaign identifier (only present for campaign activities) campaignNamestring Campaign name (only present for campaign activities) emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Lead company name linkedinUrlstring Lead LinkedIn profile URL sequenceIdstring Sequence identifier sequenceStepnumber Current step in the sequence (0-indexed) totalSequenceStepnumber Total number of steps in the sequence isFirstboolean Whether this is the first activity of this type for this step sendUserIdstring Sender user identifier sendUserEmailstring Sender email address sendUserNamestring Sender display name messageIdstring Email message ID that bounced errorMessagestring Bounce error message
Trigger workflow when a lead clicks a link in an email
Configuration and outputsParameter Type Required Description apiKeystring Yes Required to create the webhook in Lemlist. campaignIdstring No Optionally scope the webhook to a specific campaign
Parameter Type Description _idstring Unique activity identifier typestring Activity type (e.g., emailsSent, emailsReplied) createdAtstring Activity creation timestamp (ISO 8601) teamIdstring Lemlist team identifier leadIdstring Lead identifier (only present for campaign activities) campaignIdstring Campaign identifier (only present for campaign activities) campaignNamestring Campaign name (only present for campaign activities) emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Lead company name linkedinUrlstring Lead LinkedIn profile URL sequenceIdstring Sequence identifier sequenceStepnumber Current step in the sequence (0-indexed) totalSequenceStepnumber Total number of steps in the sequence isFirstboolean Whether this is the first activity of this type for this step sendUserIdstring Sender user identifier sendUserEmailstring Sender email address sendUserNamestring Sender display name messageIdstring Email message ID containing the clicked link clickedUrlstring URL that was clicked
Trigger workflow when a lead opens an email
Configuration and outputsParameter Type Required Description apiKeystring Yes Required to create the webhook in Lemlist. campaignIdstring No Optionally scope the webhook to a specific campaign
Parameter Type Description _idstring Unique activity identifier typestring Activity type (e.g., emailsSent, emailsReplied) createdAtstring Activity creation timestamp (ISO 8601) teamIdstring Lemlist team identifier leadIdstring Lead identifier (only present for campaign activities) campaignIdstring Campaign identifier (only present for campaign activities) campaignNamestring Campaign name (only present for campaign activities) emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Lead company name linkedinUrlstring Lead LinkedIn profile URL sequenceIdstring Sequence identifier sequenceStepnumber Current step in the sequence (0-indexed) totalSequenceStepnumber Total number of steps in the sequence isFirstboolean Whether this is the first activity of this type for this step sendUserIdstring Sender user identifier sendUserEmailstring Sender email address sendUserNamestring Sender display name messageIdstring Email message ID that was opened
Trigger workflow when a lead replies to an email
Configuration and outputsParameter Type Required Description apiKeystring Yes Required to create the webhook in Lemlist. campaignIdstring No Optionally scope the webhook to a specific campaign
Parameter Type Description _idstring Unique activity identifier typestring Activity type (e.g., emailsSent, emailsReplied) createdAtstring Activity creation timestamp (ISO 8601) teamIdstring Lemlist team identifier leadIdstring Lead identifier (only present for campaign activities) campaignIdstring Campaign identifier (only present for campaign activities) campaignNamestring Campaign name (only present for campaign activities) emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Lead company name linkedinUrlstring Lead LinkedIn profile URL sequenceIdstring Sequence identifier sequenceStepnumber Current step in the sequence (0-indexed) totalSequenceStepnumber Total number of steps in the sequence isFirstboolean Whether this is the first activity of this type for this step sendUserIdstring Sender user identifier sendUserEmailstring Sender email address sendUserNamestring Sender display name subjectstring Email subject line textstring Email body content (HTML) messageIdstring Email message ID (RFC 2822 format) emailIdstring Lemlist email identifier
Trigger workflow when an email is sent
Configuration and outputsParameter Type Required Description apiKeystring Yes Required to create the webhook in Lemlist. campaignIdstring No Optionally scope the webhook to a specific campaign
Parameter Type Description _idstring Unique activity identifier typestring Activity type (e.g., emailsSent, emailsReplied) createdAtstring Activity creation timestamp (ISO 8601) teamIdstring Lemlist team identifier leadIdstring Lead identifier (only present for campaign activities) campaignIdstring Campaign identifier (only present for campaign activities) campaignNamestring Campaign name (only present for campaign activities) emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Lead company name linkedinUrlstring Lead LinkedIn profile URL sequenceIdstring Sequence identifier sequenceStepnumber Current step in the sequence (0-indexed) totalSequenceStepnumber Total number of steps in the sequence isFirstboolean Whether this is the first activity of this type for this step sendUserIdstring Sender user identifier sendUserEmailstring Sender email address sendUserNamestring Sender display name subjectstring Email subject line textstring Email body content (HTML) messageIdstring Email message ID (RFC 2822 format) emailIdstring Lemlist email identifier
Trigger workflow when a lead is marked as interested
Configuration and outputsParameter Type Required Description apiKeystring Yes Required to create the webhook in Lemlist. campaignIdstring No Optionally scope the webhook to a specific campaign
Parameter Type Description _idstring Unique activity identifier typestring Activity type (e.g., emailsSent, emailsReplied) createdAtstring Activity creation timestamp (ISO 8601) teamIdstring Lemlist team identifier leadIdstring Lead identifier (only present for campaign activities) campaignIdstring Campaign identifier (only present for campaign activities) campaignNamestring Campaign name (only present for campaign activities) emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Lead company name linkedinUrlstring Lead LinkedIn profile URL sequenceIdstring Sequence identifier sequenceStepnumber Current step in the sequence (0-indexed) totalSequenceStepnumber Total number of steps in the sequence isFirstboolean Whether this is the first activity of this type for this step
Trigger workflow when a lead is marked as not interested
Configuration and outputsParameter Type Required Description apiKeystring Yes Required to create the webhook in Lemlist. campaignIdstring No Optionally scope the webhook to a specific campaign
Parameter Type Description _idstring Unique activity identifier typestring Activity type (e.g., emailsSent, emailsReplied) createdAtstring Activity creation timestamp (ISO 8601) teamIdstring Lemlist team identifier leadIdstring Lead identifier (only present for campaign activities) campaignIdstring Campaign identifier (only present for campaign activities) campaignNamestring Campaign name (only present for campaign activities) emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Lead company name linkedinUrlstring Lead LinkedIn profile URL sequenceIdstring Sequence identifier sequenceStepnumber Current step in the sequence (0-indexed) totalSequenceStepnumber Total number of steps in the sequence isFirstboolean Whether this is the first activity of this type for this step
Trigger workflow when a lead replies to a LinkedIn message
Configuration and outputsParameter Type Required Description apiKeystring Yes Required to create the webhook in Lemlist. campaignIdstring No Optionally scope the webhook to a specific campaign
Parameter Type Description _idstring Unique activity identifier typestring Activity type (e.g., emailsSent, emailsReplied) createdAtstring Activity creation timestamp (ISO 8601) teamIdstring Lemlist team identifier leadIdstring Lead identifier (only present for campaign activities) campaignIdstring Campaign identifier (only present for campaign activities) campaignNamestring Campaign name (only present for campaign activities) emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Lead company name linkedinUrlstring Lead LinkedIn profile URL sequenceIdstring Sequence identifier sequenceStepnumber Current step in the sequence (0-indexed) totalSequenceStepnumber Total number of steps in the sequence isFirstboolean Whether this is the first activity of this type for this step textstring LinkedIn message content
Trigger workflow on any Lemlist webhook event
Configuration and outputsParameter Type Required Description apiKeystring Yes Required to create the webhook in Lemlist. campaignIdstring No Optionally scope the webhook to a specific campaign
Parameter Type Description _idstring Unique activity identifier typestring Activity type (e.g., emailsSent, emailsReplied) createdAtstring Activity creation timestamp (ISO 8601) teamIdstring Lemlist team identifier leadIdstring Lead identifier (only present for campaign activities) campaignIdstring Campaign identifier (only present for campaign activities) campaignNamestring Campaign name (only present for campaign activities) emailstring Lead email address firstNamestring Lead first name lastNamestring Lead last name companyNamestring Lead company name linkedinUrlstring Lead LinkedIn profile URL sequenceIdstring Sequence identifier sequenceStepnumber Current step in the sequence (0-indexed) totalSequenceStepnumber Total number of steps in the sequence isFirstboolean Whether this is the first activity of this type for this step sendUserIdstring Sender user identifier sendUserEmailstring Sender email address sendUserNamestring Sender display name subjectstring Email subject line textstring Email body content (HTML) messageIdstring Email message ID (RFC 2822 format) emailIdstring Lemlist email identifier clickedUrlstring URL that was clicked (for emailsClicked events) errorMessagestring Error message (for bounce/failed events)