# Refresh a published URL and confirm it in Slack

Use a publisher webhook to evict one page and send the Cloudflare receipt to the editorial channel.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=webhook-cache-refresh-to-slack&templateName=Refresh+a+published+URL+and+confirm+it+in+Slack)

**Required accounts**

- Cloudflare Cache Purge
- Slack

## Refresh a published URL and confirm it in Slack

### 1. Trigger · Published URL received

**Webhook**. Receive a JSON submission from your existing form backend at this Workflow's private webhook URL.

### 2. Action · Refresh the published URL

**Cloudflare Cache Purge**. Remove one cached URL after its published content changes.

### 3. Action · Confirm the cache request in Slack

**Slack**. Send text, Block Kit content, attachments, or a thread reply to a channel.

## Set up your workflow

1. **Connect the publishing system** Send a JSON object with a url field to the private FastHook webhook after the new page is available at the origin. Keep the webhook URL private.
2. **Select the zone and channel** Connect a Cloudflare token with Cache Purge for the zone that serves the page. Choose your Slack channel and invite the bot.
3. **Verify the first update** Warm a test URL, update its origin content and send its URL. Match the Slack request ID to the cache step and request the page again to check the new content.

## Related integrations

- [Webhook trigger](https://www.fasthook.io/docs/triggers/webhook)
- [Cloudflare Cache Purge integrations](https://www.fasthook.io/apps/cloudflare-cache-purge/integrations)
- [Slack integrations](https://www.fasthook.io/apps/slack/integrations)

## Related workflow templates

- [Revoke a retired origin certificate and notify Slack](https://www.fasthook.io/templates/origin-ca-retirement-receipts-to-slack.md): Match an approved retirement to a configured certificate, revoke it and post the Cloudflare receipt to the operations channel.
- [Share desktop and mobile deployment previews in Slack](https://www.fasthook.io/templates/webhook-deployment-screenshots-to-slack.md): Render the deployed page at two viewport sizes and attach both PNGs to one Slack message.
- [Send Figma file details to Slack from a webhook](https://www.fasthook.io/templates/webhook-figma-file-metadata-to-slack.md): Receive a webhook with a Figma file key, read the file's metadata from Figma, and send its name and key to a Slack channel.
