AI-Powered Community Post Creator with DeepSeek & Dynamic Images - n8n Workflow

Automate engaging YouTube community posts daily using this powerful n8n workflow. Integrates DeepSeek AI for text generation, Together AI for dynamic images, and Google Sheets logging.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Markdown-formatted text:
Content Creators & YouTubers: Who need to maintain consistent engagement on their community tab without manual effort.
Automation Enthusiasts: Seeking advanced examples of integrating LLMs (DeepSeek R1), image generation APIs (Together AI), and data logging (Google Sheets) within a single n8n template.


  • Marketing Teams: Looking to experiment with automated, AI-driven social media outreach.

Overview

This robust n8n workflow solves the tedious task of daily content creation for platforms like YouTube Community. Instead of manually brainstorming and designing posts, this n8n automation template utilizes a scheduled n8n trigger to initiate a complex content generation pipeline.

The core value lies in the combination of sophisticated AI services. It uses a LangChain LLM n8n node paired with DeepSeek (via OpenRouter) to generate the compelling text. Subsequently, it utilizes a second LLM step to craft a high-quality prompt for image generation, which is then executed via an HTTP Request n8n node targeting Together AI. This entire n8n workflow ensures high-quality, relevant, and visually appealing posts are staged daily, dramatically reducing operational time.

How it Works

The process begins with the "Daily 10AM EST Trigger" n8n trigger, initiating the automation at a set time every morning. This is an essential starting point for any scheduled n8n workflow.


  1. Context Setting: The "Set Day Variables" code n8n node runs first, ensuring the workflow has the current date or any necessary contextual parameters.

  2. Content Generation: The "Generate Content - LLM Chain" n8n node sends a structured prompt to the "DeepSeek R1 Model" (an OpenRouter integration), instructing it to create the main body of the community post.

  3. Data Parsing: The "Extract Content Details" code n8n node then cleanly parses the raw AI response, separating the post text from keywords or image generation requirements.

  4. Prompt Refinement: A second LangChain instance, "Generate Dynamic Image Prompt," takes the parsed text and refines it into a highly detailed prompt suitable for diffusion models.

  5. Image Creation: The "Generate Image - Together AI" HTTP Request n8n node executes the image generation API call. This is a crucial step where the dynamic image asset is created.

  6. Image Processing: The "Process Image Response" code n8n node handles the API response, typically extracting the generated image URL or decoding base64 data.

  7. Data Logging: Finally, the "Add to Google Sheets" n8n node takes the final post text and the processed image data/URL and logs them into a specified Google Sheet, providing a historical record and staging area before manual or automatic publishing.

Installation Guide

Markdown-formatted text:


  1. Import the n8n Workflow: Copy the provided JSON and import it directly into your n8n instance via the 'New' button or 'Import from JSON' option.

  2. Set Credentials: You must configure credentials for the following services:

OpenRouter/DeepSeek: Configure the 'DeepSeek R1 Model' n8n node with your OpenRouter API key.
Together AI: Ensure the 'Generate Image - Together AI' HTTP Request n8n node uses an authorized credential or API key in the headers.
* Google Sheets: Set up your Google Sheets OAuth 2.0 credential and link it to the spreadsheet where data will be logged.

  1. Customize Code Nodes: Review the logic within the "Set Day Variables," "Extract Content Details," and "Process Image Response" code n8n nodes to ensure they match your expected input and output formats from the APIs.

  2. Activate: Save the n8n template and toggle the workflow to 'Active'. The "Daily 10AM EST Trigger" n8n trigger will handle scheduled execution.

Node Details

Markdown-formatted text:
Daily 10AM EST Trigger (Schedule Trigger): This n8n trigger is the starting point, ensuring the n8n workflow runs precisely at 10 AM EST every day.
Set Day Variables (Code): A critical initial code n8n node used to define variables (like today's date or specific themes) that influence the AI generation process.
Generate Content - LLM Chain (LangChain LLM): Orchestrates the text generation logic. It leverages the LangChain n8n node structure for complex prompting, ensuring the DeepSeek model delivers structured output.
DeepSeek R1 Model (ChatOpenRouter): The specific n8n node connecting to the AI model used for content generation. Configured to use the DeepSeek R1 model via the OpenRouter service.
Extract Content Details (Code): Parses the raw JSON or structured text response from the LLM, making the data accessible for subsequent n8n nodes.
Generate Dynamic Image Prompt (LangChain LLM): A secondary LLM n8n node specifically designed to convert the generated post text into an optimized, descriptive prompt suitable for image synthesis models.
Generate Image - Together AI (HTTP Request): Performs the actual API call to Together AI's image generation endpoint. Key configuration includes defining the method (POST), URL, and ensuring the API key is passed correctly.
Add to Google Sheets (Google Sheets): The final action n8n node, responsible for appending the generated text and image URL into a designated Google Sheet spreadsheet for record-keeping and review.

Related n8n Workflows

Paid

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

Gerald Akhidenor is an AI Automation Lead Creative with 5 years of experience in AI automation consultancy. He specializes in n8n and API integrations, driving innovative automation solutions. As founder of DominixAI, Gerald combines creative vision and technical expertise to streamline processes and boost efficiency through cutting-edge AI technologies. Website: https://dominixai.com JobMonkey: https://trafficabc.com/jobmonkey-application-generator/

Featured*