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

Library / Monitoring, Ops & Incidents

Monitoring, Ops & Incidents

Forward UptimeRobot Alerts to Telegram with Screenshots

When an UptimeRobot alert email arrives in Gmail, it extracts the monitor details, takes a screenshot of the site, and sends both to Telegram.

What it does

# Extract ID and URL ## How it works: This node parses UptimeRobot alert emails to extract: - Monitor dashboard URL - Monitor ID (9-digit number) ## Key Functions: 1. Uses regex to find UptimeRobot monitor links in email text 2. Extracts two key pieces of information: - monitorUrl: Full dashboard URL - monitorId: The 9-digit monitor ID ## Technical Details: javascript const regex = /\[(https:\/\/dashboard\.uptimerobot\.com\/monitors\/(\d{9})\?[^\]]*)\]/; // Matches URLs in the email body like: // [https://dashboard.uptimerobot.com/monitors/798811078?...] ## Troubleshooting: - If extraction fails, verify UptimeRobot email format hasn't changed - Check the regex pattern matches current alert emails

The steps

  1. Extract ID and URL
  2. Extract Status Details
  3. Send a text message
  4. Send a photo message
  5. Screenshotmachine-secret
  6. HTTP Request
  7. Gmail Trigger
  8. Get many monitors
  9. Conf
  10. If Screenshot Required

Similar automations