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 various resources, including courses. Specifically, for the Course resource and the Price operation, it allows users to set or update pricing details of a course. This includes specifying the course price, the maximum number of payment installments allowed, and whether those installments include interest.
This node is beneficial in scenarios where you need to automate course pricing updates within your Mindz platform, such as adjusting prices during promotions, setting installment plans dynamically based on user input, or integrating course pricing management into broader workflows.
Practical example:
You could use this node to automatically update the price of a course when a new marketing campaign starts, setting a discounted price and enabling installment payments with interest if desired.
Properties
| Name | Meaning |
|---|---|
| Course ID | The unique identifier of the course to update the price for. |
| Price | The price of the course (number with two decimal precision). |
| Max Number of Installments | The maximum number of installments allowed for payment (number with two decimal precision). |
| Installments With Interest | Boolean flag indicating whether the installments should include interest charges. |
Output
The node outputs JSON data representing the result of the price update operation on the specified course. This typically includes confirmation of the updated price details, such as the course ID, new price, installment settings, and any relevant status messages 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 the Mindz API being accessible and properly authenticated.
- No additional external services are required beyond the Mindz API.
Troubleshooting
Common issues:
- Invalid or missing Course ID: Ensure the Course ID provided exists and is correctly formatted.
- Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
- Network or API downtime: Check connectivity to the Mindz API endpoint.
Common error messages:
- "Unauthorized" or "Authentication failed": Indicates invalid or expired API credentials; reauthenticate or update credentials.
- "Course not found": The specified Course ID does not exist; verify the ID.
- "Invalid price value": The price must be a positive number with up to two decimals; correct the input.
- "Installment parameters invalid": Ensure max number of installments is a non-negative number and the interest flag is boolean.
Resolving these usually involves verifying input parameters, checking API credentials, and ensuring network connectivity.
Links and References
- Mindz API Documentation (hypothetical link)
- n8n Documentation on Creating Custom Nodes
- OAuth2 Authentication in n8n: OAuth2 Credentials