Templates / Connect apps / X (Twitter) + PostgreSQL
Connect X (Twitter) to PostgreSQL with n8n
7 public n8n templates use both X (Twitter) and PostgreSQL. We checked each one against the n8n 3.0 breaking changes: 4 ready, 3 need changes, 0 unknown (community nodes we can’t verify). Data from the 30 November 2026 library snapshot.
Together these templates have 43,956 views on n8n.io. The most viewed is Explore n8n nodes in a visual reference library (19,666 views, needs changes for 3.0). 2 of them call X (Twitter) through the HTTP Request node instead of a dedicated node. Other apps these templates often use: LinkedIn (4), OpenAI (4), Anthropic (3), Facebook (3), Google Drive (2), Google Gemini (2).
What needs fixing for n8n 3.0 in this group: AI Agent v1 (old agent modes) (2 templates), HTTP Request Tool (legacy) (1 template), SerpApi (Google Search) (1 template), Cron (1 template).
How to connect X (Twitter) to PostgreSQL in n8n
- Start from a template instead of a blank canvas. The most viewed one that passes our n8n 3.0 check is Automate blog-to-social media with GPT-4 for LinkedIn, X, and Reddit.
- Pick how it starts. Most of these workflows start with Schedule Trigger (6 templates), Manual Trigger (3 templates), Google Sheets Trigger (2 templates).
- Add your own credentials. Templates never include credentials, so open each X (Twitter) and PostgreSQL node and connect your accounts. In this group, for X (Twitter) 5 of 7 use n8n’s built-in X (Twitter) node, the rest call its API with the HTTP Request node; for PostgreSQL, all of them use n8n’s built-in PostgreSQL node.
- Run it once with test data, then turn it on. Before upgrading to n8n 3.0, paste your version into the 3.0 checker.
X (Twitter) + PostgreSQL templates
- Needs changes Explore n8n nodes in a visual reference library · 19,666 views
Fix: AI Agent v1 (old agent modes), HTTP Request Tool (legacy), SerpApi (Google Search) - Needs changes 💅 AI Agents Generate Content & Automate Posting for Beauty Salon Social Media 📲 · 12,434 views
Fix: AI Agent v1 (old agent modes) - Needs changes ETL pipeline for text processing · 10,061 views
Fix: Cron - Ready for 3.0 Automate blog-to-social media with GPT-4 for LinkedIn, X, and Reddit · 797 views
- Ready for 3.0 Generate social media posts with GPT-4 for LinkedIn, X, and Facebook · 623 views
- Ready for 3.0 Discover viral content opportunities from Twitter, Reddit and Google Trends with Claude AI · 363 views
- Ready for 3.0 Cross-post RSS feed articles to X, LinkedIn and Facebook with PostgreSQL · 12 views
Check your own X (Twitter) → PostgreSQL workflow or see all X (Twitter) templates and all PostgreSQL templates
Other X (Twitter) pairs
- X (Twitter) + OpenAI (67)
- LinkedIn + X (Twitter) (51)
- X (Twitter) + Google Sheets (50)
- X (Twitter) + Facebook (31)
- X (Twitter) + Google Gemini (28)
- X (Twitter) + Telegram (25)
- X (Twitter) + Slack (17)
- X (Twitter) + Gmail (14)
Other PostgreSQL pairs
- OpenAI + PostgreSQL (191)
- PostgreSQL + Slack (109)
- Gmail + PostgreSQL (82)
- Google Sheets + PostgreSQL (71)
- Telegram + PostgreSQL (70)
- Google Drive + PostgreSQL (65)
- Supabase + PostgreSQL (60)
- Google Gemini + PostgreSQL (47)
FAQ
Is there an n8n template to connect X (Twitter) to PostgreSQL?
Yes. 7 public n8n templates use both X (Twitter) and PostgreSQL. The most viewed is “Explore n8n nodes in a visual reference library” with 19,666 views.
Do the X (Twitter) and PostgreSQL n8n templates work in n8n 3.0?
By our static check, 4 are ready for n8n 3.0, 3 need changes and 0 are unknown because they use community nodes we can’t verify. The most common fix: AI Agent v1 (old agent modes).
Does n8n have a built-in X (Twitter) node?
Yes, 5 of 7 templates here use n8n’s built-in X (Twitter) node.
Static check of the workflow JSON, not a live run on n8n 3.0. Apps are detected from the nodes in each workflow and from well-known API addresses in HTTP Request nodes. All app pairs.
Tools we use or recommend
- Make: Visual automation platform; a good alternative when an n8n flow needs a rebuild. Free plan available.
- Firecrawl: Turns any website into clean, LLM-ready data; simpler than hand-rolled scraping. New users get 10% off their first purchase.
Affiliate links: we may earn a commission at no cost to you.