viaSocket Help
Integration Guides

archive_Variable Customization



The "Variable Customization" feature in viaSocket is a powerful tool that enhances workflow customization and automation.     

Here's a breakdown of its key features:


  • Define and Store Values: With Variables, you can define and store values that are crucial for your workflows. These values can be accessed and manipulated as needed, streamlining the automation process.

Example: Let's say you have a workflow where you need to store the current date. You can create a variable called "currentDate" and assign it the value of today's date. This variable can then be used throughout your workflow whenever you need to reference the current date.


  • Customize your workflows through One-Line Codes: You can run one-line codes to customize your workflows according to your specific needs. This feature adds flexibility and adaptability to the automation process.

Example: Suppose you want to add a prefix to a set of file names in your workflow. You can use a one-line code within a Variable to achieve this task efficiently.


  • Versatile Usage: Variables can be utilized in various ways within a workflow. They can be used inside functions, as query parameters in API calls, or within 'if' conditions. This versatility allows you to adapt your workflows to suit your requirements.

Example: If you're making an API call to retrieve data, you can use a variable to pass parameters dynamically based on user input or other variables in the workflow.


  • Standard JavaScript Syntax: Variables in viaSocket are created using standard JavaScript syntax, making it easy to work with different data types and manipulate them within their workflows.

Example: Creating a variable to store a string value:


            username = "JohnDoe"



In summary, the Variable feature in viaSocket empowers you to define, store, and manipulate values within your workflows. Its flexibility, customization options, and compatibility with JavaScript syntax make it an essential tool for efficient workflow automation.