loading...

3
13 Oct 2025
SEO Automation Workflow using n8n, Docker and Ollama

1. Curiosity About SEO and Automation

I am always curious about applying AI to different processes and how it can help different personas to automate their work life and make it easy for them to implement something, my interest in SEO came because of lot of people around me working in the SEO domain, that is when I started looking up online and found lot of interesting application of AI in SEO domain, in this write up we will see how we can automate SEO specific tasks using AI.

2. Observing SEO Processes: Where Manual Work Still Reigns

I started by reading about typical SEO processes, mostly out of interest. It was obvious that while the internet is filled with tools and advice, most people are still repeating the same manual steps every week. That’s when I decided to see if I could stitch together an automated flow using what’s already available. My goal wasn’t to invent anything new, just to connect the dots and make things less tedious. I eventually finalized to first automate and replicate three processes, for anyone who have their own website, they often like to check when my page was last crawled, is this page indexed or not, what has been the traffic on my page for last 15 days and so on. So our workflow will address three things

1.     Getting Indexing Status

2.     Traffic Related Queries

3.     CRUD Operations on Index (Indexing the page)

3. Why I Chose n8n, Ollama, and Docker

When it came to selection of tool and technology, I preferred how we can setup this workflow easily using free services and open source tech stack, that is where n8n, one of the most powerful agentic workflow low code no code tool came into the scenario, to host it within our local system docker came as the natural choice and in order to utilize powerful LLMs but without incurring any cost we relied on OLLAMA for the same.

4. Setting Up n8n and Ollama in Docker

There’s no shortage of tutorials online for setting these up, but I’ll share how I went about it, in case it helps someone else save time. I will add some relevant links that were helpful for me while setting up all of this.

1.     The first step was spinning up n8n in Docker. There’s an official Docker image for n8n, so it’s as simple as pulling the image and running the container. I like using Docker Compose because it makes it easy to restart or move things later.

Link to official image - n8nio/n8n - Docker Image | Docker Hub

2.     Second we setup the OLLAMA it is easy à Selection of model à check OLLAMA 


5. Building the Workflow in n8n

6. How the Workflow Works: Index Checks, Traffic Reports, and More

aiwithharsh © 2025