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 create announcements within a specified course. It allows users to programmatically add new announcements by providing essential details such as the course ID, announcement title, and message content. This is particularly useful for educators or administrators who want to automate communication with students, for example, sending updates about assignments, events, or important notices without manually logging into the Canvas interface.
Practical examples include:
- Automatically posting announcements when a new assignment is published.
- Sending reminders or alerts to students based on external triggers.
- Integrating Canvas announcements with other systems like email or messaging platforms.
Properties
| Name | Meaning |
|---|---|
| Course ID | The unique identifier of the course where the announcement will be created. |
| Announcement Title | The title or headline of the announcement to be posted. |
| Announcement Message | The main body text or message content of the announcement. |
Output
The node outputs a JSON object containing the data returned from the Canvas API after creating the announcement. The structure is:
{
"data": {
// Announcement details as returned by Canvas API,
// including fields like id, title, message, posted_at, etc.
}
}
This output includes all relevant information about the newly created announcement, which can be used in subsequent workflow steps.
The node does not output binary data.
Dependencies
- Requires an API key credential for authenticating with the Canvas LMS API.
- The Canvas LMS instance URL and access token must be configured in the node's credentials.
- Network access to the Canvas LMS API endpoint is necessary.
Troubleshooting
Common issues:
- Invalid or missing Course ID: Ensure the Course ID corresponds to an existing course in Canvas.
- Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
- Missing required fields (title or message): These must be provided; otherwise, the API call will fail.
Error messages:
- Errors from the Canvas API are wrapped and reported with context, e.g.,
Error in "announcement" operation "create": <message>. - If the node is set to continue on failure, errors will appear in the output JSON under an
errorfield for the respective item.
- Errors from the Canvas API are wrapped and reported with context, e.g.,
Resolution:
- Double-check input parameters for correctness.
- Confirm API credentials and permissions.
- Review Canvas API documentation for any changes or additional requirements.