Create Alarm / CreateAlarm (internally is.workflow.actions.alarm.create
)
This action is not yet complete. Some arguments may be missing.
This action requires that Shortcuts has permission to use WFSiriAccessResource.
description
summary
Creates an alarm in the Clock app.
usage
CreateAlarm label="string" time="string" undefined=NotImplemented
arguments
label: Text (Docs)
Placeholder: "Alarm"
Allows Variables: true
Accepts a string or text with the text. Does not allow newlines.
time: Date (Docs)
Placeholder: "8 AM"
Allows Variables: true
Accepts a string or text with the text. Does not allow newlines.
This parameter is not implemented yet.
The parameter type is WFAlarmFrequencyPickerParameter. If you need to use this parameter, you may be able to use a raw value. Try converting a .shortcut to a .scpl containing the values you want in this parameter.
source json (for developers)
{
"ActionClass": "WFCreateAlarmAction",
"ActionKeywords": [
"alarm",
"set",
"clock",
"timer",
"add"
],
"AppIdentifier": "com.apple.mobiletimer",
"Category": "Calendar",
"Description": {
"DescriptionSummary": "Creates an alarm in the Clock app."
},
"InputPassthrough": true,
"Name": "Create Alarm",
"Parameters": [
{
"Class": "WFTextInputParameter",
"Key": "WFLabel",
"Label": "Label",
"Placeholder": "Alarm",
"TextAlignment": "Right"
},
{
"Class": "WFDateFieldParameter",
"HintDateMode": "Time",
"Key": "WFTime",
"Label": "Time",
"Placeholder": "8 AM",
"TextAlignment": "Right"
},
{
"Class": "WFAlarmFrequencyPickerParameter",
"Key": "WFFrequency",
"Label": "Repeat",
"NoneLabel": "Never"
}
],
"RequiredResources": [
"WFSiriAccessResource"
]
}