Sessions and scripts
Sessions and scripts are closely related but serve different purposes. A script is the reusable automation workflow. A session is the working context in which you build and run those scripts. When the agent edits a script inside a session, that change is immediately visible anywhere the script’s workspace is available. But the files your scripts produce during a run — downloaded files, generated outputs, and results — belong to the session, not the script. This keeps your scripts clean and reusable while giving each session its own isolated working directory.What you can do in a session
Sessions are where most of the work happens in Script.it:- Build scripts — describe an automation in plain English and let the agent generate the workflow for you.
- Run scripts — trigger a script from chat and watch the execution results appear in real time.
- Review output — inspect block results, read files produced during the run, and see what your automation actually did.
- Iterate — ask the agent to modify a block, debug a failure, add a new step, or restructure the workflow entirely, all in the same conversation.
- Manage files — view and download files your scripts created during the session.