- For: trustees and group admins
- You get: the risk register, overdue premises audits, open fire-safety actions and this year’s budgets, in one workbook
- Time: about fifteen minutes
- Scopes:
compliance:readandaccounting:read
- Risks: the active risks, highest score first, with the reviews that are overdue.
- Premises: the latest Safe Scouting audit of each premises, with its open and overdue actions.
- Fire safety: each current fire risk assessment, with its open and overdue actions.
- Budgets: this accounting year’s budgets, with what each has spent or raised.
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. Choose Save script properties.
3. Run it
Choose buildBoardPack in the toolbar and press Run. Google asks for permission the first time. Then open the four tabs. To refresh it every morning, choose Triggers (the clock), then Add Trigger. Function:buildBoardPack. Event source: Time-driven. Type: Day timer. Time: 6am to 7am. A daily run matters here: a review or action that becomes overdue because a date passed is not a change the API reports, so only a fresh read shows it.
4. Switch to your group
Changeapi-demo.scoutworks.app to api.scoutworks.app, and replace the sandbox key with your own. Your key needs compliance:read and accounting:read. Give it no other scope: the board pack needs no names.
What is not in the pack
- No names. A risk’s owner shows as the roles they hold, for example
trustee. A safeguarding risk shows no title, because a title can describe a concern. - No descriptions, mitigations, audit answers or findings’ text. The pack gives counts and dates. Open the risk or audit in Scoutworks to read the detail.
- Bank balances. To add them, read
GET /bank-accountswith the same key and add a fifth tab.
Excel instead
Use the full version in Events in Excel, with your key and these addresses in place of the events address. Make one query for each tab.
The budgets list holds every accounting year. Filter its
periodId column to the id of this year in the accounting years query. The API reference lists every field.