Mindz icon

Mindz

Interact with Mindz API

Actions115

Overview

The node interacts with the Mindz API to manage enrollment records. Specifically, the Enroll - Update operation updates an existing enrollment entry identified by its Enroll ID. This update can modify fields such as the expiry date of the enrollment and the associated payment ID.

This node is useful in scenarios where you need to programmatically adjust enrollment details, for example:

  • Extending or shortening a user's course access period by changing the expiry date.
  • Linking or updating payment information related to an enrollment after a transaction is processed.

Practical examples include automating subscription renewals, correcting payment references, or managing user access durations dynamically within workflows.

Properties

Name Meaning
Enroll ID The unique identifier of the enrollment record to update.
Expiry Date The new expiration date/time for the enrollment access.
Payment ID The numeric identifier of the payment associated with this enrollment (e.g., transaction).

Output

The node outputs JSON data representing the updated enrollment record as returned by the Mindz API. This typically includes the updated fields such as the enrollment ID, expiry date, payment ID, and possibly other metadata about the enrollment.

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 configured in n8n.
  • The node depends on the Mindz API being accessible and the provided credentials having sufficient permissions to update enrollments.

Troubleshooting

  • Common issues:

    • Invalid or missing Enroll ID will cause the update to fail.
    • Providing incorrectly formatted dates for Expiry Date may result in API errors.
    • Insufficient permissions or expired API tokens can lead to authentication failures.
  • Error messages and resolutions:

    • "Enrollment not found": Verify that the Enroll ID exists and is correct.
    • "Invalid date format": Ensure the Expiry Date is provided in ISO 8601 format or as expected by the API.
    • "Unauthorized" or "Authentication failed": Check that the API credentials are valid and have not expired.

Links and References

Discussion