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 management of Email Campaigns among other resources. The Update operation for the Email Campaign resource enables users to modify existing email campaigns by changing properties such as the campaign title, email subject, content, and recipient selection.
This node is beneficial in scenarios where automated workflows need to update marketing or notification email campaigns dynamically based on external triggers or data changes. For example, a user might update the email content or subject line before sending out a campaign, or toggle whether the campaign targets all users or a specific segment.
Practical examples:
- Automatically updating the subject and content of an email campaign before scheduling it.
- Changing the campaign title or toggling the recipient list based on user preferences or segmentation logic.
- Adjusting the email content to reflect new promotions or announcements without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Email Campaign ID | The unique identifier of the email campaign to update. Required to specify which campaign to modify. |
| Title | The new title for the email campaign. |
| Email Subject | The subject line of the email that will be sent as part of the campaign. |
| Email Content | The HTML or text content body of the email campaign. |
| All Users Are Selected | Boolean flag indicating whether the campaign should target all users (true) or a subset (false). |
| Email Title | An additional title field related to the email campaign (may be used internally or for display). |
Output
The node outputs JSON data representing the updated state of the email campaign after the update operation completes. This typically includes fields confirming the updated properties such as campaign ID, title, subject, content, and recipient settings.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to the Mindz API via an OAuth2-based API key credential configured in n8n.
- The node depends on the Mindz API being accessible and the provided credentials having sufficient permissions to update email campaigns.
Troubleshooting
- Invalid Email Campaign ID: If the specified campaign ID does not exist or is incorrect, the API will likely return an error. Verify the ID before running the node.
- Insufficient Permissions: Errors related to authorization may occur if the API key lacks update permissions. Ensure the credential has proper scopes.
- Empty Required Fields: Some fields like
Email Campaign IDare required; missing these will cause validation errors. - API Connectivity Issues: Network problems or API downtime can cause failures. Check connectivity and Mindz service status.
- Malformed Email Content: If the email content contains invalid HTML or unsupported formatting, the API might reject the update.
Links and References
- Mindz API Documentation (hypothetical link)
- n8n Documentation on Creating Custom Nodes
- OAuth2 Authentication Setup in n8n: OAuth2 Credentials
Note: The above summary is based solely on static analysis of the provided source code and property definitions.