How to Replace Values based on specific Conditions?

Status
Not open for further replies.
I'm triggering the order from my website and sending the values to a Shipping platform. But on that shipping platform I've only 2 options for Payment Type. COD/Prepaid but from website I'm getting the input as depending on the payment gateways Eg: COD, Razorpay, Stripe, PayTM, etc.

So I need this trigger values to be Replace based on specific conditions

If Payment Type = COD, then print "COD"
else print "Prepaid"


How can I do this on Pabbly?
 
P

Pabblymember11

Guest
Hey @Evolve Globify

Regarding your use case, we would recommend you try the same in the Code by Pabbly action step where you can use Java Script of Python to execute the task into your desired result.

1686719720686.png
 
Status
Not open for further replies.
Top