Get Entry References
contentful.get_entry_references
ActionBusiness appsconnection required
Calls the Contentful API with the connection's credentials.
Read the entries and assets one entry links to, several levels deep.
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
4 fields, 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 |
|---|---|---|---|---|---|
entry_id The id of the entry to act on. | string | Yes | — | — | — |
include How many levels of linked entries to resolve; Contentful caps this at 10. | number | No | 2 | 1–10 | — |
space_id The space to act on. Leave blank to use the connection's space. | string | No | — | — | — |
environment_id The environment to act on. Leave blank to use the connection's environment, or 'master'. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"include": 2
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The linked entries and assets Contentful resolved. | array | — |
count How many linked entities were returned. | number | — |
includes Contentful's side-loaded Entry and Asset lists. | object | — |
entry_id The entry whose references were read. | string | — |
include The resolution depth that was requested. | number | — |
space_id The space the entry lives in. | string | — |
environment_id The environment the entry lives in. | string | — |
{
"count": 0,
"entry_id": "",
"environment_id": "",
"include": 0,
"includes": {},
"items": [],
"space_id": ""
}See Get Entry References 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.