trigger_create_time_driven
Schedule automated Google Apps Script functions to run at specific intervals: by minutes, hours, daily, or weekly. Set up time-based triggers for Google Workspace automation.
Instructions
Create a time-driven trigger via Apps Script execution. Generates and runs trigger setup code in the script.
Options:
every_minutes: 1, 5, 10, 15, 30
every_hours: 1, 2, 4, 6, 8, 12
day_of_week + hour: weekly trigger (MONDAY-SUNDAY, hour 0-23)
hour only: daily trigger at that hour
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | ||
| function_name | Yes | ||
| every_minutes | No | ||
| every_hours | No | ||
| day_of_week | No | ||
| hour | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |