n8n Mailofly Integration
n8n is a powerful workflow automation tool. You can easily integrate Mailofly into your n8n workflows using the built-in HTTP Request node to send transactional emails, trigger campaigns, and parse inbound messages.1. Create a Generic Credential in n8n
- In n8n, go to Credentials > New Credential.
- Select Header Auth.
- Set Name:
Mailofly API. - Set Header Name:
Authorization. - Set Value:
Bearer mf_live_your_api_key.
2. Configure the HTTP Request Node
- Add an HTTP Request node to your n8n workflow.
- Configure the parameters:
- Method:
POST - URL:
https://api.mailofly.com/api/v1/emails - Authentication: Select your
Mailofly APIHeader Auth credential. - Send Body: Enabled (
JSON).
- Method:
- Set the JSON Body:
3. Test and Activate
Click Test step in n8n. Verify the 200 response containing the generated emailid.