Automate LinkedIn Posts to Email Newsletter with Apify and GPT-4

Go to Workflow
1 views
Built by RJ Nelson RJ Nelson
Created on June 08, 2026

Description

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:

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

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

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

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

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

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

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

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

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

Nodes Used (2)

Gmail
n8n-nodes-base.gmail
OpenAI
@n8n/n8n-nodes-langchain.openAi