AI Agents

Automatically publish blogs on LinkedIn and X (Twitter)

12 nodes 207 126 Webhook
Download

Workflow Description

An automation template that publishes blog articles automatically to LinkedIn and X with intelligent content processing using an AI agent that leverages memory and vector search to optimize summaries and tailored post content for each platform.

How it works

  1. 1.Receive the article via webhook and split the text content into manageable chunks for processing
  2. 2.Convert article sections into vector embeddings and store them in a vector database for semantic search capabilities
  3. 3.Deploy an AI agent powered by Anthropic models with buffer memory to create platform-specific optimized content
  4. 4.Retrieve article metadata from Google Sheets and update publishing status records
  5. 5.Post the enhanced content automatically to LinkedIn and X accounts with proper formatting
  6. 6.Send Slack notifications confirming successful publishing completion and performance metrics

Use cases

  • Content-focused companies wanting to distribute articles across multiple platforms without manual effort
  • Marketing teams needing platform-specific optimized text variations for each social channel
  • Independent bloggers and content creators seeking to save time managing cross-platform publication workflows
  • SaaS companies implementing automated content marketing pipelines for consistent audience engagement

Requirements

  • Valid API keys for OpenAI and Anthropic to power natural language processing capabilities
  • Authenticated Google Sheets connection containing your article data and metadata
  • LinkedIn and X account credentials with appropriate publishing permissions configured
  • Supabase database instance properly configured for vector storage and semantic search
  • Webhook endpoint URL from your content management system to trigger new articles
  • Slack channel with bot permissions to receive publishing status notifications

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Text Splitter OpenAI Vector Store Memory Anthropic AI Agent Google Sheets Slack

Details

Trigger Webhook
Nodes 12
Apps 8
Views 207
Downloads 126

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (12)

/

Sticky Note

Sticky Note

#1

Webhook Trigger

Webhook

#2

Text Splitter

Text Splitter Character Text Splitter

#3

Embeddings

OpenAI

#4

Supabase Insert

Vector Store Supabase

#5

Supabase Query

Vector Store Supabase

#6

Vector Tool

Tool Vector Store

#7

Window Memory

Memory Buffer Window

#8

Chat Model

Lm Chat Anthropic

#9

RAG Agent

Agent

#10

Append Sheet

Google Sheets

#11

Slack Alert

Slack

#12