Mindz icon

Mindz

Interact with Mindz API

Actions116

Overview

The node provides integration with the Mindz API, specifically allowing management of various resources such as enrollments, users, courses, teams, payments, subscriptions, and email campaigns. For the Enroll - Create operation, it enables creating a new enrollment record that associates a student with a course, optionally including an expiry date and payment reference.

This node is beneficial in educational or training platforms where automated enrollment management is needed. For example, when a student purchases a course, this node can be used to create their enrollment automatically, setting access expiration and linking payment details.

Properties

Name Meaning
Student ID The unique identifier (number) of the student to enroll in the course.
Course ID The unique identifier (number) 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 unique identifier (number) of the payment associated with this enrollment.

Output

The node outputs JSON data representing the created enrollment record. This typically includes details such as the enrollment ID, student ID, course ID, expiry date, payment ID, timestamps, and status information returned by the Mindz 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.
  • The node depends on proper configuration of the Mindz OAuth2 API credentials within n8n.
  • Network connectivity to the Mindz API endpoint is necessary.

Troubleshooting

  • Common Issues:

    • Missing required fields like Student ID or Course ID will cause errors.
    • Invalid or expired API credentials will result in authentication failures.
    • Incorrect date format for Expiry Date may cause request rejection.
    • Network issues or API downtime can lead to request timeouts or failures.
  • Error Messages & Resolutions:

    • "Authentication failed" — Verify and refresh the API credentials.
    • "Missing required parameter" — Ensure Student ID and Course ID are provided.
    • "Invalid date format" — Use ISO 8601 format for Expiry Date.
    • "Resource not found" — Confirm that the provided Student ID and Course ID exist in Mindz.

Links and References

Discussion