The Javascript section in Integrations provides a powerful way to extend Zeroplat applications with custom logic, dynamic data transformations, and runtime variables. While Zeroplat is a low-code/no-code platform, Javascript integration ensures developers can add fine-grained control when needed.
Key Capabilities
- Variables: Define and store runtime values that can be used across workflows, pages, and components.
- Transformers: Apply Javascript functions to process and transform data before displaying or sending it to other systems.
- JS Queries: Write Javascript-based queries to manipulate data or interact with external APIs directly.
- Dynamic Behavior: Enhance forms, dashboards, and workflows with conditional logic and event-based scripts.
- Reusable Logic: Create centralized functions and reuse them across multiple applications and tenants.
Subsections
- Variable – Create global or local variables to store dynamic values (e.g., current user info, temporary calculations, API responses).
- Transformer – Define custom Javascript logic to transform incoming or outgoing data. For example, converting date formats, merging arrays, or cleaning API response data.
- JS Query – Write and execute Javascript queries to handle advanced use cases such as custom API calls, conditional data fetching, or mathematical operations.
How It Works
- Navigate to Integrations > Javascript.
- Choose between creating a Variable, Transformer, or JS Query.
- Write your custom Javascript logic in the provided editor.
- Save and reference your script within workflows, forms, or visual components.
- Test the script to ensure the output behaves as expected.
By combining no-code features with Javascript, Zeroplat provides the flexibility of traditional development while keeping the platform simple and accessible for non-developers.