Skip to main content

Generate platform-specific social media posts with ChatGPT, Tavily & G-Sheets

Workflow preview

Workflow preview
100%
Generate platform-specific social media posts with ChatGPT, Tavily & G-Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automated Social Media Content Generator with ChatGPT & Tavily Research This n8n template turns a simple spreadsheet of ideas into ready to publish content for LinkedIn, X, and Instagram. It uses T...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.aggregate, n8n-nodes-base.splitout, n8n-nodes-base.googlesheets, n8n-nodes-base.googlesheetstrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate platform-specific social media posts with ChatGPT, Tavily & G-Sheets
Workflow name
Generate platform-specific social media posts with ChatGPT, Tavily & G-Sheets

Automated Social Media Content Generator with ChatGPT & Tavily Research

This n8n template turns a simple spreadsheet of ideas into ready-to-publish content for LinkedIn, X, and Instagram. It uses Tavily to find recent insights from the web and ChatGPT to craft optimized posts automatically — writing results back to your sheet.

⚙️ Good to know

Triggers automatically when a new row is added to your Google Sheet.

Uses Tavily for intelligent web research based on your topic.

Generates three platform-specific posts (LinkedIn, X, IG) using ChatGPT.

Saves all results back into the same sheet — no manual copying.

Requires API keys for OpenAI, Tavily, and Google Sheets credentials.

🧭 How it works Step 1 — Watch the Sheet & Prepare Inputs

A Google Sheets Trigger monitors your content sheet with six columns:

Campaign

Content topic

Target audience

LinkedIn

X

IG

The Set Search Fields node structures this data for later steps.

Step 2 — Research with Tavily

The Search Internet node calls Tavily’s API (insert your key here) to fetch fresh news and articles about the topic.

Split Out unfolds the search results; Aggregate compiles them into a single, clean dataset used by the LLMs.

Step 3 — Generate Platform-Optimized Posts

Each platform uses a dedicated ChatGPT agent:

LinkedIn – long-form, insightful, paragraph breaks, 1–2 emojis, 3–5 hashtags, and a call to action.

X – ≤ 280 characters, concise and catchy, 1–3 hashtags, 1–2 emojis.

Instagram – scannable text with CTA, hashtags, and image suggestions for posts/carousels.

Finally, Update Campaign writes the generated posts back into your sheet (LinkedIn, X, and IG columns) using the campaign name as the match key.

🧩 How to use

Prepare your Google Sheet

Columns: Campaign, Content topic, Target audience, LinkedIn, X, IG.

Keep the last three empty — they’ll be filled automatically.

Connect credentials

Google Sheets → account owning the document.

Tavily → enter your API key in the Search Internet node.

OpenAI → connect your key in the three generation nodes (LinkedIn, X, IG).

Run

Add a new row to the sheet and watch the workflow automatically research, write, and update the row with finished posts.

🧾 Requirements

n8n instance

Google Sheets access

OpenAI API key

Tavily API key

🧱 Customizing this workflow

Tone & Voice – Edit system prompts in each GPT node.

Research Depth – Adjust max_results or search_depth in Tavily.

Localization – Modify prompts for language or region.

Formatting – Add post templates, hashtags, or links.

Quality Control – Add moderation or length checks before saving results.

A/B Testing – Duplicate platform nodes to create and compare multiple drafts.

💡 Tips

Keep topics focused — one clear idea per row.

Use Tavily’s news topic for the freshest insights.

Test on a few rows to calibrate tone and hashtags before scaling.

✅ In short: Idea in Google Sheet → Tavily research → ChatGPT writes LinkedIn/X/IG posts → Auto-update in sheet. Plug in your keys, run once, and your content pipeline writes itself.

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 - Aggregate

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

Block 2 - Split Out

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

Block 3 - Update Campaign

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 4 - Google Sheets Trigger

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

Block 5 - Set Search Fields

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

Block 6 - LinkedIn

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 7 - X

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 8 - IG

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 9 - Sticky Note

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

Block 10 - Sticky Note1

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

Block 11 - Sticky Note2

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

Block 12 - Sticky Note3

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

Block 13 - ChatGPT Model for LinkedIn

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

Block 14 - ChatGPT Model for X (Twitter)

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

Block 15 - ChatGPT Model for Instagram

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

Block 16 - Search

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

3. Summary Table

Workflow Generate platform-specific social media posts with ChatGPT, Tavily & G-Sheets
Complexity advanced
Nodes 16
Categories Content Creation, Multimodal AI
Author Mirai
Published 21 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9998/9998.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 Generate platform-specific social media posts with ChatGPT, Tavily & G-Sheets do?

Automated Social Media Content Generator with ChatGPT & Tavily Research This n8n template turns a simple spreadsheet of ideas into ready to publish content for LinkedIn, X, and Instagram. It uses T...

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 Content Creation, Multimodal AI use case.