# Workout Sync from TrainingPeaks

**URL:** <https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681>\
**Category:** Feature Requests\
**Created:** [16 April 2021 16:23 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681 "2021-04-16T16:23:18Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Keith\_Oswald](https://forum.intervals.icu/user_avatar/forum.intervals.icu/robert_keith_oswald/32/27761_2.png) [@Robert\_Keith\_Oswald](https://forum.intervals.icu/u/Robert_Keith_Oswald)\
**Post date:** [16 April 2021 16:23 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/1 "2021-04-16T16:23:18Z")

</div>

Feature request related to the ability for intervals.icu to show scheduled workouts from TrainingPeaks.

I created a simple VO2 workout in TP to demonstrate and scheduled it for 26 Apr. The blue blocks were created in TP but I entered the intervals as text in the Description, just like you would if creating the workout in intervals.icu natively. The intervals.icu calendar shows a graphic of the workout! (I think that’s pretty cool!)

However, it does **not** show the scheduled training zone totals for the week. I created the exact same workout in intervals.icu (as opposed to TP) and scheduled it for 3 May. Percent of time in training zones and type of training (i.e. polarized) are shown. Neat feature would be to have the calendar show these for workouts created in TP (or any other calendar that syncs as long as the text meets to the intervals.icu format). Thanks!

 ![1](https://forum.intervals.icu/uploads/default/original/2X/7/7563170bd3d728ac0dca6248e964e158452b3ad2.png)

 ![3](https://forum.intervals.icu/uploads/default/original/2X/c/c31a26622d64464af27a6c33297459890f2a9ca8.png)

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [16 April 2021 17:31 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/2 "2021-04-16T17:31:29Z")

</div>

That would be nice! Unfortunately you have run into an Intervals.icu limitation in that the workout text is only parsed in the browser when you edit etc. and not “server side” when it is imported. Technically the client app in the browser is Javascript and the server side is Java so I need to do some work to sort this out.

I made a dummy edit to your “TEST TP WORKOUT” and now the time in zones has been computed and updated.

I hope too sort this out soon so importing workouts in any form into Intervals.icu works properly.

---

<div class="post-metadata">

**Author:** ![snoopy](https://forum.intervals.icu/user_avatar/forum.intervals.icu/snoopy/32/27139_2.png) [@snoopy](https://forum.intervals.icu/u/snoopy)\
**Post date:** [24 September 2021 11:06 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/3 "2021-09-24T11:06:16Z")

</div>

Maybe any news regarding this? This would be a really awesome feature if we could see the planned workouts from TP and the graph would show predicted fitness levels based on those workouts.

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [25 September 2021 04:53 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/4 "2021-09-25T04:53:39Z")

</div>

Imported workouts are parsed now so if you capture “Intervals.icu compatible workout text” somewhere else it should come through.

---

<div class="post-metadata">

**Author:** ![snoopy](https://forum.intervals.icu/user_avatar/forum.intervals.icu/snoopy/32/27139_2.png) [@snoopy](https://forum.intervals.icu/u/snoopy)\
**Post date:** [25 September 2021 08:42 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/5 "2021-09-25T08:42:51Z")

</div>

Tnx David. Do you mean import by adding a calander from TP or manual import of the single workout?

If I add TP calendar it only gives me planned workouts with Name, Duration and Activity Type. This is a problem as you cannot use this workout e.g. in charts. Do you have an idea why it does not pull TSS and the training blocks?

 ![image](https://forum.intervals.icu/uploads/default/original/2X/1/1dc90f5e2c1391a111b49c46fcba3d72621c6c2a.png)

 ![image](https://forum.intervals.icu/uploads/default/original/2X/9/95271548c93021f18e9b6b7b43901998337961ce.png)

For example, if I manually import a single workout from TP it all works fine but it is just too cumbersome to export/import every planned workout for the training plan.

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [25 September 2021 17:20 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/6 "2021-09-25T17:20:24Z")

</div>

The cal import doesn’t include the TSS unfortunately. I get items like this:

```auto
BEGIN:VEVENT
DESCRIPTION:Workout type: Run\nSteady run\, mainly in Z2. Ideally on an und
 ulating route.\nPlanned Time: 0:20\nActual Time: 0:21\nActual Distance: 2.
 96 km\nSpeed: 8.42 km/h\nPace: 7.12 min/km\n
DTEND:20210924T181438
DTSTAMP:20210925T171300Z
DTSTART:20210924T175438
SEQUENCE:0
SUMMARY:Run: Aerobic Endurance/Strength Run
UID:5547ac1a-716c-409a-b39d-a2828dbcf8ca
END:VEVENT

```

How are you manually importing single workouts?

---

<div class="post-metadata">

**Author:** ![snoopy](https://forum.intervals.icu/user_avatar/forum.intervals.icu/snoopy/32/27139_2.png) [@snoopy](https://forum.intervals.icu/u/snoopy)\
**Post date:** [26 September 2021 17:38 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/7 "2021-09-26T17:38:30Z")

</div>

Oh, I see. So you get only basic info. Probably there is no chance of getting the same integration with TP as does Garmin because of their policies…

Regarding export, I tested with TP export FIT file → import to ICU. But when you have hundreds of planned workouts this is a pain. I need to test with RoboTask if I can write a macro to “walk” over TP page and export all of the workouts.

---

<div class="post-metadata">

**Author:** ![Howie](https://forum.intervals.icu/user_avatar/forum.intervals.icu/howie/32/41347_2.png) [@Howie](https://forum.intervals.icu/u/Howie)\
**Post date:** [17 February 2022 09:14 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/8 "2022-02-17T09:14:54Z")

</div>

IIUC, the only way to sync TP workouts to Intervals is via Calendar Sync which is a paid ‘feature’ of TP. There’s no way I’m gonna give money to that platform. Is there any other way to automatically sync TP workouts to Intervals?

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [17 February 2022 15:40 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/9 "2022-02-17T15:40:19Z")

</div>

> [@Howie](#):
>
> the only way to sync TP workouts to Intervals is via Calendar Sync

That also only gives the name, description, duration and load. Not the whole thing.

---

<div class="post-metadata">

**Author:** ![snoopy](https://forum.intervals.icu/user_avatar/forum.intervals.icu/snoopy/32/27139_2.png) [@snoopy](https://forum.intervals.icu/u/snoopy)\
**Post date:** [18 February 2022 10:56 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/10 "2022-02-18T10:56:29Z")

</div>

I wrote a java code that puls the data from TP and imports it into Intervals. I’m just waiting for David to enable FIT support or full ZWO support as currently Intervals only supports ZWO planned workouts with power data for cycling.

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [18 February 2022 19:41 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/11 "2022-02-18T19:41:07Z")

</div>

Hmm I need to get on that. Tx.

---

<div class="post-metadata">

**Author:** ![Rober\_Action\_Rower](https://forum.intervals.icu/user_avatar/forum.intervals.icu/rober_action_rower/32/29492_2.png) [@Rober\_Action\_Rower](https://forum.intervals.icu/u/Rober_Action_Rower)\
**Post date:** [26 February 2023 18:04 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/12 "2023-02-26T18:04:53Z")

</div>

hi there! googled this one on importing workouts from TP to Intervals, maybe on a weekly basis at least? anything changed there? best

---

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [27 February 2023 16:32 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/13 "2023-02-27T16:32:15Z")

</div>

Not yet but Snoopy’s problem did get sorted.

> [@snoopy](#):
>
> I’m just waiting for David to enable FIT support or full ZWO support

Intervals.icu does support upload of workouts in fit file format. There is some info here but use “file\_contents\_base64” instead of “file\_contents” for a fit file:

> [@API access to Intervals.icu](https://forum.intervals.icu/t/api-access-to-intervals-icu/609/67):
>
> Some changes to the endpoints that create/update workouts on the calendar and in folders: The workout description is now parsed. This means that workouts created or updated via the API have training load calculated and get “time in zones” and so on. This also applies to workouts synced from an external calendar. You can now create/update workouts from zwo, mrc and erg files. POST /api/v1/athlete/{id}/events { "category": "WORKOUT", "start\_date\_local": "2021-04-29T00:00:00", "type": "Ri…

---

<div class="post-metadata">

**Author:** ![DominiqueH](https://forum.intervals.icu/user_avatar/forum.intervals.icu/dominiqueh/32/27208_2.png) [@DominiqueH](https://forum.intervals.icu/u/DominiqueH)\
**Post date:** [12 October 2023 12:34 UTC](https://forum.intervals.icu/t/workout-sync-from-trainingpeaks/3681/14 "2023-10-12T12:34:31Z")

</div>

@snoopy Does this still work? Would love to use it as well if it does!
