Skip to main content

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.

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.

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:
  1. Open any script in Script.it.
  2. Click the Triggers tab.
  3. Click Add Trigger.
  4. Give the trigger a name, choose the trigger type, and fill in the settings.
  5. Choose an action — either send a prompt to the AI agent or run the script directly.
  6. Click Create Trigger.
The trigger activates immediately after you create it. You can pause, resume, or delete any trigger from the Triggers tab at any time.

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.

Schedule triggers: run scripts on a recurring basis

Schedule triggers fire your script automatically at a fixed cadence — choose a common interval or write a custom cron expression with timezone support.

Webhook triggers: fire Script.it scripts via HTTP POST

Webhook triggers give your script a unique URL — send an HTTP POST to that URL from any external service or script to run your automation on demand.

Trigger scripts from integration events in Script.it

Integration event triggers fire your script when something happens in a connected tool — a new Slack message, Calendly booking, Gmail, or Linear issue.