Send Your Website Stats to Slack Every Morning with n8n
Описание и применение
Автоматический ежедневный отчёт о посещаемости сайта в Slack с помощью n8n и Privatus Analytics, без ручного входа в аналитику.
Задача
Users manually check analytics tools daily, often forgetting or finding them slow and confusing.
Результат
Automated daily Slack messages with yesterday’s visitors and pageviews, including percent change, eliminating manual checks and providing real‑time trend visibility.
Рабочий процесс
- Install the n8n‑nodes‑privatus‑analytics community node via Settings → Community Nodes or npm install.
- Create a Privatus Analytics API token with at least analytics.read permission.
- Add a Privatus Analytics credential in n8n using the token.
- Build a workflow: 1) Schedule Trigger set to daily 8:00 AM; 2) Privatus Analytics node configured for Stats → Get Overview, site selection, period "Yesterday", compare with "Previous Period"; 3) Slack node sending a message with an expression that inserts metrics and change values.
- Activate the workflow by toggling Active on the workflow page.
- Optionally replace the Privatus Analytics node with an HTTP Request node using the REST API if community nodes are unavailable.
Доказательства
You open your analytics tool. You log in. You wait for it to load. You click around to find one number. Then you forget to do it for a week.
In this tutorial you will make a workflow that posts a short message in Slack every morning. It will say how many people visited your site yesterday, and how that compares with the day before.
Add the Slack node. Connect your Slack account the way n8n shows you. Then set it to send a message to a channel, for example #general or a private #stats channel.
The list of sites loads from your workspace, so there is nothing to type.
- Дата записи: 2026-10-26T03:11:30.660Z