Skip to main content

Automate professional LinkedIn posts with OpenAI GPT, DALL-E and trending topics

Workflow preview

Workflow preview
100%
Automate professional LinkedIn posts with OpenAI GPT, DALL-E and trending topics preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Overall Description This workflow fully automates the process of creating and publishing professional LinkedIn posts based on real world experience in AI automation and workflow engineering, enrich...

Best for

  • Social Media automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.merge, n8n-nodes-base.linkedin

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automate professional LinkedIn posts with OpenAI GPT, DALL-E and trending topics
Workflow name
Automate professional LinkedIn posts with OpenAI GPT, DALL-E and trending topics

Overall Description

This workflow fully automates the process of creating and publishing professional LinkedIn posts based on real-world experience in AI automation and workflow engineering, enriched with latest industry insights from the internet, and paired with a relevant high-quality image

The workflow ensures:
  • Content relevance to AI automation, backend/frontend systems, IT
  • Professional, human-friendly post tone
  • Image validation before posting
  • Post validation before publishing
  • Automatic success/failure email alerts

Worflow Logic

  1. Trigger workflow (daily, weekly, custom date)
  2. Define posting context (based on your expertise)
  3. Fetch latest AI/automation trends (you can change based on your interested trends)
  4. Filter insights relevant to your field
  5. Generate linkedin ready post using AI Agent (OpenAI API)
  6. Generate image from Open AI Image model related to the post
  7. Validate image and text quality
  8. Merge approved text and image
  9. Convert content into LinkedIn format
  10. Publish post on LinkedIn
  11. Send email notification on success or failure

Setup Instructions

Credentials
  • OpenAI API Key – For text generation.
  • LinkedIn API Token – For publishing posts.
  • Image Generation API – DALL-E, Pollinations, or MidJourney.
  • Gmail / SMTP – For notifications.
  • Optional APIs: SERP API for trending topics.

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 - When clicking ‘Execute workflow’

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

Block 2 - Get Linked Post

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

Block 3 - Generate an image

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2

Block 4 - Set context

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

Block 5 - Get Latest Topics

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

Block 6 - Relevant Insights

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Generate LinkedIn Post

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2

Block 8 - Check Post Result

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 9 - Binary format

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Check Image condition

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Check Generated post

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 12 - Merge both Results

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 13 - Convert to LinkedIn format

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Post to LinkedIn

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

Block 15 - Send Alert Email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 16 - Send alert email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 17 - Sticky Note

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

Block 18 - Sticky Note1

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

Block 19 - Sticky Note2

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

Block 20 - Sticky Note3

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

Block 21 - Sticky Note4

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

Block 22 - Sticky Note5

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

Block 23 - Sticky Note6

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

3. Summary Table

Workflow Automate professional LinkedIn posts with OpenAI GPT, DALL-E and trending topics
Complexity advanced
Nodes 23
Categories Social Media, Multimodal AI
Author Mohamed Abubakkar
Published 16 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11856/11856.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 Automate professional LinkedIn posts with OpenAI GPT, DALL-E and trending topics do?

Overall Description This workflow fully automates the process of creating and publishing professional LinkedIn posts based on real world experience in AI automation and workflow engineering, enrich...

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 Social Media, Multimodal AI use case.