Skip to main content
Question

How do I dynamically increment/decrement a Salesforce field based on new purchase quantities from Chargebee?

  • January 24, 2024
  • 1 reply
  • 31 views

I’d like to increment/decrement a number field in SFDC via Zapier.

Example: Customer purchases a number of ‘units’ in our app.  Zapier picks up the new invoice from Chargebee, which includes the quantity purchased.  I’d then like to find that customer’s record in SFDC and increment the ‘units_available’ field that quantity amount.

Any recommendations folks?  Thanks in advance!

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • January 24, 2024

Hi @JSC1982 

Try this logic.

Find the Record in Salesforce

Use a Formatter > Numbers > Perform Math Operation

Then Update the Record in Salesforce.