Right now this project allows you to scan your recent e-mails (Gmail only at the moment) and assigns sentiment ratings.
If the sender of the e-mail is in your Salesforce leads, then it will assign them an aggregate sentiment rating.
- Clone the repo.
- Have AWS credentials and know the pricing for Comprehend sentiment analysis.
- Enable Gmail API and create and download an OAuth credentials file.
- Have a Salesforce account with third party API access enabled and place credentials, including security token, into
.env
file. - Run
pip install -r requirements.txt
to install dependencies. - Run
python src/utils.py
to create the custom sentiment rating field in Salesforce. - Enable field visibility for the custom sentiment rating field in Salesforce.
- Run
python main.py
to run the main program. - ???
- Profit.
Still deciding... 🤔...
Definitely would like to make that one step of enabling field visibility in Salesforce programmatic...
And maybe some kind of simple frontend...?