Get Campaign Export Status

lemlist.get_campaign_export_status
ActionCRM & salesconnection required

Calls the lemlist API with the connection's credentials.

Check an asynchronous statistics export and read its file URL once done.

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

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
campaign_id
The campaign to act on. Falls back to the connection's default campaign when blank.
stringNo——cam_4HrZbi8xsez4QlrnL
export_id
The export id returned by lemlist.start_campaign_export.
stringYes———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "campaign_id": "cam_4HrZbi8xsez4QlrnL"
}

Output

One shape.

result

FieldTypeExample
ok
Whether lemlist accepted the status request.
boolean—
export_id
The identifier of the asynchronous export.
string—
status
The export status reported by lemlist: pending, done or error.
string—
done
True only when the export status is 'done'.
boolean—
campaign_id
The campaign the call acted on.
string—
campaign_name
The name of the campaign being exported.
string—
progress
Records processed so far, as lemlist reports it.
number—
total
Records the export expects to process in total.
number—
started_at
When the export started.
string—
ended_at
When the export finished; empty while pending.
string—
url
Download URL of the CSV; empty until the export is done.
string—
{
  "campaign_id": "",
  "campaign_name": "",
  "done": false,
  "ended_at": "",
  "export_id": "",
  "ok": false,
  "progress": 0,
  "started_at": "",
  "status": "",
  "total": 0,
  "url": ""
}

See Get Campaign Export Status 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.