How I built a free internal chatbot

3 min read AI building in public

Yesterday I saw this tweet that caught my attention:

Tweet by tyler_agg

Link to X

The thread outlined a simple idea: create an internal chatbot that can search through your company’s documents and SOPs. But, in typical X fashion, the comments were full of people saying things like, “this sounds great, but how do you actually build it?” and “you missed about 7 steps here.”

Instead of waiting around for someone else to fill in the gaps, I decided to just build it myself.

You can find the complete code and setup instructions at my GitHub repository. The README will walk you through getting everything configured.

GitHub Repository

I’ll walk you through what I built and how it works, but the bigger takeaway is simple: when you see an incomplete idea, just start building.

How it works

The chatbot does exactly what that tweet promised: searches your Google Drive documents and gives real answers with citations. Ask “how do we handle refunds?” and it finds the relevant sections, gives you a clear answer, and shows you exactly which documents it pulled from.

You can search across everything or pick a specific document. New files get indexed automatically. And since it’s built with Google Apps Script, there’s no infrastructure to manage and it deploys in one click.

Here’s a little demo I did with some “docs” with cheetah facts.

Technical overview

From a technical standpoint, the AI engine powering the chatbot is simple but powerful:

None of this was obvious to me when I started - I had no idea how I was going to create a chatbot using just Google Drive. But that’s exactly the point…

Just start building

Curiosity is your biggest advantage in the AI era.

When you see someone share a cool concept online without the exact implementation, that’s your opportunity to start building. Instead of waiting around in the comments for someone else to explain the missing steps, start asking questions. I used ChatGPT to get started, then when it got too complex, I put the files in a folder and asked Claude Code to review and finish out the project.

In a world where everyone has access to AI, the biggest differentiator is who actually builds stuff instead of just talking about it.

Thanks for reading! If you enjoyed this post, leave a reaction below 👇