# Slack Bot Approvals and Jobs

The bot asks before it sends a message on your behalf, asks you to choose when a request is ambiguous, and can turn a request into a job that reports back to you in Slack.

---

## Approving an Action

Before the bot **sends a message on your behalf**, it stops and asks — in a direct message and in a channel alike. Rather than acting and telling you afterwards, it posts a card naming the action and its exact target — the text of the message and the channel or person it would go to — with **Allow** and **Deny**.

- Only the person who asked can decide. A card in a channel is visible to everyone, but a click from anyone else is refused.
- Nothing happens until you choose. **Deny** and the action is dropped.
- You have **three minutes**. After that the card expires, the action is abandoned, and the bot says so — ask again if you still want it.

Read the target before you allow it. The card spells out the destination precisely so a near-miss — the right message to the wrong channel — is visible before it happens rather than after.

:::info
**Changes to your own records are not gated this way, in a direct message or a channel.** Ask the bot to update an offer and it updates it, the same as a teammate would on your instruction. What bounds that is the access level you gave the Fours MCP connection — read-only means it cannot change anything at all, whatever it is asked. Decide there, not here.
:::

## Answering a Question

When the bot needs a choice from you — which organization to create an offer under, which of several matching records you meant — it posts the question with a button for each option. Pick one and it carries on from there.

As with approvals, only the person who asked can answer.

## Handing Work to a Job

Because this is the same agent, you can also ask it to automate something — there is no form to fill in, in Slack or in the console. Tell it what you want to happen and when:

> every weekday at 9am, summarise new AWS entitlements

It creates the [job](/insulin/jobs/) for you, choosing the trigger that matches what you asked — a recurring schedule, an incoming event, or a single run you start yourself.

A job you create this way is yours. It runs with your access and your connections, and it is private to you: only you can see, run, edit or delete it, org admins included. Manage it and read its run history in the **Jobs** app in the console, where every run leaves a record you can open.

### When a job run finishes

When a run of a job you own finishes — one you started yourself, or one on a schedule — the bot sends you a direct message in Slack with the result:

- ✅ **Job finished: {job title}**, followed by the job's output,
- ❌ **Job failed: {job title}**, followed by the error, or
- ⚠️ **Job finished — rate-limited, result may be partial: {job title}**.

Each heading carries an **Open in Fours Insulin console** link to the job's details in the **Jobs** app, where a result too long for Slack can be read in full. Reply in the message's thread to follow up; the bot answers with the result in view.

*Diagram: When a run of a job you own finishes, Fours finds you by your Fours email in Slack and sends a direct message that links to the job in the console.*

- A run of a job you own finishes (manual or scheduled) → Fours finds you by your Fours email in the Slack workspace your organization connected
- Fours finds you by your Fours email in the Slack workspace your organization connected → The bot's direct message (finished, failed, or rate-limited, with the result)
- The bot's direct message (finished, failed, or rate-limited, with the result) → Open in Fours Insulin console (the job's details in Jobs)

You get this message for jobs that run one turn per run and that you own. Jobs triggered by an incoming event, goal jobs, and jobs owned by a channel don't send one. Fours finds you by your Fours account's email in the Slack workspace your organization connected, and only while you are still a member of the organization.
