Overview
Add Lemlist to any ModuleX agent or workflow. Manage sales-engagement outreach against the Lemlist REST API (api.lemlist.com): retrieve campaign activities and replies, look up lead details, and send emails through the Lemlist inbox.
Categories: Sales · Email Marketing · Sales Engagement · Auth: API Key · Actions: 3
Authentication
API Key Authentication
Authenticate using your Lemlist API keyRequired Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Lemlist API Key | Your Lemlist API key from Team Settings -> Integrations | Yes | - |
Available Actions
get_activities — Retrieves campaign activities and steps performed, including email opens, clicks, replies, and other events.
get_activities — Retrieves campaign activities and steps performed, including email opens, clicks, replies, and other events.
Parameters
Filter by activity type (e.g., emailOpened, emailClicked, emailReplied, paused)
Filter by campaign ID (e.g., “cam_abc123def456”)
Filter by lead ID (e.g., “lea_abc123def456”)
Filter for first activity only
Number of results per request (max 100, default 100)
Number of records to skip for pagination (e.g., 0, 100, 200)
Response
get_lead — Retrieves lead information by email address or lead ID.
get_lead — Retrieves lead information by email address or lead ID.
Parameters
Lead email address (e.g., “john@example.com”) or lead ID (e.g., “lea_abc123def456”)
Response
send_email — Sends an email to a contact through the Lemlist inbox.
send_email — Sends an email to a contact through the Lemlist inbox.
Parameters
Identifier for the user sending the message (e.g., “usr_abc123def456”)
Email address of the sender (e.g., “sales@company.com”)
Mailbox identifier for the sender (e.g., “mbx_abc123def456”)
Recipient contact identifier (e.g., “con_abc123def456”)
Associated lead identifier (e.g., “lea_abc123def456”)
Email subject line
Email message body in HTML format
Array of CC email addresses
Response
Limits & Quotas
- Pagination:
get_activitiesacceptslimit(max 100, default 100) andoffsetfor paging through campaign activity. - Send eligibility:
send_emailrequires a configured Lemlist sender user, mailbox, and an existing contact/lead — the values come from your Lemlist workspace. - Error model: non-2xx responses and timeouts are caught and
returned as
success=False+errorrather than raising. Plan for retries on the agent side based on the error string.