How to Add Grok 4 to n8n AI Agents (+Vision and Real-Time Search) @leonvanzyl
How to Add Grok 4 to n8n AI Agents (+Vision and Real-Time Search)  @leonvanzyl
Uploaded July 2025 | Updated September 2026, 3 weeks ago
🚀 Access ALL video resources & get personalized help in my community:
skool.com/agentic-labs/about?ref=3fd61190e13d426dbf4f3b38adc7de69

Learn how to integrate Grok 4 with n8n workflows in this complete step-by-step tutorial. We'll show you how to set up Grok 4 API credentials, create AI agents, and compare Grok 4's coding performance against Claude Sonnet through a practical coding challenge. Discover Grok 4's multimodal capabilities including vision processing for image analysis and built-in web search features that provide real-time information with citations.

🙏 Support My Channel:
Buy me a coffee ☕ : buymeacoffee.com/leonvanzyl
PayPal Donation: paypal.com/ncp/payment/EKRQ8QSGV6CWW

📑 Useful Links:
Sign up for n8n Cloud: n8n.partnerlinks.io/f7f19w3vrhin
n8n Playlist: youtube.com/playlist?list=PL4HikwTaYE0GrWQOYuTL3YvHLMMwOjn7O

🕒 TIMESTAMPS:
00:00 - Introduction to Grok 4 and n8n Integration
00:29 - Setting Up x.ai API Account and Credentials
01:44 - Creating n8n Workflow with Grok 4 Agent
02:48 - Grok 4 vs Claude Sonnet Coding Challenge
05:00 - Testing Claude Sonnet App Results
07:15 - Testing Grok 4 App Performance and Fixes
11:26 - Adding Vision Capabilities to Grok 4 Workflows
14:25 - Implementing Built-in Web Search Features
16:08 - Final Results and Conclusions

-------------------------------------------------------------------------------------
VISION JSON
-------------------------------------------------------------------------------------
{
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "What do you see in this image?"
},
{
"type": "image_url",
"image_url": {
"url": "images.pexels.com/photos/32507137/pexels-photo-32507137.jpeg",
"detail": "high"
}
}
]
}
],
"model": "grok-4"
}

-------------------------------------------------------------------------------------
LIVE SEARCH JSON
-------------------------------------------------------------------------------------

{
"messages": [
{
"role": "user",
"content": "What is the latest news from openai?'"
}
],
"model": "grok-4",
"search_parameters": {
"mode": "auto"
}
}

#n8n #aiagents #grok4
How to Add Grok 4 to n8n AI Agents (+Vision and Real-Time Search)I Built an AI Second Brain Using Claude CodeClaude Code Desktop App: Replace VS Code & Your Terminal
Leon van Zyl |

How to Add Grok 4 to n8n AI Agents (+Vision and Real-Time Search)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER