July 25, 2018

Siri Shortcuts - Episode 6

Shortcut Name: Happy Level Tip Calculator
Revision: 1.0
Add to Shortcuts!

What does it do?
This Shortcut is a handy tip calculator that allows you to choose a tip amount based on how you felt about the service, and then let’s you also split the check if necessary. It all runs from within the Shortcut Widget in the Today View, so it’s super fast and convenient!

How does it work?

  1. Ask for input regarding the amount of the meal check and set to variable meal.
  2. Choose how the experience made you feel:
  • 😃 Great! (20% tip)
  • 😐 Meh. (15% tip)
  • ☹️ Not Good. (8% tip)
    Set selection to variable tip_select.
  1. Calculate tip amount: meal x tip_select. Set variable tip.
  2. Calculate total: meal+tip, and round amount. Set variable total.
  3. Prompt if check should be split between multiple people, and how many people. Set the number of people to variable party.
  4. Calculate split amount: total / party and set variable to total_split. Show amount for each person in result.
  5. If check is not to be split, the total amount is shown.

Example
Shortcut Example Gif

Source Code”
Shortcut Code Screenshot

Check out other shortcuts!


iOS Shortcuts Siri


Previous post
Siri Shortcuts - Episode 5 Shortcut Name: Save Safari URL to saved.io Bookmarking Service Revision: 1.0 Add to Shortcuts! What does it do? This one came from an idea that @cm
Next post
Siri Shortcuts - Episode 7 Shortcut Name: Photo Upload to hosted Micro.blog / Retrieve URL Revision: 1.0 Add to Shortcuts! What does it do? This Shortcut lets you select a
Jason Burk | 1999-2019
blot.im!
📦 Blog Archives 📦

status icon credit iconfinder.com/bogdanrosu