Skip to main content

LINE messages with GPT: Save notes, namecard data and tasks

Workflow preview

Workflow preview
100%
LINE messages with GPT: Save notes, namecard data and tasks preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow template, "Personal Assistant to Note Messages and Extract Namecard Information" is designed to streamline the processing of incoming messages on the LINE messaging platform. It integ...

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.httprequest, n8n-nodes-base.stickynote, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.lmchatopenrouter, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.microsoftteams, n8n-nodes-base.microsofttodo

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by [email protected].

Original n8n.io source

1.1 Workflow description

Title
LINE messages with GPT: Save notes, namecard data and tasks
Workflow name
LINE messages with GPT: Save notes, namecard data and tasks

This workflow template, "Personal Assistant to Note Messages and Extract Namecard Information" is designed to streamline the processing of incoming messages on the LINE messaging platform. It integrates with powerful tools like Microsoft Teams , Microsoft To Do , OneDrive , and OpenRouter.ai to handle tasks such as saving notes, extracting namecard information, and organizing images. Whether you’re managing personal productivity or automating workflows for teams, this template offers a versatile and customizable solution.

By leveraging this workflow, you can automate repetitive tasks, improve collaboration, and enhance efficiency in handling LINE messages.

Who Is This Template For?

This template is ideal for:

  • Professionals: Who want to save important messages, extract data from namecards, or organize images automatically.
  • Teams: Looking to integrate LINE messages into tools like Microsoft Teams and Microsoft To Do for better collaboration.
  • Developers: Seeking to build intelligent workflows that process text, images, and other inputs from LINE.
  • Business Owners: Who need to manage customer interactions, follow-ups, and task tracking efficiently.

What Problem Does This Workflow Solve?

Managing incoming messages on LINE can be time-consuming, especially when dealing with diverse input types like text, images, and namecards. This workflow solves that problem by:

  • Automatically identifying and routing different message types (text, images, namecards) to appropriate actions.
  • Extracting structured data from namecards and saving it for follow-up tasks.
  • Uploading images to OneDrive and saving text messages to Microsoft Teams or Microsoft To Do for easy access.
  • Sending real-time feedback to users via LINE to confirm that their messages have been processed.

What This Workflow Does

  • Receive Messages via LINE Webhook: The workflow is triggered whenever a user sends a message (text, image, or other types) to the LINE bot.
  • Display Loading Animation: A loading animation is displayed to reassure the user that their request is being processed. Route Input Types:

The workflow uses a Switch node to determine the type of input:

  • Text Starting with "T": Adds the message as a task in Microsoft To Do.
  • Plain Text: Saves the message in Microsoft Teams under a designated channel (e.g., "Notes").
  • Images: Identifies whether the image is a namecard, handwritten note, or other content, then processes accordingly.
  • Unsupported formats trigger a polite response indicating the limitation. Process Namecards:

**Images ** If the image is identified as a namecard, the workflow extracts structured data (e.g., name, email, phone number) using OpenRouter.ai and saves it to Microsoft To Do for follow-up tasks. Save Images to OneDrive:

Images are uploaded to OneDrive, renamed based on their unique message ID, and linked in Microsoft Teams for reference.

Send Feedback via LINE: The workflow replies to the user with confirmation messages, such as "[ Task Created ]" or "[ Message Saved ]."

Setup Guide

Pre-Requisites

  • Access to the LINE Developers Console to configure your webhook and bot.
  • Accounts for Microsoft Teams , Microsoft To Do, and OneDrive with API access.
  • An OpenRouter.ai account with credentials to access models like GPT-4o.
  • Basic knowledge of APIs, webhooks, and JSON formatting.

Step-by-Step Setup

  1. Configure the LINE Webhook:
  • Go to the LINE Developers Console and set up a webhook to receive incoming messages.
  • Copy the Webhook URL from the Line Webhook node and paste it into the LINE Console.
  • Remove any "test" configurations when moving to production.
  1. Set Up Microsoft Integrations:
  • Connect your Microsoft Teams, Microsoft To Do, and OneDrive accounts to the respective nodes in the workflow.
  1. Set Up OpenRouter.ai:
  • Create an account on OpenRouter.ai and obtain your API credentials.
  • Connect your credentials to the OpenRouter nodes in the workflow.

Test the Workflow:

  • Simulate sending text, images, and namecards to the LINE bot to verify that all actions are processed correctly.

How to Customize This Workflow to Your Needs

  • Add More Actions: Extend the workflow to handle additional input types or integrate with other tools.
  • Enhance Image Processing: Use advanced OCR tools to improve text extraction from complex images.
  • Customize Feedback Messages: Modify the reply format to include emojis, links, or other formatting options.
  • Expand Use Cases: Adapt the workflow for specific industries, such as sales or customer support, by tailoring the actions to relevant tasks.

Why Use This Template?

  • Versatile Automation: Handles multiple input types (text, images, namecards) with ease.
  • Seamless Integration: Connects LINE messages to popular productivity tools like Microsoft Teams and To Do.
  • Structured Data Extraction: Extracts and organizes data from namecards, saving time and effort.
  • Real-Time Feedback: Keeps users informed about the status of their requests with instant notifications.

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 - Line Webhook

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

Block 2 - Line Loading Animation

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Sticky Note1

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

Block 4 - Sticky Note2

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

Block 5 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 6 - Sticky Note5

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

Block 7 - Get Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Sticky Note9

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

Block 9 - Line Reply (image)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Line Reply (Text)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Line Reply (Not Supported 2)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Line Reply (Not Supported 1)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 14 - Image Router

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

Block 15 - Microsoft Teams

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

Block 16 - Microsoft To Do

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

Block 17 - Line Reply (Text)1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - If namecard

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 19 - Other Images

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

Block 20 - Microsoft Teams1

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

Block 21 - OpenRouter Chat Model2

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 22 - Microsoft OneDrive

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

Block 23 - Microsoft OneDrive1

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

Block 24 - Get Image2

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Showing the first 24 of 45 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow LINE messages with GPT: Save notes, namecard data and tasks
Complexity advanced
Nodes 45
Categories Personal Productivity, AI Summarization
Author [email protected]
Published 03 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3413/3413.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 LINE messages with GPT: Save notes, namecard data and tasks do?

This workflow template, "Personal Assistant to Note Messages and Extract Namecard Information" is designed to streamline the processing of incoming messages on the LINE messaging platform. It integ...

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.