Skip to main content

Tableau Connector

Tableau Tableau is an interactive data visualization software company focused on business intelligence. This component allows managing users, projects, workbooks, and connections through the Tableau REST API.

API Documentation

This component was built using the Tableau REST API Documentation.

Connections

Personal Access Token

Authenticate requests to Tableau using a Personal Access Token.

This component uses Personal Access Token authentication to interact with the Tableau REST API. Create a connection of type Personal Access Token.

Prerequisites

  • A Tableau Cloud or Tableau Server account with permission to create Personal Access Tokens.

Setup Steps

  1. Log in to Tableau.
  2. Click the user icon in the top right, and click My Account Settings.
  3. Under Personal Access Tokens, type in a Token Name and select Create new token. Take note of the Token Name and Token Secret. These are entered into the connection in a moment.
  4. Locate the Tableau URL. It looks like https://10ay.online.tableau.com/#/site/MarketingTeam/workbooks. The 10ay.online.tableau.com portion is the Host Name, and MarketingTeam is the Site ID.

Configure the Connection

  • Token Name: The name of the Personal Access Token created above.
  • Token Secret: The secret value of the Personal Access Token created above.
  • Host Name: The Tableau server host, without the https:// prefix (for example, 10ay.online.tableau.com).
  • Site ID: The Tableau site identifier (for example, MarketingTeam).

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

