Daily AI Gratitude Reminder Sender using LINE - n8n Workflow

Automate daily gratitude reminders using this powerful n8n workflow. Integrate Azure AI (OpenAI) to generate varied messages and send them instantly via LINE, powered by the n8n node ecosystem.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Users looking for inspiring n8n templates to enhance personal reflection habits.
n8n developers interested in integrating advanced AI models (Azure OpenAI) into scheduled tasks.


  • Individuals or small teams seeking daily, personalized communication via LINE using a robust n8n workflow.

Overview

Maintaining a gratitude journal or habit is often challenging due to simple forgetfulness. This specialized n8n workflow solves this by providing a highly engaging, automated reminder system. Instead of sending the same static message every day, this n8n template leverages the power of Azure OpenAI to generate diverse, contextually relevant reminders.

This specific n8n workflow runs nightly, ensuring you reflect on the positive events of your day before going to sleep. By using an n8n node for scheduled execution and an n8n node for external API communication (LINE), it creates a seamless, low-effort path to build positive habits. This is a perfect example of how the n8n ecosystem supports innovative AI automation. This n8n trigger ensures consistent execution.

How it Works

This sophisticated n8n workflow operates in five distinct phases:


  1. Scheduled Activation: The process begins with an n8n trigger, specifically a Schedule Trigger n8n node, set to fire every evening at 9:00 PM (21:00) local time. This consistent n8n trigger ensures timely reminders.

  2. AI Prompt Setup: The flow immediately proceeds to the WriteReminder n8n node, a Langchain Chain LLM component. It is given a base message prompt designed to elicit gratitude reflection.

  3. Dynamic Content Generation: The prompt is passed to the Azure OpenAI Chat Model n8n node. Crucially, the model's temperature is set to 0.9 to maximize message variety, preventing the user from receiving repetitive, ignored reminders. This makes the n8n workflow highly engaging.

  4. Data Cleaning: The raw AI output must be processed for compatibility. The Reformat Output from Chat Model Set n8n node sanitizes the text by removing markdown, HTML tags, and newlines, making the content perfectly suitable for the LINE text message format.

  5. Final Delivery: The cleaned message is sent using an HTTP Request n8n node configured for the LINE Push Message API, ensuring the personalized gratitude reminder reaches the user directly via this functional n8n template.

Installation Guide

To install this n8n workflow and deploy this powerful automation:


  1. Import the n8n Template: Copy the provided JSON data and import it directly into your n8n instance via the Workflows page.

  2. Set up Azure OpenAI Credentials: Configure the Azure OpenAI Chat Model n8n node using your Azure API key, resource name, and deployment details. Ensure the model name matches the configuration (e.g., '4o').

  3. Set up LINE Credentials: Configure the Line Push Message n8n node. This HTTP Request n8n node uses Generic HTTP Header Authentication. You will need your LINE access token and secret.

  4. Configure LINE User ID: In the JSON body of the Line Push Message n8n node, replace "YOUR ID HERE" with the specific LINE user ID you wish to send the push notification to.

  5. Activate: Save the n8n workflow and toggle the workflow to "Active." The n8n trigger will now run daily at 9:00 PM (based on the workflow's timezone setting).

Node Details

This n8n workflow utilizes several specialized n8n node types:

Trigger 2100 Bear Gratitude Jar Notice (Schedule Trigger n8n trigger):
Function: Initiates the entire n8n workflow automatically at a fixed time.
Key Configuration: Set to run daily at 21:00 hours. This is the primary scheduling n8n trigger.
WriteReminder (Chain LLM n8n node):
Function: Defines the core instruction for the AI model—to rewrite a simple prompt into a creative gratitude reminder.
Key Configuration: Connects directly to the Azure OpenAI model.
Azure OpenAI Chat Model (LM Chat Azure OpenAI n8n node):
Function: Generates the dynamic message content. This is the intelligence engine of the n8n workflow.
Key Configuration: Uses the '4o' model. The temperature is set to 0.9 to ensure maximum creativity and variation for each daily reminder generated by this n8n node.
Reformat Output from Chat Model (Set n8n node):
Function: Cleans and formats the text output, ensuring compatibility with the LINE API payload.
Key Configuration: Uses advanced JavaScript expressions to remove markdown, tags, and control characters, ensuring clean data flow within the n8n workflow.
Line Push Message (HTTP Request n8n node):
Function: Sends the final, formatted gratitude message to the specified LINE user ID.
* Key Configuration: Uses POST method to the LINE Push API endpoint and requires HTTP Header authentication (Line Access Token).

Related n8n Workflows

Free

Nodes: 6 Nodes
Updated: December 26 2025
View all
Created by

Featured*