stravaTrigger.json•2.13 kB
{
"nodeType": "n8n-nodes-base.stravaTrigger",
"displayName": "Strava Trigger",
"description": "Starts the workflow when Strava events occur",
"version": 1,
"properties": [
{
"name": "object",
"displayName": "Object",
"type": "options",
"default": "*"
},
{
"name": "event",
"displayName": "Event",
"type": "options",
"default": "*"
},
{
"name": "resolveData",
"displayName": "Resolve Data",
"type": "boolean",
"default": true,
"description": "By default the webhook-data only contain the Object ID. If this option gets activated, it will resolve the data automatically."
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "Strava allows just one subscription at all times. If you want to delete the current subscription to make room for a new subscription with the current parameters, set this parameter to true. Keep in mind this is a destructive operation.",
"placeholder": "Add option",
"options": [
{
"name": "deleteIfExist",
"displayName": "Delete If Exist",
"type": "boolean",
"default": false,
"description": "Strava allows just one subscription at all times. If you want to delete the current subscription to make room for a new subscription with the current parameters, set this parameter to true. Keep in mind this is a destructive operation."
}
]
}
],
"credentialsConfig": [
{
"name": "stravaOAuth2Api",
"required": true
},
{
"name": "setup",
"required": false
},
{
"name": "object",
"required": false
},
{
"name": "event",
"required": false
},
{
"name": "resolveData",
"required": false
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}