Mindz icon

Mindz

Interact with Mindz API

Actions116

Overview

The "Course Teacher" resource with the "Create" operation allows users to add a new teacher to a specific course within the Mindz platform. This node is useful in educational or training management scenarios where administrators or course managers need to assign teaching roles dynamically via automation workflows. For example, when onboarding a new instructor, this node can automatically link their user ID to a course and set their permissions such as visualization rights, tutoring, grading, and access to financial or community notifications.

Properties

Name Meaning
Course ID The unique identifier of the course to which the teacher will be added.
User ID The unique identifier of the user who will be assigned as a teacher for the course.
Teacher Visualization Boolean flag indicating if the teacher can view the course content.
Tutor Boolean flag indicating if the teacher has tutor privileges.
Grader Boolean flag indicating if the teacher can grade assignments or exams.
Profile Viewer Boolean flag indicating if the teacher can view student profiles.
News Boolean flag indicating if the teacher can manage course-related news.
Financial Boolean flag indicating if the teacher has access to financial information related to the course.
Community Notification Boolean flag indicating if the teacher receives community notifications related to the course.

Output

The node outputs JSON data representing the newly created course teacher record. This typically includes confirmation details such as the teacher's user ID, assigned roles/permissions, and the associated course ID. The output does not include binary data.

Dependencies

  • Requires an active connection to the Mindz API using an OAuth2-based API key credential.
  • The node depends on proper configuration of the Mindz API credentials within n8n.
  • Network connectivity to the Mindz service endpoint is necessary.

Troubleshooting

  • Common Issues:

    • Missing or invalid Course ID or User ID parameters will cause the creation to fail.
    • Insufficient permissions in the API credentials may result in authorization errors.
    • Network issues or incorrect API endpoint configuration can lead to request failures.
  • Error Messages:

    • "Invalid Course ID" — Verify that the provided course ID exists and is correctly formatted.
    • "User not found" — Ensure the user ID corresponds to a valid user in the system.
    • "Unauthorized" — Check that the API credentials have sufficient permissions to create course teachers.
    • "Request timeout or network error" — Confirm network connectivity and API endpoint accessibility.

Links and References

Discussion