Skip to content

tessin/SlackLeadsBidder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gamification of assigning leads using Slack

Read story behind this repo on Medium

Requirements

  • .Net hosting with a HTTPS configuration (I'm using Azure)
  • Slack
  • Mandrill
  • MSSQL database

Installation

  • Clone this repo.

  • Setup a connection string to a MSSQL database in Web.config.

  • Run Enable-Migrations and Update-Database in the Package Manager Console to initiate the database.

  • In the database there's now a Agents table. For each agent (salesperson) add a row. (SlackId should be the user name in Slack)

  • In Slack create a new channel (mine is called #leads) and under Custom Integrations add a Incoming WebHooks for this channel. Enter the generated webhook url in Web.config.

  • Add these Slack Commands and enter tokens in Web.config:

  • Get a Mandrill API key and enter in Web.config.

  • In Mandrill setup an Inbound Domain and point this to https://yourdomain/api/mandrill/inbound.

  • Publish to Azure?

    Usage in Slack

    /balance

    Show balance for each agent. (private)

    /bids

    Show all bids for current auction. (private)

    /bid X

    Set your bid to X for current auction.

    /bid

    Get your current bid. (private)

    /autobid X

    Set your autobid to X for future auctions

    /autobid

    Get your current autobid. (private)

About

Tessin Slack Leads Bidder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages