# Send a Cloudflare Images storage report to Discord

Send the current and allowed hosted image counts to a Discord channel every day.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=cloudflare-images-storage-report-to-discord&templateName=Send+a+Cloudflare+Images+storage+report+to+Discord)

**Required accounts**

- Cloudflare Images
- Discord

## Report hosted image usage in Discord

### 1. Trigger · Daily storage report

**Schedule**. Run automatically on the configured schedule.

### 2. Action · Read the Images storage quota

**Cloudflare Images**. Fetch image statistics details for Cloudflare Images. The returned statistics detail storage usage, including the current image count vs this account's allowance. Cloudflare permissions: Images Metadata Read / Images Read / Images Write.

### 3. Action · Post the storage report

**Discord**. Send rich content, files, a poll, or a reply to a channel.

## Set up your workflow

1. **Select the Images account** Connect an account that can read Hosted Images usage. The report uses the stored original count and the account’s storage allowance.
2. **Set the schedule and channel** Choose when the report should run. Connect Discord and select a channel where the bot can post the two counts.
3. **Compare the first report** Check both numbers against Hosted Images usage for the same account. If the allowance is zero, the report can still run and show it.

## Related integrations

- [Schedule trigger](https://www.fasthook.io/docs/triggers/schedule)
- [Cloudflare Images integrations](https://www.fasthook.io/apps/cloudflare-images/integrations)
- [Discord integrations](https://www.fasthook.io/apps/discord/integrations)

## Related workflow templates

- [Alert Discord when DNSSEC is not active](https://www.fasthook.io/templates/cloudflare-dnssec-status-to-discord.md): Check the signing status Cloudflare reports for one zone.
- [Report R2 bucket storage to Discord](https://www.fasthook.io/templates/cloudflare-r2-storage-report-to-discord.md): Post a daily report of object counts and bytes in one selected R2 bucket, grouped by storage class.
