Home / n8n Workflow Templates / Multi-Platform Social Media Publishing Workflow via Blotato

Multi-Platform Social Media Publishing Workflow via Blotato

Publish Videos & Images - Blotato

Automates publishing videos and images to Instagram, Facebook, LinkedIn, TikTok, YouTube, Threads, Twitter, Bluesky, and Pinterest using Blotato API with content sourced from Airtable.

Manual21 nodesMarketing & Socialsocial mediablotatopublish

About this workflow

Publish Videos & Images Across 9 Social Platforms Using Blotato and Airtable

This n8n workflow template, titled "Publish Videos & Images - Blotato", is a comprehensive automation system designed to streamline the publishing of multimedia content (videos and images) across nine major social media platforms—Instagram, Facebook, YouTube, Threads, LinkedIn, TikTok, Twitter (X), Bluesky, and Pinterest—using the third-party publishing service Blotato as a unified API layer. The workflow pulls content metadata and media URLs from an Airtable base, optionally optimizes YouTube titles using OpenAI's GPT-4.1-Mini, uploads media assets to Blotato’s storage, and then dispatches platform-specific posts with tailored text and settings. It also includes mechanisms to update the original Airtable record to reflect publishing status.

Key Features and Capabilities

  • Multi-Platform Publishing: Simultaneously publishes to 9 social networks via Blotato’s single API endpoint.
  • Dynamic Content Handling: Uses short-form text for character-limited platforms (e.g., X/Twitter, Instagram) and long-form scripts for platforms like YouTube and Facebook.
  • Media Asset Management: Uploads both video and image assets from URLs stored in Airtable to Blotato before publishing.
  • AI-Powered Title Optimization: Generates viral, compliant YouTube Shorts titles using OpenAI based on user-provided draft titles.
  • Pinterest Board ID Extraction: Includes a dedicated sub-workflow to scrape Pinterest board IDs from public URLs—a common pain point for API integrations.
  • Status Tracking: Updates Airtable records to reflect publishing progress (e.g., “In progress”, “Completed”).
  • Error Resilience: All publishing nodes use onError: "continueErrorOutput" to prevent total workflow failure if one platform fails.
  • Extensive Documentation: Embedded sticky notes provide setup instructions, debugging links, known limitations, and affiliate resources.

Main Nodes and Their Purposes

Node Type Purpose
When clicking ‘Test workflow’ Manual Trigger Initiates workflow execution during testing.
Airtable Record ID Set Injects a hardcoded Airtable record ID (recJBpGmgd7nuLpfe) for testing purposes.
Airtable Airtable Fetches a specific record from the “Media Creation” table containing script, media URLs, social text, and account IDs.
Ensure Valid YouTube Title OpenAI (LangChain) Rewrites the user’s draft title into a viral, <100-character YouTube Shorts title in JSON format.
Prepare for Publish Set Aggregates all necessary publishing data: social account IDs, board IDs, and formatted text (short/long).
Upload Image to Blotato / Upload Video to Blotato HTTP Request Uploads image or video from Airtable-stored URLs to Blotato’s media endpoint (/v2/media), returning a hosted URL.
[Platform] Publish via Blotato (9 nodes) HTTP Request Sends POST requests to Blotato’s /v2/posts endpoint with platform-specific payloads (e.g., targetType, privacy settings, page/board IDs).
Airtable: Posted Instagram / Airtable: Posted Instagram1 Airtable Updates the original Airtable record’s “Production” status field (e.g., to “Completed” or “In progress”).
Pinterest System (tm) → Grab Pinterest Board Page → Pinterest Page Sleuth Form Trigger → HTTP → Code A self-contained utility to extract a Pinterest board ID from a public URL by scraping and parsing embedded JSON.

Use Cases and Benefits

  • Content Creators & Agencies: Automate cross-platform social media distribution without managing individual platform APIs.
  • Efficiency: Eliminate manual uploading and posting across 9+ platforms; reduce human error.
  • Consistency: Ensure brand-aligned messaging with centralized content stored in Airtable.
  • Scalability: Easily add new records in Airtable to schedule future posts.
  • Compliance: Enforce platform-specific constraints (e.g., YouTube title length, Pinterest board requirements) programmatically.
  • Debugging & Monitoring: Sticky notes include direct links to social profiles and Blotato’s failed posts dashboard.

Step-by-Step Workflow Logic

  1. Trigger: The workflow starts either manually via the Manual Trigger (for testing) or could be adapted for scheduled/automated triggers.
  2. Record Identification: The Airtable Record ID node sets a static record ID for testing.
  3. Data Fetch: The Airtable node retrieves the full record containing:
    • Script (long-form content)
    • Text for X (short-form content)
    • Video URL and Image URL
    • Social account IDs (e.g., instagram_id, facebook_page_id)
    • Draft Media Title
  4. YouTube Title Optimization: The Ensure Valid YouTube Title node sends the draft title to OpenAI, which returns a compliant, viral-ready title in JSON.
  5. Data Preparation: The Prepare for Publish node compiles all required fields into a unified JSON object, including AI-generated YouTube title and social IDs.
  6. Media Upload:
    • Upload Image to Blotato sends the image URL to Blotato.
    • Upload Video to Blotato sends the video URL to Blotato.
    • Both return a Blotato-hosted media URL used in subsequent publish steps.
  7. Parallel Publishing: The uploaded media URL is passed to nine parallel HTTP nodes, each configured for a specific platform:
    • Each constructs a JSON payload with platform-specific target and content properties.
    • Authentication uses a shared Blotato API key via HTTP header credentials.
    • Pinterest uniquely references the uploaded image (not video), and includes a boardId.
    • YouTube includes the AI-optimized title and subscriber notification settings.
  8. Status Update: After Instagram publishing (as a representative example), two Airtable update nodes modify the original record’s “Production” status—demonstrating how success/failure can be logged (though not fully implemented for all platforms).
  9. Utility Sub-Workflow: Separately, the Pinterest System (tm) form allows users to input a Pinterest board URL, which is scraped and parsed to extract the numeric boardId—critical for Pinterest API calls.

This workflow exemplifies a production-grade, documentation-rich automation that bridges content planning (Airtable), AI enhancement (OpenAI), media hosting (Blotato), and multi-channel distribution—significantly reducing the operational overhead of modern social media management.

How to use: download the JSON, then in n8n choose “Import from File”.