# Run JS Script ## Parameters - **Add Parameter**: You can add variables. The variable name can be verified directly in the script in the next step. - **Run JS Script**: You can add Javascript script here. - **Output Format** - String - Integer - Number - Boolean - ElementObject ## Output - **Output Parameters** - The output result of the script. - **Execution Log** - Start Time - End Time - Duration (ms) - Status (Success/Failure) ## Example Example 1: Set a random number. Example 2: Parse element content. > [!TIP] You can pass variables generated in the project directly to AI to generate scripts. Prompt: "{} This json content, I want to extract the content of name through javascript, and finally output the value of name." ## Related Nodes Keyboard Actions