AutomationFlowsEmail & Gmail › Create, update and get a subscriber using the MailerLite node

Create, update and get a subscriber using the MailerLite node

Create, update and get a subscriber using the MailerLite node. Uses manualTrigger, mailerLite. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexity4 nodesMailer Lite
Email & Gmail Trigger: Event Nodes: 4 Complexity: ★★☆☆☆

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "96",
  "name": "Create, update and get a subscriber using the MailerLite node",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        310,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "MailerLite",
      "type": "n8n-nodes-base.mailerLite",
      "position": [
        510,
        300
      ],
      "parameters": {
        "email": "harshil@n8n.io",
        "additionalFields": {
          "name": "Harshil"
        }
      },
      "credentials": {
        "mailerLiteApi": "<your credential>"
      },
      "typeVersion": 1
    },
    {
      "name": "MailerLite1",
      "type": "n8n-nodes-base.mailerLite",
      "position": [
        710,
        300
      ],
      "parameters": {
        "operation": "update",
        "subscriberId": "={{$node[\"MailerLite\"].json[\"email\"]}}",
        "updateFields": {
          "customFieldsUi": {
            "customFieldsValues": [
              {
                "value": "Berlin",
                "fieldId": "city"
              }
            ]
          }
        }
      },
      "credentials": {
        "mailerLiteApi": "<your credential>"
      },
      "typeVersion": 1
    },
    {
      "name": "MailerLite2",
      "type": "n8n-nodes-base.mailerLite",
      "position": [
        910,
        300
      ],
      "parameters": {
        "operation": "get",
        "subscriberId": "={{$node[\"MailerLite\"].json[\"email\"]}}"
      },
      "credentials": {
        "mailerLiteApi": "<your credential>"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "MailerLite": {
      "main": [
        [
          {
            "node": "MailerLite1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MailerLite1": {
      "main": [
        [
          {
            "node": "MailerLite2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "MailerLite",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

About this workflow

Create, update and get a subscriber using the MailerLite node. Uses manualTrigger, mailerLite. Event-driven trigger; 4 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More Email & Gmail workflows → · Browse all categories →