# Actions

Sanka Bot → Actions in the Sanka Desk console: the kinds of change Sanka Bot may make in your workspace, each with its switch, the apps it works in and who approves it, and what it may run in Sanka Flow.

This guide explains **Sanka Bot** → **Actions** in the Sanka Desk console. The page lists every kind of change Sanka Bot may make in your workspace, each with its own switch, the apps it works in and who approves it. Only workspace admins can open it.

## Read a row

The header says how many actions are on, such as "87 of 99 are on.", and has **Who approves**, which opens **Sanka Bot** → **Policy**. Narrow the list with **Show** (**All**, **On**, **Off** or **Needs a connection**), **App** or **Search actions**. Actions come in groups, such as **Answers and checks**, **Sign-in** and **Joiners and leavers**, and each group says how many of its actions are on.

- **Action**: the name. Hover over it to read what it does. **Reads only** marks an action that changes nothing.
- **Works in**: the apps it works in, **No app needed**, or **Any website** for the live browser.
- **Who approves**: **No approval**, or who decides each ticket, such as "The manager, else an approver". The approvers themselves are set in [Policy](/docs/desk/it-environment/).
- **On**: the action's switch. An action that can't run yet shows why in place of who approves, such as "Needs Okta" or "Needs a directory", and **Set up** in place of the switch. **Set up** offers **Manual setup**, in **Workspace** → **Integrations**, or **Set up with Sanka Bot**, in a chat.

## Turn an action off or on

- **Off**: turn its switch off. It is saved at once, and a message offers **Undo** for a few seconds. Sanka Bot no longer plans that kind of change: the ticket goes to a person on your support team, and the action leaves **Catalog** if it is listed there.
- **On**: turn its switch on. Sanka Bot opens **This lowers a safeguard**, which lists the change, what it does and who approves each ticket. Choose **Save this change** to keep it, or **Cancel**.

Most actions are on in a new workspace. The actions that reach into Google Drive, mail and calendars are off until an admin turns them on, because only a company that turns one on grants its extra permission.

**Answer from knowledge** and **Check an account** work differently. Switching off **Check an account** only takes it out of **Catalog**, and switching off **Answer from knowledge** changes nothing. Sanka Bot still answers questions in chat, and still reads the account of someone who can't sign in.

## Action details

Choose an action's name to open its details:

| Section | What it shows |
| --- | --- |
| **Sanka Bot may do this** | The action's switch, which works as on the list. An action that can't run yet but is still on shows why, and **Turn off**. |
| **What it does** | Whether it only reads, makes changes in the apps listed, or is prepared by Sanka Bot for a person on your support team to make. |
| **Who approves** | Who decides each ticket, with a link to **Policy**. |
| **Who makes the change**, **Permission**, **Cost** | Whose account the change runs as, the permission it needs, and its cost as a range of Sanka Credits. |
| **Works in** | Each app, **Connected** or with **Set up**. |
| **Catalog templates** | The templates that use the action, **Built-in** or **Your template**, each with **Open**. With none, people ask Sanka Bot in chat, or a workflow starts it. |

## Sanka Flow runs

Sanka Bot can resolve a ticket by running a Sanka Flow Action or a saved Workflow. It runs nothing until you turn this on. The settings are in the details of **Run in Sanka Flow**, in the **Sales lists and Sanka Flow** group, on the **Sanka Flow runs** card. Choose **Edit** to change them.

| Setting | What it does |
| --- | --- |
| **Run Sanka Flow from tickets** | Off: Sanka Bot never runs an Action or a Workflow, whatever is listed below. **Run in Sanka Flow** has to be on too. |
| **Actions** | The reviewed Actions Sanka Bot may run: AI contact search and Find company details. Each run spends Sanka Credits. An Action your workspace doesn't have reads "not available in this workspace". |
| **Workflows** | The Workflows Sanka Bot may run, up to 50. Each shows whether a run needs one approver or two. |

Turning runs on, or adding an Action or a Workflow, opens **This lowers a safeguard** first.

How a run works:

- It uses the rights of the person who asked, or of the person on your support team who planned it, not the admin in **Sanka Bot acts as**. A requester without a Sanka account can't run anything, so the ticket goes to a person.
- Every run needs an approval, because Sanka Bot can't undo it. A Workflow that reaches outside Sanka, deletes records, reads or writes finance records, or has a step Sanka Bot can't name needs two different people to approve each run.
- Sanka Bot reads the result back before it resolves the ticket.

Only a Workflow that starts by hand can run from a ticket, and the list offers only those that are ready to run and don't wait on a delay or an approval. To offer other work in Sanka Flow, save a Workflow with a manual trigger and its form values filled in, then add it here.

## Related

- [Policy](/docs/desk/it-environment/): who approves, and what Sanka Bot may change.
- [Request types and risk levels](/docs/desk/request-types/): what each kind of change covers and how risky it is.
- [Rates and limits](/docs/desk/rates-and-limits/): what each action costs.
- [Desk settings](/docs/desk/settings/#change-a-setting): how saving a setting works.
