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 "Clone Course" operation in this node allows users to create a duplicate of an existing course within the Mindz platform, assigning it a new name. This is useful when you want to replicate the structure and content of a course without manually recreating it from scratch. Common scenarios include creating similar courses for different audiences, testing changes on a copy before applying them to the original, or quickly generating multiple versions of a course with slight variations.
For example, an educational organization might clone a popular course to customize it for a new language or region while preserving the original content.
Properties
| Name | Meaning |
|---|---|
| Course ID | The unique identifier of the existing course that you want to clone. |
| Name | The new name to assign to the cloned course. |
Output
The output of the clone operation will be a JSON object representing the newly created course. This typically includes details such as the new course's ID, name, and other metadata returned by the Mindz API after cloning. The exact structure depends on the API response but generally confirms the successful creation of the cloned course.
No binary data output is expected from this operation.
Dependencies
- Requires an active connection to the Mindz API.
- Requires an API authentication token configured in n8n credentials (an OAuth2 or similar API key credential).
- The node depends on the Mindz API endpoints related to course management, specifically the clone functionality.
Troubleshooting
- Invalid Course ID: If the provided Course ID does not exist or is incorrect, the API will likely return an error indicating the course was not found. Verify the Course ID is correct.
- Missing Required Fields: Both "Course ID" and "Name" are required. Omitting either will cause validation errors.
- API Authentication Errors: Ensure the API credentials are valid and have sufficient permissions to clone courses.
- Rate Limits or API Downtime: If the Mindz API is temporarily unavailable or rate-limited, cloning may fail. Retry after some time or check API status.
- Name Conflicts: If the new course name conflicts with existing courses (depending on API rules), the operation might fail or require a unique name.
Links and References
- Mindz API Documentation (general reference for course operations): [Link not provided in source]
- n8n Documentation on Custom Nodes and API Integration: https://docs.n8n.io/
- OAuth2 Credential Setup in n8n: https://docs.n8n.io/credentials/oauth2/
Note: Specific Mindz API documentation links were not included in the source code.