Skip to main content

Code Editor

To make it a little easier to develop code for 0CodeKit, we built an online code editor to help you! It's integrated directly into the dashboard, you can find it here:

Code Editor

Writing Code

Our code editor is a fairly standard online code editor:

Image of Code Editor

However, it has a couple of special features:

  1. You can run code directly from within the editor, and it will show you the result! The code runs on 0CodeKit, in exactly the same environment as you would run it in a workflow.
  2. You can use our AI code generator to get the basics working quickly. The best thing: The AI code generator knows exactly how to write code for 0CodeKit, so it will generate code that works out-of-the-box with our modules and APIs.
  3. You can save your code snippets, and use them directly in your workflows without having to copy and paste them.

Variables

You can put variables into your code like this: "#{variableName}" (don't forget the quotes). The variable will appear on the left, and you can insert any JSON-like value you want. When you're ready to use the code on Make, you need to use the Run JS Scripts hosted on 0CodeKit module:

Hosted JS Executor Module in Make

You will automatically be shown all the variables in your code, and you can fill them directly from your Make workflow.

tip

The code executor supports both JavaScript and Python.

warning

While these code executor modules are similar to the normal code executor modules, they are not interchangeable. If you want to use the standard Run JavaScript Code or Run Python Code modules, you need to copy the code from the editor into the module.