This section is for developers and technical operators. You do not need these details to build automations in Script.it, but they are useful if you want to inspect generated scripts, review changes, debug a run, or connect Script.it to internal systems.Documentation Index
Fetch the complete documentation index at: https://docs.script.it/llms.txt
Use this file to discover all available pages before exploring further.
Script file structure
Each script is stored as a small project with a script definition, source files, and optional static data.Script definition
flow.script.yaml is the Script.it DSL file that defines the script’s metadata and ordered blocks.
Runtime files
Script files and session files are separate:- Script files live with the script and are shared across sessions.
- Session files live in the session’s
data_files/directory and contain outputs from a specific run. - Runtime artifacts, logs, and block outputs belong to the session that produced them.
Trigger payloads
When a trigger starts a script, Script.it creates a new session and passes event data into that session.- Webhook triggers receive an HTTP POST body.
- Integration event triggers receive event data from the connected tool.
- Schedule triggers receive schedule metadata such as the scheduled time.
data_files/trigger_event.json.
Schedules and cron
Schedule triggers can use presets or a custom five-field cron expression:| Cron expression | Meaning |
|---|---|
0 9 * * * | Every day at 9:00 AM |
0 9 * * 1 | Every Monday at 9:00 AM |
*/30 * * * * | Every 30 minutes |
Integrations and credentials
Integrations use OAuth, API keys, or custom headers depending on the connected service. Script.it stores integration credentials in encrypted form and does not write them into script source files or chat history. For custom webhook integrations, you configure:- The target endpoint URL
- Optional HTTP headers
- Authentication details such as bearer tokens or API keys
- The request format expected by the receiving service