0CodeKit
  • Getting Started
  • FAQ
    • Credits, Account & Prices
    • API Keys
    • Build an Integration
    • Help Desk
  • API Documentation
  • Examples and Use Cases
    • Use Cases & Tutorials
    • Code Examples
  • About Us
    • Service Level Agreement
    • GDPR & DPA / OnPrem Hosting
    • Affiliate Program
Powered by GitBook
On this page
  • Check out our Code Editor:
  • Run Javascript via API
  • Run Python via API

Was this helpful?

  1. Examples and Use Cases

Code Examples

Effortlessly execute code with zero complications.

PreviousUse Cases & TutorialsNextAbout Us

Last updated 6 months ago

Was this helpful?

Check out our Code Editor:

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!

Run Javascript via API

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:

Run Python via API

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:

For more information check out or simply watch this video:

our blog post
Some JavaScript Examples
Some Python Examples