MailerLite Subscriber Manager

This workflow manages MailerLite subscribers via webhook, handling actions like create, get, update, delete, and list, with validation and logging. Key nodes include Webhook Trigger (receives requests), Process Request (validates inputs), Action Router (directs actions), Create/Get/Update/Delete/List Subscriber (MailerLite API calls), Process MailerLite Result (handles responses), Log Action to Airtable (logs outcomes), and Success/Error Response (returns results). It uses MailerLite and Airtable APIs.\n\nSetup Requirements: Install n8n from n8n.io or sign up at cloud.n8n.io. Import the JSON into n8n’s workflow editor. Get a MailerLite API key from mailerlite.com (Settings > Integrations > API). Obtain an Airtable API token from airtable.com (Account > API). In n8n, configure credentials: MailerLite (API Key) and Airtable (API Token). Set the webhook path in Webhook Trigger (e.g., mailerlite-subscriber). Configure your application to send POST requests to n8n’s webhook URL (displayed in the node). Ensure payload includes action (e.g., create), email (for create), or subscriber_id (for get/update/delete). Handle errors like invalid email (400: Invalid email format) or missing API key (401: Authentication failed).\n\nTesting and Deployment: Import the JSON into n8n. Send a test POST request to the webhook URL with JSON: {"action": "create", "email": "test@example.com", "name": "Test User"}. Verify Process Request validates email and Action Router directs to Create Subscriber. Confirm Process MailerLite Result processes the response, and Log Action to Airtable stores data. Check the Success Response for status 200 or the Error Response for errors (400: Subscriber not found). Test with invalid data (e.g., {"action": "create"}) to trigger Validation Error Response (400). Monitor logs for issues like rate limits (429: Too many requests) or conflicts (409: Subscriber exists). If actions fail, verify API keys and payload format. Activate the workflow in n8n and ensure the application’s webhook is live. Deploy for automated subscriber management and logging.

$6.99

Workflow steps: 15

Integrated apps: webhook, code, if

MailerLite Subscriber Manager preview