How to Use the 'Script – HTML Editor' Component in Agent Scripting for wolkvox Studio
Table of Contents
Introduction
The "Script – HTML Editor" component in wolkvox Studio allows you to build the visual script that the agent will see during an interaction. You can add a text section (with variable support) and, if needed, complement it with a previously uploaded audio file or TTS (text-to-speech).
This component is especially useful for standardizing greetings, validations, compliance scripts, guiding questions, and dynamic messages that change based on the information captured in the flow.

Configuration
- Double-click the component.
- The right-side Configuration panel will open with the Script – HTML Editor tab.
- In the main editing area, write the text that the agent should see.
- You can include variables to personalize the content.
- Remember: Variables are used with a $ at the beginning (e.g., $fullname, $dni, $email).
- At the bottom of the panel, you will see three options (depending on the case):
- None: Text only. The agent will only see the script content (text/HTML).
- Audio.
- TTS.
- Important: Both Audio and TTS are played for the customer and the agent.
- Click "Save Script" to apply the configuration.

Audio (Play a Previously Uploaded Audio)
- Select "Audio."
- A selector will appear with the "Audio" section to choose the audio file that has already been uploaded in wolkvox Manager (audio tool).

TTS (Text-to-Speech)
- Select "TTS."
- Choose the TTS voice.
- In "Text to read or variable," write the text to be played or use a variable (e.g., Mr. $fullname, can you confirm your ID $dni?).
