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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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:

To stop syncing, revoke the key in Settings → Weight sync. A revoked key is refused and nothing it sends is recorded.