Loading image 1...

01/03

WhatsAppDailySummary

n8n Automation That Summarises WhatsApp Group Conversations Nightly, Released Open Source

Client
Javapixa in-house, released open source
Year
2026
Timeline
1 week
Category
AI Automation / Open Source
UI Goal
Produce an automated summary whose numbers can be trusted, not merely one that reads convincingly.
VISUAL STYLE
A structured WhatsApp text message: topics, then action items, then statistics.
LAYOUT SYSTEM
The same shape every night, so a reader knows where to look for what.
PRIMARY DEVICE TARGET
Teams and communities whose daily conversation is too long to read back.
WhatsApp Daily Summary
Featured Work

WhatsApp Daily Summary

n8n Automation That Summarises WhatsApp Group Conversations Nightly, Released Open Source

Overview

n8n Automation That Summarises WhatsApp Group Conversations Nightly, Released Open Source

An in-house Javapixa tool that was subsequently released as open source. The n8n automation collects a WhatsApp group's messages through the day via the go-whatsapp-web-multidevice gateway, stores them in PostgreSQL, then each night has Google Gemini produce a structured summary of topics discussed, action items and statistics, and posts it back to a nominated WhatsApp number. One workflow handles many groups at once.

Challenge

The Problem

Summarising a conversation with a language model is easy to run and hard to trust. The riskiest part is the numbers: message counts and who was active are exactly what a model is most likely to invent, and one wrong figure discredits the whole summary. The second problem is resilience, since one failing group must not take the other groups' summaries down with it.

Solution

Statistics are computed from the database rather than asked of the model, so message counts and active members are always exact. Gemini is constrained by a JSON schema to return `topics[]` and `action_items[]`, and the message is rendered deterministically instead of parsed out of free text. Ingestion and the nightly summary are decoupled through PostgreSQL tables, with `message_id` unique so webhook retries never double-count. Each group is processed in isolation, and a dedicated error workflow reports failures over WhatsApp.

VisualJourney

Project Showcase

Loading image 1...

Screenshot 1

Project visualization and interface design

01/03
Navigate

TechStack

01

n8n

Workflow Orchestration

02

Google Gemini

Language Model

03

PostgreSQL

Database

04

go-whatsapp-web-multidevice

WhatsApp Gateway

KeyFeatures

[01]

Exact Statistics from the Database

Message counts and active members are computed by query rather than asked of the model, so the figures can be trusted.

[02]

Structured Output from Gemini

Gemini is forced to return topics[] and action_items[] through a JSON schema, and the message is rendered locally, so the format is identical every night.

[03]

Many Groups at Once

One workflow summarises any number of groups, and adding a group is done through a form rather than by editing the workflow.

[04]

Deduplication

message_id is unique, so a repeated webhook delivery never counts the same message twice.

[05]

Fault Isolation per Group

A failure on one group does not halt the rest, and an Error Trigger workflow sends an alert over WhatsApp.

[06]

No-Code Installation

The whole thing is exported n8n workflow JSON imported into your own instance, so there is no application code and no build step.

OurProcess

A detailed look at how we brought this project from concept to reality through our proven methodology.

01
Duration
2 days

Designing the Data Flow

Separated real-time ingestion from the nightly summary, then designed the PostgreSQL tables that connect the two.

Deliverables
Database Schema
Two-Workflow Design
Deduplication Rules
02
Duration
3 days

Summarisation and Model Constraints

Built the summary workflow with a JSON schema for Gemini and query-computed statistics, so output stays consistent and the numbers stay exact.

Deliverables
Summary Workflow
Output Schema
Statistics Queries
03
Duration
2 days

Resilience and Documentation

Added per-group fault isolation, the alert workflow and the Quick Setup form, then wrote the documentation and released it as open source.

Deliverables
Alert Workflow
Quick Setup Form
Public Documentation
  • 01Statistics are computed from PostgreSQL rather than generated, so message counts and active members are exact.
  • 02Gemini is constrained by a JSON schema, so topics and action items render deterministically.
  • 03Ingestion and summarisation are decoupled through PostgreSQL, with message_id unique against double-counting.
  • 04One group failing does not stop the others, and an error workflow reports it over WhatsApp.
  • 05Ships as exported n8n workflow JSON, so there is no application code to build or deploy.

Want something like this?

These are the Javapixa services behind this project.

WhatsApp Daily Summary - Portfolio | Javapixa Creative Studio