InputCommentsDefault
Token SecretThe Tableau Personal Access Token secret. This value can be created from the Tableau account.
Token NameThe name of the Tableau Personal Access Token.
Host NameThe host name of the Tableau server, without the https:// prefix.
Site IDThe ID of the Tableau site (the MarketingTeam part of https://10ay.online.tableau.com/#/site/MarketingTeam/workbooks).

Triggers

New and Updated Records

Checks for new and updated records in a selected Tableau resource type on a configured schedule.

InputCommentsDefault
Connection
Resource TypeThe Tableau resource collection to poll for new and updated records.workbooks
Show New RecordsWhen true, records whose createdAt falls after the last poll are emitted on the created branch.true
Show Updated RecordsWhen true, records whose updatedAt falls after the last poll but were created earlier are emitted on the updated branch.true

Webhook Events

Receive event notifications from Tableau. Automatically creates and manages a webhook subscription for the selected events when the instance is deployed, and removes the subscription when the instance is deleted.

InputCommentsDefault
Connection
API Event NameThe events to subscribe to.
API VersionThe version of the Tableau API to use.3.6
TimeoutThe maximum amount of time the client will await a response.

Actions

Create Project

Create a new project in a Tableau site.

InputCommentsDefault
Parent Project IDThe unique identifier for the parent project.
Project NameThe display name shown for the project in Tableau.
Content PermissionsControls user permissions in a project. A nested project inherits the parent's permissions and this setting has no effect.
DescriptionA description of the project.
TimeoutThe maximum amount of time the client will await a response.
Connection

Create User

Create a new user in a Tableau site.

InputCommentsDefault
UsernameThe username of the user. For Tableau Online, this value is an email address.
Site RoleThe role assigned to the user on the site.
Auth SettingThe authentication method used to sign the user in.
TimeoutThe maximum amount of time the client will await a response.
Connection

Create Webhook

Create a new webhook for a site.

InputCommentsDefault
Connection
Webhook NameA descriptive label to identify the webhook in Tableau.
API Event NameThe name of the Tableau event that triggers the webhook.
Webhook URLThe destination URL for the webhook. The destination URL must use HTTPS and have a valid certificate.
Webhook EnabledWhen true, the newly created webhook is enabled. When false, the webhook is disabled.true
TimeoutThe maximum amount of time the client will await a response.
API VersionThe version of the Tableau API to use.3.6

Delete Project

Delete an existing project by ID.

InputCommentsDefault
Project IDThe unique identifier for the project.
TimeoutThe maximum amount of time the client will await a response.
Connection

Delete User

Delete an existing user by ID.

InputCommentsDefault
User IDThe unique identifier for the user.
TimeoutThe maximum amount of time the client will await a response.
Connection

Delete Webhook

Delete the specified webhook.

InputCommentsDefault
Connection
Webhook IDThe unique identifier for the webhook.
TimeoutThe maximum amount of time the client will await a response.
API VersionThe version of the Tableau API to use.3.6

Delete Workbook

Delete an existing workbook by ID.

InputCommentsDefault
Workbook IDThe unique identifier for the workbook.
TimeoutThe maximum amount of time the client will await a response.
Connection

Get Project

Retrieve an existing project by ID.

InputCommentsDefault
Project NameThe display name shown for the project in Tableau.
TimeoutThe maximum amount of time the client will await a response.
Connection

Get User

Retrieve an existing user by ID.

InputCommentsDefault
User IDThe unique identifier for the user.
TimeoutThe maximum amount of time the client will await a response.
Connection

Get Webhook

Retrieve information about the specified webhook.

InputCommentsDefault
Connection
Webhook IDThe unique identifier for the webhook.
TimeoutThe maximum amount of time the client will await a response.
API VersionThe version of the Tableau API to use.3.6

Get Workbook

Retrieve an existing workbook by ID.

InputCommentsDefault
Workbook IDThe unique identifier for the workbook.
TimeoutThe maximum amount of time the client will await a response.
Connection

List Connections

Retrieve a list of connections from a Tableau workbook.

InputCommentsDefault
Workbook IDThe unique identifier for the workbook.
TimeoutThe maximum amount of time the client will await a response.
Page SizeThe maximum number of results to return.
Page NumberThe page offset for the given object's results.
Connection

List Projects

Retrieve a list of projects from a Tableau site.

InputCommentsDefault
TimeoutThe maximum amount of time the client will await a response.
Page SizeThe maximum number of results to return.
Page NumberThe page offset for the given object's results.
Connection

List Users

Retrieve a list of users from a Tableau site.

InputCommentsDefault
TimeoutThe maximum amount of time the client will await a response.
Page SizeThe maximum number of results to return.
Page NumberThe page offset for the given object's results.
Connection

List Webhooks

Retrieve a list of all the webhooks on the specified site.

InputCommentsDefault
TimeoutThe maximum amount of time the client will await a response.
Page SizeThe maximum number of results to return.
Page NumberThe page offset for the given object's results.
Connection
API VersionThe version of the Tableau API to use.3.6

List Workbooks

Retrieve a list of workbooks from a Tableau site.

InputCommentsDefault
TimeoutThe maximum amount of time the client will await a response.
Page SizeThe maximum number of results to return.
Page NumberThe page offset for the given object's results.
Connection

Publish Workbook

Publish a workbook on the specified site.

InputCommentsDefault
TimeoutThe maximum amount of time the client will await a response.
Connection
Upload Session IDWhen committing a file that was uploaded in parts, this value contains the upload session ID generated by a call to Initiate File Upload.
Workbook TypeThe file format of the uploaded workbook: twb for a workbook file or twbx for a packaged workbook file.
OverwriteWhen true, overwrites a workbook that has the same name. When false, the request fails if the specified workbook already exists.false
As JobWhen false, the workbook publishing process runs synchronously and may time out for very large workbooks. When true, the process runs asynchronously and a job starts to perform the publishing process and return the job ID.false
Skip Connection CheckWhen true, the Tableau server does not check whether a non-published connection of a workbook is reachable.false
Workbook XMLThe XML request body describing the workbook to publish. Must be a valid tsRequest document.
Workbook File ContentsThe twbx file to upload as binary data.

Raw Request

Send raw HTTP request to Tableau.

InputCommentsDefault
Connection
URLInput 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.6), and {siteId} is automatically appended.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA 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.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf 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
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false
API VersionThe version of the Tableau API to use.3.6

Search Connections

Search for a specific connection in a workbook.

