> ## Documentation Index
> Fetch the complete documentation index at: https://docs.serval.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Credits and Consumption

> [!NOTE]
>
> As of 12/4/2026 - descriptions below apply to all currently released Serval products.

# **Overview**

Serval’s currency for running automations on the platform are Credits. Credits are used to run workflows, the code-based processes that power automation across all product features. The number of credits a given workflow run uses depends on how many steps the run takes: a run that does more work and takes more steps uses more credits, up to a maximum of 20 credits per run. 

# **Workflows and workflow runs**

A workflow is a code-based automation you configure in Serval that carries out a sequence of steps in a set, deterministic order when it is triggered. Workflow types include help desk, workspace, scheduled, Catalyst, webhook-triggered, event-triggered, access provisioning, access deprovisioning, and approval workflows.

A workflow run is one execution of a given workflow. A run starts when the workflow is triggered and ends when it reaches a final status of succeeded, failed, denied, or cancelled. Every individual run, its status, and its result appears in the run history of the workflow. 

Some workflows will result in “child” workflow runs as part of their execution; these child runs are treated as distinct and counted as their own individual workflow run.

# **What does not use credits**

The following processes are not considered workflow runs and do not use credits:

* Building, editing or configuring a workflow. Credits are used only when the workflow runs.
* Ingesting data, such as ticket data, from a connected system.
* Setting the status and fields on a ticket.
* Knowledge base questions and AI chat, when no workflow runs as a result.
* A run that fails before it completes any counted step.
* Integration health checks.

# **Workflow complexity and credits**

Workflows will use different amounts of credits based on how much work is being automated. We measure this using the workflow complexity, defined by the number of counted steps in a workflow run. 

A step is a distinct section of the overall workflow code executed by the Serval platform. Steps can take many forms and encompass a wide range of actions, since a workflow and its composite steps can achieve anything that can be written into code. Unlike other drag-and-drop workflow builders, steps are not selected from a simple list of actions.

Complexity of a given workflow is not the same across every run, as workflows might have branching logic, loops, or other conditions that change the number of steps taken in a given run based on the inputs provided. 

Each run uses credits according to its complexity level:

| **Complexity level** | **Counted steps in the run** | **Credits per run** |
| :- | :- | :- |
| Basic | 1 | 1 |
| Simple | 2 to 3 | 2 |
| Standard | 4 to 10 | 5 |
| Advanced | 11 to 100 | 10 |
| Complex | 101 or more | 20 |

No individual workflow run uses more than 20 credits. If a run fails or is cancelled or denied partway through, the steps it completed before failing are counted and used to bucket the complexity of the work completed. Retried runs will not be charged - only the original run is charged. Runs are only charged when they reach a terminal state.

> [!NOTE]
>
> Access granted or removed through the Linked Groups provisioning method is counted as a 1-credit workflow run for each grant or removal. See the [Access requests example](https://docs.serval.com/credits-and-consumption.md#access-requests).

# **Example: How Serval features use workflows**

### **Skills**

Your team writes a skill that tells the help desk agent how to handle VPN problems: what to ask the employee, what to check, and when to run the “Reset VPN Profile” workflow. An employee messages that their VPN will not connect. The agent follows the skill, asks which device they are on, and runs the reset workflow once.

The skill and the conversation use no credits, but the workflow run does. If the agent solves the problem from a knowledge base article and never runs the workflow, the ticket uses no credits.

### **Background Agents**

You schedule the “Proactive License Reclamation” agent to run every week. Each week it reviews license usage across your connected applications by running a read-only workflow against your IDP, then reports the licenses nobody is using. This week it finds 12 unused Figma seats, and you approve removing them.

The read-only workflow used by the agent is a workflow run, as is each license deprovisioning task.

### **Catalyst**

You ask Catalyst: "Build a workflow that resets a user's MFA when they ask in Slack." Catalyst drafts the workflow and you review it. Drafting, editing and publishing use no credits.

You test the workflow twice before publishing. Each test is a run.

Then you ask it to search across a Slack channel to identify any users who requested MFA resets in the last two weeks. This is also a temporary read-only workflow run as part of the analysis.

### **Tickets**

An employee messages the help desk in Slack asking for PTO from December 22 to December 26. Serval opens a ticket and the help desk agent runs the "Submit PTO Request" workflow, which files the time off in your HR system. Once the request is filed, a second workflow sends the employee's manager a direct message with the dates.

The PTO submission and the manager DM are separate workflow runs, so this one ticket uses credits twice.

### **Access requests**

An employee asks in Slack for four hours of access to your production AWS account. Their manager approves, and Serval adds the employee to the linked Okta group. When the four hours are up, Serval removes them from the group.

A completed access request uses credits. Each grant and each removal is counted the same way as a Basic workflow run: 1 credit. This request uses 2 credits: 1 when access is granted and 1 when it is removed. A request that is denied or cancelled before access is granted uses no credits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.