Forhåndsvisning
🩸 Period Logger
Log your period in Apple Health using your voice and ChatGPT.
This shortcut lets you record multiple days of your period with a single spoken phrase, without manually selecting dates in the Health app.
🎙️ Voice input: Simply say when your period started and ended. 🤖 ChatGPT: Uses CharGPT through Apple Intelligence to recognize dates. 📅 Automatic logging: Records every day of your period directly in Apple Health. ✅ Confirmation: Review the detected dates before saving.
HOW TO USE
Always mention both the start and end dates of your period.
For example: • «My period was from November 19 to 22.» • «Log my period from the 19th to the 22nd.»
The shortcut does not support logging a single day without an end date.
REQUIREMENTS
• Apple Intelligence enabled with ChatGPT integration available • Permission to write Menstrual Flow data to Apple Health
⚠️ Note: Your input is processed by AI. Always double-check the detected dates before confirming.
Nyheder
Replaced the ChatGPT app action with Apple's native ChatGPT integration for better performance and a simpler setup.
Hvad den gør
24 handlinger-
Dictate Text
-
Text
-
Use Model
-
Get Text from Input
-
If
-
Show NotificationCouldn't recognize the dates.
-
Stop This Shortcut
-
If
-
Split Text
-
Get Item from List
-
Format Date
-
Get Item from List
-
Format Date
-
Choose from MenuLog your period from … to …?
-
Choose from MenuLog Period
-
Choose from MenuCancel
-
Stop This Shortcut
-
Repeat with Each
-
Get Dates from Input
-
Format Date
-
If
-
Log Health Sample
-
If
-
Log Health Sample
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/text'
#define color red
#define glyph waterDrop
listen(, "en-US")
const Response = askLLM(, "ChatGPT")
const = getText(Response)
if contains "ERROR" {
showNotification("Couldn't recognize the dates.", false)
stop()
} else {
}
const 1 = splitText()
getListItems(1, 0, 0)
formatDate(, "Custom", "MMM d, yyyy")
getFirstItem(1)
formatDate(, "Custom", "MMM d, yyyy")
menu "Log your period from {} to {}?" {
item "Log Period":
item "Cancel":
stop()
}
for _ in 1 {
getDates(@RepeatItem)
formatDate(, "Custom", "yyyy-MM-dd HH:mm")
if @RepeatIndex == 1 {
rawAction("is.workflow.actions.health.quantity.log", {
"WFCategorySampleAdditionalEnumerationKey": "Yes",
"WFCategorySampleEnumeration": "Unspecified",
"WFQuantitySampleDate": "{}",
"WFQuantitySampleType": "Menstruation"
})
} else {
rawAction("is.workflow.actions.health.quantity.log", {
"WFCategorySampleAdditionalEnumerationKey": "No",
"WFCategorySampleEnumeration": "Unspecified",
"WFQuantitySampleDate": "{}",
"WFQuantitySampleType": "Menstruation"
})
}
}
Bedømmelser og anmeldelser
Skriv en anmeldelseIngen anmeldelser endnu. Vær den første!