Slack command using Cisco Prime API to find people
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


WhereIs - Slack Command

Build Status

Slack slash command using Cisco Prime API to find people.

Built with the Serverless Framework, using AWS Lambda and API Gateway.


  1. Clone the WhereIs repository and enter the directory.

    git clone && cd WhereIs
  2. If you haven't already, install the Serverless Framework.

    npm install serverless -g
  • You will need AWS credentials setup on your machine before being able to run Serverless commands. Follow the guide here.
  1. Install the dependencies.

    npm install --save
    pip install pipenv
  2. Update serverless.yml changing the region, securityGroupIds and subnetIds where applicable.

  3. Update changing the url variable with your Cisco Prime IP/address.

  4. Run the command to deploy.

    sls deploy

Slack Setup

  1. Login to Slack and navigate to the Create a Slack App page.

  2. Give your app a name and choose the workspace you'd like to deploy it to.

  3. Under 'Features' navigate to 'Slash Commands' and select 'Create New Command'. Call the command whatever you like, and for the Request URL enter the URL returned when the sls deploy command finished executing. Fill in the Description and Hint with something meaningful and save.

  4. Now, under 'Settings' choose 'Install App' and install it to your workspace.

  5. Finally, in Slack run /whereis firstname.surname and it should return the location from Prime!