Actions57
- Course Actions
- User Actions
- Assignment Actions
- Module Actions
- Page Actions
- Discussion Actions
- File Actions
- Announcement Actions
- Quiz Actions
- Submission Actions
- Enrollment Actions
- Group Actions
- Rubric Actions
Overview
This node integrates with the Canvas LMS API to manage course modules. Specifically, the "Module" resource with the "Create" operation allows users to create a new module within a specified course. This is useful for educators or administrators who want to programmatically organize course content into modules, facilitating structured learning paths.
Practical examples include:
- Automatically creating modules when setting up new courses.
- Adding modules based on external curriculum data.
- Integrating with other systems to synchronize course structure.
Properties
| Name | Meaning |
|---|---|
| Course ID | The unique identifier of the course in which the module will be created. |
| Module Name | The name/title of the module to be created. |
| Module Description | A textual description providing details about the module's content or purpose. |
Output
The node outputs JSON data under the json field containing the response from the Canvas API after creating the module. This typically includes details of the newly created module such as its ID, name, description, position, and other metadata returned by Canvas LMS.
No binary data output is involved in this operation.
Example output structure (simplified):
{
"data": {
"id": 123,
"name": "Module Name",
"description": "Module Description",
"position": 1,
...
}
}
Dependencies
- Requires an API key credential for authenticating with the Canvas LMS API.
- The node uses the Canvas LMS base URL and access token configured in the credentials.
- No additional external dependencies are required beyond the Canvas API access.
Troubleshooting
Common issues:
- Invalid or missing Course ID: Ensure the Course ID corresponds to an existing course in Canvas.
- Insufficient permissions: The API token must have rights to create modules in the specified course.
- Network or authentication errors: Verify API credentials and network connectivity.
Error messages:
"Error in "module" operation "create": <message>": Indicates failure during the module creation request. Check the message for specifics like invalid parameters or authorization failures.- API rate limits or timeouts may cause errors; retry or adjust polling intervals accordingly.