Secure Client Social Media Connection and Publishing Flow - n8n Workflow

Securely connect client social media accounts using this n8n workflow. Generate temporary connection links (JWT) via Upload-Post and automate cross-platform content publishing for agencies.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Social Media Agencies needing a secure, passwordless way to onboard clients.
Marketing Teams looking for robust multi-platform publishing n8n templates.
Freelance Social Media Managers utilizing the Upload-Post API.
Users seeking advanced examples of utilizing the Upload-Post n8n node for client asset management.

Overview

This specialized n8n workflow is essential for social media agencies and technical marketers. It addresses the significant security challenge of password sharing by leveraging Upload-Post's secure JWT generation feature. This n8n workflow establishes two distinct automation tracks: first, the secure client onboarding process where a temporary connection link is generated and shared; and second, a robust content publishing funnel initiated by an n8n Form Trigger. This dual-track architecture allows you to create highly efficient n8n templates for managing client social assets securely and enables seamless cross-platform deployment using a dedicated Upload-Post n8n node.

How it Works

This n8n workflow operates in two independent phases: the Connection Setup and the Content Publishing.

Phase 1: Connection Setup (Manual Trigger)


  1. Initiation: The flow begins when the When clicking ‘Execute workflow’ manual n8n trigger is manually activated.

  2. User Provisioning: The Create user Upload-Post n8n node registers a new client profile or verifies an existing one within the service, ensuring they are ready for connection.

  3. Secure Link Generation: The Generate jwt for platform integration Upload-Post n8n node creates a branded, time-sensitive (1 hour TTL) JWT access URL. This URL is the key feature of this n8n workflow, allowing the client to securely link their social accounts (Facebook, Instagram, TikTok, YouTube) without ever sharing login credentials.

  4. Distribution: The generated secure link ($json.access_url) is immediately shared with the client using the Telegram n8n node, notifying them that their connection link is ready.

Phase 2: Content Publishing (Form Trigger)


  1. Input Form: The On form submission n8n trigger waits passively for content submissions via a custom-designed web form embedded within n8n. This serves as the content submission endpoint.

  2. Data Capture: The form collects the target Upload-Post Account name, content description, media file upload, and an optional Facebook Page ID.

  3. Multi-Platform Post: The Upload a video Upload-Post n8n node takes the collected content and utilizes the previously authenticated Upload-Post profile to publish the media and description simultaneously across the selected platforms (Facebook, Instagram, TikTok, YouTube), completing the automated n8n workflow.

Installation Guide

To deploy this n8n workflow template successfully, follow these steps:


  1. Import the Workflow: Copy the provided JSON data and paste it into your n8n instance using the 'New' > 'Import from JSON' function.

  2. Set Up Credentials: You will need to configure two sets of credentials:

Upload-Post API: Provide your API key for the Upload-Post service and assign it to both the Create user, Generate jwt for platform integration, and Upload a video n8n node instances.
Telegram API: Configure your Telegram Bot token and set the chatId in the Send a text message n8n node to ensure the client receives the connection link.

  1. Customize User and Branding: In the Create user and Generate jwt for platform integration n8n node, update the addusername placeholder to reflect the actual client profile name.

  2. Activate Webhooks: Ensure the On form submission n8n trigger and the workflow itself are active to allow for secure link generation and content publishing.

  3. Execute Phase 1: Run the Connection Setup branch by clicking the 'Execute workflow' n8n trigger to generate the JWT link for your client.

Node Details

When clicking ‘Execute workflow’ (Manual n8n trigger):
Function: Initiates the client secure connection process.
Key Configuration: A simple manual n8n trigger used to run the first phase of the n8n workflow on demand.
Create user (UploadPost n8n node):
Function: Manages the client user profile on Upload-Post, ensuring the publishing target is ready.
Key Configuration: Operation set to 'Create User'. The profile name placeholder (addusername) must be defined.
Generate jwt for platform integration (UploadPost n8n node):
Function: Generates the secure, time-limited connection URL for the client. This is the core security feature of the n8n workflow.
Key Configuration: Operation is 'Generate JWT'. Includes custom branding options via logoImage URL.
Send a text message (Telegram n8n node):
Function: Securely delivers the newly created connection URL to the client.
Key Configuration: Uses the expression =Url for connect accounts generated: {{ $json.access_url }} to reference the output of the preceding n8n node.
On form submission (Form n8n trigger):
Function: Provides the client or agency with a web interface to submit content for publishing. It operates independently of the JWT generation.
Key Configuration: Defines input fields including 'Upload-Post Account', 'Description', 'Upload' (file type), and 'Facebook Id'. This critical n8n trigger starts the publishing phase.
Upload a video (UploadPost n8n node):
Function: Executes the multi-platform content distribution after the form submission.
Key Configuration: Platform list includes facebook, instagram, tiktok, youtube. Content is mapped from the form data: Title is mapped to {{ $json.Description }} and the target Facebook page ID is used from {{ $json["Facebook Id"] }}.

Related n8n Workflows

Free

Nodes: 5 Nodes
Updated: December 26 2025
View all
Created by

Follow me in linkedin: https://www.linkedin.com/in/juan-carlos-cavero-gracia/

Featured*