Siri Shortcuts

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:

ParameterDefaultDescription
BeanLast usedCoffee bean to use
Dose18gCoffee dose
Yield36gEspresso yield
Extraction Time28sShot 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:

ParameterDefaultDescription
BeanCoffee bean to use
Coffee18gCoffee weight
Water300gWater weight
Brew Time210sTotal 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:

ParameterDefaultDescription
Include Flow DatafalseInclude 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:

ParameterDescription
BrewThe brew to export
Include Flow DataInclude 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)

  1. Get Bean Inventory from Beanstats
  2. If inventory < 100g → Send notification “Running low on coffee!”

Auto-Log Espresso via NFC

Trigger: NFC tag scan

  1. Log Quick Espresso in Beanstats
  2. Show notification with brew summary

Weekly Export

Trigger: Weekly (Sunday evening)

  1. Export Last Brew as JSON from Beanstats
  2. Save to Files app
  3. Send via email or message

Location-Based Cafe Prompt

Trigger: Arrive at [your favorite coffee shop]

  1. 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:

URLAction
beanstats://brew/newOpen new brew form
beanstats://bean/newOpen new bean form
beanstats://statsNavigate to Statistics
beanstats://scale/connectStart scanning for scales
beanstats://scale/tareTare connected scale
beanstats://freeze/{tag}Open freeze entry by tag

Using URL Schemes in Shortcuts

  1. Add a URL action with the scheme
  2. Add an Open URLs action
  3. The app opens to the specified location

Example: Quick Brew Button

Create a Shortcuts widget button:

  1. New Shortcut
  2. Add URL: beanstats://brew/new
  3. Add Open URLs
  4. Add to Home Screen