← 返回
未分类 Key

Multi Platform Crosspost

Automatically cross-post blog content to 7+ platforms (LinkedIn, Dev.to, Hashnode, Twitter/X, Reddit, Substack, Pinterest) with tracking, deduplication, and...
自动将博客内容同步发布到7+平台(LinkedIn、Dev.to、Hashnode、Twitter/X、Reddit、Substack、Pinterest),支持追踪与去重
mhmalvi
未分类 clawhub v1.2.3 1 版本 99519.2 Key: 需要
★ 0
Stars
📥 207
下载
💾 1
安装
1
版本
#latest

概述

Multi-Platform Cross-Post Pipeline 📡

Automatically distribute your blog content across 7+ platforms with a single command. Built for Hugo blogs but adaptable to any static site generator or CMS.

Problem

You write a great article. Then you spend 45 minutes manually posting it to LinkedIn, Dev.to, Hashnode, Reddit, Substack, and Twitter. Every. Single. Time.

This skill eliminates that entirely.

What It Does

  1. Takes a blog post slug as input
  2. Fetches the full article content from your blog admin API
  3. Formats content for each platform (HTML → Markdown, character limits, image handling)
  4. Posts automatically to platforms with API access (Dev.to, Hashnode, LinkedIn)
  5. Emails formatted content for platforms without API (Twitter, Reddit, Substack)
  6. Tracks all cross-posts in Google Sheets (deduplication via slug + source matching)
  7. Handles auth, rate limits, and error recovery

Supported Platforms

PlatformMethodAutomation Level
-----------------------------------
LinkedInAPI (OAuth)Fully automated
Dev.toAPI (token)Fully automated
HashnodeAPI (token)Fully automated
PinterestAPIFully automated
Twitter/XEmail digestContent formatted, manual post
RedditEmail digestContent formatted, manual post
SubstackEmail digestContent formatted, manual post

Architecture

Blog Post Published
    │
    ▼
Webhook Trigger (n8n)
    │
    ├── Validate auth (_secret)
    ├── Fetch post content from blog-admin API
    ├── Parse frontmatter + body
    │
    ├──► IF LinkedIn enabled → Format + Post via API
    ├──► IF Dev.to enabled → Format + Post via API
    ├──► IF Hashnode enabled → Format + Post via API
    ├──► IF Pinterest enabled → Format + Pin via API
    ├──► IF Twitter enabled → Format + Email to owner
    ├──► IF Reddit enabled → Format + Email to owner
    └──► IF Substack enabled → Format + Email to owner
    │
    ▼
Google Sheets Tracker (appendOrUpdate, no duplicates)

Required n8n Credentials

You must create these credentials in your n8n instance before importing:

Credential TypeUsed ForPlaceholder in JSON
-----------------------------------------------
Google Sheets OAuth2Cross-post tracking and deduplicationYOUR_GOOGLE_SHEETS_CREDENTIAL_ID
SMTP (Gmail or custom)Email digests for manual platformsYOUR_SMTP_CREDENTIAL_ID
LinkedIn OAuth2Auto-posting to LinkedInYOUR_LINKEDIN_CREDENTIAL_ID
OpenAI (optional)AI-powered content formattingYOUR_OPENAI_CREDENTIAL_ID

Configuration Placeholders

Replace these placeholders in the workflow JSON before deploying:

PlaceholderDescription
--------------------------
YOUR_BLOG_ADMIN_API_KEYAPI key for your blog admin panel
YOUR_CROSSPOST_SECRETWebhook authentication secret
YOUR_TRACKER_SHEET_IDGoogle Sheet ID for cross-post tracking
YOUR_GOOGLE_SHEETS_CREDENTIAL_IDn8n Google Sheets credential ID
YOUR_SMTP_CREDENTIAL_IDn8n SMTP credential ID
YOUR_LINKEDIN_CREDENTIAL_IDn8n LinkedIn OAuth credential ID
YOUR_LINKEDIN_PERSON_IDYour LinkedIn profile URN
YOUR_OPENAI_CREDENTIAL_IDn8n OpenAI credential ID
YOUR_BLOG_DOMAINYour blog's public URL
YOUR_FROM_EMAILSender email for digests
YOUR_NOTIFICATION_EMAILWhere to send cross-post summaries
YOUR_BLOG_ADMIN_HOST:3000Blog admin hostname (Docker or URL)

