workflows.fit
Back to n8n workflows
n8n templateFreeBy Davide Boizza

Publish image & video to multiple social media (X, Instagram, Facebook and more)

This Workflow streamlines the process of publishing posts (image or video) to multiple social media platforms using a unified form and a third-party API service called Upload-Post. The automation starts with a form tr...

DevelopmentCore NodesForm TriggerHttp RequestFormIf
Loading interactive preview...

Template notes

This Workflow streamlines the process of publishing posts (image or video) to multiple social media platforms using a unified form and a third-party API service called Upload-Post.

The automation starts with a form trigger, allowing users to submit content (text and media) through a simple frontend interface. Users select the platform (Instagram, LinkedIn, Facebook, X, TikTok, Threads), choose the profile name, write a caption, and upload a photo or video.

---

How It Works Automates cross-platform social media posting via Upload-Post, handling both images (JPEG) and videos (MP4). Here’s the process:

- Trigger: - A form submission captures user inputs: - Platform (Instagram, LinkedIn, Facebook, X, TikTok, Threads). - Account (pre-configured profile name). - Caption and file (image/video). - Optional Facebook Page ID for targeted posting.

- Routing: - The "Video or Photo?" Switch node checks the file’s MIME type: - Image: Routes to the "Post photo" HTTP node (uploads via uploadphotos API). - Video: Routes to the "Post video" HTTP node (uploads via upload API).

- API Integration: - Both nodes send data to Upload-Post.com’s API, including: - Caption, account name, platform, and file binary. - Facebook ID (if provided).

- Success/Failure Handling: - The "Result Photo/Video" nodes parse the API response.