Block 1 - Create newly formatted Contentful Entry
- Type / Role
- n8n-nodes-base.httpRequest - httpRequest
- Config choices
- Version 4.2
This workflow is provided as-is. Please review and test before using in production.
Workflow: Publish to Contentful with Rich Text Formatting About the Creators This workflow was created by Varritech Technologies, an innovative agency that leverages AI to engineer, design, and d...
n8n-nodes-base.httprequest, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.merge, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Varritech.
Original n8n.io sourceThis workflow was created by Varritech Technologies, an innovative agency that leverages AI to engineer, design, and deliver software development projects 500% faster than traditional agencies. Based in New York City, we specialize in custom software development, web applications, and digital transformation solutions. If you need assistance implementing this workflow or have questions about content management solutions, please reach out to our team.
This workflow takes a JSON article payload, splits its markdown content into logical chunks, converts each chunk into Contentful Rich Text JSON via an AI agent, merges the resulting rich text nodes back into a single document, formats the entire entry according to Contentful's field schema, and finally publishes it to Contentful.
##-delimited chunks flowchart LR
A[When Executed by Another Workflow] --> B[Split by Headings]
B --> C[Markdown to Contentful format]
C --> D[Combine Rich Text Objects]
D --> E[Merge1]
E --> F[Format1]
F --> G[Create newly formatted Contentful Entry]
Type: Execute Workflow Trigger
Input Example:
Purpose: Receives the JSON payload from the upstream workflow.
Type: Code
Logic:
Type: LangChain Agent (+ OpenAI Chat model)
System Prompt:
User Prompt:
Here is the markdown content to convert:
{{ $json.contentChunk }}
Purpose: Converts each markdown chunk into an array of rich-text nodes.
Type: Code
Logic:
Type: Merge
Purpose: Joins the original item (with metadata) and the combined rich-text document into a single data stream.
Type: Code
Logic:
Type: HTTP Request
Method: POST
URL: https://api.contentful.com/spaces
Headers:
Body: The formatted fields object produced by the previous node
Purpose: Publishes the new entry with rich-text content to Contentful.
Splitting by headings prevents AI context limits and keeps conversions modular.
Enforcing nodeType, data, and content structure avoids validation errors on Contentful.
Separating "combine AI outputs" and "format entry" keeps transformations clear and testable.
Uses explicit versioning and content type headers to ensure correct entry creation.
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.
| Workflow | Convert Markdown content to Contentful rich text with AI formatting |
|---|---|
| Complexity | intermediate |
| Nodes | 12 |
| Categories | Content Creation, Multimodal AI |
| Author | Varritech |
| Published | 15 May 2025 |
Use the JSON export at /data/workflows/4078/4078.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
Workflow: Publish to Contentful with Rich Text Formatting About the Creators This workflow was created by Varritech Technologies, an innovative agency that leverages AI to engineer, design, and d...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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 Content Creation, Multimodal AI use case.