List Templates

mailchimp.list_templates
ActionEmailconnection required

Calls the Mailchimp API with the connection's credentials.

Fetch a page of the account's templates. A template id from here is what Set Campaign Content's 'template' object needs.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Mailchimp
Secret shape
the Mailchimp API key (…-<dc>)
Config it needs
dc
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
template_type
Return only templates of this kind, such as 'user' for the account's own templates or 'base' for Mailchimp's.
stringNo———
category
Return only templates in this Mailchimp category.
stringNo———
folder_id
Return only templates in this template folder.
stringNo———
count
How many records to return on this page; Mailchimp caps a page at 1000.
numberNo101–1000—
offset
How many records to skip before this page, for paging through a collection.
numberNo0≥ 0—

Example configuration

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

{
  "count": 10,
  "offset": 0
}

Output

One shape.

result

FieldTypeExample
items
The records on this page, exactly as Mailchimp returned them.
array—
count
How many records this page carried.
number—
total
Total records matching the query, from the response's total_items; falls back to the page's own row count when Mailchimp reports no total.
number—
{
  "count": 0,
  "items": [],
  "total": 0
}

See List Templates run in a workflow.

In a technical demo we add the Mailchimp connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.