Mindz icon

Mindz

Interact with Mindz API

Actions115

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

Discussion