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.
| 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 |
action_type routes to create, update, or get_all.content_type_plural) per request; no workflow fork per collection.documentId on update and REST URLs shaped for the v5 API.get_all supports status, page_size, page_number, and populate=* in the workflow.strapi-v5-content-n8n-workflow.json (or import from this repo’s raw URL).strapi-v5-content). Change the path in the Webhook node if it clashes with another active workflow on the same instance.strapi_base_url.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.
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_allOptional: status (published / draft), page_size, page_number.
createRequired: data — object of field names and values matching your Strapi schema.
updateRequired: 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.
This project is released under the MIT License (Copyright © 2026 IBSolutions.dev).