# Arweave Bot Monitoring

### What is Arweave Bot Monitoring?

Arweave is a decentralized storage chain where users can monitor content stored on it using tags on Arweave.

[Learn more about Arweave?](https://www.arweave.org/)

### Typical Scenarios for Arweave Bot

1. Monitoring Mirror articles
2. Monitoring other lightweight data stored on Arweave

Note:

Users of Arweave may store large files on the chain, such as PDFs, mp4 formats, etc. Currently, the ChainBot platform does not support parsing content of large file types.

**Supported Data Sources**

| Data Source | Type     | Stability |
| ----------- | -------- | --------- |
| Arweave     | on chain | Very High |

### How to Configure Arweave Bot Monitoring?

After logging into the ChainBot platform, click on the upper-right corner "Create Bot" -> "Arweave Monitor."

<figure><img src="https://3957434529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fytm2ftx9VGhS1jFp37FQ%2Fuploads%2Fgit-blob-787517b669a530350e4f6a452599fa6c5038186a%2Fcreate-ar-monitor.png?alt=media" alt=""><figcaption><p>Create a Arweave Bot</p></figcaption></figure>

#### Info Description

| Field Name | Description                            | Required |
| ---------- | -------------------------------------- | -------- |
| Name       | Bot monitoring name                    | Yes      |
| Tags       | Bot monitoring tags, useful for search | Yes      |

#### Tags Conditions Description

<table><thead><tr><th>Parameter</th><th width="233.33333333333331">Symbol</th><th>Description</th></tr></thead><tbody><tr><td>App-Name</td><td>==, in</td><td>Application name tagged by Arweave users on Arweave, e.g., Mirror uses the tag "mirrorxyz"</td></tr><tr><td>Contributor</td><td>==, in</td><td>Contributor of content on Arweave, for example, the author of an article in Mirror</td></tr><tr><td>Original-Content-Digest</td><td>empty, notEmpty</td><td>When content on Arweave is updated, the digest of the initial push content will be tagged as Original-Content-Digest</td></tr></tbody></table>

#### Data Conditions Description

Users can filter content entities stored on Arweave based on their own conditions. For example, if you want to monitor articles with the keyword Aptos on Mirror, you should fill it in as:

<figure><img src="https://3957434529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fytm2ftx9VGhS1jFp37FQ%2Fuploads%2Fgit-blob-0245273213c19e20ebdf5061d902f5432ae559ff%2Far-demo.png?alt=media" alt=""><figcaption><p>Conditions Demo</p></figcaption></figure>

#### Template Variables Description

<table><thead><tr><th width="340">Variable</th><th>Description</th></tr></thead><tbody><tr><td>$data.{}</td><td>Data information retrieved from specific content on Arweave, dynamically parsed</td></tr><tr><td>$tags.{}</td><td>The value of any tag parsed from Arweave, dynamically parsed</td></tr><tr><td>$tx.id</td><td>Transaction ID on Arweave</td></tr><tr><td>$tx.owner.address</td><td>Initiator of the transaction on Arweave</td></tr><tr><td>$block.id</td><td>Block hash generated on Arweave</td></tr><tr><td>$block.timestamp</td><td>Timestamp of the block generated on Arweave</td></tr><tr><td>$block.height</td><td>Height of the block generated on Arweave</td></tr></tbody></table>

#### Default Alarm Template

```
[{$bot.name}]
{$data.authorship.contributor} published new article
Title: {$data.content.title}
View: https://mirror.xyz/{$data.authorship.contributor}/{$tags.original_content_digest}
Time: {formatTime($data.content.timestamp)}
```

[Learn more about Alarm Notification Template?](https://github.com/ChainbotAI/doc-en/blob/master/advanced-features/alarm-notification-template/README.md)

#### Notification Message Example

> \[ Aptos Mirror Monitoring ]
>
> 0x7620D7991a8469ef7F26B5Da7952e27C16074367 published a new article aptos1021
>
> View: <https://mirror.xyz/0x7620D7991a8469ef7F26B5Da7952e27C16074367/HvyIBgIbHud_9oyx6_MSyuFFWONKFeqtRdUniZmX7lE>
>
> Time: 1669643104
>
> Created By [ChainBot.io](https://www.chainbot.io)

#### Arweave Bot Monitoring Case

[arweave-bot-demo](https://docs.chainbot.io/bot-case/arweave-bot-demo "mention")
