UsingGetting startedHow to
Notifications in Slack or Teams
Create a Slack or Microsoft Teams incoming webhook for yourself, add it on My profile, and send a test, so your notifications arrive in your own channel.
Your notifications can come to a Slack or Microsoft Teams channel of your own, as well as or instead of the app and email. You set it up yourself, in two steps on My profile: first create an incoming webhook in Slack or Teams, then paste its URL into CapitolMath and send a test. No Webhooks permission is needed.
What's posted is only what the bell shows you: the bill, hearing or item each notification is about. It's yours, not your organization's: it isn't listed among your organization's webhooks or counted against its plan, and it's removed if you leave the organization.
Create an incoming webhook in Slack#
- Choose or create the channel you want notifications in. A private channel with only you in it keeps them to yourself.
- In a browser, go to api.slack.com/apps, sign in to your workspace, and select Create New App, then From scratch.
- Name it (for example, CapitolMath notifications), choose your workspace, and select Create App.
- Under Features, select Incoming Webhooks and turn on Activate Incoming Webhooks.
- Select Add New Webhook to Workspace, choose your channel, and select Allow.
- Copy the Webhook URL. It starts
https://hooks.slack.com/services/.
Some workspaces need an administrator to approve a new app. If yours does, Slack says so at step 5 and sends them a request.
Create an incoming webhook in Microsoft Teams#
- In Teams, go to the channel you want notifications in.
- Select the channel's More options (…), then Workflows.
- Choose the template Post to a channel when a webhook request is received.
- Name the workflow, check the team and channel, and select Add workflow.
- Copy the URL Teams shows when it's done.
A Teams URL is accepted on webhook.office.com, logic.azure.com, powerplatform.com or outlook.office.com. If your organization still offers the older Incoming Webhook connector, its URL works too.
Add it to CapitolMath#
- Open My profile and find Want to receive notifications via Slack or Teams?
- Choose Slack or Teams, paste the URL, and select Save.
- Select Send a test. When the test appears in your channel, it's live.
- In the Notifications grid above it, tick Slack or Teams for each notification you want there.
The URL works like a password for posting to your channel, so CapitolMath never shows it again in full. Use Change to replace it, or Remove to stop.
If it stops arriving#
If your channel stops accepting messages (the webhook was deleted, or the app removed), CapitolMath retries for about a day and emails you. Your notifications are still in the app meanwhile. Create a new incoming webhook, paste its URL on My profile, and send a test.