Automate Activity Encouragement with n8n and Strava Integration

This workflow uses n8n to monitor Strava activity and automatically send encouragement emails if activity drops below a set threshold. It helps accountability partners support each other to stay active without manual checking.
strava
emailSend
cron
+3
Workflow Identifier: 2390
NODES in Use: Cron, Set, Strava, If, NoOp, Email Send
Automate activity with n8n and Strava

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow runs once every day at 11:00 AM to check physical activities recorded in Strava.
It looks at all recent activities and finds how long the user has moved.
If the total moving time is less than 30 minutes, it sends a simple email to the user’s accountability partners asking them to encourage more activity.
If the moving time is enough, it stops without sending emails.
The email comes from the user’s own address so it feels friendly and real.
This automates the reminder process and helps keep motivation up without any manual work.


Why Use This Workflow

Users who want regular motivation to stay active can use this workflow.
It solves the problem of forgetting to update friends or partners about low activity.
It makes sure the support team knows fast when motivation is needed.
This helps reduce long breaks without exercise and keeps fitness goals on track.
No technical skills needed to keep the account team in the loop.


Tools and Services Used

  • Strava API with OAuth2: To securely get daily activity data.
  • Email SMTP Service: To send notification emails directly from user’s email.
  • n8n Automation Platform: To build and run the daily automated checks and messages.

Inputs, Processing, and Outputs

Inputs

  • User’s daily activities from Strava API.
  • Configuration data like minimum moving time and partner emails from Set node.

Processing Steps

  • Trigger the workflow daily at 11:00 AM.
  • Fetch all recent activities using Strava OAuth2 credentials.
  • Check if the moving_time in activities meets or exceeds 1800 seconds (30 min).
  • Conditional branch: continue if enough activity, else prepare email.
  • Send email with personalized message to partners if activity is below threshold.

Output

  • No action when activity is sufficient.
  • Email notifications sent to partners when activity is low.

Beginner Step-by-step: Using this Workflow in n8n

Step 1: Import Workflow

  1. Download the workflow file using the Download button on this page.
  2. Inside the n8n editor, click on “Import from File”.
  3. Select the downloaded workflow JSON file and import it.

Step 2: Update Credentials and Config

  1. Add your Strava OAuth2 credentials in the credential manager.
  2. Add your email SMTP credentials in n8n for sending emails.
  3. Open the Accountability Settings Set node and update the moving time threshold if desired.
  4. Change partner email addresses and your own name and email to match your info.

Step 3: Test the Workflow

  1. Run the workflow manually once to see if it fetches data and sends emails correctly.
  2. Adjust the threshold temporarily to simulate low activity if needed.

Step 4: Activate for Production

  1. Turn on the workflow’s active toggle in the top right corner.
  2. If using self-host n8n, ensure the server runs reliably to trigger at 11:00 AM daily.
  3. Check the execution logs often at first to confirm daily runs are successful.

Customization Ideas

  • Change activity time threshold in Accountability Settings Set node from 1800 to higher or lower seconds.
  • Add more partner emails by adding extra string fields in the same Set node and update email To field accordingly.
  • Rewrite the encouragement email text in the Send Email node for your preferred tone.
  • Expand notifications by adding Slack or SMS nodes using custom integration.

Common Issues and Fixes

Invalid OAuth2 Credentials in Strava Node

This happens when the OAuth token is expired or lacks permissions.
Fix by reauthorizing Strava credentials in n8n with proper scopes to read activities.

Email Not Sending

Usually caused by wrong SMTP credentials or network blocks.
Test SMTP login outside n8n and reenter correct info and open network firewall if needed.


Pre-Production Checklist

  • Confirm Strava OAuth2 credentials correctly authorized with activity scope.
  • Run the workflow manually to ensure it triggers and gets data.
  • Verify email addresses in settings node and test email sending.
  • Temporarily lower threshold to test sending email on low activity.

Deployment Guide

Activate the workflow toggle to run automatically every day at 11:00 AM.
Watch executions initially to see if runs succeed.
If using self-host n8n, check server uptime and reachability at expected trigger times.
Adjust log retention if needed for troubleshooting or record-keeping.


Summary of Benefits

✓ Saves time by removing manual activity checks and emails.
✓ Sends timely notifications to encourage physical activity.
✓ Uses trusted email from own address for better engagement.
✓ Easy to adjust threshold and partners.
✓ Can expand with messaging integrations.
→ Keeps motivation active and fitness goals on track with less effort.


Automate activity with n8n and Strava

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Add more string fields for partner emails in the Accountability Settings Set node. Update the Send Email node’s To field to include new emails using n8n expressions.
Errors happen when OAuth tokens expire or miss required scopes for activity data. Reauthorize with correct permissions to fix.
Temporarily lower the moveTime threshold in the Set node to trigger email sending during a manual workflow run.
Yes. OAuth2 protects Strava access, and emails send through user’s own SMTP provider keeping data private.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.