# Automate daily signup stats from PostgreSQL: n8n workflow

> Started by a clock, and works across Postgres, Slack and Telegram. 6 steps: small enough to read in one sitting and change without fear.

Source: https://millionrounds.com/workflow/automate-daily-signup-stats-from-postgresql (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Automate daily signup stats from PostgreSQL

Started by a clock, and works across Postgres, Slack and Telegram. 6 steps: small enough to read in one sitting and change without fear.

Small

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-daily-signup-stats-from-postgresql)

**6 steps** Small: readable in one sitting

**0** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Logic 1 Service 4

The steps in the order they run, from what starts it.

- 1 **⏰ Daily Report Trigger** Schedule trigger *Starts it*
- 2 **🗄️ Fetch Signup Count** Postgres *Service*
- 3 **📝 Prepare Report Message** Set *Logic*
- 4 **💬 Post to Slack** Slack *Service*
- 5 **📢 Send to Teams** Microsoft Teams *Service*
- 6 **📲 Send to Telegram** Telegram *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 6
- **Size:** Small: readable in one sitting
- **Connects to:** Postgres, Slack, Telegram
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Postgres, Slack and Telegram accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Not long. At 6 steps it can be read in one sitting and changed without fear.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 6 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-daily-signup-stats-from-postgresql)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Postgres](https://millionrounds.com/workflows?service=Postgres#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Automated news article summarisation with RSS** 6 steps · Gmail, RSS](https://millionrounds.com/workflow/automated-news-article-summarisation-with-rss)
- [**Automating X post sharing to LinkedIn with Telegram** 6 steps · Telegram](https://millionrounds.com/workflow/automating-x-post-sharing-to-linkedin-with-telegram)
- [**Autoposting media and message to Telegram** 6 steps · Google Sheets, Telegram](https://millionrounds.com/workflow/autoposting-media-and-message-to-telegram)
- [**Client feedback collector & analyzer with Form AI and Social** 6 steps · Email, Telegram](https://millionrounds.com/workflow/client-feedback-collector-and-analyzer-with-form-ai-and-soci)
- [**Generate secure social media connection links for clients** 6 steps · Telegram](https://millionrounds.com/workflow/generate-secure-social-media-connection-links-for-clients)
- [**Join data from Postgres and MySQL** 6 steps · MySQL, Postgres](https://millionrounds.com/workflow/join-data-from-postgres-and-mysql)
