leonderijke / front-export

Export all conversations in a Front App inbox, including attachments. Uses the Front API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Front export

Heads up! This code uses the Front API V1, which is deprecated. @niklasravnsborg took this project further and created a Front API V2 compatible version: https://github.com/niklasravnsborg/front-export 🎉

This repository is no longer maintained.

Little export script for exporting all conversations in a Front inbox, using the Front API V1.

When using the awesome Front App, you want to export all conversations in an inbox. For example, for backup purposes.

Three environment variables are needed:

With these environment variables in place, run the script:

$ npm start

This will create a directory with a conversations.json file containing all conversations from the inbox. Per message a directory is created containing all attachments for the message.

Disclaimer

Use at your own risk, no guarantees, don't try this at home, etc. etc.

About

Export all conversations in a Front App inbox, including attachments. Uses the Front API.


Languages

Language:JavaScript 100.0%