AutomationFlowsSlack & Telegram › Yard Stats: Alerts Report

Yard Stats: Alerts Report

Yard Stats: Alerts Report. Uses httpRequest, emailSend, telegram. Scheduled trigger; 5 nodes.

Cron / scheduled trigger★★☆☆☆ complexity5 nodesHTTP RequestEmail SendTelegram
Slack & Telegram Trigger: Cron / scheduled Nodes: 5 Complexity: ★★☆☆☆ Added:

This workflow follows the Emailsend → HTTP Request recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Yard Stats: Alerts Report",
  "nodes": [
    {
      "id": "1",
      "name": "Daily at 7am",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        250,
        300
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "days",
              "triggerAtHour": 7
            }
          ]
        }
      }
    },
    {
      "id": "2",
      "name": "Call Report API",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        450,
        300
      ],
      "notes": "Sibling of 'Yard Stats: Daily Report', differing in source=visits: report.py/db.get_report_data dedup the same way POST /ai-queue/claim's source=visits does -- one sighting per distinct object type a visit grouped (partitioned by (visit_id, objects), not visit_id alone), plus every sighting whose raw_event was never grouped into a visit, so re-tracked duplicates of the same object (re-track, label flicker) still collapse to one, but a visit spanning a car and a person shows both. The HTML itself also renders differently: source=visits combines a visit's vehicle + person sightings into one alert row (one thumbnail, a Vehicle summary column, a Person summary column) instead of the separate Vehicles/Persons tables the Daily Report uses -- they're the same real-world activity, so they show up together. Purely a read -- this can run alongside the events-scoped Daily Report without any queue-sharing conflict, and there's now only one AI-queue processing workflow either way (see CLAUDE.md). Also always prefers the visit's own high-res thumb_time re-crop (VISIT_THUMB_CROP_ENABLED) over the representative event's crop when available -- unlike the AI queue, there's no latency trade-off here since this runs well after the fact on a schedule, so it's unconditional, not an opt-in param.",
      "notesInFlow": true,
      "parameters": {
        "method": "GET",
        "url": "http://REPLACE_WITH_INGEST_WORKER_HOST:REPLACE_WITH_INGEST_WORKER_PORT/reports/generate",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "hours",
              "value": "24"
            },
            {
              "name": "source",
              "value": "visits"
            }
          ]
        },
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "options": {}
      },
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "7",
      "name": "Convert Report to File",
      "type": "n8n-nodes-base.convertToFile",
      "typeVersion": 1.1,
      "position": [
        1050,
        300
      ],
      "parameters": {
        "operation": "toText",
        "sourceProperty": "html",
        "options": {
          "fileName": "yard-stats-alerts-report.html",
          "mimeType": "text/html"
        }
      }
    },
    {
      "id": "5",
      "name": "Send Email",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2.1,
      "position": [
        1250,
        200
      ],
      "parameters": {
        "fromEmail": "REPLACE_WITH_FROM_ADDRESS",
        "toEmail": "REPLACE_WITH_TO_ADDRESS",
        "subject": "=Yard Stats Alerts Report -- {{ $now.format('yyyy-MM-dd') }}",
        "emailType": "html",
        "html": "={{ $json.html }}",
        "options": {
          "attachments": "data"
        }
      },
      "credentials": {
        "smtp": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "6",
      "name": "Send Telegram",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        1250,
        400
      ],
      "parameters": {
        "resource": "file",
        "operation": "sendDocument",
        "chatId": "REPLACE_WITH_CHAT_ID",
        "binaryData": true,
        "binaryPropertyName": "data",
        "caption": "={{ $json.caption }}"
      },
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Daily at 7am": {
      "main": [
        [
          {
            "node": "Call Report API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Call Report API": {
      "main": [
        [
          {
            "node": "Convert Report to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Report to File": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Yard Stats: Alerts Report. Uses httpRequest, emailSend, telegram. Scheduled trigger; 5 nodes.

Source: https://github.com/shuricksumy/frigate-yard-stats/blob/main/n8n/alerts-report.json — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

Get ==Instant== Alerts When Your Website Goes Down — Using ==n8n== as ==Website Downtime Checker Robot==

HTTP Request, Telegram, Email Send
Slack & Telegram

This workflow is ideal for marketers, product managers, competitive intelligence teams, and anyone who needs to track changes on web pages — whether it's competitor pricing, job postings, policy updat

HTTP Request, Google Sheets, Telegram +1
Slack & Telegram

This automated n8n workflow monitors real-time cryptocurrency prices using CoinGecko API and sends smart alerts when price conditions are met. It supports multi-coin tracking, dynamic conditions, and

Google Sheets, HTTP Request, Email Send +2
Slack & Telegram

Monitor Indian (NSE/BSE) and US stock markets with intelligent price alerts, cooldown periods, and multi-channel notifications (Email + Telegram). Automatically tracks price movements and sends alerts

Google Sheets, HTTP Request, Email Send +1
Slack & Telegram

Workflow 2: Daily Alert System (Cloud Friendly). Uses httpRequest, telegram, emailSend. Scheduled trigger; 7 nodes.

HTTP Request, Telegram, Email Send