What a script contains
A script lives in a workspace. Everyone with access to the workspace sees the same script.
Script.it saves a version of the script at the end of every agent turn that changes it. To go back, open the script’s History and choose Restore version, then Restore this version. See Outlines, comments, and history.
Scripts are reusable. You can run the same script many times, in many sessions, without one run’s results affecting another’s.
How the agent builds a script
When you describe an automation in a session, the agent works out the steps and builds the script one block at a time. It writes a block’s code, runs the block, and fixes it until it works before moving on. You can watch the script take shape on its page as it goes. Each block explains itself in plain language, so you can follow what it does without reading code. When you want a change, describe it in the chat or comment on the part you mean. See Outlines, comments, and history.The script page
Open a script to see its page. The header holds:- Run, to start a run, and the history button beside it.
- Description: what the script does and when to use it.
- Agent Context: how much of the script the agent reads on its own.
- Last run: shown when the last run ended early, with where and why.
- Sessions: the last session that ran or edited the script, and View All.
- Triggers and Assets, when the script has them.
- Script inputs: the values the next run uses.
What you can do with a script
Run it
Set its inputs, run it or a single block, and follow the run.
Change it
Comment on what should change, and restore an earlier version.
Hand a step to an Agent
Let an AI Agent do research, or answer other people for you.
Pause for approval
Ask before sending, or wait for a reply before continuing.
Run it automatically
On a schedule, on an app event, or from a webhook.
Publish it
Share a read-only copy at a public link.