← Primed Journal

How to Create Custom Zwift Workouts With AI

A practical walkthrough from training goal and fatigue constraints to a validated .zwo file imported into Zwift, including exact macOS, Windows and iOS folder paths and what is manual versus automatic.

A matte-black road bike mounted on a direct-drive smart trainer in a quiet dawn cycling room as a rider prepares to clip in.

Creating a custom Zwift workout with AI takes less than five minutes once you separate session design from file import. Give the AI four concrete inputs — one physiological target, your current FTP, your exact available minutes and your recent fatigue — check that the interval maths actually adds up, and drop the exported .zwo file into your numeric Zwift user folder before launching Zwift.

In Primed, structured cycling workouts can be built or adapted in Coach chat around your connected training load and recovery, then downloaded directly from the Workout Detail screen as a standard .zwo file for Zwift (or published to your Intervals.icu calendar via opt-in Outgoing Workout Sync). Primed does not push workouts automatically into Zwift's home screen without that .zwo download step — knowing that upfront keeps your indoor setup predictable.

Key takeaways

  • Start with one session purpose, current FTP, time cap and fatigue.
  • Verify wattage fractions and exact seconds before trusting any .zwo file.
  • Desktop Zwift scans your numeric <ZwiftID> Workouts folder on launch.
  • Primed exports standard .zwo files rather than direct Zwift auto-push.
  • Relaunch Zwift and check for hidden .zwo.txt extensions if files vanish.

Step 1: Set clear physiological and time constraints

Open-ended prompts like "make me a tough 60-minute Zwift session" tend to produce cluttered "kitchen-sink" workouts full of arbitrary cadence changes, tiny recovery valleys and unrealistic supra-threshold blocks. Anchor every custom workout with four boundaries:

  1. One primary stimulus: Choose aerobic endurance (Zone 2, ~58–72% FTP), sweet spot (88–92% FTP), threshold (95–100% FTP) or VO₂ max (105–118% FTP). Mixing all four in 60 minutes usually leaves none of them well trained.
  2. Matched FTP setting: Zwift .zwo files store intensity as decimal fractions of FTP (0.90 = 90% FTP). Make sure the FTP inside Zwift matches the FTP your workout was built against.
  3. Hard total-duration cap: Reserve 10–12 minutes for a progressive warm-up and 5–8 minutes for a cool-down inside your total available window.
  4. Fatigue and weekend context: Mention yesterday's load, last night's sleep and your next key ride so work-to-rest ratios match what you can absorb today.

Step 2: Prompt for structure and sanity-check the numbers

Here is an illustrative coaching prompt for a rider with 60 minutes before work, a 250 W FTP, mild Tuesday fatigue and a three-hour group ride coming up on Saturday:

Design a 60-minute indoor cycling workout for Zwift targeting controlled sweet-spot endurance
without compromising Saturday's 3-hour hilly ride.
Constraints:
- Current FTP: 250 W
- Strict total duration: 3,600 seconds (60 minutes) including warm-up and cool-down
- Recovery state: Mild leg heaviness from Tuesday; 7.2 hours sleep
- Main set target: 3 x 12 min at 89-90% FTP with 3 min easy recovery at 55% FTP
- Include a 12-minute warm-up block with two 30-second openers and a 6-minute cool-down.

Four checks to run before exporting or riding

CheckSensible 60-minute structureRed flag to correct
Warm-up progression8–12 min ramp from ~50% to ~72% FTP plus brief openersJumping straight into 95%+ FTP after 3 minutes
Interval densitySweet spot 3 × 12 min (3 min rest); VO₂ max 4–5 × 4 min (3–4 min rest)2 × 20 min at 105% FTP or 30-second rests after 5-minute VO₂ max reps
ERG-mode stabilitySmooth transitions; cadence cues left optional unless deliberateSudden 10-second jumps to 150% FTP that trigger an ERG "spiral of death"
Exact duration sumBlock seconds add up cleanly to 3,600 seconds (60 min)Unnoticed extra recovery blocks pushing a "60-minute" session to 68 minutes

Primed Workout Detail screen for a Threshold Intervals ride showing Export Workout (.zwo), Coach Briefing workout summary, and Why This Session rationale

Illustrative Primed Workout Detail screen showing the session summary, Why This Session rationale and the Export Workout (.zwo) action.

Step 3: Export and validate the .zwo XML structure

A .zwo file is plain XML. Whether you download a .zwo directly from Primed's Workout Detail screen or generate one from a prompt, opening it in any text editor lets you verify two rules in ten seconds:

  1. Every Duration is expressed in seconds — here 480 + 180 + 60 + 720 + 180 + 720 + 180 + 720 + 360 = 3,600 seconds (60 minutes exact).
  2. Every Power, PowerLow and PowerHigh attribute is a decimal fraction of FTP (0.90 = 90% FTP — never 90, which Zwift interprets as 9,000% FTP).
