Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dlo/helpscout-export
https://github.com/dlo/helpscout-export
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dlo/helpscout-export
- Owner: dlo
- Created: 2022-07-10T02:20:41.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-10T13:18:22.000Z (over 2 years ago)
- Last Synced: 2024-10-19T19:37:11.255Z (2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# helpscout-export
I wanted to export all my Help Scout data to a SQLite database. I searched and couldn't find anything that did this well, so I wrote it myself.
To run this script, create a new App via "Profile" > "My Apps" > "Create My App". Give it a name and a redirection URL (can be anything). Once the app is created, export `HELPSCOUT_APP_ID` and `HELPSCOUT_APP_SECRET` in your shell, then run the following to download all your data.
```
make install-dependencies
make download
```All of your Help Scout data will be downloaded to a directory named `data/`. To import this data into a SQLite database, run this next:
```
make import
```This will import all of the downloaded data to a SQLite file in the directory (`helpscout.db`).
Here's the ER diagram:
```mermaid
erDiagramcustomer {
}mailbox {
}tag {
}user {
}email {
}phone {
}social_profile {
}thread {
}website {
}workflow {
}customer ||--o{ address : "foreign key"
customer ||--o{ chat : "foreign key"
customer ||--o{ conversation : "foreign key"
customer ||--o{ email : "foreign key"
customer ||--o{ phone : "foreign key"
customer ||--o{ social_profile : "foreign key"
customer ||--o{ thread : "foreign key"
customer ||--o{ website : "foreign key"
mailbox ||--o{ workflow : "foreign key"
user ||--o{ conversation : "foreign key"
user ||--o{ thread : "foreign key"
```