Credentials Setup
Configure your Mailpulse API credentials in n8n to connect to your account.
Creating a New Credential
- In n8n, go to Credentials in the left sidebar
- Click Add Credential
- Search for “Mailpulse API”
- Click to create
Credential Fields
| Field | Required | Description |
|---|---|---|
| API URL | Yes | Your Mailpulse instance URL |
| API Key | Yes | Your organization’s API key |
API URL
The base URL for API requests:
- Cloud: https://mailpulse-io.lyten.agency
- Self-hosted: Your custom domain (e.g.,
https://tracking.yourcompany.com)
API Key
Your organization’s API key from the Mailpulse dashboard:
- Log in to https://mailpulse-io.lyten.agency (or your instance)
- Go to Settings
- Navigate to API Keys
- Copy an existing key or create a new one
Example Configuration
API URL: NEXT_PUBLIC_BASE_URL
API Key: mp_sk_12345abcdef...Testing the Connection
To verify your credentials are working:
- Create a new workflow
- Add the Mailpulse Email Tracker node
- Select your credential
- Try to load campaigns (if you have any)
If there’s a connection problem, n8n will show an error message.
Security Best Practices
Keep Your API Key Secure
- Never share your API key publicly
- Rotate keys periodically in the Mailpulse dashboard
- Use separate keys for development and production
Self-Hosted Instances
If you’re self-hosting Mailpulse:
- Use HTTPS for your API URL
- Consider using internal network URLs if n8n and Mailpulse are on the same network
Multiple Environments
You can create multiple credentials for different environments:
- Development: Points to a test/staging Mailpulse instance
- Production: Points to your production Mailpulse instance
Name them clearly (e.g., “Mailpulse - Dev”, “Mailpulse - Prod”) for easy identification.
Troubleshooting
”Unauthorized” Errors
- Verify the API key is correct
- Check if the key has been revoked in the dashboard
- Ensure there are no extra spaces in the key
Connection Timeout
- Verify the API URL is accessible from your n8n server
- Check firewall rules if self-hosted
- Ensure the Mailpulse server is running
Certificate Errors
For self-hosted instances with self-signed certificates:
# Allow self-signed certificates (not recommended for production)
NODE_TLS_REJECT_UNAUTHORIZED=0Better solution: Use a valid SSL certificate (e.g., Let’s Encrypt).
Next Steps
With credentials configured, learn how to use the Email Tracker Node in your workflows.
Last updated on