Skip to main content

When a payment is made from a customer via our platform webhook field name has number e.g. 1, 2 or 3….at the end

 

Need help with this.

https://docs.google.com/spreadsheets/d/1BYUOHcQvkJtwF-hdlvnBYMjwDBFXngp7tz1Y_m5O90E/edit?usp=sharing

 

The issue I am having is I dont want to create lots of separate zaps there must be a workaround for this?

Hi @boij 

You can use a Formatter > Text > Replace step, but will need multiple for each of the fields.

More efficient would be to use a custom Code step to handle all at once.

Check out the JavaScript replace method: https://www.w3schools.com/jsref/jsref_replace.asp