Block 1 - On form submission
- Type / Role
- n8n-nodes-base.formTrigger - formTrigger
- Config choices
- Version 2.2
This workflow is provided as-is. Please review and test before using in production.
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 con...
n8n-nodes-base.formtrigger, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.twitter, n8n-nodes-base.if, n8n-nodes-base.form, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Akhil Varma Gadiraju.
Original n8n.io sourceA 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.
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.
On form submissionformTriggerExtract Media Detailscode{
"content": "My tweet!",
"mime_type": "image/jpeg",
"media_type": "IMAGE"
}
If Media ExistsifUpload Media (X)httpRequestTWEET_IMAGE (can be customized)Twitter OAuth1 APImedia_id_stringXtwitterTwitter OAuth2 APIX1twitterTwitter OAuth2 APIEnd FormformThank you so much for sharing your experience on X! 🖤We truly appreciate your support and are so glad we could make a positive impact. Your words mean the world to us!https://upload.twitter.com/1.1/media/upload.json?media_category={{ $json.media_type === 'VIDEO' ? 'TWEET_VIDEO' : ($json.media_type === 'GIF' ? 'TWEET_GIF' : 'TWEET_IMAGE') }}
Error Trigger nodes to catch and manage failures gracefully.Upload Media (X)X OAuth - AkhilX, X1tweet.read, tweet.write, users.read, offline.accessX OAuth2 - Akhil| Old Name | Suggested Name |
|---|---|
| If Image Exists | If Media Exists |
| X | Post Tweet with Media |
| X1 | Post Text-Only Tweet |
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.
| Workflow | Form-based X/Twitter poster |
|---|---|
| Complexity | intermediate |
| Nodes | 8 |
| Categories | Social Media |
| Author | Akhil Varma Gadiraju |
| Published | 27 May 2025 |
Use the JSON export at /data/workflows/4415/4415.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
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 con...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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.