List Campaigns
lemlist.list_campaigns
ActionCRM & salesconnection required
Calls the lemlist API with the connection's credentials.
List the team's campaigns, filtered by status and paged.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- lemlist
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- campaign_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
status Only campaigns in this status. A campaign can hold several at once. | string | No | — | one of "running", "draft", "archived", "ended", "paused", "errors" | — |
limit How many campaigns to return. lemlist defaults to 100 and caps it there. | number | No | — | 1–100 | — |
offset How many campaigns to skip before the page starts. | number | No | — | ≥ 0 | — |
page Page number, as an alternative to an offset. | number | No | — | ≥ 1 | — |
sort_by Field to sort by; lemlist supports the creation date only. | string | No | — | one of "createdAt" | — |
sort_order Sort direction; anything other than 'desc' sorts ascending. | string | No | — | one of "asc", "desc" | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The records lemlist returned, unchanged. | array | — |
returned How many records are in 'items'. | number | — |
total Total matching campaigns when lemlist reports one. | number | — |
{
"items": [],
"returned": 0,
"total": 0
}See List Campaigns run in a workflow.
In a technical demo we add the lemlist connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.