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, allowing users to manage various resources such as enrollments, users, teams, courses, email campaigns, and more. Specifically, for the Email Campaign resource, the Duplicate operation enables creating a copy of an existing email campaign by specifying its ID. This is useful when you want to replicate an email campaign's settings and content without manually recreating it, saving time and ensuring consistency.
Practical examples:
- Quickly duplicating a successful promotional email campaign to target a new audience.
- Creating a backup of an email campaign before making significant changes.
- Generating multiple similar campaigns with slight variations.
Properties
| Name | Meaning |
|---|---|
| Email Campaign ID | The unique identifier of the email campaign to duplicate. This is required to specify which campaign to copy. |
Output
The node outputs JSON data representing the duplicated email campaign. This typically includes all details of the newly created campaign such as its ID, name, status, and other metadata returned by the Mindz API after duplication.
If the node supports binary data output (not indicated here), it would represent attachments or media related to the campaign, but this is not evident from the provided code.
Dependencies
- Requires an active connection to the Mindz API using an OAuth2-based API key credential.
- The node depends on the Mindz API being accessible and properly authenticated.
- No additional environment variables are explicitly required beyond the API authentication setup.
Troubleshooting
- Invalid Email Campaign ID: If the provided ID does not exist or is malformed, the API will likely return an error indicating the campaign was not found. Verify the ID is correct.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the OAuth2 API key credential is correctly configured.
- API Rate Limits: Excessive requests may be throttled by the Mindz API. Implement retry logic or reduce request frequency if encountering rate limit errors.
- Network Issues: Connectivity problems can prevent communication with the Mindz API. Check network access and proxy settings if applicable.
Links and References
- Mindz API Documentation (Replace with actual URL)
- n8n OAuth2 Credential Setup Guide: https://docs.n8n.io/credentials/oauth2/
- General n8n Node Development: https://docs.n8n.io/integrations/creating-nodes/