AutomationMart
Home/Browse/Repurpose long-form content into Instagram and LinkedIn posts with OpenAI and Teams
n8n

Repurpose long-form content into Instagram and LinkedIn posts with OpenAI and Teams

n8nn8n105 modulesv1.0
GmailGoogle SheetsOpenAIGoogle DriveLinkedInInstagram

Who is this for Content creators, solopreneurs, and marketing teams who produce long-form content (podcasts, newsletters, interviews, scripts) and want to automatically turn it into multiple social media assets -- Instagram carousels, LinkedIn carousels, LinkedIn text posts, and LinkedIn media posts -- with human-in-the-loop approval via Microsoft Teams. What this workflow does This workflow takes a long-form content file sent via email, extracts strategic content pillars using AI, then

At a glance

Repurpose long-form content into Instagram and LinkedIn posts with OpenAI and Teams is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, Google Sheets, OpenAI, Google Drive. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, Google Sheets, OpenAI, Google Drive, LinkedIn, Instagram
Modules
105
Price
Free
Version
v1.0
Repurpose long-form content into Instagram and LinkedIn posts with OpenAI and Teams workflow diagram

About this workflow

Who is this for Content creators, solopreneurs, and marketing teams who produce long-form content (podcasts, newsletters, interviews, scripts) and want to automatically turn it into multiple social media assets -- Instagram carousels, LinkedIn carousels, LinkedIn text posts, and LinkedIn media posts -- with human-in-the-loop approval via Microsoft Teams. What this workflow does This workflow takes a long-form content file sent via email, extracts strategic content pillars using AI, then fans out into four parallel branches -- each producing a different social media format. Every draft is reviewed and approved in Microsoft Teams before images are generated, assets are saved to Google Drive, and posts are published via Blotato. How it works 1. Email trigger -- A Gmail Trigger watches for emails with a specific subject line (e.g. "Content Repurposing"). The email contains a text attachment (podcast transcript, newsletter, etc.) and optionally a link to the original content. 2. File extraction & storage -- The attachment is extracted, saved as a Google Doc in a timestamped project subfolder on Google Drive, and the source URL is parsed from the email body. 3. AI content strategist -- The Repurpose Strategist agent (OpenAI) analyzes the full text and extracts 5 strategic content pillars, each with a hook headline, core insight, virality factor, and relevant quote. Results are logged in Google Sheets. 4. Four parallel content branches -- The 5 pillars feed into four specialized AI agents that each produce a different format: - Instagram/YouTube carousel -- 5 punchy one-liners (max 25 words each) + a social media caption - LinkedIn carousel -- 5 slide texts with hooks + a companion caption, plus a styled PDF carousel via HTML-to-PDF - LinkedIn text post -- A single strong LinkedIn post (max 100 words) - LinkedIn media post -- A post with a guiding statement rendered as an image 5. Human review loop -- Each branch sends its draft to Microsoft Teams for approval via a custom form (approve/reject with feedback). If rejected, feedback is routed back to the AI agent for targeted revisions. 6. Asset generation & storage -- On approval, carousel images are generated via APITemplate.io, all assets (images, post texts, PDFs) are saved to organized Google Drive subfolders, and results are logged back to Google Sheets. 7. Publishing -- Approved posts are published to Instagram and LinkedIn via Blotato, with status monitoring and Teams notifications on success or failure. Setup steps 1. Gmail -- Create OAuth2 credentials. The trigger watches for emails with "Content Repurposing" in the subject. You can customize this filter. 2. Google Drive & Docs -- Create OAuth2 credentials. Set the target folder ID in the Google Drive Trigger node where project subfolders will be created. 3. Google Sheets -- Create a spreadsheet to serve as the content tracker. It will store pillars, carousel texts, post texts, and metadata. Update the Sheet ID in all Google Sheets nodes. 4. OpenAI -- Add your API key. Used by 5 AI agents (strategist + 4 content specialists). 5. Microsoft Teams -- Create OAuth2 credentials. Set the Teams chat ID in the 4 review nodes to route drafts to your approval channel. 6. APITemplate.io -- Create an account and design carousel slide templates. Set the template ID in the image generation nodes. 7. Blotato -- Connect your Instagram and LinkedIn accounts. Add the Blotato API credential and update account IDs in the publishing nodes. 8. HTML-to-PDF -- Install the community node n8n-nodes-htmlcsstopdf (self-hosted only). Customize the carousel slide HTML/CSS template with your branding (logo, colors, profile photo). Requirements - Community nodes: - @blotato/n8n-nodes-blotato - n8n-nodes-htmlcsstopdf - Self-hosted n8n only (due to community nodes) - Gmail OAuth2 credentials - Google Drive, Docs & Sheets OAuth2 credentials - OpenAI API key - Microsoft Teams OAuth2 credentials - APITemplate.io account and template - Blotato account with connected Instagram and LinkedIn profiles How to customize - AI prompts -- Each of the 5 AI agents has a detailed system prompt you can adjust for tone, word count, language, or output structure. - Carousel design -- Edit the HTML/CSS in the "HTML to PDF" node to match your brand (colors, fonts, logo, profile photo). Update the APITemplate.io template IDs for Instagram-style slides. - Platforms -- Add or remove publishing branches. Currently supports Instagram (via Blotato) and LinkedIn (text post, carousel, media post). - Review channel -- Change the Teams chat ID to route to different teams or channels. - Trigger -- Swap Gmail for another trigger (e.g. Google Drive, webhook, or manual) depending on your content intake workflow. - Feedback loop -- Each branch supports unlimited revision cycles. The AI applies feedback minimally without rewriting from scratch.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Convert new RSS feeds from HTML to text and add them to Google Sheets

