Skip to main content
Sometimes you need a list of parents outside Scoutworks. For example, to invite parents to a meeting from the group’s own email account, or to give a camp leader the emails of the parents in their section. This recipe builds that list in a Google Sheet.
  • 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.
It takes about five minutes.
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

Change api-demo.scoutworks.app to api.scoutworks.app, and replace the sandbox key with your own. Your key needs members:read and members.contacts:read.
This sheet holds the names and emails of every parent in your group. Keep it private to the leaders who need it. Delete the tab when you no longer need it. Your group’s data protection policy applies to this copy too.

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 id for each child, so brothers and sisters share one row.