Actions115
- 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
- Enroll Actions
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List 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 an email campaign’s subject line or content before sending it out, or toggle whether the campaign targets all users or a specific segment.
Practical examples:
- Automatically updating the email content of a campaign before scheduling it.
- Changing the email subject line based on recent promotions or events.
- Switching the recipient scope from selected users to all users programmatically.
Properties
| Name | Meaning |
|---|---|
| Email Campaign ID | The unique identifier of the email campaign to update. |
| Title | The new title for the email campaign. |
| Email Subject | The subject line of the email that recipients will see. |
| Email Content | The HTML or text content body of the email campaign. |
| All Users Are Selected | Boolean flag indicating if the campaign should be sent to all users (true) or not (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 email campaign object returned by the Mindz API after the update operation. This typically includes fields such as the campaign ID, updated title, subject, content, recipient settings, status, timestamps, and any other metadata provided by the API.
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 credentials having sufficient permissions to update email campaigns.
Troubleshooting
- Invalid Email Campaign ID: If the provided campaign ID does not exist or is malformed, the API will likely return an error. Verify the ID is correct and corresponds to an existing campaign.
- Permission Denied: Insufficient API permissions can cause authorization errors. Ensure the API key has rights to update email campaigns.
- Empty Required Fields: Some fields may be required by the API even if optional in the node UI. Check the API documentation for mandatory fields when updating.
- API Connectivity Issues: Network problems or incorrect endpoint configuration can cause failures. Confirm network access and credential validity.
- Boolean Field Misuse: The
All Users Are Selectedproperty must be a boolean; passing invalid types may cause errors.
Links and References
- Mindz API Documentation (hypothetical link)
- n8n OAuth2 Credential Setup
- Email Marketing Best Practices