HTTP and MongoDB: Multi-Region Endpoint Status Sweep Template

A scheduled workflow that checks every regional endpoint in parallel and writes a per-region status snapshot to MongoDB for your dashboard.

What It Builds

A Schedule trigger fires on a cron you choose. A Loop node fans out over your list of regional endpoints, and a Parallel node runs the http connector checks concurrently so every region is probed at once. Spojit collects the status code and response time from each check, then a MongoDB connector node in Direct mode writes one status snapshot document per region for your dashboard to read.

The Prompt

Paste this into Miraxa and it builds the workflow, connecting the tools for you:

Build a workflow that runs every 5 minutes, and for each of my regional endpoint URLs sends an HTTP GET request to all of them in parallel, then writes a snapshot to MongoDB for each region with the region name, URL, HTTP status code, response time in milliseconds, an up/down flag, and a timestamp.

Connectors Used

  • Schedule trigger - runs the sweep on a cron interval in your timezone.
  • http - sends the status check to each regional endpoint.
  • MongoDB - stores the per-region status snapshot your dashboard queries.

Customize It

Change 5 minutes to your preferred interval, swap GET for a specific health-check path, and edit the snapshot fields (add responseBody excerpts or a region group). Adjust the up/down rule in the prompt, for example treat any status code outside 200 to 299 as down.

Tips

  • Set a short timeout on the http checks so a hung region does not stall the whole sweep.
  • Use Direct mode on the MongoDB node for a fixed insert: it runs one exact tool with no AI cost.
  • Point your MongoDB collection at the same region key each run so the dashboard always reads the latest snapshot.

Related

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.