<workout_file>
  <author>Primed</author>
  <name>3x12 Sweet Spot Controlled (60m)</name>
  <description>12 min warm-up with openers, 3x12 min at 89-90% FTP (3 min recovery), 6 min cool-down.</description>
  <sportType>bike</sportType>
  <workout>
    <Warmup Duration="480" PowerLow="0.50" PowerHigh="0.72" />
    <IntervalsT Repeat="2" OnDuration="30" OffDuration="60" OnPower="0.95" OffPower="0.55" />
    <SteadyState Duration="60" Power="0.55" />
    <SteadyState Duration="720" Power="0.89" />
    <SteadyState Duration="180" Power="0.55" />
    <SteadyState Duration="720" Power="0.90" />
    <SteadyState Duration="180" Power="0.55" />
    <SteadyState Duration="720" Power="0.90" />
    <Cooldown Duration="360" PowerLow="0.60" PowerHigh="0.45" />
  </workout>
</workout_file>

Step 4: Import into Zwift on macOS, Windows and iOS

Zwift loads local .zwo files differently on desktop computers than on iPhone, iPad or Apple TV (Zwift Custom Workouts guide):

macOS and Windows

  1. Locate your numeric <YourZwiftID> folder:
    • macOS: Documents/Zwift/Workouts/<YourZwiftID>/
    • Windows (classic path): Documents\Zwift\Workouts\<YourZwiftID>\
    • Windows (recent Zwift Launcher installs): %LocalAppData%\Zwift\Workouts\<YourZwiftID>\ (C:\Users\<username>\AppData\Local\Zwift\Workouts\<YourZwiftID>\)
  2. Drop your .zwo file inside that numeric <YourZwiftID> folder (optional subfolders such as Primed show up as custom categories inside Zwift).
  3. Quit and relaunch Zwift completely if it was already open — Zwift scans local workout folders on startup.
  4. Open Workouts → Custom in Zwift and inspect the power-profile preview graph to confirm all intervals and wattages look right before starting your ride.

iPhone and iPad (iOS / iPadOS)

Zwift on iOS has no in-app .zwo file picker. Two official methods work reliably:

  • Desktop cloud sync (simplest if you have a Mac or PC): Place the .zwo file into your desktop <YourZwiftID> folder, launch Zwift once on that Mac or PC so it syncs custom workouts to your Zwift cloud profile, then open Zwift on your iPhone or iPad.
  • Direct USB File Sharing: Connect your iPhone or iPad to a Mac (Finder → select device → Files → Zwift) or Windows PC (Apple Devices / iTunes → File Sharing → Zwift), copy the Zwift folder to your desktop, add your .zwo inside Workouts/<YourZwiftID>/, and drag the Zwift folder back to replace and sync.

Manual .zwo export vs automatic Zwift calendar sync

Know which workflow you are signing up for (checked November 2026):

  • Downloadable .zwo file export (Primed, Vekta, standalone XML builders): You download the .zwo file and drop it into your Zwift folder (or sync via desktop cloud). Takes roughly 30 seconds on desktop; gives you full file-level visibility.
  • Direct Zwift workout auto-push (TrainerRoad, JOIN, RestOrTrain, TrainingPeaks): Scheduled sessions appear automatically inside Zwift's workout menu without moving files.

If you also use Intervals.icu, Primed supports opt-in Outgoing Workout Sync to your Intervals.icu calendar (Settings → Connections), while keeping .zwo export available on Primed Free ($0).

Troubleshooting common .zwo import snags

  • Custom workout doesn't show up: Confirm you placed the file inside the numeric <YourZwiftID> subfolder (not the outer Workouts directory), check on Windows whether your install reads from %LocalAppData%\Zwift\Workouts\, and restart Zwift completely.
  • Saved as .zwo.txt by mistake: TextEdit and Notepad frequently append a hidden .txt extension. Show full file extensions in Finder or File Explorer and rename strictly to .zwo.
  • Target watts feel 20 W off in ERG mode: Check the FTP slider on Zwift's workout selection screen — Zwift multiplies the .zwo decimals by Zwift's stored FTP, not the FTP in your coaching app.
  • Broken workout graph in Zwift: Open the .zwo in a text editor and check for unescaped & characters in <name> or <description> (use and or &amp; in XML) or missing closing /> tags.

Explore further

FROM GOAL TO .ZWO FILE

Tailored to today.
Ready to export.

Design structured cycling sessions around your real training load and recovery in Primed Free ($0) and download .zwo files for Zwift.

Free to start on iPhone, iPad and Mac. Android coming soon — join the waitlist.

Primed Coach conversation about heavy legs after a long ride, recovery and today's training.
An actual Primed Coach conversation.View full-size screenshot (opens in a new tab)