Code Examples
Effortlessly execute code with zero complications.
Last updated
Effortlessly execute code with zero complications.
Last updated
Easily test your code in our integrated Code Editor before running it within your automation workflows. The Code Editor enables you to input sample values for variables that will later be dynamically populated by your automation flow. Once you've tested and verified the code runs flawlessly, simply save the snippet to your 0CodeKit account and access it on your preferred automation platform. From there, just provide the final values for the variables specified in the editor, and you're all set!
For more information check out our blog post or simply watch this video:
There are two methods to return your result.
result = { "data": YOURVARIABLE }
Or just:
return { "data": YOURVARIABLE }
Both methods will return the result in the JSON
{ "data": YOURVARIABLE }
Here you can find some code examples:
result = { "data": YOURVARIABLE }
We will return the result in the JSON { "data": YOURVARIABLE }
So please insert this at the end of your code!
Here you can find some examples: