Login About Gallery
Export Health Data
TEXT
Date;Value;Unit
VARIABLES
Set variable
rows
to
Input
HEALTH
Find
All Health Samples
where
All the following are true
Type
is
default
Start Date
is between
Now
and
Now
Sort by
Start Date
Order
Oldest First
Limit
SCRIPTING
Repeat with each item in
Input
HEALTH
Get
Start Date
from
Health Sample
VARIABLES
Set variable
startDt
to
Input
VARIABLES
Get
Repeat Item
HEALTH
Get
Value
from
Health Sample
VARIABLES
Set variable
value
to
Input
VARIABLES
Get
Repeat Item
HEALTH
Get
Unit
from
Health Sample
VARIABLES
Set variable
unit
to
Input
TEXT
value
;
unit
;
startDt
VARIABLES
Add
Input
to
rows
End Repeat
TEXT
Health Export
Current Date
.csv
VARIABLES
Set variable
filename
to
Input
VARIABLES
Get
rows
TEXT
Combine
Text List
with
New Lines
DOCUMENTS
Save
File
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/
filename
Overwrite If File Exists
DOCUMENTS
Open
File
in
Choose
Show Open In Menu

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 18 days ago

This is an old shortcut, so some variables might be missing!

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0