IF THIS THEN.. 

 

 

Trigger Events with Tableau Webhooks!

til.bi/webhooks

TABLEAU

The Information Lab UK

ANDRE

@lainecaruzca

LAINE

@andre347_

The Information Lab UK

til.bi/webhooks

Let's Talk Data 🗣

til.bi/talkdata

The Information Lab UK

til.bi/webhooks

What this webinar is

A beginners guide and introduction

 

A showcase of possible web hook integrations

 

A starter for building your own integrations

🙂

The Information Lab UK

til.bi/webhooks

What this webinar is not

Difficult for beginners

 

Lots of code

 

Super detailed step-by-step walkthrough

 

 

😕

The Information Lab UK

til.bi/webhooks

Tableau Developer Platform

The Information Lab UK

til.bi/webhooks

Tableau Developer Platform

The Information Lab UK

til.bi/webhooks

The Information Lab UK

til.bi/webhooks

What are webhooks?

Web hooks allow you

 

"to build custom applications or workflows that react to events that happen in Tableau. For example, you could use webhooks to send an SMS or Slack notification any time a datasource refresh fails, or fire off a confetti cannon when a new workbook is created."

 

 

The Information Lab UK

til.bi/webhooks

Source: Tableau Github

What are webhooks?

The Information Lab UK

til.bi/webhooks

What are webhooks?

The Information Lab UK

til.bi/webhooks

What are webhooks?

The Information Lab UK

til.bi/webhooks

{  

  "resource":"DATASOURCE",  

  "event-type":"DatasourceCreated",  

  "resource-name":"My Datasource",  

  "site-id":"8b2a95d8-52b9-40a4-8712-cd6da771bd1b",  

  "resource-id":"99"  

  "createdAt":"2018-11-15T17:14:45Z"

}

Which Tableau events?

The Information Lab UK

til.bi/webhooks

Workbooks

&

Datasources

 

Which Tableau events?

The Information Lab UK

til.bi/webhooks

Friendly Event Name API Event Name
DatasourceRefreshStarted webhook-source-event-datasource-refresh-started
DatasourceRefreshSucceeded webhook-source-event-datasource-refresh-succeeded
DatasourceRefreshFailed webhook-source-event-datasource-refresh-failed
DatasourceUpdated webhook-source-event-datasource-updated
DatasourceCreated webhook-source-event-datasource-created
DatasourceDeleted webhook-source-event-datasource-deleted
WorkbookUpdated webhook-source-event-workbook-updated
WorkbookCreated webhook-source-event-workbook-created
WorkbookDeleted webhook-source-event-workbook-deleted
WorkbookRefreshStarted webhook-source-event-workbook-refresh-started
WorkbookRefreshSucceeded webhook-source-event-workbook-refresh-succeeded
WorkbookRefreshFailed webhook-source-event-workbook-refresh-failed

Third Party Platforms

The Information Lab UK

til.bi/webhooks

How to get setup

1. Download Postman

 

2. Create an account at IFTTT or Zapier

 

3. Tableau 2019.4 Server or Online

 

4. Download the Postman Webhooks collection

 

The Information Lab UK

til.bi/webhooks

How to create a web hook?

1. Login to Tableau through the REST API (PAT)

 

2. Login gives you auth token. You use this in all future requests

 

3. Send a POST request to 'yourTableauServer/api/3.6/sites/site-id/webhooks' with payload

 

4. Test web hook by GET Request to by 'yourTableauServer/api/3.6/sites/site-id/webhooks/test' with payload

 

The Information Lab UK

til.bi/webhooks

DEMO TIME

The Information Lab UK

til.bi/webhooks

The Information Lab UK

til.bi/webhooks

RESOURCES

Q&A

The Information Lab UK

til.bi/webhooks

IF THIS THEN.. TABLEAU

By Andre de Vries

IF THIS THEN.. TABLEAU

  • 669