n8n-nodes-cakemail
v1.6.3
Published
n8n node for Cakemail - complete email marketing automation with 22 resources and 130+ operations
Downloads
193
Maintainers
Readme
n8n-nodes-cakemail
Community node for integrating Cakemail with n8n, providing complete email marketing automation capabilities.

Features
- 22 Resources with 130+ operations
- Full Cakemail API coverage
- Webhook trigger support
- Multi-tenant account management
- Built with TypeScript and the official @cakemail-org/cakemail-sdk
Supported Resources
- Campaigns - Create, send, and manage email campaigns
- Contacts - Manage contact lists and subscriber data
- Lists - Create and organize mailing lists
- Segments - Target specific audiences with segments
- Templates - Design and manage email templates
- Forms - Create signup and preference forms
- Senders - Manage sender profiles
- Domains - Configure and verify sending domains
- DKIM - Set up email authentication
- Relays - Configure SMTP relay settings
- Links - Track and manage campaign links
- Logs - Access email delivery logs
- Users - Manage team members and permissions
- Sub-accounts - Handle multi-tenant account structures
- Tokens - Manage API tokens
- Interests - Set up subscriber interest categories
- Tags - Organize contacts with tags
- Suppressed Emails - Manage bounce and unsubscribe lists
- And more...
Installation
Community Node (Recommended)
Install directly in n8n:
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-cakemail - Click Install
Manual Installation
For self-hosted n8n instances:
npm install n8n-nodes-cakemailRestart your n8n instance after installation.
Configuration
1. Create Cakemail Credentials
- In n8n, go to Credentials > New
- Search for Cakemail API
- Enter your credentials:
- Email: Your Cakemail account email
- Password: Your Cakemail account password
- API Base URL (optional): Default is
https://api.cakemail.dev
2. Test Connection
Click Test to verify your credentials are working correctly.
Usage
Basic Workflow Example
Here's a simple workflow to create a contact:
- Add a Cakemail node to your workflow
- Select your Cakemail credentials
- Choose Resource:
Contact - Choose Operation:
Create - Fill in the required fields:
- List ID
- Email address
- Additional contact details
Using the Trigger Node
The Cakemail Trigger node allows you to react to webhook events:
- Add a Cakemail Trigger node
- Select your Cakemail credentials
- Choose the event type to listen for:
- Campaign sent
- Contact subscribed
- Contact unsubscribed
- Email bounced
- Link clicked
- And more...
Common Use Cases
Automated Welcome Email
Manual Trigger → Create Contact → Send CampaignSync Contacts from CRM
Schedule Trigger → Get CRM Contacts → Create/Update Cakemail ContactsBounce Handling
Cakemail Trigger (Bounce) → Update CRM → Send NotificationDevelopment
Prerequisites
- Node.js 18+
- npm or yarn
- n8n (for testing)
Setup
# Clone the repository
git clone https://github.com/cakemail/n8n-nodes-cakemail.git
cd n8n-nodes-cakemail
# Install dependencies
npm install
# Build the project
npm run buildDevelopment Workflow
# Clean previous builds
npm run clean
# Build TypeScript
npm run build
# Run tests
npm run test
# Lint code
npm run lintProject Structure
n8n-nodes-cakemail/
├── credentials/
│ └── CakemailApi.credentials.ts # API authentication
├── nodes/
│ ├── Cakemail/
│ │ ├── Cakemail.node.ts # Main node
│ │ ├── cakemail.svg # Node icon
│ │ └── resources/ # Resource operations
│ │ ├── sender.operations.ts
│ │ ├── template.operations.ts
│ │ ├── domain.operations.ts
│ │ └── ... (13 more resources)
│ └── CakemailTrigger/
│ └── CakemailTrigger.node.ts # Webhook trigger node
├── src/ # Source utilities
├── dist/ # Compiled output
└── package.jsonTesting Locally with n8n
To test your changes in a local n8n instance:
# 1. Build the package
npm run build
# 2. Link the package globally
npm link
# 3. In your n8n installation directory
cd /path/to/n8n
npm link n8n-nodes-cakemail
# 4. Restart n8n
n8n startResources
Support
For issues, questions, or contributions:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
MIT License - see the LICENSE file for details.
Keywords
n8n n8n-community-node-package cakemail email marketing automation multi-tenant
Made with ❤️ by Cakemail
