---
schema_version: "1"
id: bf73e9d0663fc00573d0845be579d11466cc6ea1e9863ce480d69bfa3f931a07
title: Compute Consumption
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_ref_elements_actions_wallet_compute_consumption.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_actions_wallet_compute_consumption.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3b609f78f20bd955555d1d0b89b77bb7cf17ea78fb2d587b46b24249b07a7db0
description: Computes usage for all consumption cards.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Compute Consumption

Computes usage for all consumption cards.

## Set Output Values

 
| Field | Description |
| --- | --- |
| Cards | A list of Digital Wallet consumption cards that the action computed. Each item is an `sfdw__ConsumptionCard` record with usage, entitlement, and related alert data for one consumption card. The action returns zero to many cards. |

## Usage

Use Compute Consumption to retrieve current usage for all of your org's Digital Wallet consumption cards in a single step, without passing any inputs. For example, you can show usage in a flow, compare consumption against a threshold, or pass the values to another action. Pair it with Create Consumption Alert to compute consumption and then raise an alert when a card crosses a threshold.

#### See Also

- [_Object Reference_: TenantConsumptionAlert](https://developer.salesforce.com/docs/atlas.en-us.262.0.object_reference.meta/object_reference/sforce_api_objects_tenantconsumptionalert.htm)
- [_Salesforce Help_: Manage Consumption Threshold Alerts and Notifications](https://help.salesforce.com/s/articleView?id=xcloud.wallet_consumption_alerts_manage.htm&language=en_US)