Back to Catalog

Automated LinkedIn content creation with GPT-4 and DALL-E for scheduled posts

Samuel KimutaiSamuel Kimutai
128747 views
2/3/2026
Official Page

How it works

  • Automatically generates trending LinkedIn content topics using AI
  • Researches current industry angles and hooks
  • Writes posts in your authentic voice using OpenAI
  • Creates professional images with DALL-E
  • Posts everything on schedule without manual intervention

Set up steps

  • Connect OpenAI API for content generation and image creation
  • Link LinkedIn API for automated posting
  • Configure scheduling triggers (daily/weekly posting)
  • Customize prompts to match your writing style and industry
  • Set up content approval workflows (optional)

Results you can expect

  • 400% increase in profile views within 3 weeks
  • Generate 120+ posts per month vs manual 12 posts
  • Free up 15+ hours weekly for revenue-generating activities
  • Consistent posting schedule that builds audience engagement
  • Professional content that converts followers to clients

Time to set up: 30-45 minutes Technical level: Beginner to intermediate APIs required: OpenAI, LinkedIn API Cost: OpenAI usage fees only (approximately $5-15/month)

This workflow transforms LinkedIn content creation from a time-consuming daily task into a fully automated system that works while you sleep. Perfect for entrepreneurs, marketers, and content creators who want consistent LinkedIn presence without the manual effort.

Automated LinkedIn Content Creation with AI

This n8n workflow automates the process of generating engaging LinkedIn posts, including both text content and accompanying images, using advanced AI models like GPT-4 and DALL-E. It then schedules these posts to be published on LinkedIn at regular intervals.

What it does

This workflow streamlines your content creation process by:

  1. Scheduling Content Generation: Triggers at a set interval (e.g., daily, weekly) to initiate content creation.
  2. Generating Post Ideas (AI Agent): Uses an AI Agent (likely GPT-4) to brainstorm and generate compelling LinkedIn post ideas based on predefined instructions.
  3. Structuring Output (Output Parser): Parses the AI Agent's output into a structured format (e.g., JSON) to extract the post's text and image prompt.
  4. Generating Image (DALL-E): Utilizes the OpenAI DALL-E model to create a relevant image based on the extracted image prompt.
  5. Merging Content: Combines the generated text and image URL into a single item for the LinkedIn post.
  6. Posting to LinkedIn: Publishes the generated text and image to your LinkedIn profile or company page.

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running instance of n8n.
  • OpenAI API Key: For accessing GPT-4 (via AI Agent and Basic LLM Chain) and DALL-E (via OpenAI node).
  • LinkedIn Account: With appropriate permissions to post content.
  • n8n Credentials: Configured for OpenAI and LinkedIn.

Setup/Usage

  1. Import the workflow: Download the JSON provided and import it into your n8n instance.
  2. Configure Credentials:
    • Set up your OpenAI API Key credential in n8n.
    • Set up your LinkedIn credential in n8n.
  3. Customize AI Agent:
    • Open the "AI Agent" node and review its configuration. Adjust the System Message and User Message to guide the AI in generating content relevant to your niche and audience.
    • Ensure the "OpenAI Chat Model" node within the AI Agent is configured with your OpenAI credential and preferred model (e.g., gpt-4).
  4. Customize Structured Output Parser:
    • Verify the Schema in the "Structured Output Parser" node matches the expected output format from your AI Agent. This is crucial for correctly extracting the post text and image prompt.
  5. Customize OpenAI (DALL-E) Node:
    • In the "OpenAI" node, ensure the Operation is set to "Create Image" and the Prompt is dynamically pulling the image prompt from the previous step (e.g., {{ $json.image_prompt }}).
    • Select your OpenAI credential.
  6. Configure LinkedIn Node:
    • Select your LinkedIn credential.
    • Set the Operation to "Create Post".
    • Map the Text field to the generated post content (e.g., {{ $json.text }}).
    • Map the Image URL field to the URL generated by the DALL-E node (e.g., {{ $json.image_url }}).
  7. Adjust Schedule Trigger:
    • Modify the "Schedule Trigger" node to your desired posting frequency (e.g., daily at a specific time, weekly).
  8. Activate the workflow: Once configured, activate the workflow to start automating your LinkedIn content.