InputCommentsDefault
Workbook IDThe unique identifier for the workbook.
SearchThe text value to search on.
Search FieldThe field to filter connections on.
TimeoutThe maximum amount of time the client will await a response.
Connection
Page NumberThe page offset for the given object's results.
Page SizeThe maximum number of results to return.

Search Projects

Search for a specific project by a string of text.

InputCommentsDefault
SearchThe text value to search on.
Search FieldThe field to search. Dates should follow the ISO format: 2016-05-04T21:24:49Z
TimeoutThe maximum amount of time the client will await a response.
Connection
Page NumberThe page offset for the given object's results.
Page SizeThe maximum number of results to return.

Search Users

Search for a specific user by a string of text.

InputCommentsDefault
Search FieldThe field to search. Dates should follow the ISO format: 2016-05-04T21:24:49Z
SearchThe text value to search on.
TimeoutThe maximum amount of time the client will await a response.
Connection
Page NumberThe page offset for the given object's results.
Page SizeThe maximum number of results to return.

Search Workbooks

Search for a specific workbook by a string of text.

InputCommentsDefault
Search FieldThe field to search.
Filter OperatorThe operator to use when searching.
SearchThe text value to search on.
TimeoutThe maximum amount of time the client will await a response.
Connection
Page NumberThe page offset for the given object's results.
Page SizeThe maximum number of results to return.

Test Webhook

Test the specified webhook by sending an empty payload to its configured destination URL and returning the server response.

InputCommentsDefault
Connection
Webhook IDThe unique identifier for the webhook.
TimeoutThe maximum amount of time the client will await a response.
API VersionThe version of the Tableau API to use.3.6

Update Connection

Update the information and metadata of an existing connection by ID.

InputCommentsDefault
Workbook IDThe unique identifier for the workbook.
Connection IDThe unique identifier for the connection.
Server AddressThe address of the server to connect to.
Server PortThe port of the server to connect to.
Connection UsernameThe username used to authenticate the connection.
Connection PasswordThe password used to authenticate the connection.
Embed PasswordWhen true, embeds the password for the connection.false
Query Tagging EnabledWhen true, associates a server log query event with the Tableau resource that made the query.false
TimeoutThe maximum amount of time the client will await a response.
Connection

Update Project

Update the contents and metadata of an existing project by ID.

InputCommentsDefault
Project IDThe unique identifier for the project.
Parent Project IDThe unique identifier for the parent project.
Project NameThe display name shown for the project in Tableau.
Content PermissionsControls user permissions in a project. A nested project inherits the parent's permissions and this setting has no effect.
DescriptionA description of the project.
TimeoutThe maximum amount of time the client will await a response.
Connection

Update User

Update the information and metadata of an existing user.

InputCommentsDefault
User IDThe unique identifier for the user.
UsernameThe username of the user. For Tableau Online, this value is an email address.
Site RoleThe role assigned to the user on the site.
Auth SettingThe authentication method used to sign the user in.
TimeoutThe maximum amount of time the client will await a response.
Connection

Update Webhook

Update the properties of an existing webhook.

InputCommentsDefault
Connection
Webhook IDThe unique identifier for the webhook.
Webhook NameA descriptive label to identify the webhook in Tableau.
API Event NameThe name of the Tableau event that triggers the webhook.
Webhook URLThe destination URL for the webhook. The destination URL must use HTTPS and have a valid certificate.
Webhook EnabledWhen true, the newly created webhook is enabled. When false, the webhook is disabled.true
Webhook Disable ReasonThe reason a webhook is disabled.
TimeoutThe maximum amount of time the client will await a response.
API VersionThe version of the Tableau API to use.3.6

Update Workbook

Update the information and metadata of an existing workbook by ID.

InputCommentsDefault
Workbook IDThe unique identifier for the workbook.
Workbook NameThe display name shown for the workbook in Tableau.
Project IDThe unique identifier for the project.
User IDThe unique identifier for the user.
Show TabsWhen true, the updated workbook shows views in tabs.false
TimeoutThe maximum amount of time the client will await a response.
Connection