Update Pipefy card total value when created

Recipe Tools

What it does

When someone creates a card in Pipefy, this automation retrieves the card details and calculates the total value by summing item prices. It then updates the card's total value field with the calculated amount.

Who it's for

Operations teams who need Pipefy card totals calculated automatically without manual entry.

Apps used

How teams use this

Calculate totals on card creation

When a card is created with line items, the total value field is automatically populated with the sum of all item prices multiplied by quantity. The team never has to calculate or enter totals manually.

Use totals for finance reporting

Finance teams can pull accurate card totals from Pipefy for invoicing and revenue reports because each card's total is calculated the same way every time. This removes calculation errors from the process.

Add tax calculation to totals

Extend the automation to include a tax rate variable so the total value field shows the final amount with tax applied. Only a tax percentage needs to be added to the card or the automation logic.

How it works

  1. Monitor for new cards in Pipefy. A new card is created in Pipefy and the automation starts in real time to retrieve and process the card data.
  2. Retrieve the card details. Get the card information by ID in Pipefy so the automation can access all fields and linked items for calculation.
  3. Calculate total price from items. Loop through each item in the card, multiply price by quantity, and sum all amounts into a total variable in Pipefy.
  4. Update the card total value. Write the calculated total back to the card's total value field in Pipefy so the record is complete and accurate.