send_bulk_messages_from_list
Send personalized messages to multiple recipients in a Canvas course using customizable templates with placeholders for dynamic content.
Instructions
Send customized messages to multiple recipients using templates.
Args:
course_identifier: Canvas course ID
recipient_data: List of dicts with recipient info and custom data
subject_template: Subject template with placeholders (e.g., "Reminder - {missing_count} reviews")
body_template: Body template with placeholders (e.g., "Hi {name}, you have {missing_count}...")
context_code: Course context
mode: "sync" or "async"
Returns:
Results of bulk message sending
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body_template | Yes | ||
context_code | No | ||
course_identifier | Yes | ||
mode | No | sync | |
recipient_data | Yes | ||
subject_template | Yes |
Input Schema (JSON Schema)
{
"properties": {
"body_template": {
"title": "Body Template",
"type": "string"
},
"context_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Context Code"
},
"course_identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Course Identifier"
},
"mode": {
"default": "sync",
"title": "Mode",
"type": "string"
},
"recipient_data": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Recipient Data",
"type": "array"
},
"subject_template": {
"title": "Subject Template",
"type": "string"
}
},
"required": [
"course_identifier",
"recipient_data",
"subject_template",
"body_template"
],
"type": "object"
}