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 retrieve the score of a specific course. This operation is useful in scenarios where you want to programmatically access performance metrics or scoring details related to a course within the Mindz platform. For example, an educator or administrator might use this node to fetch the current score of a course to display it on a dashboard, trigger notifications based on score thresholds, or integrate course scoring data into other systems.
Properties
| Name | Meaning |
|---|---|
| Course ID | The unique identifier of the course for which the score is to be retrieved. This is a required string input. |
Output
The output JSON contains the score information of the specified course as returned by the Mindz API. The exact structure depends on the API response but typically includes fields such as the course ID, score value, and possibly additional metadata about the scoring context.
If the node supports binary data output (not indicated here), it would represent any associated files or media related to the course score, but this is not evident from the provided code.
Dependencies
- Requires an active connection to the Mindz API.
- Needs an API authentication token or OAuth2 credential configured in n8n to authorize requests to the Mindz service.
- The node relies on internal resource modules (e.g.,
./Resources/course) that implement the actual API calls.
Troubleshooting
Common Issues:
- Invalid or missing Course ID: Ensure the Course ID is correctly provided and corresponds to an existing course.
- Authentication errors: Verify that the API credentials are valid and have sufficient permissions.
- Network or API downtime: Check connectivity and Mindz API status.
Error Messages:
- "Course ID is required": Indicates the Course ID parameter was not set.
- "Unauthorized" or "Authentication failed": Suggests issues with API credentials.
- "Course not found": The specified Course ID does not exist or is inaccessible.
Resolving these usually involves verifying input parameters, refreshing credentials, and ensuring the Mindz API is operational.
Links and References
- Mindz API Documentation (Replace with actual URL)
- n8n OAuth2 Credential Setup Guide: https://docs.n8n.io/credentials/oauth2/
- n8n Node Development Documentation: https://docs.n8n.io/integrations/creating-nodes/