Skip to content

Bot for triaging incoming intercom requests and assigning them to the right people.

License

Notifications You must be signed in to change notification settings

adamtrinity/IntercomBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntercomBot

Bot for triaging incoming intercom requests and assigning them to the right people.

Installation (linux-specific)

Install the python module:

sudo python setup.py develop

If you run into installation trouble, check our installation guide on the indico blog.

Sign up for an intercom API key at https://developers.intercom.io/page/getting-started and set up a webhook that responds to the "New Message from a User", "Reply from a User", and "Conversation assigned to Teammate" events.

Set the required environment variables in your ~/.bashrc:

export INTERCOM_INDICO_API_KEY='{INDICO_API_KEY}'
export INTERCOM_APP_ID='{INTERCOM_APP_ID}'
export INTERCOM_API_KEY='{INTERCOM_API_KEY}'

Make an intercom user for the bot and paste it's user ID into intercombot/config.py as the SUGGESTOR_ID.

Build base message routing model based on historic data

python scripts/download_conversations.py
python scripts/train_custom_collections.py

Run the server:

python -m indicobot.server

Watch the bot start auto-assigning users to conversations!

About

Bot for triaging incoming intercom requests and assigning them to the right people.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.9%
  • Shell 5.1%