Automatically fetch new articles from your RSS feed, convert HTML to text, and add them to Google Sheets for easy tracking and management.

Free

Add and Update Sensorpro contacts to a Google Sheets spreadsheet

Every time when you search Sensorpro contacts, Make will automatically add that contacts to a new row in a Google Sheets spreadsheet or update an existing row. The template uses this [example spreadsheet](https://docs.google.com/spreadsheets/d/1B3TkvDrZPWeEerrfp3jRLk7VBAob59O9UQQa0vU1yH0/edit?usp=sharing).

Free

Auto-Summarize Breaking Financial News with AI and Save to Sheets

This automation uses finlight, OpenAI, and Google Sheets to build your own AI-powered market intelligence tracker. When breaking financial news is received via finlight’s webhook, the article content is passed to OpenAI GPT for summarization. The resulting summary—along with the headline, timestamp, and URL—is automatically saved to Google Sheets for reporting, research, or decision-making.

Free

Send data to Google Drive using a custom webhook and action module

Automatically send data to Google Drive using a custom webhook and action module. Trigger data transfer with Custom WebHook, send via HTTP, and upload to Google Drive.

Free

Create Customerly leads from new Google Sheets rows

Every time a new person is added to your Google Sheets spreadsheet, Make will automatically add that person to Customerly as a deal. The template uses this [example spreadsheet](https://docs.google.com/spreadsheets/d/1HBBmkHFzcUL1DmZ1hrv2ewZS_IqyIMmkxZnO9mNsVMk/edit?usp=sharing).

Free

Add new Instagram comments to a Google Sheet and auto-reply if they contain specific keywords

This template instantly receives new Instagram comments, stores them on a Google Sheet and if the comments contain a specific keyword, an auto-reply that you compose is sent.

Free

Hostinger form lead capture & qualification with OpenAI, Beehiiv & Google Sheets

This n8n workflow provides a robust solution for Hostinger website owners looking to streamline their lead capture and qualification process. By integrating AI and popular marketing tools, it ensures efficient management of new leads. How it works This workflow automates the process of capturing leads from a Hostinger website form, qualifying them using an AI model, and syncing them with Beehiiv and Google Sheets. A new form submission on your Hostinger website triggers the workflow via Gmail.

Free

Automate sales cold calling pipeline with Apify, GPT-4o, and WhatsApp

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Cold Calling Automation - End-to-End Automated Cold Calling with Apify, RAG, and WhatsApp The "Cold Calling Automation" workflow is designed to fully automate the end-to-end cold calling process by intelligently combining web scraping, AI-powered research, and WhatsApp messaging. Leveraging key technologies such as Apify for data scraping, RAG (Retrieval-Augmented Generation) for intelligent con

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free