n8n
Workflow
Create Update And Get Activity In Strava
This n8n workflow automates tasks using Strava. Create Update And Get Activity In Strava - ready to import and run in your n8n instance.
n8n
workflow.json
About This Script
This n8n workflow automates tasks using Strava. Create Update And Get Activity In Strava - ready to import and run in your n8n instance.
Features:
- Integrates with Strava
- Retrieves data from external sources
Source Code
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
270,
340
],
"parameters": [],
"typeVersion": 1,
"id": "abe238b7-9579-4407-aff9-4930e3fb9775"
},
{
"name": "Strava",
"type": "n8n-nodes-base.strava",
"position": [
470,
340
],
"parameters": {
"name": "Morning Run",
"type": "Run",
"startDate": "2020-10-01T18:30:00.000Z",
"elapsedTime": 3600,
"additionalFields": {
"distance": 1000
}
},
"credentials": {
"stravaOAuth2Api": "strava"
},
"typeVersion": 1,
"id": "d68ad158-39ce-4238-a6ce-12d51860a30a"
},
{
"name": "Strava1",
"type": "n8n-nodes-base.strava",
"position": [
670,
340
],
"parameters": {
"operation": "update",
"activityId": "={{$node[\"Strava\"].json[\"id\"]}}",
"updateFields": {
"description": "Morning run in the park"
}
},
"credentials": {
"stravaOAuth2Api": "strava"
},
"typeVersion": 1,
"id": "2afc79df-2b8c-469f-b6ca-144ecfd2e677"
},
{
"name": "Strava2",
"type": "n8n-nodes-base.strava",
"position": [
870,
340
],
"parameters": {
"operation": "get",
"activityId": "={{$node[\"Strava\"].json[\"id\"]}}"
},
"credentials": {
"stravaOAuth2Api": "strava"
},
"typeVersion": 1,
"id": "dd601cda-2e9e-4bb3-818e-d80067ed9173"
}
],
"connections": {
"Strava": {
"main": [
[
{
"node": "Strava1",
"type": "main",
"index": 0
}
]
]
},
"Strava1": {
"main": [
[
{
"node": "Strava2",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Strava",
"type": "main",
"index": 0
}
]
]
}
},
"n8n_version": "1.5.0"
}
Requirements
n8n instance, Strava API credentials
Tags
#n8n
#automation
#workflow