πŸ“± Form-based X/Twitter poster

⚑ 1,009 views Β· πŸ“± Social Media & Email Marketing

πŸ’‘ Pro Tip β€” Twitter’s API is paid now, which makes simple data pulls expensive. ScraperNode is a community node that scrapes Twitter profiles and posts without needing API access.

View All Scrapers

Description

πŸš€ Form-Based X/Twitter Poster (v2)

A user-friendly n8n workflow that enables users to submit tweets through a simple web form β€” with optional image, video, or GIF uploads β€” and posts them to a connected X/Twitter account. Designed for ease of use, this workflow handles both media and text-only posts, providing clear feedback upon submission.


🧭 Overview

Workflow Name: Form-Based X/Twitter Poster (v2)
Goal: Provide a web form for users to create tweets, upload optional media, and post directly to X/Twitter.


πŸ›  How It Works

1. Form Submission Trigger


2. Extract Media Details

{
  "content": "My tweet!",
  "mime_type": "image/jpeg",
  "media_type": "IMAGE"
}

3. If Media Exists


4. Upload Media to X/Twitter (True path only)


5. Post Tweet with Media (True path)


6. Post Text-Only Tweet (False path)


7. Show Confirmation Message


πŸ›  How to Customize


πŸ” Required Credentials

1. Twitter OAuth1 API

2. Twitter OAuth2 API


πŸ’‘ Use Cases


πŸ§‘β€πŸ’» Node Naming Suggestions

Old NameSuggested Name
If Image ExistsIf Media Exists
XPost Tweet with Media
X1Post Text-Only Tweet

❀️ Made with love by Akhil using n8n

πŸ”— Nodes Used

HTTP Request, X (Formerly Twitter), n8n Form Trigger, n8n Form

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup