ShareShortcuts

Caffeine

First try a complicated shortcut here

Fork “Caffeine”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so the original creator gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
75K
Saved
1
Actions
30
Category
Reference
Version
1.0
Language
EN

First try a complicated shortcut here. Basically I pulled all the caffeine information from here: https://www.caffeineinformer.com/the-caffeine-database I copied everything into a google sheets file and cleared out the columns I didn't want. After that that I published publicly as a .csv file. This list contains over 800 items and their respective caffeine in mg. Originally I was looking for an easier way to log caffeine through the shortcut app without having to remember all the amounts for the hundreds of drinks out there, so I figured I'd make a google sheet but it ended up turning out to be harder than I expected lol So basically: * Prompts a search through the database * creates a dictionary from the search * additional choice of custom amount * you can choose an item or custom amount and it logs a health sample for caffeine * gives you a notification that a sample has been logged Any feedback would be greatly appreciated!

What's New

Version 1.0

First release

Version History
1.0 Oct 6, 2018

First release

What it does

30 actions
  1. Date
  2. Ask for Input
    Search for drink
  3. Set Variable
    Answer
  4. Text
  5. Set Variable
    Url
  6. URL
    …
  7. Get Contents of URL
  8. Match Text
  9. Combine Text
  10. Repeat with Each
  11. Replace Text
  12. Replace Text
  13. Get Dictionary from Input
  14. Set Variable
    Dictionary
  15. List
  16. Choose from List
  17. Get Text from Input
  18. Set Variable
    Item
  19. Get Variable
  20. If
  21. Ask for Input
    Please enter custom amount in mg
  22. If
  23. Get Variable
  24. Get Dictionary from Input
  25. Get Dictionary Value
  26. Get Variable
  27. Set Variable
    Caffeine
  28. Log Health Sample
  29. Show Notification
    Sample has been logged!
  30. Stop This Shortcut

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Oct 10, 2018
danielbahl

This is pretty awesome, thank you for sharing 😎

Advertisement

From the Blog

Reviews and guides featuring Caffeine

You Might Also Like

See All
Advertisement