n8n

How to Automate Social Media Post Publishing?

Publish videos and photos across multiple social networks from one simple form. Marketers and creators can upload once and push to TikTok, X, Facebook, YouTube, Instagram, Threads, and LinkedIn. It saves time and keeps captions and accounts consistent.

A hosted form collects the account, caption, platform choice, and the media file. A switch decides if the file is a video or a photo, then sends it to the correct upload path. The upload uses multipart form data with an Authorization Apikey header. The response is stored and checked, and the user sees a clear success or error page after posting.

You will need an API key from the Upload-Post dashboard and a profile name that matches the Account field. Setup takes a short time and can cut weekly posting work by more than half. If YouTube is selected, it may be under review, so remove it from the platform list until it is verified.

What are the key features?

  • Form trigger collects caption, account, platform choice, and the media file in one place.
  • Switch node routes media to video or photo upload paths automatically.
  • HTTP uploads use multipart form data to send files to the API.
  • HTTP header auth adds the Authorization Apikey value for secure requests.
  • Set nodes capture and standardize API responses for later checks.
  • If checks confirm success or failure and route to the correct result page.
  • Completion forms show a clear Congratulations or Oops message to the user.

What are the benefits?

  • Reduce manual posting from 60 minutes to 5 minutes per campaign
  • Streamline cross platform uploads by 80%
  • Eliminate 90% of copy paste errors in captions and accounts
  • Handle 10 times more posts per week with the same team
  • Connect seven social networks through one submission

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Upload-Post. See the Tools Required section above for links to create accounts with these services.
  3. In your Upload-Post account, open the API or developer section and create an API key. Copy the key and keep it safe.
  4. In the n8n credentials manager, create a new HTTP Header Auth credential named Upload-Post API. Add a header with Name: Authorization and Value: Apikey YOUR_API_KEY.
  5. Open the Post video and Post photo nodes. In Credential to connect with, select the Upload-Post API credential you just created. Confirm Content Type is multipart-form-data.
  6. Map fields in both HTTP Request nodes: title to Caption, user to Account, platform[] to Platform, and video or photos[] to the uploaded file field.
  7. Open the form trigger and confirm fields for Account, Caption, Platform dropdown, and file upload. Make sure field names match the mappings used in the HTTP nodes.
  8. Check the Video or Photo switch node. Route to Post video when a video file is present and to Post photo when an image is present. If needed, update the rule to test the correct field.
  9. Review the Result and If nodes. Ensure the success condition matches your API response, for example a 200 status or a success flag. Adjust the condition if the API returns a different key.
  10. Run a test with a small image. Confirm the OK Photo page is shown and that the API created the post. If you see an error, open the execution log to read the API response.
  11. Run a test with a short video. Confirm the OK Video page appears. If you get 401, recheck the API key header. If you get 415, verify multipart form data and file field names.
  12. If posting fails for a specific platform because of review status, remove that platform from the Platform dropdown until it is verified.
  13. Train users to select the correct Account value that matches a profile set in Upload-Post. A mismatch will cause the API to reject the request.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Upload-Post

Sign up

Free tier: €0 / mo, 10 uploads / mo via API

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.