> For the complete documentation index, see [llms.txt](https://docs.firework.com/firework-for-developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.firework.com/firework-for-developers/web/integration-guide/events/interaction-events.md).

# Interaction events

Description of custom events related to interactions like polls, question cards etc in short videos or during livestream.

### Shopping

<table data-header-hidden><thead><tr><th width="398" valign="middle">Name</th><th>Description</th></tr></thead><tbody><tr><td valign="middle"><strong>Name</strong></td><td><strong>Description</strong></td></tr><tr><td valign="middle"><code>fw:interaction:submit-answer</code></td><td><p>Emitted when user submits an answer for the question interaction and also for Giveaway interaction.</p><p><code>event.detail.extra</code></p><p>contains the interaction, email and answer</p></td></tr><tr><td valign="middle"><code>fw:interaction:submit-choice</code></td><td><p>Emitted when user submits a choice for the Poll interaction and for a Trivia Giveaway interaction.</p><p><code>event.detail.extra</code></p><p>contains the interaction and chosen option's text</p></td></tr><tr><td valign="middle"><code>fw:interaction:giveaway:winner-chosen</code></td><td><p>Emitted when a winner is chosen for a Giveaway interaction and also for a Trivia Giveaway.</p><p><code>event.detail.extra</code></p><p>contain array with chosen winner(s).</p></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.firework.com/firework-for-developers/web/integration-guide/events/interaction-events.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
