# Refresh Query

## Overview

The Refresh Query Interaction lets you automatically update the information displayed in your Avonni components after launching a flow. Here's why that's powerful:

* **Real-time updates:** Say goodbye to manual refreshes! Your components will display the latest data seamlessly, creating a more responsive and intuitive user experience.
* **Time-saver:** Users no longer have to wait for pages to reload; information updates happen instantly, saving them time and frustration.
* **Smoother workflows:** Create dynamic flows where data changes trigger updates naturally. Everything feels connected and in sync.

{% hint style="warning" %}
**Important Note:** The "Refresh Query" interaction targets components configured with a Query Data Source. If a component relies on a Variable Data Source, this action will not refresh its data.
{% endhint %}

***

## Exploring use cases

### 1. **Refreshing Data Tables:**

* **Scenario:** Admins want to refresh the data displayed on a Data Table without reloading the entire flow.
* **Usage:** An admin can add a header action button to the Data Table. Clicking this button will trigger the Refresh Query Interaction, refreshing the data in the table based on the latest query parameters and providing real-time data without manual flow restarts.

{% embed url="<https://youtu.be/Wa7k5I4dkbQ?si=ATBvxyZsV8MUJZpq>" %}

### 2. **Enhancing User Interactions within Flows:**

* **Scenario:** Admins want to improve the user experience by minimizing disruptions, and manual refresh needs within a flow.
* **Usage:** Utilizing Refresh Query Interactions allows for more seamless user experiences by enabling dynamic data updates and interactions within a flow without requiring full page or flow reloads, enhancing user engagement and productivity.

These use cases illustrate how admins can leverage the Refresh Query Interaction to create more dynamic, synchronized, and user-friendly flows using the Avonni Components.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/refresh-query.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
