Philip Young
In this guide, you'll learn how to integrate Session with Apple Shortcut. If you don't know about Session automation yet, you can learn more from Automate your workflow with Session Automation.
You can learn how to make your iOS Shortcut from internet / YouTube. We'll write a guide soon.
There's 9 scenarios where automation ran. They are:
session_start
session_pause
session_unpause
session_went_too_long
session_end
break_start
break_went_too_long
break_end
session_end
or break_end
not called. Example, from abandon Session : stop_working
What you probably use is session_start
, session_end
, stop_working
, and possibly break_start
.
Simply made a shortcut with the matching name above. Session will run it for you.
Session
> Settings (Gear icon)
> Automation
,As of Session v2.3, you will receive additional data from Session on shortcut like Session title
, start date
, end date
, category title
, etc
You can those data on shortcut by choosing Get dictionary from input
and choose the input as Shortcut input
.
Then you can get these individual data from Get Dictionary Value
. Available data:
title
: your session intentiontype
: fullFocus
, partialFocus
, pause
, rest
, or endEarly
category
id
: Category IDtitle
: Category titlestatus
: active
| archived
hex_color
: Color of the categorystart_date
: start datepause_date
: pause date if existsend_date
: ended date (only on session_end
and break_end
)notes
: the notesmeta
: pauses with start date and end date if existsduration_second
: session duration you choosepassed_second
: total passes second since start datefrom_another_device
: If the event comes from your other devices via real time syncCongratulations! Now you've automated your workflow based on Session current state
!