CodeX in Qntrl: Automate Workflows with Powerful Scripting and API Integration | Qntrl Online Help

Summary

Overview 

CodeX, a robust scripting feature within the Qntrl platform, empowers you to automate tasks, manipulate data, and integrate workflows/applications. By running JavaScript code in a standalone server environment, CodeX allows you to execute scripts alongside predefined SDKs. This feature enhances data management, streamlines processes, and facilitates complex business logic, offering a wide array of capabilities to maximize your Qntrl experience. 

Key Benefits of CodeX 

  1. Custom Business Logic: Implement company-specific business logic tailored to your unique requirements.
  2. Database Management: Simplify and automate database interactions.
  3. Workflow Automation: Automate repetitive tasks to improve efficiency.
  4. Complex Computations: Handle time-consuming processes with ease.
  5. Third-Party Integrations: Seamlessly connect with external services and APIs.
  6. Enhanced Security: Strengthen security by preventing direct user manipulation.

Primary Capabilities of CodeX in Qntrl 

CodeX in Qntrl offer a versatile set of capabilities:

  • Two-Way Sync: Synchronize data between third-party platforms.

  • Scheduled Email Alerts: Automate email alerts based on custom schedules.

  • CSV Importing : Easily import CSV data into tables.

  • Custom Business Logic: Implement and manage custom business logic.

  • Databases Access: Directly access client databases via Bridge for data management.

  • Business Logic Offloading: Improve system performance by transferring the execution of complex business logic to another system or component.

  • API Integrations: Connect with external applications using APIs.

  • Data Validation: Validate and Ensure the accuracy of records and compliance.

  • Editing Records: Modify and update records, maintaining data integrity.


Advantages of CodeX: A Comparison with Client Scripts and Custom Functions  

Client Scripts

While Client Scripts handle data validation during card creation or updates, they can be prone to user interface manipulation. CodeX offers enhanced data integrity and security by operating at the API level, suspending actions ensuring higher protection and control over actions.

 

Custom Functions

Custom Functions are valuable for automating tasks with user-defined functions in Deluge. Nevertheless, they lack a pre-submission validation mechanism to prevent card submission. CodeX, on the other hand, processes data server-side, enabling validation at the initial stage of card creation, thereby safeguarding critical business data from the start.

 

Components of CodeX  

Script Modules

Enables you to create reusable templates for streamlined business logic that can be scripted once and effortlessly reused in multiple scripts, simplifying maintenance and minimising coding effort.

 

Server Variables

Allows you to store and reuse values across your scripts, allowing for dynamic and flexible scripting.

 

Logs

CodeX logs provides visibility to the execution of codex scripts, enabling you to monitor and track their performance in Qntrl.