Category: Uncategorized

  • Stop Feeding Your Trade Secrets to Public AI

    I’ve seen it happen: CEOs pasting sensitive client contracts into standard ChatGPT to get a summary. Stop. You’re potentially training a public model on your private data. Here’s a better approach: Self-Hosted RAG Agents. We spin up a private Vector Database (like Pinecone or pgvector) on your own server. The AI ‘reads’ your data, but never ‘learns’ from it for the public. It lives in a walled garden. You get the intelligence of LLMs without the data leak risk.

    vectorDb = Pinecone.create_index('my_index')
    rag = n8n.create_workflow('my_workflow')

  • Building a Q&A Bot for Internal Knowledge Management

    I recently built a Q&A bot using n8n and Vector DBs for a client. The goal was to create a system that could scan a large number of documents and provide accurate answers to employee queries. Here’s a high-level overview of how I approached the project.

    First, I set up a webhook to receive incoming queries from employees. Then, I used n8n to process the query and retrieve the relevant documents from the Vector DB. Finally, I implemented a simple logic to extract the answer from the document and return it along with the page number.

    It was a fun project, and I’m excited to see the impact it will have on the client’s internal knowledge management.

    Want to learn more about building a Q&A bot? Check out our blog for more technical insights.

    #n8n #VectorDBs #QandA

  • Building a ‘Second Brain’ with Python & Telegram API

    SaaS apps trap your data in their ecosystem, making it difficult to integrate with other tools. But what if you could have a custom bot that connects your ecosystem and gives you a command line for your life? That’s exactly what we do at Shahi Raj.

    We build a middleware layer that takes a simple Telegram text and routes it to Google Sheets, Trello, or SQL automatically. It’s not just a chat, it’s a command line for your life. Learn how we can help you build your own second brain.

    Here’s an example of how it works:

    • Forward invoice to bot: bot saves it to Drive
    • Tell bot 'Remind me': bot adds task to Calendar
    • Search for PDF: bot finds it in seconds

    Want to know more? Let’s chat about how we can help you build your own second brain.

    #ShahiRaj #SecondBrain #Python

  • Webhooks to Telegram: The Ultimate Monitoring Stack

    Why log into a dashboard to check sales? I build n8n workflows that listen for Stripe/Razorpay events and ping a Telegram Bot instantly: ‘💰 ₹5, 000 received from Client X’. I’ll show you how we secure these webhooks so only you get the data.

    In this post, I’ll walk you through the n8n workflow setup and the importance of webhooks in your monitoring stack.

  • Automating SEO Audits with n8n and Pagespeed Insights API

    I built a tool that automates my SEO audits using n8n and the Google Pagespeed Insights API. Every Monday, it checks my client sites for broken links (404s), verifies the sitemap.xml, and hits the Google Pagespeed API to check the score. If the score drops below 90, I get an alert. Technical SEO requires constant monitoring, not a one-time fix. By automating these audits, I can stay on top of performance issues and make data-driven decisions to improve my clients’ websites.

    The tool uses n8n to fetch the data, and then uses the Pagespeed Insights API to get the score. It’s a simple but effective way to stay on top of SEO performance and catch any issues before they become major problems.

    You can see the code in action on my GitHub page and learn how to build your own automation tool using n8n and the Pagespeed Insights API.

  • The ‘Async’ Standup: Connecting Telegram to Google Sheets via n8n

    I’m excited to share the workflow I created to automate our team’s standup:

    • Scheduled Trigger (Monday 9 AM)
    • Telegram Node (Ask Question)
    • Wait for Reply
    • Append to Sheet
    • OpenAI Node (Summarize)
    • Post to ‘General’ Channel

    The result is a fully automated management loop. The best part? It was all done using n8n and Telegram. If you’re interested in learning more, Shabbir Poonawala has a detailed guide on his website. #n8n #Telegram #Automation

  • Building the Misri Calendar & Weather Bot: A Technical Deep Dive

    As the developer behind the Misri Calendar & Weather Bot, I’m excited to share the technical details of our latest update. By integrating multiple services into one seamless experience, we’ve created a powerful tool for our community.

    The update leverages n8n’s workflow automation capabilities, Vector DBs for efficient data storage, and Webhooks for real-time updates. The bot’s architecture is designed to handle high volumes of requests while ensuring accurate and up-to-date information.

    With this update, we’ve also improved the user experience by simplifying the workflow and adding a local holidays feature. The result is a more comprehensive and user-friendly experience for our users.

    At Shahi Raj, we’re passionate about building innovative solutions that make a difference in people’s lives. If you’re interested in learning more about our development process and how we built the Misri Calendar & Weather Bot, stay tuned for future updates.

    Learn more about our development process and how you can build similar solutions: https://www.shahiraj.com

    Tags: #ShahiRaj #BotDevelopment #TechnicalDeepDive #AutomationSolutions #n8n #VectorDBs #Webhooks

  • Syncing Multi-Agent Chats via WebSockets

    We’ve all been there – 5 people trying to use 1 WhatsApp number without it crashing. But how do we make it work? At Chatore, we use a combination of the Cloud API and WebSockets to push messages to a centralized dashboard in real-time. This allows for agent assignment and private notes that the customer can’t see.

    Here’s a high-level overview of our architecture:

    • Cloud API: Handles incoming and outgoing messages
    • WebSockets: Pushes messages to the dashboard in real-time
    • Agent Assignment: Assigns agents to specific chats
    • Private Notes: Allows agents to leave notes that are visible only to them

    With this setup, we can handle multiple agents on a single number without any issues. Learn more about our technical approach.

    Join the conversation: #ShahiRaj #TechStack

  • Beyond ‘Out of Office’: Building an After-Hours Flow.

    Standard WhatsApp Business just sends a static text: ‘We are closed. ‘ That kills the lead. I’ll show how to configure a ‘Smart Weekend Flow’ in Chatore that captures the requirement and books a slot for Monday morning automatically.

    In this tutorial, I’ll guide you through the technical steps to build a ‘Weekend Lead Magnet’ that will help you stay competitive. Check it out and learn how to automate your weekend sales.

  • Handling ‘Date Drift’: Gregorian vs. Hijri Conversion

    When building the Misri Calendar Bot, I encountered a unique challenge. Hijri days start at Maghrib, not midnight. This breaks standard code logic. To handle this, I wrote a ‘Time-Shift’ function in JavaScript. This ensures the bot displays the correct Misri date based on whether the sun has set in the user’s requested city. Here’s the code snippet: Learn more about our tech stack.