List Published Assets

contentful.list_published_assets
ActionBusiness appsconnection required

Calls the Contentful API with the connection's credentials.

List only the currently published version of each asset.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
Contentful
Secret shape
the CMA access token, or {"access_token": "…"}
Config it needs
space_id, environment_id, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
order
Sort order, such as 'sys.updatedAt'. Prefix the field with '-' to reverse it.
stringNo———
select
Comma-separated properties to return, such as 'sys.id,fields.title'.
stringNo———
limit
How many items to return in one page (1-1000); Contentful defaults to 100.
numberNo—1–1000—
skip
How many items to skip before this page starts, so pages can be walked.
numberNo—≥ 0—
query_params
Any further Contentful query parameters as JSON, such as {"fields.slug": "about"}; field filters also need content_type set.
objectNo——{"fields.slug":"about"}
space_id
The space to act on. Leave blank to use the connection's space.
stringNo———
environment_id
The environment to act on. Leave blank to use the connection's environment, or 'master'.
stringNo———

Example configuration

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

{
  "query_params": {
    "fields.slug": "about"
  }
}

Output

One shape.

result

FieldTypeExample
items
The page of entities Contentful returned.
array—
count
How many entities are in this page.
number—
total
How many entities match in total, across all pages.
number—
skip
How many entities were skipped before this page.
number—
limit
The page size Contentful applied.
number—
space_id
The space the page was read from.
string—
environment_id
The environment the page was read from.
string—
{
  "count": 0,
  "environment_id": "",
  "items": [],
  "limit": 0,
  "skip": 0,
  "space_id": "",
  "total": 0
}

See List Published Assets run in a workflow.

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