Templates / Connect apps / OpenAI + Mailgun
Connect OpenAI to Mailgun with n8n
3 public n8n templates use both OpenAI and Mailgun. We checked each one against the n8n 3.0 breaking changes: 1 ready, 2 need changes, 0 unknown (community nodes we can’t verify). Data from the 30 November 2026 library snapshot.
Together these templates have 2,641 views on n8n.io. The most viewed is Process scanned invoices with Google Drive, OCR & OpenAI to Google Sheets (1,856 views, ready for 3.0). Other apps these templates often use: Apify (2), PostgreSQL (2), Supabase (2), Telegram (2), Anthropic (1), Gmail (1).
What needs fixing for n8n 3.0 in this group: AI Agent v1 (old agent modes) (2 templates).
How to connect OpenAI to Mailgun in n8n
- Start from a template instead of a blank canvas. The most viewed one that passes our n8n 3.0 check is Process scanned invoices with Google Drive, OCR & OpenAI to Google Sheets.
- Pick how it starts. Most of these workflows start with Schedule Trigger (2 templates), Telegram Trigger (2 templates), Gmail Trigger (1 template).
- Add your own credentials. Templates never include credentials, so open each OpenAI and Mailgun node and connect your accounts. In this group, for OpenAI all of them use n8n’s built-in OpenAI node; for Mailgun, all of them use n8n’s built-in Mailgun 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.
OpenAI + Mailgun templates
- Ready for 3.0 Process scanned invoices with Google Drive, OCR & OpenAI to Google Sheets · 1,856 views
- Needs changes Complete B2B sales pipeline: Apollo lead gen, Mailgun outreach & AI reply management · 456 views
Fix: AI Agent v1 (old agent modes) - Needs changes Automate personalized cold email sequences with GPT-4, Mailgun and Supabase · 329 views
Fix: AI Agent v1 (old agent modes)
Check your own OpenAI → Mailgun workflow or see all OpenAI templates and all Mailgun templates
Other OpenAI pairs
- OpenAI + Google Sheets (2,011)
- OpenAI + Gmail (1,623)
- OpenAI + Slack (979)
- Telegram + OpenAI (807)
- OpenAI + Google Drive (628)
- OpenAI + Google Gemini (249)
- Apify + OpenAI (230)
- OpenAI + Airtable (215)
Other Mailgun pairs
- Mailgun + Apify (2)
- Gmail + Mailgun (2)
- Google Sheets + Mailgun (2)
- Mailgun + PostgreSQL (2)
- Mailgun + Supabase (2)
- Mailgun + Telegram (2)
FAQ
Is there an n8n template to connect OpenAI to Mailgun?
Yes. 3 public n8n templates use both OpenAI and Mailgun. The most viewed is “Process scanned invoices with Google Drive, OCR & OpenAI to Google Sheets” with 1,856 views.
Do the OpenAI and Mailgun n8n templates work in n8n 3.0?
By our static check, 1 are ready for n8n 3.0, 2 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 OpenAI node?
Yes, every template here uses n8n’s built-in OpenAI 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.