Multi-Platform Content Generation using AI and Web Research - n8n Workflow

Automate content creation for blogs, LinkedIn, and Facebook. This n8n workflow uses an n8n trigger, Tavily research, and specialized OpenAI Langchain agents to generate tailored, platform-specific posts instantly.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Content Marketing Teams looking to scale production.
SEO Specialists who need topic-specific articles.
Social Media Managers requiring platform-optimized content quickly.
Agencies utilizing powerful n8n templates to automate client deliverables.


  • Users seeking advanced examples of an n8n workflow combining research and generative AI.

Overview

Manually researching a topic and then rewriting content three different ways for a blog, LinkedIn, and Facebook is a major time sink. This sophisticated n8n workflow completely removes that bottleneck by automating the entire content lifecycle from idea submission to delivery.

By leveraging an n8n trigger based on a simple web form, the system immediately pulls key concepts and uses the Tavily API for real-time web research. The collected data is then fed into three parallel OpenAI Agents, each trained via a specialized system prompt to generate platform-specific content. This robust n8n node configuration ensures every piece of output—whether a formal blog post, a professional LinkedIn update, or an engaging Facebook snippet—is perfectly tailored to its target audience. This is a must-have among n8n templates for efficient content creators.

How it Works

This advanced n8n workflow executes a complex, multi-step process for automated content generation:


  1. Form Trigger Initiation: The process begins with the On form submission n8n trigger, which captures the subject and target audience input from a user.

  2. Parameter Setting: The Set Search Fields n8n node extracts the subject and target audience data, preparing it for the research phase.

  3. Web Research: The Search Web HTTP Request node calls the Tavily API using the extracted subject as the query. It retrieves relevant, current information, including raw content and answers.

  4. Data Processing: The results are first segmented by the Split Out n8n node and then consolidated by the Aggregate n8n node. This ensures the maximum amount of relevant research content is passed forward as a single data block for the AI models.

  5. Parallel AI Generation: This is the core of the n8n workflow. Three dedicated Langchain Agent nodes (Blog Writer, LinkedIn, and Facebook), powered by the OpenAI Chat Model n8n node, run simultaneously. Each agent follows specific system instructions to transform the raw aggregated content into its respective format.

  6. Content Consolidation: The Edit Fields n8n node collects the resulting posts from the three parallel branches (Blog, LinkedIn, Facebook) into a single, structured item.

  7. Final Delivery: The workflow concludes by using the Completed Notification Slack n8n node to send a complete, formatted summary of all generated content to a designated Slack channel for immediate review and posting.

Installation Guide

To deploy and utilize this powerful n8n workflow, follow these steps:


  1. Import: Download the provided JSON data and import it directly into your n8n instance via the 'Workflows' section.

  2. OpenAI Credentials: Locate the OpenAI Chat Model n8n node. You must connect your existing OpenAI credentials or create new ones using your OpenAI API key.

  3. Tavily API Setup: Navigate to the Search Web HTTP Request n8n node. In the JSON body configuration, replace the placeholder "ADD YOU API KEY HERE" with your actual Tavily API key. This is essential for the research component of the n8n workflow.

  4. Slack Setup: Configure the Completed Notification Slack n8n node with your Slack credentials and ensure the Channel ID is set to the correct destination for your content delivery.

  5. Activate Trigger: Activate the workflow. The On form submission n8n trigger will provide a unique URL where users can input the content details.

Node Details

On form submission (n8n trigger): Initiates the n8n workflow upon receiving input from a built-in n8n web form. It captures the 'Content Subject' and 'Target Audience'.
Set Search Fields (n8n node): Maps the form inputs to internal variables (query and targetAudience) used throughout the subsequent steps, specifically for the web research and AI prompting.
Search Web (HTTP Request n8n node): Executes a POST request to the Tavily API for web research. Key Configuration: Uses data from the previous step to define the query, includes raw content, and requests a maximum of 3 results.
Aggregate (n8n node): Collects and combines the title and raw_content from the multiple search results into one clean item structure, optimizing the input for the high-context AI agents.
OpenAI Chat Model (Langchain n8n node): Serves as the language model connection, providing the underlying generative capabilities (GPT-3.5 or GPT-4) to all three specialized agent nodes.
Blog Writer (Langchain Agent n8n node): A specialized n8n node agent configured via a strict system message to generate a concise, two-paragraph blog article from the aggregated research data.
LinkedIn (Langchain Agent n8n node): An n8n node agent focusing on professional content generation, ensuring the output includes a strong call to action, emojis, and relevant professional hashtags.
Facebook (Langchain Agent n8n node): An n8n node agent designed for short, highly engaging, conversational Facebook posts with appropriate emojis and a prompt for interaction.
Edit Fields (n8n node): Restructures the final output by gathering the generated content from all three parallel paths (Blog, Facebook, LinkedIn) into clearly labeled fields.
Completed Notification (Slack n8n node): The final action of this n8n workflow. It formats and sends the complete, generated content bundle to a Slack channel, confirming successful execution.

Related n8n Workflows

Free

Nodes: 9 Nodes
Updated: December 26 2025
View all
Created by

n8n Expert with deep experience in designing and implementing automation workflows that optimize business processes, reduce manual effort, and improve scalability. Skilled in integrating n8n with diverse platforms, APIs, and enterprise systems to deliver end-to-end automation solutions. With 13+ years of background in web development (PHP & JavaScript), I bring strong technical expertise to create custom, reliable, and efficient workflows.

Featured*