You are here:
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.

