Trigger Events with Tableau Webhooks!
til.bi/webhooks
The Information Lab UK
ANDRE
@lainecaruzca
LAINE
@andre347_
The Information Lab UK
til.bi/webhooks
The Information Lab UK
til.bi/webhooks
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
Difficult for beginners
Lots of code
Super detailed step-by-step walkthrough
😕
The Information Lab UK
til.bi/webhooks
The Information Lab UK
til.bi/webhooks
The Information Lab UK
til.bi/webhooks
The Information Lab UK
til.bi/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
The Information Lab UK
til.bi/webhooks
The Information Lab UK
til.bi/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"
}
The Information Lab UK
til.bi/webhooks
Workbooks
&
Datasources
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 |
The Information Lab UK
til.bi/webhooks
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
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
The Information Lab UK
til.bi/webhooks
The Information Lab UK
til.bi/webhooks
The Information Lab UK
til.bi/webhooks