Quick Start

1. Prerequisites

  • n8n instance (v2.4+)
  • Blog with an API endpoint that returns post content
  • Google Sheets OAuth2 credentials
  • Platform API keys (at least one)

2. Configure Platforms

Set your API credentials in the workflow's Platform Config node:

{
  "devto_api_key": "your-dev-to-api-key",
  "hashnode_token": "your-hashnode-token",
  "hashnode_publication_id": "your-pub-id",
  "linkedin_credential_id": "your-linkedin-oauth-id"
}

3. Set Up Tracking Sheet

Create a Google Sheet with columns:

  • slug (text) — Post identifier
  • source (text) — Blog name (for multi-blog support)
  • date (date) — Cross-post date
  • platforms (text) — Comma-separated list of platforms posted to
  • status (text) — success/partial/failed

4. Trigger

# Via webhook
curl -X POST https://your-n8n.com/webhook/blog-crosspost \
  -H "Content-Type: application/json" \
  -d '{"slug": "my-article", "lang": "en", "platforms": "all", "_secret": "your-secret"}'

# Or via blog admin (auto-triggers on first publish)

Platform-Specific Formatting

Dev.to

  • Converts HTML to Markdown
  • Adds canonical URL pointing to original
  • Maps categories to Dev.to tags (max 4)
  • Prepends cover image

Hashnode

  • Markdown with frontmatter
  • Canonical URL backlink
  • Tag mapping to Hashnode tags
  • Publication-scoped posting

LinkedIn

  • Plain text with line breaks (no markdown)
  • Truncated to 3,000 chars
  • Includes link to full article
  • Hashtag injection from tags

Pinterest

  • Creates pin with featured image
  • Title from post title
  • Description from meta description
  • Link to original article

Deduplication

The tracker uses Google Sheets appendOrUpdate with matching on slug + source. This means:

  • First post → creates new row
  • Re-trigger same slug → updates existing row (no duplicates)
  • Different blogs with same slug → separate rows (source differentiates)

Multi-Blog Support

Run multiple blogs through the same pipeline by setting different source values:

  • Blog A: source: "my-tech-blog"
  • Blog B: source: "my-business-blog"

Each gets tracked separately in the same sheet.

Use Cases

  1. Solo blogger — Write once, distribute everywhere
  2. Content agency — Manage cross-posting for multiple client blogs
  3. SEO strategy — Build backlink network across 7 platforms automatically
  4. Newsletter growth — Each platform drives subscribers to your newsletter

Requirements

  • n8n v2.4+ (self-hosted or cloud)
  • At least one platform API key
  • Google Sheets API credentials
  • Blog admin API or file system access to post content

Tips

  • Start with Dev.to + LinkedIn (highest ROI, easiest setup)
  • Add platforms incrementally
  • Monitor the tracking sheet for failed posts
  • Canonical URLs prevent duplicate content penalties
  • Schedule cross-posts 1-2 hours after original publish for better engagement

版本历史

共 1 个版本

  • v1.2.3 当前
    2026-05-12 05:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Newsletter Automation

mhmalvi
完整的新闻通讯管理系统,支持订阅者注册(双重确认)、自动化欢迎邮件序列、群发发送器以及订阅者分析。
★ 0 📥 904
data-analysis

Email Outreach Automation

mhmalvi
冷邮件推广流水线(多步骤序列、回复追踪、退信处理、活动分析),4个生产级n8n工作流,集成Google...
★ 0 📥 884
ai-intelligence

Dental Ai Receptionist

mhmalvi
完整AI语音接待系统,适用于牙科诊所,包含12个工作流程,涵盖来电转接、预约、提醒、未到诊跟进等功能。
★ 0 📥 875