Before you start
Connect the app first. Only apps you’ve connected show up in the trigger list. You can connect from Settings → Integrations, or just ask the agent — it’ll prompt you when a connection is missing. See Connecting integrations.A trigger uses the account you connected. If that connection is removed or expires, the trigger stops firing until you reconnect. Script.it flags affected triggers so you can spot them.
Creating an app event trigger
1
Open the Triggers tab
Open the script you want to run, click the Triggers tab, then click Add Trigger.
2
Find the event
Search the list for the app or the thing you want to watch for — type “pull request”, “new row”, or “Slack”. The list shows events for the apps you’ve connected.
3
Pick the account
If you’ve connected more than one account for that app, choose which one the trigger should watch.
4
Fill in the settings
Most events have a setting or two to narrow them down — which Slack channel, which Notion database, which spreadsheet, which Gmail search to match.
5
Choose the script
Pick the script to run, and fill in any inputs it needs.
6
Create the trigger
Click Create Trigger. It starts watching straight away.
Available events
This list isn’t a limit. If your app isn’t here, or the event you want isn’t in the list, you can still trigger on it. Connect the service as a custom integration — any REST API works — and ask the agent to build a custom trigger that watches it. The result behaves exactly like a built-in event: it lives in your script, has its own settings and run history, and travels with the script when you share it.
We add to this regularly, so the list in the app is always the current one — check there first, and build a custom trigger for whatever isn’t in it yet.
How quickly a trigger fires
It depends on the app:- Instantly — apps that notify Script.it directly the moment something happens. Slack, GitHub pushes, Stripe, Linear, Jira, Trello, Asana, Zoom, and Shopify orders work this way.
- On a regular check — for everything else, Script.it checks the app periodically and runs your script when it finds something new. Expect a short delay rather than an instant reaction, and a slightly longer one for triggers that have been quiet for a while.