Related Product
Services
Is your feature request related to a problem? Please describe.
We're automating volunteer scheduling for our church's worship teams. A Google Sheet
holds which worship leader is assigned to each Sunday; a small service reads it and
writes the corresponding team to the matching plan via
POST /services/v2/service_types/{st}/plans/{plan}/team_members. That part works well.
The one step we cannot automate is the last one: actually notifying the people we
just scheduled. As confirmed in #1475, the Accept/Decline buttons are appended by
Services when the scheduling email is sent from the UI and are not part of the email
template, and there is no supported way to send scheduling emails from the API. #1273
and #500 reach the same conclusion from different angles.
So every week someone has to open each plan in the browser and click Send, purely to
trigger an email whose content and recipients our integration already determined.
It's the only manual step in an otherwise fully automated pipeline, and when it's
forgotten the volunteers are silently left unnotified — they can't see the plan and
can't respond.
Describe the solution you'd like
An endpoint that triggers the same scheduling email the UI sends, e.g.:
POST /services/v2/service_types/{service_type_id}/plans/{plan_id}/send_scheduling_emails
with an optional body such as:
{
"email_template_id": "...", // optional, falls back to the default
"plan_person_ids": ["...", "..."], // optional, defaults to everyone with a
// prepared notification on this plan
"message": "..." // optional, the free-text part
}
The key requirement is that the resulting email is the real scheduling email —
with the Accept/Decline buttons — not a rendered template we send ourselves.
Being able to select the email template in that call matters to us: we have a
campus-specific template that our volunteers recognise, and it's currently only
selectable in the plan's email popup.
Describe alternatives you've considered
Additional context
A narrower version would still solve our problem completely: an endpoint that just
sends the outstanding prepared notifications for a given plan, with no template or
body parameters at all (this is essentially #1273). That would let integrations finish
the job they started, and the "choose a template and edit the message" flow could stay
UI-only.
Happy to share more about our setup if it helps you weigh this.
I have..
Related Product
Services
Is your feature request related to a problem? Please describe.
We're automating volunteer scheduling for our church's worship teams. A Google Sheet
holds which worship leader is assigned to each Sunday; a small service reads it and
writes the corresponding team to the matching plan via
POST /services/v2/service_types/{st}/plans/{plan}/team_members. That part works well.The one step we cannot automate is the last one: actually notifying the people we
just scheduled. As confirmed in #1475, the Accept/Decline buttons are appended by
Services when the scheduling email is sent from the UI and are not part of the email
template, and there is no supported way to send scheduling emails from the API. #1273
and #500 reach the same conclusion from different angles.
So every week someone has to open each plan in the browser and click Send, purely to
trigger an email whose content and recipients our integration already determined.
It's the only manual step in an otherwise fully automated pipeline, and when it's
forgotten the volunteers are silently left unnotified — they can't see the plan and
can't respond.
Describe the solution you'd like
An endpoint that triggers the same scheduling email the UI sends, e.g.:
with an optional body such as:
The key requirement is that the resulting email is the real scheduling email —
with the Accept/Decline buttons — not a rendered template we send ourselves.
Being able to select the email template in that call matters to us: we have a
campus-specific template that our volunteers recognise, and it's currently only
selectable in the plan's email popup.
Describe alternatives you've considered
GET /services/v2/email_templates/{id}/renderand sending it through our own mailhost — ruled out in Services - Add Accept or Deny button to email template for volunteers scheduled to serve #1475: the Accept/Decline buttons aren't part of the template,
and self-sent mail can't carry PCO's response links.
prepare_notification: false— this only removes thepenciled-in state so people can see the plan; it doesn't send anything.
team_remindersonplan_times(suggested in Services - Add Accept or Deny button to email template for volunteers scheduled to serve #1475and Is there a Services endpoint to show scheduled reminder emails? #1347). These do include Accept/Decline buttons and we will use them as a safety
net, but they only go out up to 7 days before the service. We schedule 3–4 weeks
ahead, so volunteers can't respond until the last week, and the leader has no time
left to find a replacement for anyone who declines. The template also can't be
chosen for reminders.
Additional context
A narrower version would still solve our problem completely: an endpoint that just
sends the outstanding prepared notifications for a given plan, with no template or
body parameters at all (this is essentially #1273). That would let integrations finish
the job they started, and the "choose a template and edit the message" flow could stay
UI-only.
Happy to share more about our setup if it helps you weigh this.
I have..