Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Send e-way bill expiry alerts via Google Sheets, Telegram, WhatsApp and Gmail

When a form is submitted, it handles email using Gmail, Google Sheets, Telegram, Facebook / Instagram.

What it does

## 🚛 E-Way Bill Expiry Alerts for Transporters (India) For transporters and logistics teams who track e-way bills in spreadsheets and only find out a bill has lapsed when a truck gets stopped at a checkpost. An expired EWB can mean a detained vehicle and a penalty, and the extension window is only open around the expiry time. ### How it works Dispatchers add each bill from a form, or your ERP/GSP sends it by webhook. If Valid Upto isn't given, it's calculated from distance. Every 30 minutes the workflow checks all active bills and alerts at 12, 6 and 2 hours before expiry, at expiry, and as the extension window is closing. Ops always get Telegram, drivers get WhatsApp closer to expiry, and the dispatcher gets an email for the urgent ones. Extensions, deliveries and cancellations are recorded through a second form or webhook, so alerts stop once a bill is handled. ### Setup steps 1. Create a Google Sheet with tabs EWB Tracker and Alert Log. 2. Connect Google Sheets, Gmail and a Telegram bot, and add the bot to your ops group. 3. Add a WhatsApp Cloud API token as Header Auth and get an ewb_expiry_alert template approved. 4. Fill in all three Set … Config nodes: sheet ID, Telegram group ID, WhatsApp phone number ID and ops email. 5. Add a test bill expiring in a few hours, then activate.

The steps

  1. Track E-Way Bill Form
  2. Confirm Tracking on Telegram
  3. Receive EWB from ERP / GSP
  4. Set Intake Config
  5. Normalize EWB & Calculate Validity
  6. Get Tracked EWBs
  7. Skip Already Tracked
  8. Send Ops Alert on Telegram
  9. Alert Driver?
  10. Add EWB to Tracker Sheet
  11. Send WhatsApp Alert to Driver
  12. Log Tracking Started
  13. Check Every 30 Minutes
  14. Set Monitor Config

32 steps in total.

Similar automations