Storyblok · Arazzo Workflow

Storyblok Build Navigation

Version 1.0.0

Pull the space link tree for a folder, then fetch the folder start page content for a navigation header.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CMSContent DeliveryContent ManagementHeadless CMSImage OptimizationREST APIVisual EditorWebhookArazzoWorkflows

Provider

storyblok

Workflows

build-navigation
Fetch a folder's link tree and its start page content for navigation.
Retrieves the link map for a folder prefix and the folder's start page story so a navigation menu and header can be assembled.
2 steps inputs: deliveryToken, startPageSlug, startsWith outputs: links, startPageContent, startPageId
1
listLinks
Retrieve the link map for the folder prefix to build the navigation tree, including publication dates.
2
fetchStartPage
Fetch the folder start page story by slug so its content can drive the navigation header.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Storyblok Build Navigation
  summary: Pull the space link tree for a folder, then fetch the folder start page content for a navigation header.
  description: >-
    A read-side flow for generating site navigation. The full link map for a
    folder is retrieved to build a menu tree, then the start page story for
    that folder is fetched by slug so its content can drive the navigation
    header. Both steps run against the public Content Delivery API. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: linksApi
  url: ../openapi/storyblok-links-api-openapi.yml
  type: openapi
- name: storiesApi
  url: ../openapi/storyblok-stories-api-openapi.yml
  type: openapi
workflows:
- workflowId: build-navigation
  summary: Fetch a folder's link tree and its start page content for navigation.
  description: >-
    Retrieves the link map for a folder prefix and the folder's start page
    story so a navigation menu and header can be assembled.
  inputs:
    type: object
    required:
    - deliveryToken
    - startsWith
    - startPageSlug
    properties:
      deliveryToken:
        type: string
        description: Public Content Delivery API token for the space.
      startsWith:
        type: string
        description: full_slug prefix identifying the folder to build navigation for.
      startPageSlug:
        type: string
        description: The full_slug of the folder start page story.
  steps:
  - stepId: listLinks
    description: >-
      Retrieve the link map for the folder prefix to build the navigation tree,
      including publication dates.
    operationId: listLinks
    parameters:
    - name: token
      in: query
      value: $inputs.deliveryToken
    - name: starts_with
      in: query
      value: $inputs.startsWith
    - name: including_dates
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      links: $response.body#/links
  - stepId: fetchStartPage
    description: >-
      Fetch the folder start page story by slug so its content can drive the
      navigation header.
    operationId: getStoryBySlug
    parameters:
    - name: slug
      in: path
      value: $inputs.startPageSlug
    - name: token
      in: query
      value: $inputs.deliveryToken
    - name: resolve_links
      in: query
      value: url
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      startPageId: $response.body#/story/id
      startPageContent: $response.body#/story/content
  outputs:
    links: $steps.listLinks.outputs.links
    startPageId: $steps.fetchStartPage.outputs.startPageId
    startPageContent: $steps.fetchStartPage.outputs.startPageContent

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/storyblok-build-navigation-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.