Mindz icon

Mindz

Interact with Mindz API

Actions116

Overview

The "Course Update" operation in this node allows users to modify the details of an existing course within the Mindz platform. This is useful for keeping course information current, such as updating descriptions, pricing, visibility, enrollment status, and various feature flags.

Typical scenarios include:

  • Changing the course price or launch date.
  • Updating marketing materials like banners or videos.
  • Adjusting enrollment settings (e.g., open/close enrollment).
  • Modifying course metadata such as tags, categories, or access duration.
  • Enabling or disabling specific course features like FAQs or icons.

For example, a user might update a course to add a new syllabus, change its visibility to public, or set it as a lead course to attract more students.

Properties

Name Meaning
Course ID The unique identifier of the course to update (required).
Description Full description text of the course.
Name The name/title of the course.
Lead Whether the course is marked as a lead. Options: Keep Current Value, Yes (set as lead), No (unset as lead).
Category The category under which the course is classified.
Short Description A brief summary or tagline for the course.
Syllabus The syllabus content or outline of the course.
Video URL or identifier for a video associated with the course.
Launch Date The date when the course is launched or made available.
Image URL or identifier for the main image representing the course.
Created Creation timestamp or date of the course.
Redirect URL to redirect users to, possibly after enrollment or other actions.
Price The price of the course.
Visibility Visibility status of the course (e.g., public, private).
Password Password required to access the course, if any.
Slug URL-friendly string identifier for the course.
Upgrade To Identifier of another course to which this course can be upgraded.
Upgrade Price Price difference or cost to upgrade to another course.
Access Days Number of days the course is accessible after enrollment.
Number of Installments Number of payment installments allowed for the course.
FAQ Active Whether the FAQ section is active. Options: Keep Current Value, Yes, No.
FAQ Base Questions Whether to use base questions in the FAQ. Options: Keep Current Value, Yes, No.
Client Limit Count Maximum number of clients allowed for the course.
Client Limit With Bank Slip Whether client limit applies when paying with bank slip. Options: Keep Current Value, Yes, No.
Members Description Description related to course members.
Original Banner URL or identifier for the original banner image.
Main Banner URL or identifier for the main banner image.
Small Banner URL or identifier for the small banner image.
Vertical Card URL or identifier for vertical card image representation.
Horizontal Card URL or identifier for horizontal card image representation.
Show Gradient Whether to show gradient overlay on course visuals. Options: Keep Current Value, Yes, No.
Open To Enroll Whether the course is open for enrollment. Options: Keep Current Value, Yes, No.
Workload Numeric value representing the workload (e.g., hours) of the course.
Features Icon Permanent Access Whether to show the permanent access icon. Options: Keep Current Value, Yes, No.
Features Icon Questions Whether to show the questions icon. Options: Keep Current Value, Yes, No.
Features Icon Certificate Whether to show the certificate icon. Options: Keep Current Value, Yes, No.
Features Icon Pratical Certificate Whether to show the practical certificate icon. Options: Keep Current Value, Yes, No.
Features Icon Exercises Whether to show the exercises icon. Options: Keep Current Value, Yes, No.
Tag Red Custom tag text for red color label.
Tag Orange Custom tag text for orange color label.
Tag Yellow Custom tag text for yellow color label.
Tag Olive Custom tag text for olive color label.
Tag Green Custom tag text for green color label.
Tag Teal Custom tag text for teal color label.
Tag Blue Custom tag text for blue color label.
Tag Violet Custom tag text for violet color label.
Tag Purple Custom tag text for purple color label.
Tag Pink Custom tag text for pink color label.
Tag Brown Custom tag text for brown color label.
Tag Grey Custom tag text for grey color label.
Tag Black Custom tag text for black color label.

Output

The node outputs JSON data representing the updated course object as returned by the Mindz API. This typically includes all the course properties after the update, confirming the changes applied.

If the node supports binary data output (not indicated here), it would represent files or media related to the course, but this operation primarily deals with JSON data.

Dependencies

  • Requires an API key credential configured in n8n for authenticating with the Mindz API.
  • The node depends on the Mindz platform's REST API endpoints for courses.
  • Proper network connectivity to the Mindz API service is necessary.

Troubleshooting

  • Invalid Course ID: If the provided Course ID does not exist, the API will likely return an error indicating the resource was not found. Verify the Course ID is correct.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key or OAuth2 token is correctly configured.
  • Validation Errors: Providing invalid values for fields (e.g., non-numeric where numbers are expected) may result in validation errors from the API.
  • Permission Issues: Insufficient permissions for the API user may prevent updates. Confirm that the API user has rights to modify courses.
  • Keep Current Value Option: For boolean options with "Keep Current Value," ensure you select this if you do not want to change that field; otherwise, the field may be overwritten unintentionally.

Links and References

Discussion