Hubsy is your HubSpot personal assistant.
Branch: master
Clone or download
Andrew Riess
Latest commit ad2aef2 Jul 17, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Simple config Jul 14, 2017
helpers Bug fix Jul 16, 2017
landing final content edits for landing page Jul 17, 2017
.eslintrc.json Cleanup and additions to eslint Jul 9, 2017
.gitignore Terraform is setup and makes this 10x easier to do Jun 24, 2017
Makefile Moved s3 bucket name Jul 14, 2017
README.md Readme Jul 17, 2017
alexa_router.js Tell me about yourself? Jul 17, 2017
compare_sales_people.js Lots of cleanup Jul 13, 2017
create_engagement_for.js made new command, get_new_deals Jul 16, 2017
create_or_update_contact.js Bug fix Jul 16, 2017
deals_in_stage.js Woot got alexa using session attributes properly with a wrapper Jul 15, 2017
deploy.tf Tell me about yourself? Jul 17, 2017
engagements_by_people.js Updates Jul 14, 2017
eslint.sh Lots of cleanup Jul 13, 2017
get_contact_info.js person_data not data Jul 16, 2017
get_new_deals.js random Jul 16, 2017
help.js Tell me about yourself? Jul 17, 2017
lex-export.json Lex json Jul 17, 2017
package.json
tell_me_about_self.js Tell me about yourself? Jul 17, 2017
total_in_deals.js Bug fix Jul 16, 2017

README.md

Hubsy

Hubsy the HubSpot bot is your own personal assistant to help you manage your HubSpot account! Hubsy was created for an AWS Hackathon but if you would like to install it for your own company let us know! The bot is accessible on Slack, Facebook and Alexa.

Sample utterances that start conversations

Create Engagements

  • Create a task
  • Log a call

Contact Info

  • What is the contact information for {person}.
  • Create a contact.

Number of Engagements

  • How many {engagements} did {sales} make {timeframe}.
  • How many {engagements} did {sales} make on {date}.
  • How many {engagements} were made on {date}.

Compare Sales People

  • Compare {engagements} with {salesOne} and {salesTwo} for {timeframe}.
  • Compare sales people.

Deals

  • How many deals are in the {stage} stage.
  • How many deals are in the {stage} assigned to {sales}.
  • What is the total value of deals in the {stage}​ stage.
  • How much money is in {stage}​.
  • What is the total value of deals.
  • Show me recent deals.

Misc

  • Help

AWS/Third Party Services Used

  • Lex - This is the service that allowed us to build the conversational piece to our bot. We gave it potential utterances that a person on a sales team would likely say.
  • Lambda - Lambda is where we run our NodeJS code that parses the users request and contacts HubSpot for the information, then decides to give the user the info or request more.
  • HubSpot - HubSpot was the CRM of choice to integrate with our bot for its general ease of use and popularity.
  • IAM - IAM profiles for our Lambda functions so that they only have access to the services they need.
  • CloudWatch Logs - Our Lambda functions all log to CloudWatch so that it was easier for us to debug different pieces of our intents.
  • Amazon Alexa Skill Developer - We used Amazon's Alexa skill builder to build our skill and test it on an Echo Dot.
  • Route 53 - Domain was purchased.
  • S3 - Our Terraform config and this website are stored in S3.
  • CloudFront - The CDN that fronts our website S3 bucket.
  • Certificate Manager - Hubsy website SSL certificate.
  • Terraform Using - Terraform and writing our infrastructure as code allowed for faster development with Lambda and clean infrastructure management.
  • ESLint - We used ESLint so ensure our code was always linted before each deploy and we were following proper development standards.

Makefile

  • make eslint - Run ESLint against our JS files for coding standards.
  • make build - Zips the Lambda functions for terraform to send to Lambda.
  • make sync - Sync the landing page website to S3.
  • make plan - Creates a Terraform plan to deploy infrastructure changes.
  • make apply - Applies the terraform plan (requires make plan first).

Release History

1.0.0 on July 17 2017

  • Hubsy 1.0 initial release!