| Other systems: Windows | Mac |
This guide uses a terminal for the computer steps. Linux has no Shortcuts app, so you still need an iPhone for the health data.
Time: about 1 hour 15 minutes.
git and sed. Check with git --version. Install git with your package manager if it is missing.Open a terminal and run:
git clone https://github.com/YOUR-GITHUB-USERNAME/notion-health-day-board.git
cd notion-health-day-board
If you forked the repository, use your own fork’s address.
[] and a space to start a checkbox. Text after a dash is shown as a note.Get both page IDs. Open each page, click Share, then Copy link. The page ID is the 32 letters and numbers at the end of the link. Ignore anything after a ?.
Example: https://www.notion.so/To-Do-List-0123456789abcdef0123456789abcdef has the page ID 0123456789abcdef0123456789abcdef.
In the repository folder, run this. Put your own two IDs in place of the words in capitals:
sed -i "s/YOUR-TODO-LIST-PAGE-ID/MY-TODO-ID/; s/YOUR-HEALTH-LOG-PAGE-ID/MY-HEALTH-ID/" board/index.html
Check it:
grep -n "var PAGE_ID\|var HEALTH_ID" board/index.html
You must see your two IDs, and no YOUR- in these two lines.
Do not use git commit on this file. It now holds your IDs. To keep the repository clean, run git update-index --assume-unchanged board/index.html.
board/index.html to the chat.Paste this message and send it:
Publish the attached index.html as an artifact, exactly as it is.
Declare these capabilities: db (no rules) and mcp with the server
"Notion" and the tool "notion-fetch".
YOUR-BOARD-ARTIFACT-URL.You build the Shortcut on the iPhone, because only the iPhone can read Apple Health.
Keep your Notion key on the iPhone only. Never put it in a file or a chat.
{"object":"list".Make edited copies of the two prompts. This does not change the repository files:
mkdir -p ~/day-board-prompts
for f in morning-update evening-update; do
sed "s/YOUR-TODO-LIST-PAGE-ID/MY-TODO-ID/g; s/YOUR-HEALTH-LOG-PAGE-ID/MY-HEALTH-ID/g; s|YOUR-BOARD-ARTIFACT-URL|MY-BOARD-LINK|g; s|YOUR-TIMEZONE|Europe/London|g" prompts/$f.md > ~/day-board-prompts/$f.md
done
~/day-board-prompts/morning-update.md.Follow desktop-widget-linux.md. It makes a small board window with an app-menu entry, autostart and always-on-top.
| You see | Fix |
|---|---|
sed shows no error but IDs did not change |
The tag was already replaced, or you ran it in the wrong folder. Run pwd and check you are in notion-health-day-board. |
| The board says “Set your Notion page IDs” | Run the grep check in Part 3. |
| Sync Notion finds no tasks | Check the To-Do List page has checkbox lines, and that you pressed Allow. |
| Anything else | See troubleshooting. |