Use this robust n8n workflow to automatically export your latest Strava activities into Google Sheets every two hours, ensuring no duplicate entries are created. Perfect for data logging.
Download this n8n workflow template and start using it instantly.
Manually logging Strava activities into a spreadsheet is time-consuming and prone to duplication errors. This advanced n8n workflow solves this by establishing a reliable, scheduled sync process. Utilizing a scheduled n8n trigger, the workflow runs every two hours, ensuring your sheet is consistently updated with recent activity data.
The core value of this n8n template lies in its duplication prevention mechanism. Before writing new data, the automation checks the Google Sheet for existing activity IDs. This ensures data integrity, making this an essential n8n workflow for anyone serious about activity logging and analysis. It seamlessly combines the Strava n8n node with the Google Sheets n8n node, governed by custom core logic.
This comprehensive n8n workflow operates in several distinct stages to ensure efficient data synchronization and duplicate prevention:
Schedule Trigger, acting as the primary n8n trigger, set to run every 2 hours.activities) to retrieve a list of previously saved activity IDs. These records are sorted and simplified using a Set n8n node (savedlast).stravalast n8n node.Code n8n node. This node compares the IDs of the newly fetched Strava activities against the set of IDs already present in the Google Sheet (obtained in Step 2). Only activities whose IDs are not found in the saved list are passed on.sort_results) and then appended to the designated Google Sheet using the Google Sheets n8n node. This completes the synchronization loop of the n8n workflow, guaranteeing that only fresh data is added.To deploy this powerful n8n workflow, follow these steps:
activities (Read) and Google Sheets (Append) n8n nodes with your Google Sheets credentials.Google Sheets n8n node, ensure the column mappings (e.g., Kms, Ref, Fecha, Track) accurately reflect the column headers in your spreadsheet. This n8n workflow uses expressions like ={{ $json.distancia }} to correctly insert formatted data. Schedule Trigger (n8n trigger): Initiates the entire automation every 2 hours.
Strava (n8n node): Fetches the latest 10 activities from the connected Strava account. Used the getAll operation.
activities (Google Sheets n8n node): Reads existing data from the target spreadsheet to identify already saved activity IDs (Ref column).
savedlast / stravalast (Set n8n node): These nodes preprocess the data. savedlast extracts only the 'Ref' ID from Google Sheets data. stravalast formats raw Strava metrics (like distance in meters and time in seconds) into human-readable values (km, date format, HH:MM:SS).
Code (n8n node): The core logic for filtering. It uses JavaScript to compare IDs received from Strava (stravalast) against the IDs retrieved from Google Sheets (savedlast). It only returns items that are genuinely new, making this a highly customized n8n workflow component.
Google Sheets (n8n node): The final action. Configured to append new rows, mapping the filtered Strava data to specific sheet columns including calculated fields like the direct Strava track link.
Use this powerful n8n workflow to effortlessly export Zammad Users, Roles, Groups, and Organizations into separate, clean Excel files. Ideal for backup and reporting using this versatile n8n template.

Export WordPress post data, categories, and tags via the WP REST API directly to Google Sheets for comprehensive SEO audits. This powerful n8n workflow automates data consolidation.

This powerful n8n workflow automatically exports all published posts from your WordPress site, processes the data into a clean CSV file, and uploads it directly to Google Drive. Start using this efficiency-boosting n8n template today.

Use this powerful n8n workflow to extract all execution logs and monitoring data directly from your n8n instance using the specialized n8n node, converting results immediately to CSV for analysis and reporting. A perfect addition to your n8n templates library.

Automate HubSpot deal management using n8n. Route closed deals to Slack, log losses in Airtable, and automatically create prioritized support tickets based on value and deal type. Use these n8n templates to streamline your sales operations.








































