Skip to main content

Tableau Component

Manage projects and workbooks in your Tableau site

Component key: tableau

Description

Tableau is an interactive data visualization software company focused on business intelligence. The Tableau component allows you to manage your users, projects, workbooks, and connections through the Tableau Rest API.

Connections

Tableau Token Connection

This component uses token authentication to interact with the Tableau API. To generate a token:

  • Log in to Tableau
  • Click the user icon in the top right, and click My Account Settings
  • Under Personal Access Tokens, type in a Token Name and select Create new token. Take note of the Token Name and Token Secret - you'll enter those in a moment
  • Look at your Tableau URL. It'll look like https://10ay.online.tableau.com/#/site/MarketingTeam/workbooks. You'll use the 10ay.online.tableau.com portion as your Host Name, and MarketingTeam as your Site ID.

Now, add a Tableau step to your flow. This will automatically create a Tableau connection config variable. Fill in the config variable with the Token Name, Token Secret, Host Name and Site ID that you noted above.

For additional information regarding authentication, please refer to the Tableau docs.

InputNotesExample
Host Name

Provide a string value for the host name of the Tableau server, without the https://

10ay.online.tableau.com
Site ID

The ID of your Tableau site (MarketingTeam part of https://10ay.online.tableau.com/#/site/MarketingTeam/workbooks)

MarketingTeam
Token Secret

Provide a string value for the Tableau Token. This value can be created from your Tableau account.

xxxxxxxxxxxxxxxxxxxxxx==:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Token Name

Provide a string value for the name of the Tableau Token.

My Token

Triggers

Scheduled Event

Receive data from scheduled events in real time with webhook subscriptions. | key: tableauTrigger

InputNotesExample
API Version

The version of the Tableau API to use

3.6
Connection
Debug Request

This flag will enable debugging and logging of the action's web request.

false
API Event Name

The events to subscribe to.

Timeout

The maximum amount of time the client will await a response.

3000

Actions

Create Project

Create a new project inside your Tableau site | key: createProject

InputNotesExample
Content Permissions

This value controls user permissions in a project. However, if the project is nested within a project, it will inherit those permissions and these settings will have no effect.

Debug Request

This flag will enable debugging and logging of the action's web request.

false
Description

Provide a string value for the description of the project.

This is an example description
Parent Project Id

Provide a string value for the id of the parent project.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Project Name

Provide a string value for the name of the project.

MyProject
Connection
Timeout

The maximum amount of time the client will await a response.

3000

Create User

Create a new user in your tableau site | key: createUser

InputNotesExample
Auth Setting

Provide a string value for the username of the user.

Debug Request

This flag will enable debugging and logging of the action's web request.

false
Site Role

Provide a value for the role of the user.

Connection
Timeout

The maximum amount of time the client will await a response.

3000
Username

Provide a string value for the username of the user. For Tableau Online, this value is an email address.

someone@example.com

Create Webhook

Creates a new webhook for a site. | key: createWebhook

InputNotesExample
API Version

The version of the Tableau API to use

3.6
Debug Request

This flag will enable debugging and logging of the action's web request.

false
API Event Name

The name of the Tableau event that triggers your webhook

Connection
Timeout

The maximum amount of time the client will await a response.

3000
Webhook Enabled

If true (default), the newly created webhook is enabled. If false then the webhook will be disabled.

true
Webhook Name

A name for the webhook.

My Webhook
Webhook URL

The destination URL for the webhook. The webhook destination URL must be https and have a valid certificate.

https://example.com/webhook

Delete Projects

Delete an existing project by Id | key: deleteProjects

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Project Id

Provide a string value for the Id of your Tableau Project.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Connection
Timeout

The maximum amount of time the client will await a response.

3000

Delete User

Delete an existing user by Id | key: deleteUser

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Connection
Timeout

The maximum amount of time the client will await a response.

3000
UserId

Provide a value for the unique identifier of the user.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

Delete Webhook

Deletes the specified webhook. | key: deleteWebhook

InputNotesExample
API Version

The version of the Tableau API to use

3.6
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Connection
Timeout

The maximum amount of time the client will await a response.

3000
Webhook Id

The ID of the webhook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

Delete Workbooks

Delete an existing workbook by Id | key: deleteWorkbook

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Connection
Timeout

The maximum amount of time the client will await a response.

3000
Workbook Id

Provide a string value for the unique identifier of the workbook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

Get Project

Get an existing project | key: getProject

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Project Name

Provide a string value for the name of the project.

MyProject
Connection
Timeout

The maximum amount of time the client will await a response.

3000

Get User

Get an existing user by Id | key: getUser

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Connection
Timeout

The maximum amount of time the client will await a response.

3000
UserId

Provide a value for the unique identifier of the user.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

Get Webhook

Returns information about the specified webhook. | key: getWebhook

InputNotesExample
API Version

The version of the Tableau API to use

3.6
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Connection
Timeout

The maximum amount of time the client will await a response.

3000
Webhook Id

The ID of the webhook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

Get Workbooks

Get an existing workbook by Id | key: getWorkbook

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Connection
Timeout

The maximum amount of time the client will await a response.

3000
Workbook Id

Provide a string value for the unique identifier of the workbook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

List Connections

Retrieve a list of connections connected to your Tableau site | key: listConnections

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Page Number

Provide an integer value for the page offset for the given object's results.

3
Page Size

Provide an integer value for the maximum amount of results that will be returned.

20
Connection
Timeout

The maximum amount of time the client will await a response.

3000
Workbook Id

Provide a string value for the unique identifier of the workbook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

List Projects

Retrieve a list of projects connected to your Tableau site | key: listProjects

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Page Number

Provide an integer value for the page offset for the given object's results.

3
Page Size

Provide an integer value for the maximum amount of results that will be returned.

20
Connection
Timeout

The maximum amount of time the client will await a response.

3000

List users

Retrieve a list of users connected to your Tableau site | key: listUsers

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Page Number

Provide an integer value for the page offset for the given object's results.

3
Page Size

Provide an integer value for the maximum amount of results that will be returned.

20
Connection
Timeout

The maximum amount of time the client will await a response.

3000

List Webhooks

Returns a list of all the webhooks on the specified site. | key: listWebhooks

InputNotesExample
API Version

The version of the Tableau API to use

3.6
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Page Number

Provide an integer value for the page offset for the given object's results.

3
Page Size

Provide an integer value for the maximum amount of results that will be returned.

20
Connection
Timeout

The maximum amount of time the client will await a response.

3000

List Workbooks

Retrieve a list of workbooks connected to your Tableau site | key: listWorkbooks

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Page Number

Provide an integer value for the page offset for the given object's results.

3
Page Size

Provide an integer value for the maximum amount of results that will be returned.

20
Connection
Timeout

The maximum amount of time the client will await a response.

3000

Publish Workbook

Publishes a workbook on the specified site. | key: publishWorkbook

InputNotesExample
As Job

If false, the workbook publishing process runs as a synchronous process. If a workbook is very large, the process might time out before it finishes. If you set this value to true, the process runs asynchronously, and a job will start to perform the publishing process and return the job ID.

false
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Overwrite

True to overwrite a workbook that has the same name, or false to fail if the specified workbook already exists.

false
Skip Connection Check

If true, then the Tableau server will not check if a non-published connection of a workbook is reachable.

false
Connection
Timeout

The maximum amount of time the client will await a response.

3000
Upload Session Id

If you are calling this method to commit a file that was uploaded in parts, this value contains the upload session ID that was generated by a call to Initiate File Upload.

Workbook File Contents

The twbx file to upload as binary data.

Workbook Type

twb or twbx to indicate whether you have uploaded a workbook file (twb) or a packaged workbook file (twbx).

Workbook XML

Raw Request

Send raw HTTP request to Tableau | key: rawRequest

InputNotesExample
API Version

The version of the Tableau API to use

3.6
Connection
Data

The HTTP body payload to send to the URL.

{"exampleKey": "Example Data"}
Debug Request

Enabling this flag will log out the current request.

false
File Data

File Data to be sent as a multipart form upload.

[{key: "example.txt", value: "My File Contents"}]
File Data File Names

File names to apply to the file data inputs. Keys must match the file data keys above.

Form Data

The Form Data to be sent as a multipart form upload.

[{"key": "Example Key", "value": new Buffer("Hello World")}]
Header

A list of headers to send with the request.

User-Agent: curl/7.64.1
Max Retry Count

The maximum number of retries to attempt. Specify 0 for no retries.

0
Method

The HTTP method to use.

Query Parameter

A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.

Response Type

The type of data you expect in the response. You can request json, text, or binary data.

json
Retry On All Errors

If true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.

false
Retry Delay (ms)

The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.

0
Timeout

The maximum time that a client will await a response to its request

2000
URL

Input the path only (/projects); the base URL is already included (https://{inputHostName}/api/{inputApiVersion}/sites/{siteId}). For example, to connect to https://{inputHostName}/api/{inputApiVersion}/sites/{siteId}/projects, enter only /projects in this field. Note: {inputHostName} is derived from the Host Name input in the connection configuration, {inputApiVersion} is based on the API Version input (default is 3.3), and {siteId} is automatically appended.

/projects
Use Exponential Backoff

Specifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.

false

Search Connections

Search for a specific Connection in a Workbook | key: searchConnections

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Page Number

Provide an integer value for the page offset for the given object's results.

3
Page Size

Provide an integer value for the maximum amount of results that will be returned.

20
Search Field
Search

Provide a string value to search on.

My Project
Connection
Timeout

The maximum amount of time the client will await a response.

3000
Workbook Id

Provide a string value for the unique identifier of the workbook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

Search Projects

Search for a specific project by a string of text | key: searchProjects

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Page Number

Provide an integer value for the page offset for the given object's results.

3
Page Size

Provide an integer value for the maximum amount of results that will be returned.

20
Search Field

The field to search. Dates should follow the ISO format: 2016-05-04T21:24:49Z

Name
Search

Provide a string value to search on.

My Project
Connection
Timeout

The maximum amount of time the client will await a response.

3000

Search Users

Search for a specific User by a string of text | key: searchUsers

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Page Number

Provide an integer value for the page offset for the given object's results.

3
Page Size

Provide an integer value for the maximum amount of results that will be returned.

20
Search Field

The field to search. Dates should follow the ISO format: 2016-05-04T21:24:49Z

Name
Search

Provide a string value to search on.

john.doe@test.com
Connection
Timeout

The maximum amount of time the client will await a response.

3000

Search Workbooks

Search for a specific Workbook by a string of text | key: searchWorkbooks

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Filter Operator

The operator to use in searching

eq
Page Number

Provide an integer value for the page offset for the given object's results.

3
Page Size

Provide an integer value for the maximum amount of results that will be returned.

20
Search Field

The field to search

Tags
Search

Provide a string value to search on.

Tag 1, Tag 2, My 3rd Tag
Connection
Timeout

The maximum amount of time the client will await a response.

3000

Test Webhook

Tests the specified webhook. Sends an empty payload to the configured destination URL of the webhook and returns the response from the server. | key: testWebhook

InputNotesExample
API Version

The version of the Tableau API to use

3.6
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Connection
Timeout

The maximum amount of time the client will await a response.

3000
Webhook Id

The ID of the webhook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

Update Connection

Update the information and metadata of an existing connection by Id | key: updateConnection

InputNotesExample
Connection Id

Provide a value for the unique identifier of the connection.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Connection Password

Provide a value for the password used to authenticate the connection.

mySafePassword
Connection Username

Provide a string value for the username used to authenticate the connection.

myExampleUsername
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Embed Password

Enable this flag to embed the password for the connection.

false
Query Tagging Enabled

Associates a specific server log query event with the Tableau resource that made the query.

false
Server Address

Provide a string value for the address of the server you want to connect.

192.168.0.1
Server Port

Provide a string value for the port of the server you want to connect.

8080
Connection
Timeout

The maximum amount of time the client will await a response.

3000
Workbook Id

Provide a string value for the unique identifier of the workbook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374

Update Project

Update the contents and metadata of an existing project by Id | key: updateProject

InputNotesExample
Content Permissions

This value controls user permissions in a project. However, if the project is nested within a project, it will inherit those permissions and these settings will have no effect.

Debug Request

This flag will enable debugging and logging of the action's web request.

false
Description

Provide a string value for the description of the project.

This is an example description
Parent Project Id

Provide a string value for the id of the parent project.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Project Id

Provide a string value for the Id of your Tableau Project.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Project Name

Provide a string value for the name of the project.

MyProject
Connection
Timeout

The maximum amount of time the client will await a response.

3000

Update User

Update the information and metadata of an existing user | key: updateUser

InputNotesExample
Auth Setting

Provide a string value for the username of the user.

Debug Request

This flag will enable debugging and logging of the action's web request.

false
Site Role

Provide a value for the role of the user.

Connection
Timeout

The maximum amount of time the client will await a response.

3000
UserId

Provide a value for the unique identifier of the user.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Username

Provide a string value for the username of the user. For Tableau Online, this value is an email address.

someone@example.com

Update Webhook

Modify the properties of an existing webhook. | key: updateWebhook

InputNotesExample
API Version

The version of the Tableau API to use

3.6
Debug Request

This flag will enable debugging and logging of the action's web request.

false
API Event Name

The name of the Tableau event that triggers your webhook

Connection
Timeout

The maximum amount of time the client will await a response.

3000
Webhook Disable Reason

The reason a webhook is disabled.

This webhook is disabled because of a reason.
Webhook Enabled

If true (default), the newly created webhook is enabled. If false then the webhook will be disabled.

true
Webhook Id

The ID of the webhook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Webhook Name

A name for the webhook.

My Webhook
Webhook URL

The destination URL for the webhook. The webhook destination URL must be https and have a valid certificate.

https://example.com/webhook

Update Workbook

Update the information and metadata of an existing workbook by Id | key: updateWorkbook

InputNotesExample
Debug Request

This flag will enable debugging and logging of the action's web request.

false
Project Id

Provide a string value for the Id of your Tableau Project.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Show Tabs

Specify true to have the updated workbook show views in tabs.

false
Connection
Timeout

The maximum amount of time the client will await a response.

3000
UserId

Provide a value for the unique identifier of the user.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Workbook Id

Provide a string value for the unique identifier of the workbook.

f12a9855-1059-4cd7-9e6a-a4ba5089e374
Workbook Name

Provide a string value for the name of the workbook.

My Workbook