Blog

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

  • Porting from App to Cloud API: The Backend Process

    When we migrate a number from the mobile app to the Cloud API server, we perform a precise surgical switch known as the ‘2FA Handshake.’

    Here’s a step-by-step breakdown:

    1. Delete the account from the mobile app.
    2. Instantly register it on the Cloud API server.
    3. Verify the account to ensure a seamless connection.
    4. Log in to Chatore and see your team inbox live.

    This process takes around 2 hours, and with our expertise, you can rest assured that your data will be preserved and accessible.

    Want to know more about our backend process? Reach out to us at ShahiRaj

    #ShahiRaj

  • The Tech Requirements for Meta Verification.

    Getting the Green Tick isn’t luck; it’s data. To ensure a smooth verification process, you’ll need to meet the following technical requirements:

    • Domain Verification (DNS TXT records)
    • Business Manager 2FA
    • Display Name compliance

    These requirements may seem daunting, but we automate the check to ensure that you’re meeting all the necessary criteria.

    Our technical expertise will help you navigate the complex world of Meta verification and get your Green Tick in no time.

  • Anatomy of a Ban: How WhatsApp Detects Unofficial Tools

    Unofficial tools use ‘Headless Chrome’ to simulate a human, but WhatsApp’s AI detects the typing speed and session headers. In contrast, the Official Cloud API (used by Chatore) sends data directly to Meta’s servers, allowing for scale without risking a ban. Read more about the technical differences between unofficial and official tools.

  • PDF Generation on the Fly: HTML to PDF in n8n

    Generating dynamic invoices is easier than you think. I use an n8n node to inject variables (Client Name, Amount, Date) into a simple HTML template, convert it to binary (PDF), and attach it to a Gmail node. No QuickBooks needed. Check out this example workflow and learn how to automate your invoicing process.

  • Date-Math in n8n: Building a “Recurring” Workflow.

    I’ll demonstrate the logic behind our Patient Recall System: Query Database -> Filter Last_Visit < Today - 180 Days -> Check Next_Appointment is Empty -> Trigger WhatsApp Template It runs daily at 9 AM. A simple loop that ensures patient retention.

    The key to success lies in automating the workflow. With n8n and a bit of date-math, you can build a recurring workflow that boosts patient retention and recovers lost revenue. Check out Shahi Raj’s technical blog

  • Automating Outbound Campaigns: Google Sheets to Exotel

    I’ll share the workflow: n8n watches a Google Sheet column ‘Status’. If it changes to ‘Call Now’, it triggers an Exotel API call. The AI speaks the script, listens for the user’s reply, and writes the result back to the Sheet. A full loop, zero hands.

    This workflow automates outbound campaigns, reducing manual labor and increasing efficiency. By integrating n8n, Google Sheets, and Exotel, we’ve created a seamless process that streamlines communication with clients.

    Want to learn more about this workflow? Check out our blog post on automating outbound campaigns and discover how to boost your productivity.

  • Voice-to-JSON: Structuring Unstructured Audio.

    When it comes to transcribing audio recordings, manual listening is a slow and laborious process. I’ve developed a solution using OpenAI Whisper to quickly transcribe audio and an LLM to extract key fields like Name, Budget, and Urgency into a clean JSON object. This data is then pushed instantly to our CRM before the phone even hangs up.

    This process has significantly reduced the time spent on data entry and has improved the accuracy of our lead data. By automating this process, we’ve been able to make data-driven decisions and optimize our sales strategy. If you’re looking to streamline your sales process and improve your data accuracy, consider implementing a similar solution. Learn more about how we can help you achieve your sales goals.