This plugin exports playbook channels into a CSV format.
See the Mattermost Product Documentation for details on installing, configuring, enabling, and using this Mattermost integration.
- Overview
- Features
- Admin Guide
- End User Guide
- Contribute
- How to Release
- License
- Security Vulnerability Disclosure
- Get Help
The Mattermost Channel Export Plugin enables exporting playbook channels to CSV files. It’s designed for admins and teams who need to retain or analyze conversation data outside Mattermost while following organizational compliance workflows.
- Export playbook channels to CSV.
- Works across supported Mattermost server versions.
- Provides deployment options for local development and production environments.
- Compatible with Marketplace and manual installation flows.
Ask your system admin to install and enable the plugin. Once enabled, you’ll see export options in eligible channels depending on your organization’s configuration.
Access the export functionality from the channel UI where it’s enabled, follow prompts to export, and download the CSV. Availability may vary based on admin configuration.
If the plugin exposes slash commands, use them from the message input (for example, /export <options>). Refer to your admin’s guidance for allowed parameters.
- Why don’t I see export options? The admin may not have enabled the plugin for your workspace or channel type.
- Where do exports go? Typically to a downloadable file via the UI; check with your admin for storage or retention.
- Clone the repository:
git clone https://github.com/mattermost/mattermost-plugin-channel-export.git
- Build the plugin:
make
3. The build produces a single plugin file (multi‑arch) for upload to your Mattermost server:
```bash
'dist/com.mattermost.plugin-channel-export.tar.gz'- For deployment and server configuration, see the Admin Guide.
-Run unit and integration tests as provided by the Makefile or CI workflows. -For local testing, follow deployment steps in the Admin Guide to install your built plugin on a dev server.
If your Mattermost server is running locally, you can enable local mode to streamline deploying your plugin. Edit your server configuration as follows:
{
"ServiceSettings": {
...
"EnableLocalMode": true,
"LocalModeSocketLocation": "/var/tmp/mattermost_local.socket"
}
}Deploy your plugin with make deploy.
You may also customize the Unix socket path if needed:
export MM_LOCALSOCKETPATH=/var/tmp/alternate_local.socket
make deployIf developing a plugin with a webapp, watch for changes and deploy those automatically using make watch.
Alternatively, you can authenticate with the server's API with credentials:
export MM_SERVICESETTINGS_SITEURL=http://localhost:8065
export MM_ADMIN_USERNAME=admin
export MM_ADMIN_PASSWORD=password
make deployor with a personal access token:
export MM_SERVICESETTINGS_SITEURL=http://localhost:8065
export MM_ADMIN_TOKEN=j44acwd8obn78cdcx7koid4jkr
make deployTo trigger a release, follow these steps:
-
For Patch Release: Run the following command:
make patchThis will release a patch change.
-
For Minor Release: Run the following command:
make minorThis will release a minor change.
-
For Major Release: Run the following command:
make majorThis will release a major change.
-
For Patch Release Candidate (RC): Run the following command:
make patch-rcThis will release a patch release candidate.
-
For Minor Release Candidate (RC): Run the following command:
make minor-rcThis will release a minor release candidate.
-
For Major Release Candidate (RC): Run the following command:
make major-rcThis will release a major release candidate.
This repository is licensed under the Mattermost Source Available License and requires a valid Enterprise Edition E20 license when used for production. See frequently asked questions to learn more.
Although Mattermost Enterprise is required if using this plugin in production, the Mattermost Source Available License allows you to compile and test this plugin in development and testing environments without Mattermost Enterprise. As such, we welcome community contributions to this plugin.
On startup, the plugin checks for a valid Mattermost Enterprise license. If you're running an Enterprise Edition of Mattermost and don't already have a valid license, you can obtain a trial license from System Console > Edition and License. If you're running the Team Edition of Mattermost, including when you run the server directly from source, you may instead configure your server to enable both testing (ServiceSettings.EnableTesting) and developer mode (ServiceSettings.EnableDeveloper). These settings are not recommended in production environments.
If you discover a security issue, please report it responsibly via Mattermost’s published security channels and avoid public disclosure until a fix is available.
-
Developer Workflow: Mattermost Plugin Developer Workflow
Learn how to build, extend, and maintain Mattermost plugins. -
Developer Setup: Plugin Developer Setup Guide
Step‑by‑step instructions for setting up your development environment. -
Product Documentation: Export Channel Data
Official Mattermost documentation on exporting channel data. -
Report Issues:
To report a bug or request a feature, please open a GitHub issue in this repository. -
Community & Support:
Join the Mattermost community forums or contact Mattermost support if you need additional help.
This plugin contains both a server and web app portion. Read our documentation about the Developer Workflow and Developer Setup for more information about developing and extending plugins.
To report a bug, please open a GitHub issue.
