iOS SHORTCUTS BUILD — SAM TREITEL / HOOK STREET
Purpose: Mobile entry points for capturing thoughts, routing them through Claude, and jumping to OneDrive folders — all from the home screen.
Action: Deploy 2 Apps Script webhooks, build 4 shortcuts on iPhone, pin to home screen.
Threshold: Tier 1 working in 15 min. Tier 2 in 30 min. File shortcuts in 5 min each.
Default if you stall: Build Tier 1 + the OneDrive shortcuts today. Skip Tier 2 until you have an Anthropic API key in hand.
WHAT YOU'RE BUILDING
| # | Shortcut | What it does | Tier |
|---|---|---|---|
| 1 | Quick Capture | Tap → dictate/type → row in BOS Quick_Capture tab | 1 |
| 2 | Claude Router | Tap → dictate → Claude categorizes → logs + suggests action | 2 |
| 3 | Open OneDrive Folder | Tap → jumps to specific folder in Files app | 1 |
| 4 | Open Specific File | Tap → opens a specific file directly | 1 |
STEP 1 — DEPLOY THE WEBHOOK (10 min)
You need this before any shortcut works.
1a. Get your Sheet ID
Open your hookstreet-bos-sheets Google Sheet. The URL looks like:
https://docs.google.com/spreadsheets/d/1aB2cD3eF4gH5iJ6kL7mN8oP/edit
The Sheet ID is the part between /d/ and /edit. Copy it.
1b. Deploy Tier 1 (Quick Capture)
- Go to script.google.com → + New project
- Name it:
BOS Quick Capture Webhook - Delete the default
function myFunction()code - Paste in the contents of
01_apps_script_quick_capture.gs - Replace
PASTE_YOUR_BOS_SHEET_ID_HEREwith your Sheet ID - Save (Cmd+S)
- Run → select function
_testCapture→ click ▶ Run
- First time: it'll ask for permissions. Click Review → Advanced → Go to (unsafe) → Allow
- This is your own script accessing your own Sheet — safe. - Open your Sheet. There should now be a
Quick_Capturetab with one test row. - Now deploy as web app:
- Top right: Deploy → New deployment
- Click gear icon ⚙ next to "Select type" → Web app
- Description:Quick Capture v1
- Execute as: Me
- Who has access: Anyone ⚠ (required for shortcut to hit it)
- Click Deploy - COPY THE WEB APP URL. It looks like:
https://script.google.com/macros/s/AKfycbz.../exec
Save this — you'll paste it into the iOS Shortcut.
1c. (Optional, for Tier 2) Deploy the Claude Router
Repeat the above with 02_apps_script_claude_router.gs, plus:
- After step 6, before deploying:
- Click Project Settings (gear icon, left sidebar)
- Scroll to Script Properties
- Add property: ANTHROPIC_API_KEY = your sk-ant-... key
- Save
- Run _testRouter to verify the Claude call works
- Then deploy as web app, get the URL
STEP 2 — BUILD SHORTCUT #1: QUICK CAPTURE (5 min)
On your iPhone:
- Open Shortcuts app → tap + (top right)
- Tap "New Shortcut" name → rename to: Quick Capture
- Tap the icon (top) → pick a color + glyph (lightning bolt is good)
- Add actions in this order:
Action 1: Dictate Text (or "Ask for Input" if you prefer typing)
- Search "Dictate" → tap Dictate Text
- Tap "Stop Listening" → change to: On Tap
Action 2: Get Contents of URL (this is the POST)
- Search "URL" → tap Get Contents of URL
- Paste your Quick Capture webhook URL in the URL field
- Tap Show More
- Method: POST
- Request Body: JSON
- Tap Add new field → key: text → tap value field → tap Dictated Text (variable from action 1)
- Tap Add new field → key: source → value: iOS Shortcut
Action 3: Show Notification (confirms it landed)
- Search "Notification" → tap Show Notification
- Title: ✅ Captured
- Body: tap value → Dictated Text
- Tap Done (top right)
- Long-press the shortcut → Add to Home Screen → name it, pick icon → Add
Test it: Tap the home-screen icon, dictate "test capture from phone." Open your Sheet → should be a row in Quick_Capture.
STEP 3 — BUILD SHORTCUT #2: CLAUDE ROUTER (10 min)
Same flow as #1 with smarter handling. Use the Claude Router webhook URL instead.
- Shortcuts → + → name: Claude Router
- Action 1: Dictate Text (Stop on Tap)
- Action 2: Get Contents of URL
- URL: your Claude Router webhook URL
- Method: POST, Body: JSON
- Fieldtext= Dictated Text
- Fieldmode=route - Action 3: Get Dictionary from Input (parses JSON response)
- Action 4: Get Dictionary Value
- Get Value for:summary
- In: Dictionary (from action 3) - Action 5: Get Dictionary Value (separate one)
- Get Value for:category
- In: Dictionary - Action 6: Show Notification
- Title:🧠 [Category](insert Dictionary Value from action 5)
- Body: Dictionary Value from action 4 (the summary) - Save → Add to Home Screen.
Test it: Dictate "remind me to email Huvie tomorrow about the invoice." You should get a notification: 🧠 reminder / "Email Huvie tomorrow about invoice." Sheet row will have category, summary, suggested destination.
STEP 4 — BUILD SHORTCUT #3: OPEN ONEDRIVE FOLDER (3 min each)
OneDrive folders open via web URL. The OneDrive iOS app handles the URL automatically if installed.
4a. Get the folder URL
- Open OneDrive on desktop or web
- Navigate to the folder
- Click Share → Copy link (or just copy the URL from the address bar if it's your own folder)
- The URL looks like
https://onedrive.live.com/?cid=...&id=...orhttps://1drv.ms/f/...
4b. Build the shortcut
- Shortcuts app → + → name: e.g. Open BOS Workspace
- Add action: Open URLs
- Paste the OneDrive folder URL
- Save → Add to Home Screen
Repeat for each folder you use daily. Suggested set:
- Open BOS Workspace (your hookstreet-workspace OneDrive folder)
- Open Eden Gardens
- Open STR Property Docs
- Open Mom Wholesale OS
4c. Want it to open in the Files app instead of OneDrive app?
- Use action: Open File (not Open URLs)
- Tap "File" → navigate to the OneDrive-synced folder under "Browse" → "OneDrive"
- Shortcut will jump straight there.
STEP 5 — BUILD SHORTCUT #4: OPEN SPECIFIC FILE (3 min)
For files you open daily — say CONTEXT.md or your master Sheet.
Google Sheet / Doc:
- Shortcut → Open URLs → paste the Sheet's full URL → save → home screen.
Specific file in OneDrive (synced to Files app):
- Shortcuts → + → name: e.g. Open CONTEXT.md
- Add action: Open File
- Tap "File" → Browse → OneDrive → navigate to the file → select it
- Save → Add to Home Screen.
TAKEAWAY
Once steps 1–4 are done, your home screen has 4–8 one-tap entry points:
[ Quick Capture ] [ Claude Router ] [ BOS Workspace ] [ Eden Gardens ]
[ Open Sheet ] [ STR Docs ] [ Mom Wholesale ] [ CONTEXT.md ]
Voice or text → captured. Folders one tap away. No app-switching, no typing on glass.
Next-level upgrades (when you're ready):
- Add a Trade Log shortcut that hits a different Apps Script and writes to MIS
- Add a Send Mildred Update shortcut that fires a pre-templated email
- Add a Daily Brief shortcut that pulls today's tasks/calendar/STR bookings and reads them aloud
- Replace iCloud-based shortcuts with back-tap triggers (Settings → Accessibility → Touch → Back Tap → Run Shortcut) so you can fire Quick Capture by double-tapping the back of your phone.
TROUBLESHOOTING
| Symptom | Fix |
|---|---|
| Shortcut returns "401" or "permission denied" | Web app deployed with "Anyone" access? Re-deploy if not. |
| Sheet stays empty | Wrong Sheet ID, or the script doesn't have access. Run _testCapture from the Apps Script editor first. |
| Claude Router returns "API key not set" | Set ANTHROPIC_API_KEY in Project Settings → Script Properties (NOT in the code). |
| "Get Dictionary Value" returns nothing | Webhook returned an error JSON. Open Apps Script → Executions tab to see the error. |
| OneDrive shortcut opens browser instead of app | Install the OneDrive iOS app, then re-tap; iOS will route to the app. |
| Want it silent (no notification) | Delete the Show Notification action from the shortcut. |