> For the complete documentation index, see [llms.txt](https://docs.developers.symphony.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.developers.symphony.com/bots/open-source-code-samples.md).

# 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
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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.developers.symphony.com/bots/open-source-code-samples.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
