• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

  • Due to Holi celebrations, our team will have limited availability. While we’ll continue to monitor threads, responses may be slightly delayed.

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