---
title: "Scripting | Introduction | N3uron KB V1.21"
slug: "scripting-introduction"
description: "Scripting is a N3uron module designed to run custom scripts based on events like timers, tag changes, conditions, system start-up and system shutdown…"
updated: 2025-12-05T12:16:01Z
published: 2025-12-05T12:16:01Z
canonical: "docs.n3uron.com/scripting-introduction"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.n3uron.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

**N3uron****'s Scripting** module allows the execution of custom logic within the current **N3uron** node in response to various triggers, such as timers, tag changes, tag conditions, and more. This logic is implemented using a native JavaScript interpreter (Node.js) capable of executing user-provided code and granting access to both Node.js native libraries (e.g., fs, net, or HTTP) and the extensive Node.js ecosystem of libraries (e.g., through NPM). Furthermore, Scripting has complete access to the **N3uron** API, enabling direct interaction with tags (including real-time and historical data), alarms, retrieval of the current **N3uron** node's status, module status, and many other features.

The main features that this module offers include:

- Unlimited number of scripts, each running in isolation on a separate OS thread.
- Numerous triggers for scripts, including Startup, Periodic or Tag Change.
- Unlimited access to the N3uron API.
- Access to both the native Node.js libraries as well as its entire ecosystem of packages.
- Easy user configuration for scripts using parameters.

[![n3uron-chatgpt-assistant](https://cdn.document360.io/54093ab5-6b22-4542-a265-04377931f11a/Images/Documentation/n3uron-chatgpt-assistant.png)](https://chatgpt.com/g/g-68ebf91f3a9081918d8872b5253bc607-n3uron-scripting-assistant)

[**N3uron Scripting Assistant**](https://chatgpt.com/g/g-68ebf91f3a9081918d8872b5253bc607-n3uron-scripting-assistant)

The **N3uron Scripting** **Assistant** is a specialized AI tool available in the **ChatGPT Store**, designed to accelerate your work with N3uron's Scripting module. It provides expert assistance for building edge computing solutions through custom JavaScript logic—helping you configure triggers (startup, periodic, tag changes), access the N3uron API for real-time and historical data, leverage Node.js libraries and NPM packages, and implement powerful automations and integrations at the Edge.

- Get code examples for N3uron API calls, Node.js native libraries (fs, net, HTTP), NPM ecosystem packages, custom libraries, event-driven scripts, and custom automation logic.
- Receive configuration guidance.
- Access best practices and troubleshooting support tailored to your specific industrial data challenges.

[Embedded content](https://www.youtube.com/embed/4JN0kmbwECM??si=gFGPlRQ8ZuxcqaWC&amp;wmode=opaque&amp;rel=0)
