Skip to main content

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

Workflow preview

Workflow preview
100%
Publish image & video to multiple social media (X, Instagram, Facebook and more) preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Social Media automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.form, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.switch, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
Publish image & video to multiple social media (X, Instagram, Facebook and more)
Workflow name
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 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 upload_photos 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.

Setup Steps

Prerequisites:
  • Upload-Post.com API Key:
Configuration:
  1. API Authentication:

    • In the HTTP Request nodes (Post photo/Post video), set the Authorization header:
      • Name: Authorization
      • Value: Apikey YOUR_API_KEY_HERE.
  2. Form Customization:

    • Adjust the "On form submission" node to:
      • Add/remove platforms (e.g., YouTube when approved).
      • Modify file type restrictions (default: .jpg, .mp4).
  3. Account Mapping:

    • Ensure the "Account" field matches profiles configured in Upload-Post.com (e.g., test1, test2).
  4. Facebook Page Integration:

    • Optional: Add a Facebook Page ID field for page-specific posts.
  5. Testing:

    • Submit test forms with images/videos.
    • Verify API responses and success/failure messages.
Optional Enhancements:
  • Add error logging (e.g., save failed attempts to a database).
  • Extend to YouTube once API support is confirmed.

Key Features:

  • Multi-Platform: Post to 6+ social networks simultaneously.
  • User-Friendly: Simple form interface for non-technical users.
  • Error Handling: Clear feedback for success/failure cases.

Need help customizing?

Contact me for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 2 - Post photo

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Post video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - KO Video

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 5 - OK Video

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 6 - KO Photo

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 7 - OK Photo

Type / Role
n8n-nodes-base.form - form
Config choices
Version 1

Block 8 - Success Photo?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 9 - Success Video?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 10 - Result Photo

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Result Video

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Video or Photo?

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Publish image & video to multiple social media (X, Instagram, Facebook and more)
Complexity intermediate
Nodes 14
Categories Social Media
Author Davide
Published 23 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3669/3669.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

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

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media use case.