Templates / Connect apps / OpenAI + xAI Grok
Connect OpenAI to xAI Grok with n8n
8 public n8n templates use both OpenAI and xAI Grok. We checked each one against the n8n 3.0 breaking changes: 2 ready, 5 need changes, 1 unknown (community nodes we can’t verify). Data from the 30 November 2026 library snapshot.
Together these templates have 72,785 views on n8n.io. The most viewed is 🤖 AI content generation for auto service 🚘 automate your social media📲! (53,381 views, needs changes for 3.0). Other apps these templates often use: Anthropic (6), Telegram (5), Google Gemini (4), OpenRouter (4), DeepSeek (3), Airtable (2).
What needs fixing for n8n 3.0 in this group: AI Agent v1 (old agent modes) (4 templates), SerpApi (Google Search) (1 template).
How to connect OpenAI to xAI Grok in n8n
- Start from a template instead of a blank canvas. The most viewed one that passes our n8n 3.0 check is Generate consensus-based answers using Claude, GPT, Grok and Gemini.
- Pick how it starts. Most of these workflows start with Schedule Trigger (4 templates), Google Sheets Trigger (2 templates), Manual Trigger (2 templates).
- Add your own credentials. Templates never include credentials, so open each OpenAI and xAI Grok node and connect your accounts. In this group, for OpenAI all of them use n8n’s built-in OpenAI node; for xAI Grok, all of them use n8n’s built-in xAI Grok 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 + xAI Grok templates
- Needs changes 🤖 AI content generation for auto service 🚘 automate your social media📲! · 53,381 views
Fix: AI Agent v1 (old agent modes) - 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 Multi-tool personal assistant with Telegram, Grok-4, Gmail, Calendar & Memory · 2,054 views
Fix: SerpApi (Google Search) - Needs changes Multi-LLM customer support chatbot for WordPress & webhook integrations · 1,701 views
Fix: AI Agent v1 (old agent modes) - Needs changes Homey Pro - smarthouse integration with LLM · 1,323 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Generate consensus-based answers using Claude, GPT, Grok and Gemini · 830 views
- Ready for 3.0 Real-time stock insights using xAI · 656 views
- Unknown Analyze Google Ads search terms with AI and send wastage alerts · 406 views
Check your own OpenAI → xAI Grok workflow or see all OpenAI templates and all xAI Grok 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 xAI Grok pairs
- xAI Grok + Telegram (8)
- Anthropic + xAI Grok (6)
- PostgreSQL + xAI Grok (5)
- xAI Grok + Gmail (4)
- xAI Grok + Google Gemini (4)
- Google Sheets + xAI Grok (4)
- xAI Grok + OpenRouter (4)
- DeepSeek + xAI Grok (3)
FAQ
Is there an n8n template to connect OpenAI to xAI Grok?
Yes. 8 public n8n templates use both OpenAI and xAI Grok. The most viewed is “🤖 AI content generation for auto service 🚘 automate your social media📲!” with 53,381 views.
Do the OpenAI and xAI Grok n8n templates work in n8n 3.0?
By our static check, 2 are ready for n8n 3.0, 5 need changes and 1 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.