Connect Gmail to PostgreSQL with n8n
127 original workflow templates move data between Gmail and PostgreSQL - in either direction. Every one is a ready-to-import n8n JSON file: buy it, download it, add your Gmail and PostgreSQL credentials, and it runs. No code, no rebuild from scratch.
New to n8n? Start with 10 free templates - no account needed.
- Templates using both
- 127
- Gmail templates
- 901
- PostgreSQL templates
- 1,349
- Setup time
- Minutes
What you can automate between Gmail and PostgreSQL
- Drip Campaigns13 templates
- Inbox Triage11 templates
- Task Automation9 templates
- Conversational AI8 templates
- Research Assistant7 templates
- Multi-Tool Agent6 templates
Browse by category
Most popular Gmail + PostgreSQL templates
View all →Distill documents with PostgreSQL and Gmail without manual work
Beginner ai agents workflow that fires on a webhook and connects Slack, PostgreSQL, Gmail.
Capture form submissions with PostgreSQL and Gmail and log the results
Intermediate email automation workflow that starts from a form and connects Google Sheets, Slack, Gmail.
Log applications with PostgreSQL and Gmail automatically
Intermediate email automation workflow that starts from a form and connects PostgreSQL, Slack, Gmail.
Issue contracts with HTTP / REST API and PostgreSQL and log the results
Intermediate document processing workflow that fires on a webhook and connects Gmail, Slack, HTTP / REST API.
Capture form submissions with PostgreSQL and Gmail
Advanced lead generation workflow that starts from a form and connects PostgreSQL, Google Sheets, HTTP / REST API.
Distill meeting notes with PostgreSQL and Gmail automatically
Intermediate rag / knowledge base workflow that fires on a webhook and connects PostgreSQL, Slack, Gmail.
Act on NPS responses with PostgreSQL and Gmail end to end
Intermediate customer support automation workflow that runs on a schedule and connects PostgreSQL, Gmail, Google Sheets.
Audit site health with HTTP / REST API and PostgreSQL hands-free
Advanced seo automation workflow that runs on a schedule and connects HTTP / REST API, Google Sheets, Slack.
Build a daily digest with PostgreSQL and Gmail hands-free
Advanced reporting & analytics workflow that runs on a schedule and connects PostgreSQL, Gmail, Slack.
Screen job applicants with PostgreSQL and Gmail hands-free
Intermediate hr & recruitment workflow that starts from a form and connects Slack, Google Sheets, HTTP / REST API.
Distill documents with PostgreSQL and Gmail in real time
Intermediate ai agents workflow that fires on a webhook and connects Notion, PostgreSQL, Gmail.
Remind upcoming appointments with PostgreSQL and Gmail without manual work
Beginner email automation workflow that runs on a schedule and connects Google Sheets, PostgreSQL, HTTP / REST API.
How to connect Gmail to PostgreSQL
The same three steps work for every template here, and for sending data the other way - PostgreSQL to Gmail - as well.
1. Pick a Gmail to PostgreSQL template
Choose the workflow that matches what you need to happen, then download its JSON.
2. Import it into n8n
In n8n choose Workflows → Import from File and select the downloaded file.
3. Add your credentials
Connect your Gmail and PostgreSQL accounts in n8n. That is the whole setup - then run it.
Explore each integration
Related integrations
Need a specific Gmail to PostgreSQL workflow?
Describe it and get a fixed quote - custom-built, ready to import.