← Back to Gmail Setup
⚙️ Set Up Automatic Trigger
So KIWacht runs automatically every 5 minutes — no manual execution needed
1
1. Click “Add Trigger”
In the left sidebar, click the Triggers icon, then click the blue “Add Trigger” button.

2
2. Choose function to run
Click the dropdown menu labeled “Select function to run”.

3
3. Select classifyAndLabel
From the list, choose the function classifyAndLabel.

classifyAndLabel
4
4. Configure time interval
Set up the trigger as follows:
- Arrow 1: Select “Minutes timer”
- Arrow 2: Choose “Every 5 minutes”
- Arrow 3: Click “Save”

⚠️ Without this step, the script will not run automatically!



