The weight Shortcut reads your last 7 days of weights from Apple Health and sends them to foodcraft. It uses a sync key that can only add weights: it cannot read anything of yours. Each run resends the last 7 days, so a late weigh-in arrives the next morning and nothing is counted twice.
- In foodcraft, open Settings → Weight sync and tap Create a new key. The key is shown once, so copy it now. Creating a new key replaces the old one.
- On your iPhone, open the weight Shortcut and tap Add Shortcut. When it asks for your foodcraft sync key (the Import question), paste the key from step 1.
- If Health shows your weight in pounds, open the Shortcut, find the Find Health Samples action and set its Unit to kg. The Shortcut does not convert units, and foodcraft expects kilograms.
- Run the Shortcut once and allow access to Health when it asks. It
finishes without showing anything. Open Settings → Weight sync:
it now shows your latest weight, for example
71.0 kg · today. - To run it every day, open Shortcuts → Automation → +, choose Time of Day, pick a time after you usually weigh in (for example 8:00), choose Daily, then Run Immediately, and select the Shortcut.
If Weight sync does not update
Add a Show Result action at the end of the Shortcut and run it once
to see foodcraft’s answer. {"recorded": 8, "duplicates": 0} means it
worked; a second run shows {"recorded": 0, "duplicates": 8}, because
the same weights are never added twice. Remove the action again so the
daily run stays silent. Anything else is an error:
{"error":"unauthenticated"}: the key is wrong or has been revoked. Create a new key in Settings and paste it into the Shortcut again.{"error":"invalid_readings","field":"at"}(or"kg"or"readings"): foodcraft could not read that part of what the Shortcut sent. Check that you have not edited the Shortcut’s actions, and that Unit is set to kg.
To stop syncing, revoke the key in Settings → Weight sync. A revoked key is refused and nothing it sends is recorded.