Get messages with a certain label, remove the label, and add a new one

Automated workflow: Get messages with a certain label, remove the label, and add a new one. This workflow processes data and performs automated tasks.

Integrations Used (1)

Workflow Structure (5 nodes)
100%
Manual Trigger
On clicking 'execute'
Gmail
Gmail
Gmail
Gmail1
Gmail
Gmail2
Stop And Error
Error Handler
Node Types:
trigger
default
Requires credentials

Prerequisites

Required Credentials (1)

Gmail

Used by: Gmail, Gmail1 +1 more

Docs

Complexity

Moderate

Some experience helpful. Multiple integrations or logic.

Setup time: ~20 min
Score: 21/100

When to Use This Workflow

AI-Powered Content Creation

Automate content generation, summarization, or analysis using AI capabilities.

Save hours of manual work while maintaining quality and consistency.

Email Automation

Automate email responses, forwarding, or organization based on rules.

Handle routine email tasks automatically and focus on what matters.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

workflow.json
{
  "id": "175",
  "name": "Get messages with a certain label, remove the label, and add a new one",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        250,
        300
      ],
      "parameters": {},
      "typeVersion": 1,
      "id": "e55664fa-a13f-4ae4-8b99-7a13080cda6f",
      "notes": "This manualTrigger node performs automated tasks as part of the workflow."
    },
    {
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
...

Workflow Details

Nodes
5
Trigger
Manual
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Podcast Digest

Chunk the transcript into several parts, and refine-summarize it

Documentjsoninputloader
Textsplitterrecursivecharactertextsplitter
Chainsummarization
Lmchatopenai
19 nodesManual
Curated

Summarize Google Sheets form feedback via OpenAI's GPT-4

Automated workflow: Summarize Google Sheets form feedback via OpenAI's GPT-4. This workflow integrates 8 different servi...

Google-sheets
Openai
Gmail
11 nodesManual

Summarize Google Sheets form feedback via OpenAI's GPT-4

Automated workflow: Summarize Google Sheets form feedback via OpenAI's GPT-4. This workflow integrates 8 different servi...

Google-sheets
Openai
Gmail
11 nodesManual

Deduplicate Scraping AI Grants for Eligibility using AI

1. Fetch Latest AI Grants, Ignore Those Already Seen [Learn more about the Remove Duplicates node](https://docs.n8n.io/i...

Http-request
Lmchatopenai
Informationextractor
Airtable
24 nodesScheduled
Curated

AI Fitness Coach Strava Data Analysis and Personalized Training Insights

Customer Experience Agent (AI) The AI Triathlon Coach is an intelligent, data-driven virtual assistant designed to help...

Strava
Lmchatgooglegemini
Gmail
Agent
15 nodesEvent
Curated

Advanced AI Demo (Presented at AI Developers #14 meetup)

![h](https://i.postimg.cc/9XLvL5dL/slide-sf-talk.pngfull-width)

Slack
Textsplitterrecursivecharactertextsplitter
Embeddingsopenai
Documentdefaultdataloader
39 nodesEvent
Curated