Get Campaign
customer_io.get_campaign
ActionCRM & salesconnection required
Calls the Customer.io API with the connection's credentials.
Read one automation's metadata, including its trigger and current state.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Customer.io
- Secret shape
- {"site_id": "…", "api_key": "…", "app_api_key": "…"} — the Site ID and Track API key for the Track nodes, the App API key for the rest
- Config it needs
- region, workspace_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 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 |
|---|---|---|---|---|---|
campaign_id The automation's numeric id, from its URL in the dashboard. | string | Yes | — | — | 7 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"campaign_id": "7"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The automation's numeric id. | number | — |
name The automation's name. | string | — |
active True while the automation is running. | boolean | — |
created When it was created, as a Unix timestamp. | number | — |
updated When it last changed, as a Unix timestamp. | number | — |
{
"active": false,
"created": 0,
"id": 0,
"name": "",
"updated": 0
}See Get Campaign run in a workflow.
In a technical demo we add the Customer.io connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.