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

# SNS & Reputation Monitoring

> Monitor brand mentions, reviews, and emerging crises across social platforms.

## Overview

Brand reputation can shift in hours on social media. Marketing and PR teams need to spot negative mentions, review spikes, and emerging crises before they escalate. Manual monitoring across multiple platforms doesn't scale.

Refrain automates the monitoring loop — navigate to each platform, search for brand mentions, capture screenshots, and alert your team via Slack when something needs attention.

## Example runbook

```yaml theme={null}
name: brand-mention-check
url: https://reviews.example.com
variables:
  - name: brand_name
    source: fixed
    value: "Acme Corp"
steps:
  - action: navigate
    url: "https://reviews.example.com/search?q={{ brand_name }}"
  - action: wait
    selector: ".search-results"
  - action: extract
    selector: ".review-count"
    capture: review_count
  - action: extract
    selector: ".latest-review"
    capture: latest_review
  - action: export
    format: csv
    fields:
      - name: brand
        value: "{{ brand_name }}"
      - name: review_count
        value: "{{ review_count }}"
      - name: latest_review
        value: "{{ latest_review }}"
```

## Generate and execute

<Steps>
  <Step title="Generate the runbook">
    ```bash theme={null}
    npx @refrainai/cli generate -- \
      --url https://reviews.example.com \
      --goal "Search for brand mentions and extract the latest reviews" \
      --context ./context.md \
      --output ./brand-monitor.yaml
    ```
  </Step>

  <Step title="Execute with screenshots">
    Capture visual evidence of each page state:

    ```bash theme={null}
    npx @refrainai/cli execute -- \
      --runbook ./brand-monitor.yaml \
      --screenshots ./screenshots \
      --notify slack
    ```
  </Step>

  <Step title="Schedule daily checks">
    Use the Web Console scheduler to run the monitoring runbook daily or hourly.
  </Step>
</Steps>

## Why this works well

* **Cross-platform** — Monitor multiple review sites and social platforms with separate runbooks.
* **Screenshot evidence** — Capture the page state for audit and escalation.
* **Slack notifications** — Get alerted immediately when new mentions are detected.
* **Self-healing** — Platform UI changes don't break the monitoring flow.

## What's next

<CardGroup cols={2}>
  <Card title="Approval and notifications" icon="bell" href="/guides/approval-and-notifications">
    Configure Slack/Teams/Discord notifications.
  </Card>

  <Card title="Execute a runbook" icon="play" href="/guides/execute-runbook">
    Learn about screenshots and reporting options.
  </Card>
</CardGroup>
