> ## Documentation Index
> Fetch the complete documentation index at: https://developers.scoutworks.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome each new member

> Post a message to your leaders in Slack or Microsoft Teams the moment a young person joins the group.

> [!NOTE]
>
> * **For:** group admins and section leaders
> * **You get:** a welcome in your leaders' Slack or Teams channel each time a young person joins
> * **Time:** about ten minutes
> * **Scopes:** `members:read`

When a young person joins, every leader in their section should know: who they are, and which section they are in. This recipe posts a welcome to your leaders' Slack channel the moment a member is added in Scoutworks, whether a leader added them, they came off the waiting list or an import brought them in.

It uses a [webhook](https://developers.scoutworks.app/guides/webhooks.md), so a group admin needs to have turned on webhooks in the beta programme, and **Webhooks by Zapier**, which needs a paid Zapier plan.

> [!NOTE]
>
> 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 member, so the GET step answers `404`.

## 1. 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 **`member.created`**.

The webhook carries the new member's id, their sections and where the record came from (`app`, `api`, `import` or `system`). It never carries a name: the next step reads that with your key.

Next, add a **Filter by Zapier** step that continues only when **Data Bulk** *does not exist*. A big import sends one [bulk summary](https://developers.scoutworks.app/guides/webhooks.md#bulk-changes) instead of an event for each record, and this step skips it.

## 2. Read the member

Add a **Webhooks by Zapier → GET** action:

* **URL:** `https://api.scoutworks.app/api/v1/members/` followed by the **Data Member Id** field from the trigger
* **Headers:** `Authorization` → `Bearer ` followed by your key

Your key needs the `members:read` scope. It does not need `members.contacts:read`: the welcome uses no contact details.

## 3. Post the welcome

Add **Slack → Send Channel Message**, in your leaders' channel, with the message:

```text theme={null}
Welcome to [Data First Name] [Data Last Name], who has joined [Data Sections Name]! 🎉
```

Each `[…]` is a field you insert from the GET step.

Using Microsoft Teams instead? Build the same three steps in Power Automate, as in [Power Automate and Teams](https://developers.scoutworks.app/recipes/power-automate.md): the trigger ticks `member.created`, and the HTTP action reads `https://api.scoutworks.app/api/v1/members/` followed by `triggerBody()?['data']?['memberId']`.

## Limits

* **A big import sends one summary.** An OSM import that adds more than 100 members at once sends one bulk summary instead of a welcome for each, so your channel is not flooded. Its `data.bulk` is `true` and it names no single member, so the GET step answers `404` and the Zap stops. See [Bulk changes](https://developers.scoutworks.app/guides/webhooks.md#bulk-changes).
* **Keep the hook address to yourself.** A fake message to it names a member id that does not exist, so the GET step answers `404` and nothing is posted.
* **Names in Slack.** The message puts a young person's name in a chat app. Post only to a private channel of leaders who could already see the member in Scoutworks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.