> ## Documentation Index
> Fetch the complete documentation index at: https://guide.bajeti-ufahamu.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Webapp: Analytics

> Running AI-powered analysis on collected feedback, and downloading reports.

## The Analytics tab

Every flow has an **Analytics** tab. It runs AI analysis over the feedback collected for the flow. It summarizes it, extracts sentiment, and surfaces recurring topics either for the whole document or for a single section.

<Frame caption="The Analytics tab, before any analysis has been run">
  <img src="https://mintcdn.com/bajeti-ufahamu/lKb_jxRH0kWfficP/images/webapp-analytics/analytics-tab.png?fit=max&auto=format&n=lKb_jxRH0kWfficP&q=85&s=7a3fa34d48112fc2096d8b645e9ee793" alt="Analytics tab" width="2970" height="1578" data-path="images/webapp-analytics/analytics-tab.png" />
</Frame>

<Note>
  Analysis needs an infopack uploaded to the flow first : see [Upload a
  document](/knowledge-base/webapp-documents#upload-a-document). Without one,
  "Run Analysis" won't have anything to work from.
</Note>

## Run analysis

Role access: all roles with access to the flow

<Steps>
  <Step title="Run analysis on the whole document">
    From the Analytics tab, click **Run Analysis**. A progress bar shows while the AI processes the feedback.

    <Frame>
      <img src="https://mintcdn.com/bajeti-ufahamu/lKb_jxRH0kWfficP/images/webapp-analytics/run-analysis.png?fit=max&auto=format&n=lKb_jxRH0kWfficP&q=85&s=ccde7d9d543a0dad2403091b190699d9" alt="Run Analysis button and progress bar" width="2950" height="1082" data-path="images/webapp-analytics/run-analysis.png" />
    </Frame>
  </Step>

  <Step title="Pick a section">
    Once the whole-document analysis finishes, section tabs appear along the top (one per budget section, plus "Whole Document"). Select a section to view or analyze it individually.

    <Frame>
      <img src="https://mintcdn.com/bajeti-ufahamu/lKb_jxRH0kWfficP/images/webapp-analytics/select-section.png?fit=max&auto=format&n=lKb_jxRH0kWfficP&q=85&s=b36faec556a12bc03525a1b5f18e7dd0" alt="Section tabs" width="2908" height="364" data-path="images/webapp-analytics/select-section.png" />
    </Frame>
  </Step>

  <Step title="Run analysis for that section">
    Click **Run Analysis** again for the selected section. Each section is analyzed independently, so results can be ready at different times.
  </Step>
</Steps>

## Read the results

Once analysis completes for a section (or the whole document), the tab shows:

* **Feedback Summary**: a narrative summary, a list of key actionable insights, and stats: feedbacks analyzed, date range covered, processing time, and completion date.
* **Feedback Frequency**: a chart of how much feedback came in over time.
* **Word Cloud** and **Sentiment** : the most common terms in the feedback, and a breakdown of positive/neutral/negative sentiment, shown side by side.
* **Key Topics** : recurring themes, each with a mention count, overall sentiment, positive and negative points (click one to see the supporting quotes it's based on), and suggested next steps where available.

<Frame caption="Analysis results for a section">
  <img src="https://mintcdn.com/bajeti-ufahamu/lKb_jxRH0kWfficP/images/webapp-analytics/results.png?fit=max&auto=format&n=lKb_jxRH0kWfficP&q=85&s=9eb97e8d844ea862d254aa6c1baf0893" alt="Analytics results" width="2986" height="1662" data-path="images/webapp-analytics/results.png" />
</Frame>

## Download a PDF report

Role access: all roles with access to the flow

<Steps>
  <Step title="Select a section with completed analysis">
    Download buttons only appear once that section has a result.
  </Step>

  <Step title="Choose a report type">
    Click **Summary Report** for a shorter version (top 2 insights per topic), or **Full Report** for every insight.

    <Frame>
      <img src="https://mintcdn.com/bajeti-ufahamu/lKb_jxRH0kWfficP/images/webapp-analytics/download-pdf.png?fit=max&auto=format&n=lKb_jxRH0kWfficP&q=85&s=7c7bbde1e0291a9c872934d9709e28c4" alt="Summary Report and Full Report buttons" width="2908" height="364" data-path="images/webapp-analytics/download-pdf.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  The PDF covers whichever section is currently selected : switch tabs first if
  you want a different section's report.
</Note>
