Skip to content
Communication

Send scheduled database reports to Slack channels from Postgres

12 nodes 398 125 Scheduled trigger
Download

Loading workflow…

Workflow Description

Automated workflow that retrieves data from Postgres on a schedule, processes it in batches, and delivers formatted messages to Slack channels. Aggregates database information and distributes updates to team members automatically without manual intervention.

How it works

  1. 1.Query and extract data from specified Postgres tables based on scheduling
  2. 2.Split query results into manageable batches for processing
  3. 3.Format and aggregate batch data into readable Slack message content
  4. 4.Send prepared messages to designated Slack channels or direct messages
  5. 5.Implement delays between batch sends to respect API rate limits

Use cases

  • Deliver daily summaries of sales metrics and operational KPIs to team channels
  • Notify team members of database changes or newly created records that require attention
  • Distribute query results to different departments or project-specific Slack groups

Requirements

  • Active Slack workspace with bot permissions to post in channels
  • Postgres database connection with valid credentials and network access
  • Defined source table and column selection for data extraction

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Postgres Split In Batches Slack

Details

Trigger Scheduled trigger
Nodes 12
Apps 3
Views 398
Downloads 125

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (12)

/

Sticky Note2

Sticky Note

#1

Aggregate

Aggregate

#2

PROFILES QUERY

Postgres

#3

BULK DROPCONTACT REQUESTS

HTTP Request

#4

Loop Over Items2

Split In Batches

#5

Split Out

Split Out

#6

Postgres

Postgres

#7

BULK DROPCONTACT DOWNLOAD

HTTP Request

#8

Wait2

Wait

#9

DATA TRANSFORMATION

Code

#10

Slack

Slack

#11

Schedule Trigger

Schedule Trigger

#12
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime