> ## Documentation Index
> Fetch the complete documentation index at: https://resources.athenaintel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Files and data

> Start your AOP from new SharePoint files, database inserts, and meaningful web page changes

Start your Monday assistant when new information arrives. You will add triggers to an Agent Operating Procedure (AOP) for a new SharePoint file, an inserted database row, or a meaningful web page change. Choose the source that supplies the information your task needs.

**Before you start:** Watch [Pick the right trigger](01-pick-the-right-trigger.mdx). Have a connected SharePoint site or an Athena database ready if you want to follow those examples.

<Frame caption="AOPs in depth · Episode 2 · Files and data · 2:50">
  <video controls muted={false} playsInline preload="metadata" className="w-full aspect-video" poster="/images/courses/aops-in-depth/ep2-poster.jpg" src="https://mintcdn.com/athenaintelligence-e46bc9d3/PqPuebc_5Izuo949/images/courses/aops-in-depth/ep2.mp4?fit=max&auto=format&n=PqPuebc_5Izuo949&q=85&s=e374ac41b07d8f3f7e1863ee28c9474e" data-path="images/courses/aops-in-depth/ep2.mp4" />
</Frame>

<Accordion title="Steps in this video">
  1. Open the Create menu
  2. Watch a SharePoint site
  3. Run on a new row
  4. Watch a web page
  5. Which trigger fits which job
</Accordion>

## Watch files, rows, or pages

1. Open **Triggers**, click **Create**, and scroll to **SharePoint**, **Database (row inserted)**, and **Web Monitor**. Choose the source you want to watch.
2. For new files, choose **SharePoint**. In **Create SharePoint Trigger**, open **Select a folder to monitor (optional)**. If the picker says **No SharePoint sites connected**, connect a site before continuing. Open the connected site, its library, and the folder you want to watch. Click **Select this folder**. To use the site instead, choose **Use entire site (any folder)**. Click **Create** and look for **SharePoint Trigger**.
3. For new rows, choose **Database (row inserted)**. In **Create Database Trigger**, select **Database**, then **Table**. **Create** becomes available after both are chosen. Click it and check the database and table under **Database Trigger (1)**.
4. For web pages, choose **Web Monitor**. In **New Web Monitor**, enter **Monitor name** and **URLs to watch (one per line, max 200)**. Set **Check frequency**. For a weekly check, use **Specific Days of Week**, choose **Mon**, and set **Time**. Review **Schedule:** and **Timezone:**.
5. Describe the change you care about under **Goal**. This field is optional. Review **Filter noise with the meaningful-change judge**, then click **Create Monitor**. Look for your monitor in the trigger list.

## Good to know

* SharePoint triggers start on file creation. The folder is optional, but you need a connected site to watch its files.
* SharePoint file-created triggers watch each site's default document library. Choosing the entire site does not add its other libraries.
* Database triggers watch inserts into the table you explicitly select. Inserts made outside Athena count too. The inserted row is passed to the AOP.
* **Web Monitor** is **Beta**. You can list up to 200 URLs. It checks on a schedule and starts a run only when a meaningful change is detected. The change diff is provided as event context.

## Previous and next

[Previous: Pick the right trigger](01-pick-the-right-trigger.mdx) · [Next: Smarter run forms](03-smarter-run-forms.mdx)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.