# Open Source Code Samples

Many members of our community are building bots and code samples and publishing their source code. We collect these examples in this page. You can use any of them as is, or to either bootstrap your own idea or just for inspiration.

{% hint style="info" %}
This list is provided for information only, without warranty of any kind. All source code are protected by their respective license.
{% endhint %}

### Symphony Exporter

This bot provides users to retrieve and export all of their messages from Rooms and IMs.

| Property    | Value                                                                                                                        |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------- |
| Language    | Javascript (NodeJS)                                                                                                          |
| Author      | Symphony                                                                                                                     |
| License     | MIT                                                                                                                          |
| Source Code | [*https://github.com/sym-bizops-bots/symphony-exporter-public*](https://github.com/sym-bizops-bots/symphony-exporter-public) |

### Symphony Roomzilla

This bot provides capabilities to manage room creation and population using Active Directory, *.csv* files or *.eml* files (email).

| Property    | Value                                                                 |
| ----------- | --------------------------------------------------------------------- |
| Language    | JavaScript (Node)                                                     |
| Author      | Symphony                                                              |
| License     | MIT                                                                   |
| Source Code | <https://github.com/SymphonyPlatformSolutions/symphony-roomzilla-bot> |

### Symphony TradeBuddy

This bot tracks watchlists for multiple users and displays a table with clickable buttons to allow users to join discussion rooms.

| Property    | Value                                                                   |
| ----------- | ----------------------------------------------------------------------- |
| Language    | Java                                                                    |
| Author      | Symphony                                                                |
| License     | MIT                                                                     |
| Source Code | <https://github.com/SymphonyPlatformSolutions/symphony-trade-buddy-bot> |

![](https://3121587452-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MB51RkjSmfA_ejydg4M%2F-MOggW-_ZNEL4pQdNjLF%2F-MOhoc8_aCOrpxsiW17w%2Ftrade-buddy-bot.gif?alt=media\&token=52b63dd2-c87c-4a59-8d30-f9a93360990b)

### Symphony Poll Bot

This bot uses Symphony Elements to facilitate the creation of polls, firing of poll messages, ending polls and collation of results.

| Property    | Value                                                                 |
| ----------- | --------------------------------------------------------------------- |
| Language    | Java                                                                  |
| Author      | Symphony                                                              |
| Licence     | MIT                                                                   |
| Source Code | <https://github.com/SymphonyPlatformSolutions/symphony-poll-bot-java> |

![](https://3121587452-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MB51RkjSmfA_ejydg4M%2F-MOhpto3Ztux3V0u-Xm1%2F-MOhr37aF8DlDZJyI4B-%2Fpoll-bot.gif?alt=media\&token=86e19f85-6ce7-43ac-8ebd-dffe56213dc4)


---

# 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.developers.symphony.com/bots/open-source-code-samples.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.
