Triggers let your scripts run automatically — no need to open the app and kick them off manually. You attach a trigger to a script, configure when it should fire, and Script.it takes care of the rest. Every time the trigger fires, a new session is created and the script runs inside it, exactly as if you had started it yourself.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.
The three trigger types
Schedule
A schedule trigger fires your script on a recurring basis. You choose how often — every day at 9 AM, every Monday morning, the first of each month — using either a friendly frequency picker or a custom cron expression. Use schedule triggers for anything that needs to run on a fixed cadence: daily reports, weekly digests, monthly cleanups, or any routine task that shouldn’t require manual intervention.Webhook
A webhook trigger gives your script a unique URL. When that URL receives an HTTP POST request, the script runs. Services like Zapier, Make, Stripe, or a custom internal tool can start your automation this way. The request body is available to your script as a payload, so you can pass data along with the trigger. Use webhook triggers when another system needs to start a Script.it automation in response to something it knows about.Integration event
An integration event trigger fires your script when something specific happens in one of your connected tools. For example: a new message appears in a Slack channel, a Calendly booking is created, a new email arrives in Gmail matching a filter, or a new issue is opened in Linear. Use integration event triggers to build reactive automations that respond to activity happening in the tools you already use every day.How to create a trigger
All triggers are created from the same place in the UI:- Open any script in Script.it.
- Click the Triggers tab.
- Click Add Trigger.
- Give the trigger a name, choose the trigger type, and fill in the settings.
- Choose an action — either send a prompt to the AI agent or run the script directly.
- Click Create Trigger.
Actions
Every trigger has an action — what Script.it does when the trigger fires. You can choose between two action types:- Send prompt — sends a message to the AI agent in a new session. Use this when you want the agent to decide what to do, or when the task requires natural-language judgment.
- Run script — runs a specific script directly, optionally passing input values. Use this for deterministic automations where you know exactly which script should run.