workflows.fit
Back to n8n workflows
n8n templateFreeBy Robert Breen

Loop over items — beginner example

This workflow introduces beginners to one of the most fundamental concepts in n8n: looping over items. Using a simple use case—generating LinkedIn captions for content ideas—it demonstrates how to split a dataset into...

DevelopmentCore NodesAILangchainSplit In BatchesLm Chat Open AiTool ThinkSticky Note
Loading interactive preview...

Template notes

This workflow introduces beginners to one of the most fundamental concepts in n8n: looping over items. Using a simple use case—generating LinkedIn captions for content ideas—it demonstrates how to split a dataset into individual items, process them with AI, and collect the output for review or export.

---

✅ Key Features

- 🧪 Create Dummy Data: Simulate a small dataset of content ideas. - 🔁 Loop Over Items: Process each row independently using the SplitInBatches node. - 🧠 AI Caption Creation: Automatically generate LinkedIn captions using OpenAI. - 🧰 Tool Integration: Enhance AI output with creativity-injection tools. - 🧾 Final Output Set: Collect the original idea and generated caption.

---

🧰 What You’ll Need

- ✅ An [OpenAI API key](https://platform.openai.com/signup) - ✅ The LangChain nodes enabled in your n8n instance - ✅ Basic knowledge of how to trigger and run workflows in n8n

---