TABLEAU REST API: TABLEAU-API-LIB TUTORIALS

Creating Tableau Server webhooks to alert your team when extracts fail or succeed

How to set up webhooks using Python and Tableau’s REST API

Elliott Stam
Devyx
Published in
7 min readApr 18, 2020

--

Are your workflows listening to Tableau Server webhooks? (Photo by kyle smith on Unsplash)

Nobody likes a mystery when it comes to knowing whether or not your Tableau Server extract refresh jobs are succeeding or failing. Webhooks can help you minimize the unknowns in your environment, making it simple for you to automatically trigger events based on activity such as extract refresh jobs starting, completing, or failing.

But webhooks aren’t limited to extract refreshes — you can also set them up to trigger events when someone publishes a workbook, deletes a workbook, and more.

Have I sold you on webhooks yet? If you’re still reading, let’s dive into some step-by-step details of how you can set them up on your own Tableau Server.

This tutorial walks through using the Python tableau-api-lib package and is part of a series on how to tap Tableau Server like a keg, giving you control over Tableau Server’s REST API.

These tutorials assume you have Python 3 installed already. If you do not have Python 3 yet, this will get you started: guide to install Python.

Setting the stage

--

--

Elliott Stam
Devyx
Editor for

Data scientist and author. Sometimes seen falling down mountains with a snowboard strapped to my feet.