is now

☰ Menu

Using the Code Editor

Last update: June 25, 2025

Picture of Corey Wilson
Corey Wilson

Technical Writer

In this article:

Servis.ai offers several features where users can add custom JavaScript code to extend platform functionality beyond the standard options.

You can use custom code to tailor how data behaves in areas such as:

  • App Actions
  • Automations
  • Calculated Fields

These features run your code using a predefined function structure, typically like this:
async function (record, context) { <your_code_here> }

Here’s an example from the Email Application settings. If you select ‘yes’ for using form scripts the code editor will automatically appear.

CleanShot 2023-11-28 at 10.54.18@2x.png

Code Editor Features

1. Dark mode theme for easier viewing during extended coding sessions.
2. Numbered code lines for improved readability and navigation.

code_editor_1.png

3. Typing to see hints with the option to use the “ctrl+space” shortcut.

code_editor.gif

4. Highlighting coincidences in the code, making it easier to identify and update.

5. Automatic hiding of code in brackets {…} with the ability to expand and collapse using a small arrow on the line of code.

code_editor_1.gif

6. Command + F

Use the keyboard shortcut of Command + F to bring up some helpful options. 
code_cntrlf.png

You may have used Command + F in a browser or spreadsheet to search for specific words. You can now do this in the FA coding environment as well. This allows you to search for specific terms and then to replace some or all of the results. This can make debugging code much faster.

🙄

😐

😊

😍

0

Welcome to servis.ai Free Edition

Link your email to begin

Continue with Google

Continue with Microsoft

By continuing, you agree to servis.ai Terms of Use. Read our Privacy Policy.

Get Started with servis.ai

30-minute demo where you see servis.ai in action.

Unlock the essential servis.ai features at no cost.

How can I be of servis?
How can I be of servis?