English
lemlist
Adds a lead to a lemlist campaign, pauses or resumes their sequence when they reply, removes or unsubscribes them.
The lemlist node drives your outreach sequences from the mailbox. Its first use: a lead replies by email outside lemlist — the sequence must stop before the next follow-up. See lemlist.
At a glance
- Type:
lemlist.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: Writes outside (
external_write) — writes outside Loop & Roll; described instead of performed during a test run - Needs a carrier email: No
- Connection: lemlist
- Inputs:
main - Outputs:
main
Connection
This node needs a lemlist connection.
Parameters
connection
lemlist connection — The lemlist connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
lead.pause - Options:
lead.pause— Pause a lead’s sequence: When they replied by email: no more automatic follow-ups.lead.resume— Resume the sequencelead.add— Add a lead to a campaignlead.get— Get a leadlead.unsubscribe— Remove from a campaignunsubscribe.global— Unsubscribe everywhere: No more sends to this address, across all campaigns.
email
Lead email address
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 320 characters at most
- Example:
{{ email.from.email }} - Expressions:
{{ }}accepted
campaign
Campaign — To pause or resume, optional: empty = all their campaigns.
- Type: Remote resource (
resourceLocator) - Required: No
- Ways to choose: pick from a list, type an ID (
lemlist.campaign) - Listed with the connection in:
connection - Shown when:
actionis one oflead.add,lead.unsubscribe,lead.pause,lead.resume
firstName
First name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionislead.add - Expressions:
{{ }}accepted
lastName
Last name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionislead.add - Expressions:
{{ }}accepted
companyName
Company
- Type: Text (
string) - Required: No
- Default:
""(empty) - 300 characters at most
- Shown when:
actionislead.add - Expressions:
{{ }}accepted
variables
Custom variables — Used in the sequence messages, by name.
- Type: Key / value pairs (
keyValue) - Required: No
- Shown when:
actionislead.add - Expressions:
{{ }}accepted
deduplicate
Refuse if in another campaign
- Type: Yes / no (
boolean) - Required: No
- Default:
true - Shown when:
actionislead.add
Outputs
main— Taken once the lemlist call succeeds. An error response from lemlist fails the step instead.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.leadId }}—string. The lemlist ID of the lead concerned, empty when not found.{{ data.<step>.found }}—boolean. Get, Pause, Resume: true when the lead exists. An unknown lead is not an error.{{ data.<step>.leads }}—array of object. Get a lead: their entries, one per campaign (campaign.id,campaign.name,status,isPaused…).{{ data.<step>.campaignId }}—string. Add, Remove: the campaign concerned.{{ data.<step>.simulated }}—boolean. true when the write was described instead of done (test run).{{ data.<step>.summary }}—string. The one-line summary in the member’s language.
Operations
- Pause a lead’s sequence (
lead.pause, the default) and Resume the sequence (lead.resume): the lead is found by address; empty Campaign = all their campaigns. - Add a lead to a campaign (
lead.add): First name, Last name, Company, Custom variables; Refuse if in another campaign avoids following up the same person twice. - Get a lead (
lead.get). - Remove from a campaign (
lead.unsubscribe). - Unsubscribe everywhere (
unsubscribe.global): no more sends to the address, across all campaigns.
Tips
- Test runs. Reads run for real; writes are described.
- Retries. Pause, resume and unsubscribe are safe to retry.
- Errors.
integration.rejected: lead already in a campaign (with deduplication), unknown campaign. See Error handling.