# Javascript actions

GUI action customization is available from **Integration > Javascript actions**.

This page allows you to customize your graphical interface by implementing javascript elements for your bot. Note that some GUI actions are already predefined here. and exploitable within your knowledge.

To do so, click **Add**.

<figure><img src="/files/1awD6PRFF98S99npW4Uh" alt=""><figcaption></figcaption></figure>

Add the name of your new item and enter the associated javascript code.

Click the blue tick to validate the operation.


---

# 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-en.dydu.ai/integration/javascript-actions.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.
