Mindz icon

Mindz

Interact with Mindz API

Actions116

Overview

The node interacts with the Mindz API to retrieve pricing information for a specific course. It is designed to fetch the price details of a course identified by its unique Course ID. This functionality is useful in scenarios where you need to dynamically obtain course pricing within an automation workflow, such as displaying current prices, comparing costs, or integrating pricing data into billing or reporting systems.

Practical example:
You have an e-learning platform and want to automate sending promotional emails that include up-to-date course prices. Using this node operation, you can fetch the latest price for each course and include it in your email content dynamically.

Properties

Name Meaning
Course ID The unique identifier of the course whose price you want to retrieve. This is a required string input.

Output

The node outputs JSON data containing the price information of the specified course. The exact structure depends on the Mindz API response but typically includes fields such as the course price amount, currency, discounts if any, and possibly other related pricing metadata.

If the node supports binary data output (not indicated here), it would typically represent downloadable content or attachments related to the course pricing, but this is not applicable based on the provided code and properties.

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.
  • Proper configuration of the "mindzOAuth2Api" credential in n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Invalid or missing Course ID will cause the operation to fail or return no data.
    • Authentication errors if the API credentials are incorrect or expired.
    • Network connectivity problems preventing access to the Mindz API.
  • Error messages and resolutions:

    • "Unauthorized" or "Authentication failed": Verify and update the API credentials in n8n.
    • "Course not found": Check that the Course ID is correct and exists in the Mindz system.
    • Timeout or network errors: Ensure stable internet connection and that the Mindz API endpoint is reachable.

Links and References

Discussion