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 integrates with the Mindz API to manage enrollments of students in courses. Specifically, the Enroll - Create operation allows users to enroll a student into a course by providing necessary identifiers and optional metadata such as expiry date and payment information.
This node is beneficial in educational platforms or learning management systems where automated enrollment workflows are needed. For example, after a student completes a payment, this node can be used to automatically create their enrollment record in the system, setting an expiration date for access if applicable.
Properties
| Name | Meaning |
|---|---|
| Student ID | The unique numeric identifier of the student to enroll. |
| Course ID | The unique numeric identifier of the course into which the student will be enrolled. |
| Expiry Date | (Optional) The date and time when the enrollment expires, controlling access duration. |
| Payment ID | (Optional) The numeric identifier of the payment associated with this enrollment. |
Output
The node outputs JSON data representing the result of the enrollment creation request. This typically includes details about the newly created enrollment such as its ID, linked student and course IDs, expiry date, payment reference, status, and timestamps.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Mindz API via an OAuth2-based authentication credential.
- The node depends on the Mindz API service being available and accessible.
- Proper API credentials must be configured in n8n to authorize requests.
Troubleshooting
Common Issues:
- Missing required fields like Student ID or Course ID will cause the operation to fail.
- Invalid or expired API credentials will prevent successful communication with the Mindz API.
- Network connectivity issues may lead to timeouts or failed requests.
- Providing invalid date formats for Expiry Date might cause errors.
Error Messages and Resolutions:
- "Authentication failed" — Check that the API key or OAuth token is valid and has not expired.
- "Missing required parameter" — Ensure all mandatory fields (Student ID, Course ID) are provided.
- "Invalid date format" — Use ISO 8601 format for the Expiry Date field.
- "Resource not found" — Verify that the provided Student ID and Course ID exist in the Mindz system.
Links and References
- Mindz API Documentation (hypothetical link)
- n8n OAuth2 Credential Setup Guide
- ISO 8601 Date Format Reference