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
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
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.
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.
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.
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.
Click the Start Block, and in the Trigger section on the right:
Change the Run Mode from “On Demand” to Scheduled.
Click Add to define your schedule.
Use natural language or presets like:
Every morning at 9:00 AM
Set your Time Zone, e.g., America/Los_Angeles
.
Click Generate Schedule, then Save.
The agent will now run automatically each morning.
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.
Scheduled AI agents are powerful for automating:
News monitoring
Report generation
Notifications
Daily or weekly workflows
To configure:
Use the Track Website Changes module.
Send detected changes via Email.
Set the schedule from the Start block.
You now have a self-running AI agent that keeps you informed—automatically, every day.