Actions116
- 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
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List Actions
- Enroll 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 perform various operations on different resources. Specifically, for the Course resource and the Get operation, it retrieves detailed information about a specific course identified by its Course ID. This is useful in scenarios where you need to fetch course details dynamically within an automation workflow, such as displaying course info, validating course existence before enrollment, or integrating course data into other systems.
Practical examples:
- Fetching course details to display in a dashboard.
- Retrieving course metadata before updating or deleting it.
- Using course information to trigger notifications or further processing.
Properties
| Name | Meaning |
|---|---|
| Course ID | The unique identifier of the course to retrieve. This is a required string input field. |
Output
The output of the node is a JSON object containing the detailed information of the requested course. The structure typically includes all relevant course attributes as returned by the Mindz API, such as course name, description, status, pricing, and other metadata.
If the node supports binary data output (not indicated explicitly here), it would represent any associated files or media related to the course, but this is not evident from the provided code.
Dependencies
- Requires an active connection to the Mindz API via an OAuth2 API credential configured in n8n.
- The node depends on the Mindz API being accessible and the provided Course ID being valid.
- No additional external dependencies are indicated.
Troubleshooting
Common issues:
- Invalid or missing Course ID will likely cause the API call to fail.
- Network connectivity problems or invalid API credentials can prevent successful execution.
- If the specified course does not exist, the API may return an error or empty response.
Error messages and resolutions:
- "Course not found" — Verify that the Course ID is correct and exists in the Mindz system.
- Authentication errors — Check that the OAuth2 API credential is properly set up and has not expired.
- Network errors — Ensure that your environment has internet access and the Mindz API endpoint is reachable.
Links and References
- Mindz API Documentation (Replace with actual URL if available)
- n8n OAuth2 Credential Setup Guide: https://docs.n8n.io/credentials/oauth2/
- n8n Node Development Documentation: https://docs.n8n.io/integrations/creating-nodes/