Create Story

storyblok.create_story
ActionBusiness appsconnection required

Calls the Storyblok API with the connection's credentials.

Create a content entry in a space, optionally publishing it at once.

Connection

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

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
space_id
Numeric id of the space to act in, from Settings → Space. Overrides the default space on the connection.
stringNo——123456
name
Display name of the story, as editors will see it.
stringYes——Pricing
slug
URL slug of the story within its folder.
stringYes——pricing
content
The story's content: an object whose 'component' names the content type, with every nested block carrying its own '_uid'.
objectYes——{"body":[],"component":"page"}
parent_id
Numeric id of the folder to create the story in. Leave empty for the root of the space.
numberNo—≥ 1—
publish
Publish the story as soon as it is created.
booleanNofalse——
release_id
Numeric id of a release to attach this write to. Leave empty to write to the current content.
numberNo—≥ 1—

Example configuration

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

{
  "content": {
    "body": [],
    "component": "page"
  },
  "name": "Pricing",
  "publish": false,
  "slug": "pricing",
  "space_id": "123456"
}

Output

One shape.

result

FieldTypeExample
story
The story object Storyblok returned.
object—
story_id
Numeric id of the story.
number—
uuid
The story's UUID, which the Content Delivery API uses.
string—
full_slug
The story's full slug, including its folders.
string—
published
Whether Storyblok reports the story as published.
boolean—
space_id
The space the story belongs to.
string—
{
  "full_slug": "",
  "published": false,
  "space_id": "",
  "story": {},
  "story_id": 0,
  "uuid": ""
}

See Create Story run in a workflow.

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