Unsubscribe Mautic contacts from automated unsubscribe emails

Automated workflow: Unsubscribe Mautic contacts from automated unsubscribe emails. This workflow integrates 7 different services: stickyNote, mautic, code, gmailTrigger, set. It contains 16 nodes and follows best practices for error handling and security.

Integrations Used (2)

Workflow Structure (12 nodes)
100%
Stop And Error
Error Handler
Mautic
Add to Do Not Contact List
Gmail Trigger
Gmail Trigger
Set
Edit Fields
If
Is automated unsubscribe?
Code
Extract Email from 'From' Field
Code
Extract Unique Email Addresses
Mautic
Get Mautic Contact ID from Email Address
If
If Contact Exists in Mautic
Mautic
Add to unsubscribed segment
Mautic
Remove newsletter segment
Gmail
Reply Unsubscribe Message
Node Types:
trigger
logic
default
code
transform
Requires credentials

Prerequisites

Required Credentials (2)

Gmail

Used by: Gmail Trigger, Reply Unsubscribe Message

Docs

Mautic

Used by: Add to unsubscribed segment, Remove newsletter segment +2 more

Docs

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~45 min
Score: 65/100
Custom Code
Conditional Logic
4 Integrations

When to Use This Workflow

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.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "meta": {
    "instanceId": "workflow-e4167688",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:50.917339",
    "updatedAt": "2025-09-29T07:07:50.917358",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "Unsubscribe Mautic contacts from automated unsubscribe emails",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
...

Workflow Details

Nodes
17
Trigger
Event
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Qualify replies from Pipedrive persons with AI

About the workflow The workflow reads every reply that is received from a cold email campaign and qualifies if the lead...

Pipedrive
Openai
Gmail
11 nodesEvent
Curated

Agent Workflow

Automated workflow: Agent Workflow. This workflow integrates 97 different services: vectorStoreInMemory, if, gumroadTrig...

Bitly
Dropbox
Gmail
Google-calendar
113 nodesEvent

Readpdf Workflow

Automated workflow: Readpdf Workflow. This workflow integrates 11 different services: stickyNote, code, gmailTrigger, re...

Readpdf
Openai
Google-drive
Gmail
19 nodesEvent

Openai Workflow

Automated workflow: Openai Workflow. This workflow integrates 15 different services: webhook, stickyNote, code, gmailTri...

Openai
Gmail
Google-sheets
Webhook
49 nodesEvent

Googlesheets Workflow

Automated workflow: Googlesheets Workflow. This workflow integrates 11 different services: filter, stickyNote, code, sch...

Google-sheets
Gmail
Executeworkflow
Schedule
33 nodesEvent

Gmailtrigger Workflow

Automated workflow: Gmailtrigger Workflow. This workflow integrates 9 different services: stickyNote, httpRequest, code,...

Gmail
Outlook
Http-request
Jira
18 nodesEvent