Skip to main content

Automate LinkedIn posts to email newsletter with Apify and GPT-4

Workflow preview

Workflow preview
100%
Automate LinkedIn posts to email newsletter with Apify and GPT-4 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's it for This workflow is ideal for content creators, marketers, and business professionals who want to automatically repurpose their LinkedIn content into email newsletters. If you're actively...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, @apify/n8n-nodes-apify.apify, n8n-nodes-base.limit, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.gmail, n8n-nodes-base.stickynote, n8n-nodes-base.set

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automate LinkedIn posts to email newsletter with Apify and GPT-4
Workflow name
Automate LinkedIn posts to email newsletter with Apify and GPT-4

Who's it for

This workflow is ideal for content creators, marketers, and business professionals who want to automatically repurpose their LinkedIn content into email newsletters. If you're actively posting on LinkedIn and want to maximize your content's reach by delivering it directly to your email subscribers, this automation saves you hours of manual work each week.

What it does

This workflow automatically transforms your latest LinkedIn posts into professionally formatted email newsletters. It monitors your LinkedIn profile, extracts your most recent post, and intelligently converts it into engaging newsletter content with proper HTML formatting. The final newsletter is then delivered directly to your target email inbox, ready to be reviewed and sent to your subscribers.

How it works

The workflow operates through four key stages:

  1. Content Extraction: Uses an Apify actor node to scrape all posts from your specified LinkedIn account

  2. Latest Post Filter: Automatically identifies and isolates your most recent LinkedIn post from the scraped data

  3. AI Transformation: Leverages OpenAI to convert the LinkedIn post into newsletter-style content with improved formatting and structure

  4. Email Delivery: Applies email-friendly HTML formatting and sends the polished newsletter to your designated email inbox

Requirements

To use this workflow, you'll need:

  • Apify account - For LinkedIn data scraping (free tier available)
  • OpenAI API key - For content transformation and formatting
  • Gmail API credentials - For email delivery

Setup instructions

  1. Configure Apify: Add your Apify API credentials and specify the LinkedIn profile URL you want to monitor

  2. Connect OpenAI: Insert your OpenAI API key in the AI transformation node

  3. Set up Gmail: Authenticate your Gmail account and specify the recipient email address

  4. Customize prompts: Adjust the OpenAI prompts to match your newsletter's tone and style

  5. Test the workflow: Run manually first to ensure all connections work properly

How to customize

  • Modify the OpenAI prompts to adjust newsletter tone, length, and formatting style
  • Change the filtering logic to select posts based on engagement metrics instead of recency
  • Add additional nodes to schedule automatic runs or post to multiple platforms
  • Integrate with email marketing platforms like Mailchimp or SendGrid for direct subscriber delivery

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 - Weekly Schedule

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

Block 2 - Run an Actor and Get All LinkedIn Posts

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 3 - Pulls the First Post

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

Block 4 - Convert LinkedIn Post to Email Newsletter

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

Block 5 - Convert Text to HTML Format

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

Block 6 - Send a message

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

Block 7 - Sticky Note

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

Block 8 - Sticky Note1

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

Block 9 - Sticky Note2

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

Block 10 - Variable Mapping

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

Block 11 - Sticky Note3

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

3. Summary Table

Workflow Automate LinkedIn posts to email newsletter with Apify and GPT-4
Complexity intermediate
Nodes 11
Categories Social Media, Multimodal AI
Author RJ Nelson
Published 08 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9387/9387.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 LinkedIn posts to email newsletter with Apify and GPT-4 do?

Who's it for This workflow is ideal for content creators, marketers, and business professionals who want to automatically repurpose their LinkedIn content into email newsletters. If you're actively...

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.