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 groups within courses. Specifically, the Group - Update operation allows users to update an existing group in a specified course by changing its name and/or description.
Common scenarios where this node is beneficial include:
- Updating group details after organizational changes in a course.
- Correcting or enhancing group descriptions for clarity.
- Renaming groups to reflect new project names or team structures.
For example, if a teacher wants to rename a study group or update its description to include new meeting times, this node can perform that update programmatically via the Canvas API.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the group to update. |
| Group Name | The new name to assign to the group. |
| Group Description | A textual description of the group, which can be used to provide additional information. |
Output
The node outputs JSON data under the json field containing a data property. This data property holds the response from the Canvas API representing the updated group object. The structure typically includes the group's updated attributes such as its ID, name, description, and other metadata returned by Canvas.
No binary data output is produced by this operation.
Example output snippet (simplified):
{
"data": {
"id": "123",
"name": "Updated Group Name",
"description": "Updated description of the group",
...
}
}
Dependencies
- Requires an API key credential for authenticating with the Canvas LMS API.
- The node expects the Canvas instance URL and access token to be configured in the credentials.
- Network connectivity to the Canvas LMS API endpoint is necessary.
Troubleshooting
- Invalid Group ID: If the provided Group ID does not exist or is incorrect, the API will return an error. Verify the Group ID is correct and belongs to the specified course.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to update groups.
- Missing Required Fields: Both Group ID and Group Name are required. Omitting these will cause errors.
- API Rate Limits: Frequent updates may hit Canvas API rate limits; handle errors accordingly and consider retry logic.
- Permission Denied: The authenticated user must have rights to modify groups in the course.
Common error messages:
"Error in "group" operation "update": <message>"indicates an issue during the update call, often due to invalid parameters or authentication problems."Failed to poll Canvas API"is unrelated to this operation but may appear if polling triggers are misconfigured.