- For: groups that use Microsoft 365
- You get: a Teams post the moment each new waiting-list application arrives
- Time: about fifteen minutes
- Scopes:
waiting-list:read
1. Start the flow
1
Create the flow
In Power Automate, choose Create → Instant cloud flow → Skip. Call it Scoutworks waiting list.
2
Add the trigger
Search for Request and choose When an HTTP request is received. Set Who can trigger the flow? to Anyone. Paste this into Request Body JSON Schema:Choose Save. The trigger now shows an HTTP URL. Copy it.
3
Add the address to Scoutworks
In Scoutworks, a group admin opens Settings → Integrations → Webhooks, adds the HTTP URL from Power Automate and ticks
waiting-list.application.received.2. Read the application
The webhook carries the application’s id, but no names: a webhook never carries personal details. The flow reads the rest with your key.1
Add the HTTP action
Choose + → Add an action, search for HTTP and choose HTTP. Fill it in:
-
URI: choose Expression and enter:
- Method: GET
-
Headers:
Authorization→Bearerfollowed by the key, for example:
2
Keep the key out of the run history
Open the HTTP action’s Settings. Turn on Secure inputs and Secure outputs. The run history then hides the key and the names. Do the same for the Post message action that you add below, because it also handles names.
3. Post to Teams
1
Post a message
Add Microsoft Teams → Post message in a chat or channel. Post as Flow bot, in your leaders’ channel. For the message, choose Expression and enter:
404 and posts nothing: that is expected. Add an application on the demo group, or on your own, to see a real post.
4. Switch to your group
In the HTTP action, changeapi-demo.scoutworks.app to api.scoutworks.app, and replace the sandbox key with your own. Your key needs the waiting-list:read scope.
Limits
- The trigger address is a secret. Anyone who has it can start the flow. The flow reads the application from the API rather than trusting the message, so a fake message with a made-up id answers
404and posts nothing. Keep the address to yourself all the same. - One message for each application. Scoutworks retries a webhook the flow did not accept, with the same
webhook-id. A flow that fails half way may post twice. See Webhooks. - Imports. An import that adds more than 100 applications at once sends one bulk summary instead of an event for each. To skip it, put the HTTP and Teams actions inside a Condition that checks
triggerBody()?['data']?['applicationId']is not empty. - Errors. If the key stops working, the HTTP action fails, and Power Automate emails the flow’s owner. See Errors for what each code means.
Without webhooks: a daily summary
If your group has not turned on webhooks, use a Scheduled cloud flow that repeats every 1 day instead of the HTTP trigger. Its HTTP action readshttps://api-demo.scoutworks.app/api/v1/waiting-list?status=received&limit=200, then a Filter array action keeps yesterday’s applications with this filter query:
item()?['firstName'] and the other fields as above.