{"slug": "i-built-an-auto-reply-workflow-in-n8n-without-paying-for-an-ai-api", "title": "I Built an Auto-Reply Workflow in n8n Without Paying for an AI API", "summary": "A developer built an n8n automation workflow that sends personalized client-onboarding confirmation emails, routing form submissions through a locally hosted Ollama model via its OpenAI-compatible API to avoid paid API costs. The workflow chains a form trigger, the chat model, a 10-second Wait node, and Gmail, and ran end to end in testing. The developer noted it remains a practice build lacking email validation, error handling, and human review of AI-drafted emails.", "body_md": "A few days ago, I built my first n8n workflow: a manual trigger that sent an email through Gmail. It worked, but it was very basic.\n\nFor Day 6, I wanted to build something that feels closer to a real business use case.\n\nI imagined I'm running an AI solutions consulting business. Whenever someone wants help, the first step is filling out an onboarding form. I didn't want to send a confirmation email manually every single time, so I automated it.\n\nThe form is simple, with only three fields:\n\n**On Form Submission → OpenAI Chat Model → Wait → Gmail**\n\nWhen I set up the chat model, the API option I tried first required payment. For a practice exercise, I didn't want to spend money.\n\nSo I looked for an alternative and found **Ollama**, a tool that lets you run AI models locally on your own computer. I connected it to n8n using its OpenAI-compatible API by setting the base URL and choosing a compatible model [add the model you used here].\n\n**If you're a student practicing AI workflows,** Ollama is worth trying. The only catch: your computer needs to be able to run the model you choose.\n\nDuring testing, the email went out the moment I clicked submit. I wanted a small gap between drafting and sending, so I added a **Wait node** set to 10 seconds between the chat model and Gmail.\n\nThis is a practice workflow, not a production one. It doesn't yet validate the email address, handle errors, or have a human check the AI-drafted email before it's sent. After my Day 3 lessons about AI making unverified claims, that last one is high on my list to fix.\n\nThe workflow worked end to end. Submitting the form triggered a personalized email that greeted the person by name, repeated their details for confirmation, and explained the next step.\n\nIt wasn't perfect, though:\n\nTools used: n8n, Ollama, Gmail\n\nExperiment: Automated client onboarding confirmation email\n\nIf you've built workflows in n8n, or found a free way to practice with AI models, what do you recommend?", "url": "https://wpnews.pro/news/i-built-an-auto-reply-workflow-in-n8n-without-paying-for-an-ai-api", "canonical_source": "https://dev.to/harshika_gahlot_06a853c7e/i-built-an-auto-reply-workflow-in-n8n-without-paying-for-an-ai-api-39cg", "published_at": "2026-10-27 11:32:22+00:00", "updated_at": "2026-10-27 11:42:13.015092+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "large-language-models", "developer-tools"], "entities": ["n8n", "Ollama", "Gmail", "OpenAI"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/i-built-an-auto-reply-workflow-in-n8n-without-paying-for-an-ai-api", "markdown": "https://wpnews.pro/news/i-built-an-auto-reply-workflow-in-n8n-without-paying-for-an-ai-api.md", "text": "https://wpnews.pro/news/i-built-an-auto-reply-workflow-in-n8n-without-paying-for-an-ai-api.txt", "jsonld": "https://wpnews.pro/news/i-built-an-auto-reply-workflow-in-n8n-without-paying-for-an-ai-api.jsonld"}}