Code by Pabbly - Javascript inputs

karl_sws

Member
Next question. In Zapier, we pass though 'Inputs' from previous steps, I can see 'Labels' within Code by Pabbly - can this acheive the same? How do I then reference them in JS (like we do with input. in Zapier)?

1687480981109.png
 

karl_sws

Member
OK. Watched a couple of videos about inserting the inputs directly in code, so most should be reworkable from Zapier to Pabbly - but any idea's on this error? Something as basic as setting a variable - doesn't seem to like the input (from a Clickfunnels webhook)?

1687496007657.png
 

karl_sws

Member
With more testing, it seems I need to wrap the previous steps input within quotes, which wasnt the case in Zapier. That seems to stop the SyntaxError.
 
P

Pabblymember11

Guest
The problem with the JavaScript code given is that the variable sEmail is assigned an invalid value. JavaScript variable names cannot begin with a number, and the dot (.) character is not permitted within the variable name. Furthermore, enclosing the email address in quotes is necessary to treat it as a string.

Moreover, if you encounter any coding-related problems or require solutions that Pabbly cannot provide, we suggest consulting a developer or an automation expert for assistance. They would be better equipped to address such issues.
 
Top