Dropbox Running Schedule: Automate with Make
In this article
Yes, you can automate your weekday running schedule using Dropbox and Make (formerly Integromat). This allows you to trigger reminders, log your runs, and potentially even adjust your schedule based on weather conditions, all without manual intervention. This guide provides a step-by-step walkthrough of setting up this automation, covering everything from initial setup to troubleshooting common issues.
What You'll Need
- A Dropbox account with sufficient storage.
- A Make account (free or paid, depending on the complexity of your scenario).
- A Google Calendar (or another compatible calendar service) to store your running schedule.
- A method for tracking your runs (e.g., Strava, Runkeeper, or a simple spreadsheet). We'll assume a spreadsheet stored in Google Sheets for this guide, but the principles apply to other services.
- Basic familiarity with Dropbox and Make interfaces.
Step-by-Step
- Set Up Your Running Schedule in Google Calendar: Create a recurring event in Google Calendar for each weekday you plan to run. Specify the time and duration of your runs. Make sure the event title is consistent and easily recognizable (e.g., "Weekday Run").
- Create a Trigger File in Dropbox: Create a simple text file in Dropbox (e.g., "running_schedule_trigger.txt"). This file will be used to trigger the Make scenario. The content of this file doesn't matter; its existence is what triggers the automation.
- Set Up the Make Scenario:
- Log in to your Make account and create a new scenario.
- Dropbox Module: Add a "Watch Files in Folder" module. Connect your Dropbox account and specify the folder containing the "running_schedule_trigger.txt" file. Set the "Event Type" to "File Added". This module will monitor the folder for changes.
- Delay Module (Optional): If you want to introduce a delay between the trigger and the calendar check, add a "Delay" module. This can be useful to avoid overwhelming the Google Calendar API.
- Google Calendar Module: Add a "Get Event" module. Connect your Google Calendar account. Use the event title you created in Google Calendar ("Weekday Run") as the event name. This module retrieves the details of your scheduled run.
- Router Module: Add a "Router" module. This allows you to create different paths based on the day of the week. Use the "Start Date" and "End Date" from the Google Calendar event to determine the day of the week. Create separate branches for each weekday (Monday, Tuesday, Wednesday, Thursday, Friday).
- Google Sheets Module (or other tracking service): Add a "Create Spreadsheet Row" module (or the equivalent for your chosen tracking service). Connect your Google Sheets account. Specify the spreadsheet and worksheet where you want to log your runs. Map the data from the Google Calendar event (e.g., "Start Date", "End Date", "Summary") to the corresponding columns in your spreadsheet.
- Notification Module (Optional): Add a "Send Email" or "Send Slack Message" module to send yourself a reminder before your run. Use the "Start Date" from the Google Calendar event to calculate the reminder time.
- Test the Scenario: Manually add a new file to the Dropbox folder containing the "running_schedule_trigger.txt" file. This should trigger the scenario and execute the steps you've defined. Verify that the run is logged in your spreadsheet and that you receive a notification (if configured).
- Finalize and Activate: Once you've tested the scenario thoroughly, activate it in Make.
Common Mistakes
- Incorrect Dropbox Folder Path: Double-check that the Dropbox folder path in the "Watch Files in Folder" module is correct.
- Event Title Mismatch: Ensure the event title in the Google Calendar module exactly matches the event title in your Google Calendar.
- Missing Data Mapping: Verify that the data mapping between the Google Calendar event and the spreadsheet row is accurate.
- Trigger File Not Added: Forgetting to add a new file to the Dropbox folder to trigger the scenario.
- Router Logic Errors: Incorrectly configuring the router module to handle different days of the week.
Tips
- Error Handling: Add error handling to your scenario to gracefully handle unexpected errors (e.g., if the Google Calendar API is unavailable).
- Dynamic Scheduling: If your running schedule varies, you can use more complex logic in the router module to handle different scenarios.
- Weather Integration: Integrate a weather API to check the weather forecast and adjust your schedule accordingly (e.g., reschedule an outdoor run if it's raining).
- Data Validation: Add data validation to your spreadsheet to ensure the data you're logging is accurate.
- Regular Testing: Regularly test your scenario to ensure it's still working as expected.
Troubleshooting
- Scenario Not Triggering:
- Check that the Dropbox folder path is correct.
- Ensure the "Watch Files in Folder" module is active.
- Verify that you're adding a new file to the Dropbox folder (not just modifying an existing one).
- Data Not Logging to Spreadsheet:
- Check the data mapping between the Google Calendar event and the spreadsheet row.
- Ensure you have write access to the spreadsheet.
- Verify that the spreadsheet and worksheet names are correct.
- Notifications Not Being Sent:
- Check the notification settings in the "Send Email" or "Send Slack Message" module.
- Ensure your email address or Slack webhook URL is correct.
- Verify that the reminder time is calculated correctly.
- Scenario Errors: Examine the Make scenario's log for error messages. These messages can provide clues about what's going wrong.
Frequently Asked Questions
Can I use this with a different calendar service besides Google Calendar?
Yes, Make supports various calendar services. You'll need to use the appropriate module for the service you choose and adjust the data mapping accordingly.
What happens if I delete a run from my Google Calendar?
The scenario won't automatically delete the corresponding entry from your spreadsheet. You'll need to add additional logic to handle deletions, which can be complex.
How can I track my pace and distance in addition to the time?
You'll need to integrate a running app like Strava or Runkeeper. This will require using their APIs and mapping the data to your spreadsheet.
Is there a limit to how many runs I can schedule per month?
The limits depend on your Make plan and the API usage limits of the services you're using (e.g., Google Calendar, Google Sheets). Free plans have usage limits.
Can I get notified if I miss a run?
Yes, you can add logic to check if a run was logged in your spreadsheet and send a notification if it wasn't, but this requires more advanced scenario setup.
How do I update my running schedule without triggering the entire scenario?
Simply edit the event in Google Calendar. The next time the trigger file is added, the scenario will pick up the updated event details.