Pass a Javascript parameters to Chatflow

Hello,

I have a chatbot built in Chatflow and I’d like to pass some JS parameters as hidden fields.

I want to pass some operational parameters like tracking (i.e utm source and medium)

Is it possible to do such a thing?

Thank you!

Hey @OronC, thank you for posting in our Community!

Within your Chatflow, you can use JavaScript code to retrieve the parameters you want to pass and then set them as hidden fields in the chat form.

To our top experts, @DanielSanchez and @Anton do you have any recommendations for the @OronC matter?

Thank you,

Pam

Hey @PamCotton,

Thank you!
It looks like I need to upgrade to operations hub professional to use the “code snippet” action. Is there another way of doing such a thing (without upgrading my plan, as this should be the only use for this feature)?