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 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
- Mindz API Documentation (hypothetical link, replace with actual if available)
- n8n OAuth2 Credential Setup Guide: https://docs.n8n.io/credentials/oauth2/