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 interacts with the Canvas LMS API to manage submissions, specifically allowing you to grade a submission for an assignment in a course. It is useful in educational automation workflows where grading needs to be updated programmatically based on external triggers or batch processes.
For example, after automatically evaluating student assignments using an external tool, this node can update the grade of a student's submission in Canvas without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Course ID | The unique identifier of the course containing the assignment. |
| Assignment ID | The unique identifier of the assignment for which the submission was made. |
| User ID | The unique identifier of the user (student) whose submission is being graded. |
| Grade | The grade to assign to the submission (e.g., "A", "B", "95", etc.). |
Output
The node outputs a JSON object under the json field containing the response from the Canvas API after grading the submission. This typically includes details about the updated grade and submission status.
Example output structure:
{
"data": {
// Canvas API response fields related to the graded submission
}
}
No binary data output is produced by this operation.
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
Common issues:
- Invalid or expired API token: Ensure the API key credential is valid and has sufficient permissions to grade submissions.
- Incorrect IDs: Verify that the Course ID, Assignment ID, and User ID are correct and correspond to existing entities in Canvas.
- Permission errors: The API token must have grading privileges for the specified course and assignment.
Error messages:
"Error in "submission" operation "grade": ..."indicates a failure during the grading API call. Check the error message for specifics such as authentication failure or invalid parameters.- Network or timeout errors may occur if the Canvas API is unreachable; verify network settings.