Time Tracking With Notion And iOS Shortcut
Tap a home screen icon on iOS to log start, break, or end times, which syncs directly to your Notion database via n8n.
freelancers and consultantsanyone managing their own day
What it does
Tap your iOS home screen icon to instantly start, pause, or end time tracking sessions without opening an app. Your logged hours and breaks automatically sync to your Notion database via n8n so you can review them later.
Step by step
- Configure the iOS Shortcut to send a POST request with JSON payload containing action type and timestamp to the n8n webhook URL.
- Set up an n8n workflow that triggers on incoming webhook requests and maps the data fields to Notion database properties.
- Create a Notion database with columns for Session ID, Start Time, End Time, Duration, and Status.
Where the LLM does the work
- Design the JSON structure for the iOS Shortcut payload to ensure it includes all necessary metadata like user ID or project tag if needed later.
- Generate the n8n expression logic to calculate duration in minutes between start and end times accurately across different time zones.
- Draft the error handling messages in n8n to provide clear feedback back to the iOS Shortcut if the Notion insertion fails.
Watch out for
Timezone mismatches can corrupt your data so always store timestamps in UTC within Notion and convert for display later.
iOS Shortcuts may cache old webhook URLs if you change them, so test the connection immediately after updating any endpoint settings.
The iOS Shortcut requires explicit permission to access network resources so ensure the script runs in a way that doesn't trigger background execution restrictions.
Tools that fit
The agent brief
Everything your agent needs, including the gotchas. Copy it and go.
You are helping me build the following AI agent workflow. ## Goal Time Tracking With Notion And iOS Shortcut: Tap a home screen icon on iOS to log start, break, or end times, which syncs directly to your Notion database via n8n. ## Specification - What it does: Tap your iOS home screen icon to instantly start, pause, or end time tracking sessions without opening an app. Your logged hours and breaks automatically sync to your Notion database via n8n so you can review them later. - Trigger: Run manually (Manual · on demand via iOS shortcut) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - n8n: Workflow automation and webhook handling - Notion: Storing time tracking data in a database - iOS Shortcut: Triggering the workflow from iPhone home screen ## Known pitfalls, handle each one explicitly in your implementation 1. Timezone mismatches can corrupt your data so always store timestamps in UTC within Notion and convert for display later. 2. iOS Shortcuts may cache old webhook URLs if you change them, so test the connection immediately after updating any endpoint settings. 3. The iOS Shortcut requires explicit permission to access network resources so ensure the script runs in a way that doesn't trigger background execution restrictions. ## Reference implementation https://n8n.io/workflows/2447 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/time-tracking-with-notion-and-ios-shortcut/ via usecasesforagents.com
Frequently asked questions
Can I use a different Automation Platform than n8n?
Yes. n8n is only the example automation platform in this recipe. The same flow works with Home Assistant. Swap the automation platform connection and keep the rest of the setup as written.
Want this running in your business?
This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Who it's for
Built for freelancers and consultants juggling this across every client, not just one.
Works just as well for personal use, no business context needed.