Tableau
Connect to Tableau Server or Tableau Cloud to access datasources, workbooks, views, and Pulse metrics. Query data, generate insights, and export visualizations.
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
Tableau
Personal Access Token Secret
Tableau
Connect to Tableau Server or Tableau Cloud using Personal Access Tokens to access datasources, workbooks, views, and Pulse metrics.
Set up in Tableau
Sign in to Tableau Server or Tableau Cloud, open your account settings (My Account Settings), and find the Personal Access Tokens section.
Create a new token, give it a name, and copy the token secret when it is shown (it is displayed only once).
Set up in StackAI
Open Settings → Connections, add a connection, and select Tableau.
Enter the credentials and connection details in the fields below.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
Connection fields
Server URL
Yes
The base URL of your Tableau instance (without the /#/site/... part). Example: If your Tableau URL is https://us-east-1.online.tableau.com/#/site/mysite/home, enter https://us-east-1.online.tableau.com.
Site Name
Yes
The site identifier from your Tableau URL (the part after /#/site/). Example: If your URL is https://us-east-1.online.tableau.com/#/site/mysite/home, enter mysite.
Personal Access Token Name
Yes
The name you gave your PAT when creating it in Tableau. Find or create tokens at: Account Settings > Personal Access Tokens.
Personal Access Token Secret
Yes
The secret value shown when you created the PAT. This is only displayed once - if lost, create a new token. Provider instructions.
Provider documentation: Setup reference.
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Use an action
Add the required Tableau action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
List Datasources
List all published datasources in your Tableau site.
Inputs
Page Size
integer
No
Number of datasources to return per page (default: 100). Default: 100.
Page Number
integer
No
Page number to retrieve (default: 1). Default: 1.
Filter
string
No
Filter expression to narrow results.
Sort
string
No
Sort expression for results.
Outputs
Datasources
array
List of datasources.
Pagination
object
Pagination information.
Total Count
integer
Total number of datasources available.
Get Datasource Metadata
Get detailed metadata for a Tableau datasource including column information.
Inputs
Datasource
select (string)
Yes
The datasource to get metadata for. Options load from the selected connection.
Outputs
Datasource ID
string
The datasource ID.
Datasource Name
string
The name of the datasource.
Description
string
The datasource description.
Columns
array
List of columns in the datasource.
Is Certified
boolean
Whether the datasource is certified.
Certification Note
string
Note about the certification.
Raw Metadata
object
Full raw metadata response.
Query Datasource
Query data from a Tableau datasource using VizQL.
Inputs
Datasource
select (string)
Yes
The datasource to query. Options load from the selected connection.
VizQL Query
string
Yes
VizQL query JSON with 'fields' array. Each field can have: fieldCaption (required), function (SUM/COUNT/AVG), fieldAlias, sortDirection (ASC/DESC), sortPriority. Optional 'filters' array for TOP/SET filters.
Outputs
Columns
array
List of column names in the result.
Data
array
Query result rows.
Row Count
integer
Number of rows returned.
List Workbooks
List all workbooks in your Tableau site.
Inputs
Page Size
integer
No
Number of workbooks to return per page (default: 100). Default: 100.
Page Number
integer
No
Page number to retrieve (default: 1). Default: 1.
Filter
string
No
Filter expression to narrow results.
Sort
string
No
Sort expression for results.
Outputs
Workbooks
array
List of workbooks.
Pagination
object
Pagination information.
Total Count
integer
Total number of workbooks available.
Get Workbook
Get details for a specific Tableau workbook including its views.
Inputs
Workbook ID
string
Yes
The ID of the workbook to retrieve.
Outputs
Workbook
object
The workbook details.
Views
array
List of views in the workbook.
Workbook URL
string
URL to view the workbook in Tableau.
List Views
List all views (dashboards and sheets) in your Tableau site.
Inputs
Page Size
integer
No
Number of views to return per page (default: 100). Default: 100.
Page Number
integer
No
Page number to retrieve (default: 1). Default: 1.
Filter
string
No
Filter expression to narrow results.
Sort
string
No
Sort expression for results.
Include Usage Statistics
boolean
No
Include view count statistics. Default: false.
Outputs
Views
array
List of views.
Pagination
object
Pagination information.
Total Count
integer
Total number of views available.
Get View Data
Get the underlying data from a Tableau view.
Inputs
View ID
string
Yes
The ID of the view to get data from.
Max Age (minutes)
integer
No
Maximum age of cached data in minutes.
Outputs
Columns
array
List of column names.
Data
array
View data rows.
Row Count
integer
Number of rows returned.
Get View Image
Export a Tableau view as a PNG image.
Inputs
View ID
string
Yes
The ID of the view to capture as an image.
Resolution
string
No
Image resolution (high or standard).
Max Age (minutes)
integer
No
Maximum age of cached image in minutes.
View Filters
object
No
Filters to apply to the view.
Outputs
Image (Base64)
string
Base64-encoded PNG image.
View URL
string
URL to view the dashboard in Tableau.
List All Pulse Metric Definitions
List all Tableau Pulse metric definitions.
Inputs
Page Size
integer
No
Number of definitions to return (default: 100). Default: 100.
Page Token
string
No
Token for pagination.
Outputs
Metric Definitions
array
List of Pulse metric definitions.
Next Page Token
string
Token for retrieving the next page.
Total Count
integer
Number of definitions returned.
List Pulse Metric Definitions by IDs
Get specific Pulse metric definitions by their IDs.
Inputs
Definition IDs
string
Yes
Comma-separated list of metric definition IDs.
Outputs
Metric Definitions
array
List of Pulse metric definitions.
Total Count
integer
Number of definitions returned.
List Pulse Metrics by Definition ID
List Pulse metrics for a specific metric definition.
Inputs
Definition ID
string
Yes
The metric definition ID to list metrics for.
Page Size
integer
No
Number of metrics to return (default: 100). Default: 100.
Page Token
string
No
Token for pagination.
Outputs
Metrics
array
List of Pulse metrics.
Next Page Token
string
Token for retrieving the next page.
Total Count
integer
Number of metrics returned.
List Pulse Metrics by IDs
Get specific Pulse metrics by their IDs.
Inputs
Metric IDs
string
Yes
Comma-separated list of metric IDs to retrieve.
Outputs
Metrics
array
List of Pulse metrics.
Total Count
integer
Number of metrics returned.
List Pulse Metric Subscriptions
List Pulse metric subscriptions, optionally filtered by user or metric.
Inputs
User ID
string
No
Filter subscriptions by user ID.
Metric ID
string
No
Filter subscriptions by metric ID.
Page Size
integer
No
Number of subscriptions to return (default: 100). Default: 100.
Page Token
string
No
Token for pagination.
Outputs
Subscriptions
array
List of Pulse metric subscriptions.
Next Page Token
string
Token for retrieving the next page.
Total Count
integer
Number of subscriptions returned.
Generate Pulse Metric Insight Bundle
Generate AI-powered insights for a Tableau Pulse metric.
Inputs
Metric ID
string
Yes
The metric ID to generate insights for.
Definition ID
string
Yes
The metric definition ID.
Metric Name
string
No
Display name for the metric (optional).
Bundle Type
string
No
Type of insight bundle (ban, basic, springboard, detail).
Outputs
Metric ID
string
The metric ID.
Current Value
number
Current metric value.
Previous Value
number
Previous metric value for comparison.
Insights
array
Generated insights about the metric.
Raw Response
object
Full raw API response.
Generate Pulse Insight Brief
Generate an AI-powered insight brief for Tableau Pulse metrics.
Inputs
Metric ID
string
Yes
The Pulse metric ID.
Definition ID
string
Yes
The Pulse metric definition ID.
Question
string
Yes
The question to ask about the metric.
Metric Name
string
No
Display name for the metric (optional).
Action Type
string
No
Type of response (SUMMARIZE, ANSWER, or ADVISE).
Outputs
Markup
string
AI-generated markdown response.
Generation ID
string
Unique identifier for this generation.
Follow-up Questions
array
Suggested follow-up questions.
Raw Response
object
Full API response.
Search Content
Search for workbooks, datasources, views, and other content in Tableau.
Inputs
Search Query
string
No
Search terms to find content.
Content Type
select (string)
No
Filter by content type. Available values: All Types, Workbook, Datasource, View, Flow, Metric, Collection, Project, Virtual Connection, Database, Table. Default: .
Limit
integer
No
Number of results to return (default: 100, max: 2000). Default: 100.
Owner IDs
string
No
Comma-separated owner user IDs to filter by.
Sort By
string
No
Sort method (hitsTotal, hitsSmallSpanTotal, etc.).
Sort Direction
string
No
Sort direction (asc or desc).
Outputs
Search Results
array
List of search results.
Pagination
object
Pagination information.
Total Count
integer
Total number of results.
Important behavior
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

