Author: Shabbir Poonawala

  • 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.

  • API Mashup: Merging OpenWeather with Astronomical Algorithms

    Calculating prayer times isn’t just about the sun; it’s about the sect’s specific jurisprudence. In this post, I’ll share how I pipe the City Name into OpenWeatherMap (for lat/long) and run it through a custom SunCalc algorithm in n8n to derive precise ‘Nisful Layl’ and ‘Zawal’ times.

    Using the OpenWeatherMap API, I retrieve the City’s latitude and longitude. Then, I use these coordinates to run the SunCalc algorithm in n8n, which generates the accurate ‘Zawal’ and ‘Maghrib’ times based on the City’s location. The result is a seamless integration of weather data and astronomical calculations.

    This API mashup is a testament to the power of data integration and the possibilities it offers in solving complex problems. By combining OpenWeatherMap and SunCalc, I’ve created a solution that provides accurate prayer times for users worldwide.

    If you’re interested in building similar integrations or want to learn more about API mashups, feel free to reach out to me. I’d be happy to share more details and insights.

    Check out the MisriCalendarBot here and stay tuned for more technical updates!

    #ShahiRaj #n8n #APIIntegration #SunCalc

  • Porting from App to Cloud API: The Backend Process

    When migrating a number from a mobile app to our Cloud API, a crucial step is the ‘2FA Handshake’. This precise surgical switch involves deleting the account from the mobile app and instantly registering it on the Cloud API server.

    I’ll walk you through the process in detail, explaining the key steps involved in this backend migration. Once complete, you can log in to Chatore and see your team inbox live.

    Explore our migration process in action and see how we can help you scale your business.

    #ShahiRaj #CloudAPI #Migration #BackendProcess

  • Understanding WhatsApp Template Messages (HSM)

    Meta requires pre-approved templates to stop spam. I’ll show you how to design a ‘High-Converting’ template with buttons and variables (e.g., Hello {{1}}) inside the Chatore dashboard.

    Your message lands in the ‘Primary’ inbox, not the ‘Spam’ folder.

    Learn more about WhatsApp Business and how to create effective template messages.

    Check out the Shahi Raj blog for more technical guides.