updateCache
Cache shortcut updates from routinehub.
AI Summary
updateCache
GAS to auto-sync RoutineHub shortcuts to GitHub
Target Users
Intermediate+ developers building internal/personal workflows who need automated RoutineHub-to-GitHub sync
Problems Solved
Manual RoutineHub shortcut updates are tedious; automate GitHub sync
Script ID
- In GAS Editor: Click "Libraries +" → Paste into "Script ID" field → Click "Look up"
- "updateCache" will appear in the search results
- Select the latest version (highest number) from "Version" dropdown
- Click "Add"
Tags
Web UI setup
Configure GitHub info and management mode via a setup page
Hourly trigger
After saving credentials, a time-driven trigger runs hourly to sync
Auto/manual modes
Use RoutineHub feed for auto management or add/remove IDs manually
Token storage
Tokens in User Properties; non-sensitive values in Script Properties
Manual run and reset
Run now triggers sync and shows history; Reset setup clears config, history, trigger
Due to insufficient public information, the README provides no code examples. It states you can configure via the setup page and run "uploadShortcutsFromSettings" directly from the script editor.
