# Decide in Slack, Teams or email

Send approval cards to Slack or Microsoft Teams, and decide in place. Email works with no setup.

Channels. About 5 minutes. HTML: https://promptcompute.ai/docs/slack-and-teams

## Before you start

- An owner or admin role to connect a workspace
- For Teams: the promptcompute app installed in your Microsoft 365 tenant

## Steps

1. **Email** Nothing to set up. Every approver gets a card with Approve and Reject buttons; the links work once and expire.

2. **Connect Slack** Under Slack and Teams, press Connect Slack and approve the app. Optionally paste a channel id (it looks like `C0123456789`) for a shared channel.

3. **Link each person** The first time someone presses a button in Slack, they get a private link to connect their account. After that, buttons decide at once.

4. **Connect Teams** Enter your Microsoft tenant id. Each approver sends any message to the promptcompute bot and opens the link it replies with.

5. **Decide** Cards update in place when anyone decides. High-risk cards link to the inbox, where a passkey confirms it is you.

## Use cases

### A shared approvals channel

- Situation: Your support leads live in one Slack channel.
- What to do: Connect Slack with that channel id.
- Result: Each new request posts there once, and the card shows who decided.

### Teams for finance

- Situation: Your finance team only uses Teams.
- What to do: Connect your tenant and have each approver message the bot once.
- Result: They get cards in their chat with the bot and decide there.

## What you will see

Approvers decide where they already work, and every card shows the outcome once anyone decides.

- Integrations shows Slack connected or the Teams tenant
- Cards show Approved by a name after a decision
- Getting started marks Choose where approvals reach you as done

A Slack card after approval:

```text
Medium risk   Agent: support-bot   Rule: larger-refunds
Refund $120 on order A-1001
Amount: 120   Order id: A-1001
Approved by Dana R. at 10:44 UTC
```

## If something goes wrong

- **Slack is not configured on this server.** The deployment has no Slack app yet. An operator sets SLACK_CLIENT_ID and the secrets.
- **A button says your account is not linked.** Open the private link in the message, sign in, and press the button again.
- **The edit modal sends you to the inbox.** The field is masked or sealed, so it can only be edited in the inbox.

## Related

- [Decide requests](https://promptcompute.ai/docs/decide-requests.md)
- [Set up approver groups](https://promptcompute.ai/docs/approver-groups.md)
- [Secure your organization](https://promptcompute.ai/docs/org-security.md)
