{
  "name": "Generate AI-powered Strava performance evolution reports with Google Sheets & GPT-5-nano",
  "nodes": [
    {
      "id": "b15e1a29-d8b6-4bfb-96a4-75b19cb8b52f",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        3312,
        720
      ]
    },
    {
      "id": "18967c92-5320-4fa1-86e5-19b9607787dc",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3552,
        720
      ]
    },
    {
      "id": "f45e9a2d-4ee9-4691-aa1b-e0975510f4a2",
      "name": "Strava to AI Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        2688,
        720
      ]
    },
    {
      "id": "cf111082-6d09-47c7-af7a-a1e6d21c473e",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        1584,
        768
      ]
    },
    {
      "id": "7480670b-e90e-4f65-af41-153172e8b2c1",
      "name": "Message a model2",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2944,
        1280
      ]
    },
    {
      "id": "59b08dd4-d9e9-49a0-872d-a99b3fe9603e",
      "name": "Stop and Error",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        2032,
        1024
      ]
    },
    {
      "id": "bc5a1d60-6e5f-4915-a938-b4ace92560f1",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1584,
        1280
      ]
    },
    {
      "id": "82853c27-79ff-48ab-8dad-08160f5f0eff",
      "name": "Activity ID",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        1584,
        480
      ]
    },
    {
      "id": "44c3dc3e-fa14-4e80-8230-4d21afec6845",
      "name": "Stop and Error1",
      "type": "n8n-nodes-base.stopAndError",
      "position": [
        2032,
        320
      ]
    },
    {
      "id": "cd5c90a2-20eb-40d6-be04-44b8a33ffd7c",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2688,
        528
      ]
    },
    {
      "id": "1abc1d7b-8433-4827-821a-1a2a49189713",
      "name": "Clear sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1808,
        768
      ]
    },
    {
      "id": "4233424f-bed0-40b6-b234-dd5c5bf8c4bc",
      "name": "Get row(s) in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2480,
        1280
      ]
    },
    {
      "id": "5d7a5003-2653-40c2-8da2-b61fcfd435af",
      "name": "OPTIONS",
      "type": "n8n-nodes-base.set",
      "position": [
        1808,
        1280
      ]
    },
    {
      "id": "cb25dd39-ed8b-45a4-ab8b-484c7b005ce5",
      "name": "Code in JavaScript1",
      "type": "n8n-nodes-base.code",
      "position": [
        2720,
        1280
      ]
    },
    {
      "id": "c0164f86-ef41-46c8-9aad-bdf7718106d6",
      "name": "Send a message1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2256,
        1504
      ]
    },
    {
      "id": "c736bfa9-6934-4ec9-908a-b4496b6632ac",
      "name": "Markdown",
      "type": "n8n-nodes-base.markdown",
      "position": [
        2032,
        1504
      ]
    },
    {
      "id": "1d963f99-7466-4e0a-bff0-a9c7fda60772",
      "name": "Append row in sheet1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1584,
        1504
      ]
    },
    {
      "id": "95fc28e2-9e14-4ec7-a8c3-b26b5571482a",
      "name": "Informe de seguimiento",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2032,
        1280
      ]
    },
    {
      "id": "d67ba4a7-11e1-4860-83f8-43999f522138",
      "name": "Limit",
      "type": "n8n-nodes-base.limit",
      "position": [
        2256,
        1280
      ]
    },
    {
      "id": "fd54986a-7574-4c3b-8386-cc6c08ae8d7c",
      "name": "Code in JavaScript2",
      "type": "n8n-nodes-base.code",
      "position": [
        1808,
        1504
      ]
    },
    {
      "id": "b6d93ac2-f91f-4ca7-83f8-8055345d2f1d",
      "name": "Get manual activity",
      "type": "n8n-nodes-base.strava",
      "position": [
        2032,
        480
      ]
    },
    {
      "id": "71d8bdf0-6758-4db9-9920-0998f634eec5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        288
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6d123c41-62dd-4df4-830a-304a1a25cb3c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        1248
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0ac7ceb4-a771-4276-a5a0-e5266f2fa065",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2336,
        960
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "37404db8-f231-4d74-bd77-285824831bef",
      "name": "IA Intensity",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2944,
        720
      ]
    },
    {
      "id": "d9a97a70-b669-4cba-a192-2169424c4482",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3328,
        1264
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f63e2f7b-80df-4582-8e88-6938239bb9a3",
      "name": "Loop Activities",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2384,
        608
      ]
    },
    {
      "id": "51c4ecd6-5fc7-46ca-be4f-edc06bd8e4f4",
      "name": "Get all activities",
      "type": "n8n-nodes-base.strava",
      "position": [
        2032,
        768
      ]
    },
    {
      "id": "93184e0e-a295-490b-b71a-bb9ae5452dcc",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        288
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "fcb95a95-5a87-4e41-8dd3-2d75b9b3d22e",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2656,
        960
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1ff4f69c-76af-4e22-8a6f-fa245b8ac6ed",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2640,
        432
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c7260104-3c9e-4bf7-a4eb-0fcb19811dfa",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1696,
        960
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Limit": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OPTIONS": {
      "main": [
        [
          {
            "node": "Informe de seguimiento",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown": {
      "main": [
        [
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Activity ID": {
      "main": [
        [
          {
            "node": "Get manual activity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clear sheet": {
      "main": [
        [
          {
            "node": "Get all activities",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IA Intensity": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Activities": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Strava to AI Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message a model2": {
      "main": [
        [
          {
            "node": "Append row in sheet1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "OPTIONS",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get all activities": {
      "main": [
        [
          {
            "node": "Loop Activities",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Stop and Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append row in sheet": {
      "main": [
        [
          {
            "node": "Loop Activities",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript1": {
      "main": [
        [
          {
            "node": "Message a model2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript2": {
      "main": [
        [
          {
            "node": "Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get manual activity": {
      "main": [
        [
          {
            "node": "Loop Activities",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Stop and Error1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet": {
      "main": [
        [
          {
            "node": "Code in JavaScript1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Strava to AI Fields": {
      "main": [
        [
          {
            "node": "IA Intensity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append row in sheet1": {
      "main": [
        [
          {
            "node": "Code in JavaScript2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Informe de seguimiento": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Clear sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}