Create Entry
strapi.create_entry
ActionBusiness appsconnection required
Calls the Strapi API with the connection's credentials.
Create one entry of a content type from a JSON object of fields.
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
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 |
|---|---|---|---|---|---|
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 |
data The entry's fields as a JSON object. Strapi's 'data' envelope is added for you, so send the fields themselves. | object | Yes | — | — | {"slug":"hello-world","title":"Hello world"} |
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",
"data": {
"slug": "hello-world",
"title": "Hello world"
},
"locale": "fr"
}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": {}
}Notes
- With Draft & Publish on, Strapi 5 publishes a new entry immediately unless 'status' is set to draft.
Related Strapi nodes
See Create 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.