Building automations with blocks is only part of what makes AutoBlocks useful. In fact, building only with blocks can only take you so far in terms of automation complexity. To create the most robust and powerful automations, you'll also need to harness the power of the AutoBlocks Code Editor

The Autoblocks Code Editor is a split function of the workspace. Open the Code Editor any time by clicking Code  on a workspace block.

Each time you first edit a code clock, you'll find a set of instructions to help you code for that particular service. Be sure to read this information, as it may save you valuable time!

Code recipes will soon be available for AutoBlocks, which will allow users to copy/paste pre-written code into the Code Editor. From there, the recipes can be configured to fit specified projects and produce desired outcomes. Check the Release Notes for updates!

See Coding Resources for more advanced techniques and details about coding in AutoBlocks.

Code Editor Help

We didn't want the Code Editor to just be a blank screen, so we've added a few things to make it usable for programmers and non-programmers who want to give it a go.

Code Templates

When you open a Code block for the first time, you'll find a set of instructions to help you get started coding for the particular library/service you're using. Each of these instruction sets is different, so be sure to review the information before you start scripting.


Predictive authoring exists for coding, and it's called IntelliSense.

This amazing tool provides contextual hints about what you're possibly trying to code and gives you suggestions and hints so you can do it faster without having to type it yourself. Visual Studio Code's IntelliSense helps those who know what they're doing do it faster, and it helps those of us who are sort of stumbling along and don't code for a living not make complete fools of ourselves. 

From Visual Studio Code:

VS Code IntelliSense features are powered by a language service. A language service provides intelligent code completions based on language semantics and an analysis of your source code. If a language service knows possible completions, the IntelliSense suggestions will pop up as you type. If you continue typing characters, the list of members (variables, methods, etc.) is filtered to only include members containing your typed characters. Pressing Tab or Enter will insert the selected member.

Here's an example of AutoBlocks code being written with IntelliSense:

To Code or Not to Code . . .

You can do incredibly useful things in AutoBlocks without having to be a professional programmer—the blocks actually do quite a lot of heavy lifting. But for more advanced automations, you may need to apply a little coding knowledge to empower your blocks even more. A little coding knowledge sometimes goes a long way, and with the help of the template assistance notes, you may get to where you need to be. If not, seek help from a developer who has experience with TypeScript (TS) and JavaScript (JS) to help you bring your automation to life.