- For: section leaders
- You get: a Badge board sheet that gains a row each time a badge is awarded
- Time: about fifteen minutes
- Scopes:
badges:read
The sandbox group cannot send webhooks, so build this on your own group. Send test event in Scoutworks checks the address; it names no real badge record, so the GET step answers
404.1. Make the sheet
Create a Google Sheet called Badge board, with these headings in row 1:2. Catch the webhook
1
Choose the trigger
Create a Zap. For the trigger, choose Webhooks by Zapier, then Catch Hook. Copy the web address Zapier shows.
2
Add the address to Scoutworks
In Scoutworks, a group admin opens Settings → Integrations → Webhooks, adds the address from Zapier and ticks
badge.awarded.3. Read the badge record
Add a Webhooks by Zapier → GET action:- URL:
https://api.scoutworks.app/api/v1/badges/followed by the Data Badge Record Id field from the trigger - Headers:
Authorization→Bearerfollowed by your key
badges:read scope. The record names the member and the badge.
4. Add the row
Add Google Sheets → Create Spreadsheet Row, in the Badge board sheet:- Awarded: the Data Awarded At field from the trigger
- Name: the Data Member First Name field from the GET step, then a space and the first letter of Data Member Last Name (use a Formatter → Text → Truncate step with a length of 1)
- Badge: the Data Badge Name field from the GET step
5. Show it at the hut
Sort the sheet newest first (Data → Sort sheet → Z → A on column A), then open it on the hut’s screen in a browser that is signed in to Google, and choose View → Full screen.Limits
- A big import adds no rows. An OSM import or a bulk award of more than 100 badges at once sends one bulk summary instead of an event for each, so the board is not filled with old badges. The filter step skips it. See Bulk changes.
- Writing to Google Sheets. If a name starts with
=, Sheets can run it as a formula. Add a Formatter step that puts'in front of values that start with=,+,-or@. - Keep the hook address to yourself. A fake message to it names a record that does not exist, so the GET step answers
404and no row is added.