AI-Powered LinkedIn Post Generator from Voice Notes - n8n Workflow

Use this powerful n8n workflow to automate your LinkedIn content creation. Transform raw voice transcripts into polished, on-brand posts and visual concepts using AI and specialized n8n node logic. Boost efficiency with these ready-to-use n8n templates.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Content Creators and Solopreneurs struggling with drafting and editing LinkedIn posts.

  • Individuals who prefer dictating thoughts (voice notes) over writing.

  • Marketing teams looking for efficient ways to repurpose long-form content.

  • Users of n8n seeking advanced examples of AI integration and prompt engineering within an n8n workflow.

Overview

Generating high-quality, consistent thought leadership content for platforms like LinkedIn is time-consuming. Many professionals capture their best ideas via voice notes or transcriptions, but these raw texts lack structure and polish. This n8n workflow solves that pain point by creating a hands-off content pipeline.

The system works by taking a raw email containing your transcription (acting as the primary n8n trigger), combining it with a library of high-performing example posts (pulled from a Google Doc), and feeding the entire context into an advanced AI model (Anthropic Claude). The AI not only refines the text into an engaging, on-brand LinkedIn post but also generates a detailed description for a complementary image or video, ready for your design team.

This optimized n8n template dramatically reduces the time spent on content creation, allowing you to focus on capturing ideas while the n8n automation handles the heavy lifting of structure, tone, and refinement.

How it Works

This comprehensive n8n workflow operates in several distinct stages:


  1. Trigger and Filtering: The process begins with the "Email to Monitor" n8n trigger, which constantly checks a dedicated IMAP email account for new messages. The subsequent "Limit email sender" n8n node ensures that only emails originating from a designated, verified sender address are processed, preventing unintended triggers.


  1. Data Acquisition: The workflow simultaneously extracts two key pieces of information. First, the transcription text is cleaned and extracted from the email body. Second, the "Google Doc Post Inspiration" n8n node performs an HTTP Request to fetch a dynamic list of desired example LinkedIn posts, which define the style and tone required.


  1. Aggregation: The Merge and Aggregate n8n nodes combine the raw voice transcript text and the style inspiration examples into a single, cohesive payload ready for AI processing.


  1. AI Generation: The "Basic LLM Chain" n8n node leverages the "Anthropic Chat Model" (Claude Sonnet 4) to perform the transformation. The prompt is meticulously engineered to use the example posts to dictate style and tone, generating a finalized LinkedIn post and a detailed imagedescription in a strict JSON format.


  1. Post-Processing and Validation: The "Clean JSON Response" n8n node uses custom JavaScript and regex extraction to robustly parse the AI's JSON output. This crucial step ensures that even if the AI response is slightly malformed or truncated, the desired postcontent and image_description are reliably extracted into a clean format for the rest of the n8n workflow.


  1. Final Delivery: The "Send Email" n8n node sends the polished, ready-to-use LinkedIn post and the visual concept description directly back to the user via email, completing the n8n automation cycle.

Installation Guide

To deploy this powerful n8n template, follow these steps:


  1. Import the n8n workflow: Copy the provided JSON data and paste it directly into your n8n canvas using the 'Import Workflow' function.

  2. IMAP Credential Setup: Configure the "Email to Monitor" n8n trigger node with the IMAP credentials for the dedicated email address you wish to monitor for transcriptions.

  3. Update Email Filters: In both "Limit email sender" n8n node instances, replace the placeholder [email protected] with your exact sending email address. This ensures only your messages activate the n8n workflow.

  4. Anthropic API Key: Set up your Anthropic API credential within the "Anthropic Chat Model" n8n node.

  5. Configure Inspiration Source: Create a Google Doc containing high-quality LinkedIn post examples that reflect your desired voice. Set the document sharing settings to public (or 'Anyone with the link can view'). Replace the placeholder URL in the "Google Doc Post Inspiration" n8n node with your new public link.

  6. Activate: Ensure all credentials are set and activate the n8n workflow. Send a test email containing a transcription to the monitored address to see the automation in action.

Node Details


  • Email to Monitor (n8n trigger): The starting point of the n8n workflow. It monitors a specified IMAP inbox for new emails containing voice transcriptions.

  • Limit email sender (Filter n8n node): Filters incoming emails based on the sender's address (from), ensuring security and processing only authorized content.

  • Clean JSON (Set n8n node): Cleans the raw email data, extracting only the essential textPlain (the transcription) and the date into usable variables.

  • Google Doc Post Inspiration (HTTP Request n8n node): Fetches style reference content from a specified public Google Doc, which is vital for the AI's prompt engineering.

  • Aggregate (n8n node): Collects and structures the raw transcription content and the Google Doc inspiration data into a unified payload for the downstream LLM chain.

  • Basic LLM Chain / Anthropic Chat Model (Langchain n8n nodes): Uses Claude 4 Sonnet, guided by a detailed system prompt, to transform the raw text into a polished LinkedIn post and an accompanying imagedescription. This is the core transformation n8n node.

  • Clean JSON Response (Code n8n node): A custom scripting step utilizing regex to reliably extract the postcontent and image_description from the AI's response, safeguarding against JSON parsing failures in the n8n workflow.

  • Send Email (Email Send n8n node): The final action. Formats the generated post content and image description into a clean HTML email and delivers it to the user for final review and posting.

Related n8n Workflows

Free

Nodes: 11 Nodes
Updated: December 26 2025
View all
Created by
Kyle Morse
Kyle Morse

📘 AI Transformation Author (Multiply without Adding) 🚀 Building Strata52 to help leaders automate 75% of any role in 12 months

Featured*