Siri Shortcuts
Beanstats integrates with Siri and the Shortcuts app, allowing you to interact with the app via voice commands and automated workflows.
Available Shortcuts
Get Bean Inventory
Check your current coffee inventory.
Siri Phrases:
- “Check my coffee inventory in Beanstats”
- “What beans do I have in Beanstats”
- “How much coffee do I have in Beanstats”
Returns: A text summary of your beans with remaining weights and low stock alerts.
Log Quick Espresso
Log an espresso shot with customizable parameters.
Siri Phrases:
- “Log an espresso in Beanstats”
- “Log a quick shot in Beanstats”
- “I pulled a shot with Beanstats”
Parameters:
| Parameter | Default | Description |
|---|---|---|
| Bean | Last used | Coffee bean to use |
| Dose | 18g | Coffee dose |
| Yield | 36g | Espresso yield |
| Extraction Time | 28s | Shot duration |
Log Filter Brew
Log a pour-over or filter brew.
Siri Phrases:
- “Log a pour over in Beanstats”
- “Log a filter brew in Beanstats”
- “I made coffee in Beanstats”
Parameters:
| Parameter | Default | Description |
|---|---|---|
| Bean | — | Coffee bean to use |
| Coffee | 18g | Coffee weight |
| Water | 300g | Water weight |
| Brew Time | 210s | Total brew time |
Export Last Brew as JSON
Export your most recent brew as JSON data.
Siri Phrases:
- “Export my last brew from Beanstats”
- “Get my last brew as JSON from Beanstats”
Parameters:
| Parameter | Default | Description |
|---|---|---|
| Include Flow Data | false | Include weight samples |
Returns: JSON string of the brew data for use in Shortcuts.
Export Specific Brew
Select and export a specific brew as JSON.
Parameters:
| Parameter | Description |
|---|---|
| Brew | The brew to export |
| Include Flow Data | Include weight samples |
Creating Custom Shortcuts
Open the Shortcuts app and create automations using Beanstats actions:
Morning Coffee Reminder
Trigger: Time of day (7:00 AM)
- Get Bean Inventory from Beanstats
- If inventory < 100g → Send notification “Running low on coffee!”
Auto-Log Espresso via NFC
Trigger: NFC tag scan
- Log Quick Espresso in Beanstats
- Show notification with brew summary
Weekly Export
Trigger: Weekly (Sunday evening)
- Export Last Brew as JSON from Beanstats
- Save to Files app
- Send via email or message
Location-Based Cafe Prompt
Trigger: Arrive at [your favorite coffee shop]
- Open Beanstats to the cafe brew form
Tips
- Shortcuts run in the background without opening the app
- You can modify parameters when running a shortcut
- Combine with other apps and automations for powerful workflows
- Bean selection shows your full inventory for easy picking
URL Schemes
For advanced automation, Beanstats supports URL schemes that can be used in Shortcuts, Raycast, Alfred, and other tools:
| URL | Action |
|---|---|
beanstats://brew/new | Open new brew form |
beanstats://bean/new | Open new bean form |
beanstats://stats | Navigate to Statistics |
beanstats://scale/connect | Start scanning for scales |
beanstats://scale/tare | Tare connected scale |
beanstats://freeze/{tag} | Open freeze entry by tag |
Using URL Schemes in Shortcuts
- Add a URL action with the scheme
- Add an Open URLs action
- The app opens to the specified location
Example: Quick Brew Button
Create a Shortcuts widget button:
- New Shortcut
- Add URL:
beanstats://brew/new - Add Open URLs
- Add to Home Screen