# Interaction service

<figure><img src="/files/iuKK4sGXjANq4QXqJJDx" alt=""><figcaption><p>How to drag the Interaction service component</p></figcaption></figure>

## When should you add the Interaction Service component?

If you plan to use features like setting off confetti animations, you'll need to add the Interaction Service component.

{% hint style="info" %}
Make sure to include the Interaction Service component in the same screen where you want features like the confetti animation to appear, not in the following screen. A helpful message will also appear, reminding you to add this component if you try to use these special features.
{% endhint %}

<figure><img src="/files/n9qAJkySeohVms9mHBzV" alt=""><figcaption></figcaption></figure>


---

# 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/flow-components/interaction-service.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.
