Skip to main content

Auto-generate LinkedIn posts from articles with Dumpling AI and GPT-4o

Workflow preview

Workflow preview
100%
Auto-generate LinkedIn posts from articles with Dumpling AI and GPT-4o preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who is this for? This workflow is ideal for social media managers, personal brand strategists, ghostwriters, and founders who want to post regularly on LinkedIn without spending hours writing fr...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.set, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yang.

Original n8n.io source

1.1 Workflow description

Title
Auto-generate LinkedIn posts from articles with Dumpling AI and GPT-4o
Workflow name
Auto-generate LinkedIn posts from articles with Dumpling AI and GPT-4o

👤 Who is this for?

This workflow is ideal for social media managers, personal brand strategists, ghostwriters, and founders who want to post regularly on LinkedIn without spending hours writing from scratch. It’s also useful for marketing agencies and assistants looking to automate consistent post creation using curated articles as source material.


🧩 What problem does this workflow solve?

Manually reading multiple articles, extracting key insights, and writing a clean, professional LinkedIn post is a time-consuming process. This workflow automates everything: from pulling topics, finding related articles, summarizing them using AI, and even generating a matching image to accompany the post. It ensures faster content turnaround, more consistency, and less manual effort.


🔁 What this workflow does

This workflow starts manually and retrieves one topic marked as “To do” from a Google Sheet. That topic is used as a search term for Dumpling AI’s search endpoint, which scrapes and returns the top three article contents related to the topic. These articles are sent to a LangChain agent powered by GPT-4o, which analyzes and summarizes the content into a LinkedIn post in a friendly, insightful tone. It also generates an image prompt for the post.

After generating the post and image prompt, the data is extracted using a Set node. The prompt is sent to Dumpling AI’s image generation endpoint, which returns an image URL. Finally, the post text, image prompt, image URL, and status update (“created”) are saved back to the original row in Google Sheets.


🛠️ Workflow Breakdown

  1. Manual Trigger – Starts the automation.
  2. Google Sheets (Get Topic) – Searches for the first row in your content pipeline sheet where the “status” is “To do”.
  3. HTTP Request (Dumpling AI Search) – Uses the topic as a search query to pull 3 article contents using Dumpling AI’s API.
  4. Set LangChain GPT Model – Defines GPT-4o as the LLM for the LangChain Agent.
  5. LangChain Agent (Summarize & Generate) – Summarizes all 3 articles and generates a LinkedIn post and a related image prompt.
  6. Set (Extract Data) – Extracts postText and imagePrompt from the LangChain agent output.
  7. HTTP Request (Dumpling Image Gen) – Sends imagePrompt to Dumpling AI’s image generation endpoint.
  8. Update Google Sheets – Writes the post, image prompt, and image URL back to the sheet and changes the row status to “created”.

⚙️ Setup Instructions

  1. Dumpling AI

    • Sign up at Dumpling AI
    • Get your API key and connect it in the HTTP Request nodes (Search and Image endpoints)
    • Use the /search endpoint to retrieve article content
    • Use the /generate-image endpoint to create the image
  2. Google Sheets

    • Create a spreadsheet with columns: topic, status, postText, imagePrompt, imageURL
    • Add sample topics and set their status to To do
  3. LangChain (GPT-4o)

    • Connect your OpenAI credentials to n8n
    • Make sure GPT-4o is available in your OpenAI account
    • Use the LangChain node to process multi-input summarization and generate a social media caption
  4. Customize the Prompt (Optional)

    • Adjust the Set node to tweak the input format sent to the LangChain agent
    • Add constraints like tone, hashtags, or emojis to fit your brand style

🧠 How to Customize This Workflow

  • Change the content source (RSS feed, Notion DB, etc.) instead of Google Sheets
  • Add a scheduler node to run this automatically every morning or weekly
  • Use Airtable instead of Google Sheets for more control and filtering
  • Send the final post to LinkedIn using the Buffer or LinkedIn API
  • Add a Telegram or Slack notification when new content is ready for approval

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - Start Workflow

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Get "To do" Topics from Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 3 - Scrape Articles via Dumpling AI Search

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Enable GPT-4o for LangChain Agent

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 5 - Summarize 3 Articles + Generate LinkedIn Post + Image Prompt

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 6 - Extract Post Text and Image Prompt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Generate Image with Dumpling AI

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Update Google Sheet with Post & Image

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Auto-generate LinkedIn posts from articles with Dumpling AI and GPT-4o
Complexity intermediate
Nodes 10
Categories Content Creation, Multimodal AI
Author Yang
Published 03 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4631/4631.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Auto-generate LinkedIn posts from articles with Dumpling AI and GPT-4o do?

Who is this for? This workflow is ideal for social media managers, personal brand strategists, ghostwriters, and founders who want to post regularly on LinkedIn without spending hours writing fr...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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.