• 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.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

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