Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Unsubscribe Mautic Contacts from Gmail Replies

When an automated unsubscribe email arrives in Gmail, it moves the contact to the unsubscribed segment in Mautic and replies.

What it does

# Unsubscribe Mautic contacts from automated unsubscribe emails ## Overview 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. ## Workflow Details - Total Nodes: 16 - Node Types: 7 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Gmail Trigger: gmailTrigger - Is automated unsubscribe?: if - Add to unsubscribed segment: mautic - Remove newsletter segment: mautic - Reply Unsubscribe Message: gmail - Add to Do Not Contact List: mautic - Extract Email from 'From' Field: code - Extract Unique Email Addresses: code - Get Mautic Contact ID from Email Address: mautic - If Contact Exists in Mautic: if - ... and 6 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible

The steps

  1. Gmail Trigger
  2. Is automated unsubscribe?
  3. Add to unsubscribed segment
  4. Remove newsletter segment
  5. Reply Unsubscribe Message
  6. Add to Do Not Contact List
  7. Extract Email from 'From' Field
  8. Extract Unique Email Addresses
  9. Get Mautic Contact ID from Email Address
  10. If Contact Exists in Mautic
  11. Edit Fields
  12. Error Handler

Similar automations