Skip to main content

Manage Strapi CMS v5 content types via webhook using HTTP requests

Workflow preview

Workflow preview
100%
Manage Strapi CMS v5 content types via webhook using HTTP requests preview
Open on n8n.io

1. Workflow Overview

n8n workflow template: Strapi CMS v5 content API An importable n8n workflow that creates , updates , and lists entries on Strapi v5 through a single webhook. It talks to Strapi’s...

Best for

  • Document Extraction automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.stopanderror, n8n-nodes-base.stickynote, n8n-nodes-base.switch

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ivars Bariss.

Original n8n.io source

1.1 Workflow description

Title
Manage Strapi CMS v5 content types via webhook using HTTP requests
Workflow name
Manage Strapi CMS v5 content types via webhook using HTTP requests

n8n workflow template: Strapi CMS v5 content API

An importable n8n workflow that creates, updates, and lists entries on Strapi v5 through a single webhook. It talks to Strapi’s REST API with HTTP Request nodes and a Strapi Token API credential, so it stays compatible with v5 even though n8n’s built-in Strapi node targets older Strapi versions.

What’s in this repo

File Purpose
strapi-v5-content-n8n-workflow.json Workflow export — use for Import from File / Import from URL in n8n or when submitting to the n8n template gallery

Features

  • One webhook, three actionsaction_type routes to create, update, or get_all.
  • Any content type — pass the plural API ID (content_type_plural) per request; no workflow fork per collection.
  • Strapi v5 — uses documentId on update and REST URLs shaped for the v5 API.
  • List with optionsget_all supports status, page_size, page_number, and populate=* in the workflow.
  • Clear failures — checks Strapi error responses and can mark the execution failed via Stop and Error.
  • Extra documentation — after import, open the large sticky note on the canvas for full payload examples and security notes.

Requirements

  • n8n (self-hosted or cloud)
  • Strapi v5 with a valid API token (Settings → API Tokens) and permissions for the collections you automate

Quick start

  1. In n8n, choose Import workflowFrom File and select strapi-v5-content-n8n-workflow.json (or import from this repo’s raw URL).
  2. Create a Strapi Token API credential in n8n and attach it to all HTTP Request nodes (Create, Update, Get all).
  3. Activate the workflow and copy the webhook’s Production URL (default path segment: strapi-v5-content). Change the path in the Webhook node if it clashes with another active workflow on the same instance.
  4. Send POST requests with a JSON body as below. Do not include a trailing slash on strapi_base_url.

Webhook security (recommended before production)

The template ships with no webhook authentication so you can test quickly. Before exposing the URL publicly, add authentication on the Webhook node (for example Header Auth with X-API-Key and a long random secret) and send that header on every call. The workflow intentionally does not hardcode your Strapi host: callers supply strapi_base_url in the body, so only trusted clients should be allowed.

Request body reference

All actions expect a JSON object (typically the webhook body). Common fields:

Field Required Description
action_type Yes "create" | "update" | "get_all"
strapi_base_url Yes Strapi origin, no trailing slash (e.g. https://your-project.strapiapp.com)
content_type_plural Yes Plural API ID from Content-Type Builder (e.g. articles)

get_all

Optional: status (published / draft), page_size, page_number.

create

Required: data — object of field names and values matching your Strapi schema.

update

Required: documentId (Strapi v5), and data with fields to patch.

Example shapes:

{
 "action_type": "get_all",
 "strapi_base_url": "https://your-strapi.example.com",
 "content_type_plural": "articles",
 "status": "published",
 "page_size": 10,
 "page_number": 1
}
{
 "action_type": "create",
 "strapi_base_url": "https://your-strapi.example.com",
 "content_type_plural": "articles",
 "data": { "title": "Hello", "slug": "hello" }
}
{
 "action_type": "update",
 "strapi_base_url": "https://your-strapi.example.com",
 "content_type_plural": "articles",
 "documentId": "<from get_all or Strapi admin>",
 "data": { "title": "Updated title" }
}

For full parameter notes, pagination examples, and MCP / AI agent usage, see the sticky note inside the imported workflow.

License

This project is released under the MIT License (Copyright © 2026 IBSolutions.dev).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 2 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 3 - Create a new Insight

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 4 - Update an insight

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 5 - Check if Error Occurred

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 6 - Mark Execution as Failed

Type / Role
n8n-nodes-base.stopAndError - stopAndError
Config choices
Version 1

Block 7 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Action detection

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Get all Insights

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

3. Summary Table

Workflow Manage Strapi CMS v5 content types via webhook using HTTP requests
Complexity intermediate
Nodes 13
Categories Document Extraction
Author Ivars Bariss
Published 30 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14471/14471.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Manage Strapi CMS v5 content types via webhook using HTTP requests do?

n8n workflow template: Strapi CMS v5 content API An importable n8n workflow that creates , updates , and lists entries on Strapi v5 through a single webhook. It talks to Strapi’s...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.