Actions116
- Course Actions
- Bundle Actions
- Course Grade Actions
- Course Grade Detail Actions
- Course Teacher Actions
- Email Actions
- Email Campaign Actions
- Email Campaign Course Actions
- Email Campaign Excluded Course Actions
- Email Campaign Excluded List Actions
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List Actions
- Enroll Actions
- MindzPay Account Actions
- MindzPay Invoice Actions
- MindzPay Payment Actions
- MindzPay Subscription Actions
- Subscription Actions
- Team Actions
- User Actions
Overview
The node provides integration with the Mindz API, specifically allowing users to create email campaigns. This operation enables sending targeted email marketing campaigns to users managed within the Mindz platform. It is useful for marketing teams or administrators who want to automate and manage email outreach directly from their workflow automation tool.
Typical use cases include:
- Launching promotional email campaigns to all or selected users.
- Sending newsletters or announcements with customized subject lines and content.
- Automating email communication based on user segmentation or campaign schedules.
Properties
| Name | Meaning |
|---|---|
| Title | The name or title of the email campaign being created. |
| Email Subject | The subject line that will appear in recipients' email inboxes. |
| Email Content | The HTML or plain text content/body of the email to be sent in the campaign. |
| All Users Are Selected | Boolean flag indicating whether the campaign targets all users (true) or a subset (false). |
| Email Title | An optional additional title or label for the email campaign (may be used internally). |
Output
The node outputs JSON data representing the result of the email campaign creation request. This typically includes details such as the campaign ID, status, timestamps, and any metadata returned by the Mindz API confirming the campaign was successfully created.
If the node supports binary data output (not indicated here), it would generally relate to attachments or email templates, but this is not evident from the provided code.
Dependencies
- Requires an active connection to the Mindz API via an OAuth2-based API key credential.
- The node depends on the Mindz API service being available and properly configured.
- No other external dependencies are indicated.
Troubleshooting
Common issues:
- Authentication failures due to invalid or expired API credentials.
- Missing required fields such as Title, Email Subject, or Email Content causing validation errors.
- Network connectivity problems preventing access to the Mindz API.
- Attempting to send a campaign without selecting users if "All Users Are Selected" is false and no user list is specified.
Error messages:
- Errors related to missing parameters will indicate which required field is absent.
- API errors may return HTTP status codes like 401 (Unauthorized) or 400 (Bad Request) with descriptive messages.
Resolutions:
- Verify and refresh API credentials.
- Ensure all required input properties are correctly filled.
- Check network connectivity and Mindz API status.
- Confirm user selection logic aligns with campaign targeting settings.
Links and References
- Mindz official API documentation (refer to the Mindz developer portal).
- n8n OAuth2 credential setup guides.
- General best practices for email campaign management and compliance.