Skip to main content

Track daily moods with AI analysis & reports using GPT-4o, Data Tables & Gmail

Workflow preview

Workflow preview
100%
Track daily moods with AI analysis & reports using GPT-4o, Data Tables & Gmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Track your daily mood in one tap and receive automated AI summaries of your emotional trends every week and month. Perfect for self reflection, wellness tracking, or personal analytics. This workfl...

Best for

  • Personal Productivity automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.datatable, n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.respondtowebhook, n8n-nodes-base.scheduletrigger, @n8n/n8n-nodes-langchain.openai

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jose Castillo.

Original n8n.io source

1.1 Workflow description

Title
Track daily moods with AI analysis & reports using GPT-4o, Data Tables & Gmail
Workflow name
Track daily moods with AI analysis & reports using GPT-4o, Data Tables & Gmail

Track your daily mood in one tap and receive automated AI summaries of your emotional trends every week and month. Perfect for self-reflection, wellness tracking, or personal analytics.

This workflow logs moods sent through a webhook (/mood) into Data Tables, analyzes them weekly and monthly with OpenAI (GPT-4o), and emails you clear summaries and actionable recommendations via Gmail.

βš™οΈ How It Works

Webhook – Mood β†’ Collects new entries (πŸ™‚, 😐, or 😩) plus an optional note.

Set Mood Data β†’ Adds date, hour, and note fields automatically.

Insert Mood Row β†’ Stores each record in a Data Table.

Weekly Schedule (Sunday 20:00) β†’ Aggregates the last 7 days and sends a summarized report.

Monthly Schedule (Day 1 at 08:00) β†’ Aggregates the last 30 days for a deeper AI analysis.

OpenAI Analysis β†’ Generates insights, patterns, and 3 actionable recommendations.

Gmail β†’ Sends the full report (chart + AI text) to your inbox.

πŸ“Š Example Auto-Email

Weekly Mood Summary (last 7 days) πŸ™‚ 5 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 😐 2 β–ˆβ–ˆβ–ˆβ–ˆ 😩 0 Average: 1.7 (Positive πŸ™‚)

AI Insights: You’re trending upward this week β€” notes show that exercise days improved mood. Try keeping short walks mid-week to stabilize energy.

🧩 Requirements

n8n Data Tables enabled

OpenAI credential (GPT-4o or GPT-4 Turbo)

Gmail OAuth2 credential to send summaries

πŸ”§ Setup Instructions

Connect your credentials:

Add your own OpenAI and Gmail OAuth2 credentials.

Set your Data Table ID:

Open the Insert Mood Row node and enter your own Data Table ID.

Without this, new moods won’t be stored.

Replace the email placeholder:

In the Gmail nodes, replace [email protected] with your actual address.

Deploy and run:

Send a test POST request to /mood (e.g. { "mood": "πŸ™‚", "note": "productive day" }) to log your first entry.

⚠️ Before activating the workflow, ensure you have configured the Data Table ID in the β€œInsert Mood Row” node.

🧠 AI Analysis

Interprets mood patterns using GPT-4o.

Highlights trends, potential triggers, and suggests 3 specific actions.

Runs automatically every week and month.

πŸ”’ Security

No personal data is exposed outside your n8n instance. Always remove or anonymize credential references before sharing publicly.

πŸ’‘ Ideal For

Personal mood journaling and AI feedback

Therapists tracking client progress

Productivity or self-quantification projects

πŸ—’οΈ Sticky Notes Guide

🟑 Mood Logging Webhook POST /mood receives mood + optional note. ⚠️ Configure your own Data Table ID in the β€œInsert Mood Row” node before running.

🟒 Weekly Summary Runs every Sunday 20:00 β†’ aggregates last 7 days β†’ generates AI insights + emails report.

πŸ”΅ Monthly Summary Runs on Day 1 at 08:00 β†’ aggregates last 30 days β†’ creates monthly reflection.

🟣 AI Analysis Uses OpenAI GPT-4o to interpret trends and recommend actions.

🟠 Email Delivery Sends formatted summaries to your inbox automatically.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Webhook - Mood

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 2 - Set Mood Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Insert Mood Row

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 4 - List Rows (Weekly)

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 5 - Aggregate (7d)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - List Rows (Monthly)

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 7 - Aggregate (~30d)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Sticky Note - Registro

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note - Weekly

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note - Monthly

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Respond to Webhook1

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 12 - Schedule Weekly (SUNDAY 20:00)

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 13 - Schedule Monthly (1th, 08:00)

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 14 - ChatGPT Weekly Analysis

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 15 - ChatGPT Monthly Analysis

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 16 - Gmail (Weekly)

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 17 - Gmail (Monthly)

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 18 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Track daily moods with AI analysis & reports using GPT-4o, Data Tables & Gmail
Complexity advanced
Nodes 18
Categories Personal Productivity, AI Summarization
Author Jose Castillo
Published 26 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10188/10188.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Track daily moods with AI analysis & reports using GPT-4o, Data Tables & Gmail do?

Track your daily mood in one tap and receive automated AI summaries of your emotional trends every week and month. Perfect for self reflection, wellness tracking, or personal analytics. This workfl...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Summarization use case.