Back to Templates

Multi-Platform Social Media Publisher with Airtable, Google Drive, and Postiz

Created by

Created by: Kurt Bijl || netkreatives

Kurt Bijl

Last update

Last update 13 hours ago

Categories

Share


πŸ“ POSTIZ MEDIA UPLOAD WORKFLOW

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 PURPOSE:
Automated media upload pipeline that downloads videos and images from Google Drive and uploads them to Postiz storage for social media posting.

πŸ”„ WORKFLOW PROCESS:

  1. Webhook triggers the workflow
  2. Fetch media metadata from Airtable
  3. Download video + image from Google Drive
  4. Upload both files to Postiz storage
  5. Save Postiz file paths back to Airtable

πŸ”§ TECHNICAL DETAILS:
β€’ API: Postiz /upload endpoint (multipart-form-data)
β€’ Storage: Converts Google Drive files β†’ Postiz URLs
β€’ Integration: Updates Airtable with Postiz paths
β€’ Required: All media must be uploaded before posting

πŸ“± SOCIAL MEDIA POSTING WORKFLOW

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 PURPOSE:
Automated multi-platform social media posting using Postiz API. Distributes content across Instagram, Twitter/X (2 accounts), LinkedIn, and Facebook with platform-specific content cleaning and formatting.

πŸ”„ COMPLETE WORKFLOW PROCESS:

  1. πŸ“Š Fetch social media content from Airtable database
  2. πŸ”— Get integration IDs for all connected social platforms
  3. πŸ”€ Route each platform to appropriate content processor
  4. 🧹 Clean content to prevent JSON formatting errors
  5. πŸ“± Post to respective social media platforms simultaneously

πŸ“‹ PLATFORM COVERAGE:
β€’ πŸ“Έ Instagram (Visual content + captions)
β€’ 🐦 Twitter/X Main Account (Text + images)
β€’ 🐦 Twitter/X Alt Account (Duplicate posting)
β€’ πŸ’Ό LinkedIn (Professional content)
β€’ πŸ“˜ Facebook (Meta ecosystem posting)

⚠️ CRITICAL CONTENT CLEANING:
β€’ Removes line breaks (\n), carriage returns (\r), tabs (\t)
β€’ Replaces multiple spaces with single spaces
β€’ Prevents 'JSON parameter needs to be valid JSON' errors
β€’ ESSENTIAL: Without cleaning, all API calls fail!

πŸ”§ TECHNICAL SPECIFICATIONS:
β€’ API: Postiz /posts endpoint (POST)
β€’ Authentication: HTTP Header Auth
β€’ Content-Type: application/json
β€’ Posting Type: Immediate ('now') + 1 minute delay
β€’ Media: References pre-uploaded Postiz image paths
β€’ Rate Limit: 30 requests/hour (API beta limitation)

πŸ”— DATA SOURCES:
β€’ Content: Airtable
β€’ Media: Pre-uploaded via separate media upload workflow
β€’ Fields: instagram_caption, linkedin_post, twitter single, faceboook
β€’ Images: References 'postiz image' field paths

⚑ EXECUTION FLOW:
Airtable β†’ Integrations β†’ Platform Router β†’ Content Cleaners β†’ Social Publishers

🚨 TROUBLESHOOTING:
β€’ JSON Errors: Check content cleaning nodes
β€’ 500 Errors: Verify integration IDs and account connections
β€’ Missing Media: Ensure media upload workflow ran first
β€’ Rate Limits: Space out executions (30/hour limit)

πŸ”„ DEPENDENCIES:
β€’ Requires: Media upload workflow (for image/video paths)
β€’ Connects to: Analytics and monitoring workflows
β€’ Updates: Airtable with posting status and URLs

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ CRITICAL NOTES:
β€’ Cannot use external URLs in Postiz posts
β€’ Files must be uploaded to google drive first - id referenced in airtable
β€’ Enables reference tracking for all platforms

πŸ“Š DATA FLOW:
Google Drive β†’ Download β†’ Postiz Upload β†’ Airtable Update

πŸ”— CONNECTS TO:
Main social media posting workflows that reference these uploaded file paths for Instagram, Twitter, LinkedIn, Facebook, and YouTube posting.

🎬 VIDEO POSTING WORKFLOW

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 PURPOSE:
Automated video content distribution across Instagram, Facebook, and YouTube using Postiz API. Specialized workflow for video content with platform-specific processing and cleaning.

πŸ”„ WORKFLOW EXECUTION:

  1. πŸ“Š Fetch video content from Airtable database (recuoYjg4icStHsMK)
  2. πŸ”— Get integration IDs for video-enabled platforms
  3. πŸ”€ Route platforms to appropriate video processors
  4. 🧹 Clean content for Instagram & Facebook (YouTube bypassed)
  5. πŸ“Ή Publish to video platforms simultaneously

πŸ“Ή PLATFORM COVERAGE:
β€’ πŸ“± Instagram: Video posts & Reels (βœ… Working)
β€’ πŸ“˜ Facebook: Video content (⚠️ Test mode)
β€’ 🎬 YouTube: Long-form videos (🚨 Broken)

⚑ EXECUTION FLOW:
Airtable β†’ Integrations β†’ Video Router β†’ [3 Parallel Paths]
β”œβ”€β”€ Instagram: Cleaner β†’ Publisher
β”œβ”€β”€ Facebook: Cleaner β†’ Publisher
└── YouTube: [Direct] β†’ Publisher

πŸ—„οΈ DATA SOURCE:
β€’ Base: Netkreatives.com
β€’ Table: Youtube tool
β€’ Video Field: 'postiz video'
β€’ Content Fields: instagram_caption, faceboook

πŸ”§ TECHNICAL SPECS:
β€’ Method: POST
β€’ Auth: HTTP Header (Postiz credentials)
β€’ Timing: Immediate posting (+1 minute delay)
β€’ Media: Pre-uploaded video paths
β€’ Content-Type: application/json