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

Can I reference input variables directly in the Code module without mapping them one by one?

Hi! I'm using the Code (JavaScript) module in a workflow and I currently map input variables one by one like this:

const sub0_media_source = " ";
const sub0_media_image = " ";
const sub0_type = " ";
const sub1_media_source = " ";
const sub1_media_image = " ";
const sub1_type = " ";
// and so on...


Is there a way to access these variables directly from the input data as an object or JSON, without mapping each one manually in the input fields? For example, something like input["sub0_media_source"] inside the code?


It would save a lot of time when dealing with 10+ values. Thanks in advance!

1753627534093.png
 
Top