How to Replace Values based on specific Conditions?

Status: Closed · Asked by Evolve Globify on · 0 views

Evolve Globify — Question ·

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?

Pabblymember11 — Reply ·

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.

Evolve Globify — Reply ·

It works thank you @Supreme ?

Back to all forum threads · Log in to reply