icu_bulk_create_manual_activities
Batch-create manual activities with UPSERT on external_id: updates matching activities, creates new ones. Supports athlete_id for coaches.
Instructions
Batch-create manual activities (no device upload) with UPSERT on external_id.
Existing activities with a matching external_id (set by the same OAuth app) are updated; activities without an external_id are always created new.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activities_json | Yes | JSON string containing array of manual activities | |
| athlete_id | No | Athlete ID (for coaches managing multiple athletes) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |