Skip to content

Share Tableau Dashboards to your Slack Workspace with Python

License

Notifications You must be signed in to change notification settings

bcrant/Tableau2Slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tableau2Slack

img img img img img img img

As a data lover in a meme world, it can be challenging to command the attention of peers with things like sales updates, forecasts, and projections. I built Tableau2Slack to make business intelligence dashboards and data visualizations more easily accessible to my colleagues; by sharing updates to them directly in Slack. Now you can too!



This repository includes detailed documentation and a beginner friendly step-by-step tutorial on how to deploy this script and automate sharing updates to Slack. I am happy to help if you have any problems getting started and am always open to feedback, collaboration, and additional contributions.

To learn more about this project check out the Medium article.

Contents

Tableau2Slack.py
requirements.txt
.env (example for dotenv package. Read virtualenvexample.md)
LICENSE
README.md
1-gettingstarted.md
2-virtualenvexample.md
3-cronexample.md

Documentation

  1. Getting Started
  2. Virtual Environment Tutorial
      I.   Intro
      II.  virtualenv Installation
      III. virtualenv Set Up
      IV.  Environment Variables Example
  3. Cron Tutorial
      I.   Intro
      II.  Under the Hood
      III. Installation

Installation Preview / Summary

  1. Clone the Tableau2Slack repository
  2. Create and install a Slack bot to your Slack workspace as outlined in Getting Started
  3. Replace the example variables in the .env file (pictured below) with your corresponding Tableau and Slack account information
  4. (Optional) Edit the JSON message body in Tableau2Slack.py to customize the Slack message and username/icon.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Would love to create adaptations for other data visualization tools like Looker, Domo, and Power BI in the future.

License

MIT license

Authors

Main authors:
  Brian Crant < brian@briancrant.com >

Special thanks to Dylan Yile Wu for the inspiration. Even if it not used directly, his work with the Tableau REST API heavily influenced the functionality of this project.

Many thanks to John McDonald for giving freely of his time and expertise to review drafts of the super duper scintillating documentation in this repository for public consumption. Not all heroes wear capes.

About

Share Tableau Dashboards to your Slack Workspace with Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages