Get Entry
strapi.get_entry
ActionBusiness appsconnection required
Calls the Strapi API with the connection's credentials.
Read one entry of a content type by its document id.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Strapi
- Secret shape
- the API token, or {"api_token": "…"}
- Config it needs
- base_url, collection
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 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 |
|---|---|---|---|---|---|
collection Plural API ID of the content type, as it appears in the URL, e.g. articles. Overrides the default content type on the connection. | string | No | — | — | articles |
document_id Identifier of the entry: its documentId on Strapi 5, or its numeric id on Strapi 4. | string | Yes | — | — | hgv1vny5cebq2l3czil1rpb3 |
fields Comma-separated field names to return. Empty returns every non-relational field. | string | No | — | — | title,slug |
populate Relations, media, components and dynamic zones to include: '*' for one level, or a comma-separated list of relation names. Empty returns none of them. | string | No | — | — | * |
status Which draft-and-publish version to act on. Strapi 5 only; leave unset for Strapi's own default of published. | string | No | — | one of "published", "draft" | — |
locale Locale code to act in, e.g. fr. Leave empty for the default locale. | string | No | — | — | fr |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"collection": "articles",
"document_id": "hgv1vny5cebq2l3czil1rpb3",
"fields": "title,slug",
"locale": "fr",
"populate": "*"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
entry The entry Strapi returned, unwrapped from its data envelope. | object | — |
document_id The entry's documentId, or its numeric id on Strapi 4. | string | — |
collection The content type the entry belongs to. | string | — |
meta Strapi's own meta object for this response. | object | — |
{
"collection": "",
"document_id": "",
"entry": {},
"meta": {}
}Related Strapi nodes
See Get Entry run in a workflow.
In a technical demo we add the Strapi connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.