- Each parent appears once in each section, even with two children in it.
- A parent with children in two sections appears in both.
- A Bcc row for each section holds every address, ready to paste.
This list does not know which parents have unsubscribed. For news to parents, send the email from Scoutworks instead, which does. Use this list for the jobs Scoutworks email cannot do for you.
1. Add the script
In your Google Sheet, choose Extensions → Apps Script. Delete what is there, paste the script below and choose Save.Code.gs
2. Add your key
In the script editor, choose Project Settings (the cog), then Script Properties → Add script property. Property:SCOUTWORKS_API_KEY. Value: the sandbox key to try it, or your own key.
3. Run it
Choose parentContacts in the toolbar and press Run. Open the Parent contacts tab. To email a section, copy the cell next to its Bcc row and paste it into the Bcc box of a new email. Always use Bcc, not To. Parents must not see each other’s addresses.4. Switch to your group
Changeapi-demo.scoutworks.app to api.scoutworks.app, and replace the sandbox key with your own. Your key needs members:read and members.contacts:read.
Notes
- The API sends a parent’s name and email only. It never sends phone numbers, addresses, health information or notes.
- A member’s main section decides where their parents appear. A young person moving on counts in their main section only.
- The same parent has the same
idfor each child, so brothers and sisters share one row.