MindStudio University
  • Documentation
  • Video Courses
  • Newsroom
  • Video Courses
  • 1: Core Building Principles
    • Intro to AI Agents & MindStudio
    • AI Editor Overview
    • Building Your First AI Agents
    • Building an AI Agent for the Chrome Extension
    • Testing & Debugging Basics
    • Designing User Inputs & Forms
    • How to Scrape Web Data for AI Agents
    • Chaining Multiple Blocks Together in AI Agent Workflows
    • How to Generate Content & Media with AI
    • How to Choose the Right AI Model
    • Prompt Writing 101
    • Using Integration Blocks to Connect to External Services
    • Creating & Using Data Sources
  • 2: Workflow Mastery
    • Building AI Agents that Run on a Schedule
    • Using Launch Variables & Global Variables in Workflows
    • Routing, Logic, & Checkpoint Blocks
    • Advanced Testing Using Evaluations
    • Running Blocks in Parallel for Workflow Optimization
    • Working with Structured Data (JSON)
    • Running Sub-Workflows to Iterate and Process Data With AI
    • Creating Dynamic User Inputs
    • How to Generate HTML Assets for Your AI Agents
  • Masterclass Sessions
    • AI Agent Zero to Hero Masterclass (Beginner)
    • AI Agent Monetization Masterclass
    • AI for Content Marketing Masterclass
    • Deep Research Masterclass
    • AI Agents In-Depth Masterclass
    • AI Agents for Partnerships Masterclass
Powered by GitBook
On this page
  • Use Case: Website Change Tracker
  • Step 1: Add the “Track Website Changes” AI Module
  • Step 2: Handle Detected Changes
  • Step 3: Set the Schedule
  • Step 4: Preview & Test
  • Summary
Export as PDF
  1. 2: Workflow Mastery

Building AI Agents that Run on a Schedule

This guide walks you through building a website monitoring agent that checks for changes daily and sends an email if updates are detected.

Last updated 1 day ago

MindStudio enables you to schedule AI agents to run automatically at specific times. This is useful for automating repetitive workflows like monitoring web content, generating reports, or triggering notifications without manual input.

Use Case: Website Change Tracker

In this example, we’ll build an AI agent that checks for changes on a website (e.g. OpenAI’s news page) each morning and emails a summary of those changes.

Step 1: Add the “Track Website Changes” AI Module

  • Create a new workflow and add the Track Website Changes module.

  • In the configuration panel:

    • Enter the target URL (e.g., https://openai.com/blog).

    • Use the default variable names unless you need to customize them.

    • Set a Detection Prompt, such as: Any changes to the main content of the website. Specifically, we are looking for new news stories.

Step 2: Handle Detected Changes

You’ll configure two outcomes:

  • No Changes: Route to an End Workflow block.

  • Changes Detected: Route to a Send Email block.

In the Send Email block:

  • Connect your email account via the integrations menu (gear icon).

  • Set a subject like: Changes Detected on OpenAI News

  • Use the {{changes}} variable as the email body to show the summary of detected content updates.

Step 3: Set the Schedule

Click the Start Block, and in the Trigger section on the right:

  1. Change the Run Mode from “On Demand” to Scheduled.

  2. Click Add to define your schedule.

  3. Use natural language or presets like: Every morning at 9:00 AM

  4. Set your Time Zone, e.g., America/Los_Angeles.

  5. Click Generate Schedule, then Save.

The agent will now run automatically each morning.

Step 4: Preview & Test

Use the Preview button and run the agent in the Debugger:

  • On the first run, it will detect all visible content (no baseline exists yet).

  • On subsequent runs, it will only email you if changes are detected.

Summary

Scheduled AI agents are powerful for automating:

  • News monitoring

  • Report generation

  • Notifications

  • Daily or weekly workflows

To configure:

  1. Use the Track Website Changes module.

  2. Send detected changes via Email.

  3. Set the schedule from the Start block.

You now have a self-running AI agent that keeps you informed—automatically, every day.