Tableau Cloud ExecModule
Overview
TableauCloudModule lists published views available to your Tableau Cloud connection and reads summary data from a selected view as CSV. Use it to bring figures from an existing workbook into a recurring scorecard, export a reconciliation snapshot, or find view IDs for a reporting workflow.
Usage
- Create a dedicated Tableau Cloud personal access token (PAT) for a user with access to the intended views.
- Choose Tableau Cloud in the Integration Account Console. Enter the Cloud pod label, PAT name, and PAT secret.
- Add a Tableau Cloud step in Workflow Studio. Select the saved account under General > Connection and supply the site slug as
siteContentUrl. - Run List Views to find the view ID, then pass that ID to Export View CSV. Check
statusbefore passing the data to another step.
Inputs
| Input | Type | Purpose |
|---|---|---|
operation | string | list_views (default) or export_view_csv. |
siteContentUrl | string | Required Tableau Cloud site slug. For a site URL ending in /#/site/revenue-ops/views, use revenue-ops. |
page | integer | One-based page for list_views, from 1 to 10,000. Defaults to 1. |
pageSize | integer | Views per page for list_views, from 1 to 1,000. Defaults to 50. |
viewId | string | View UUID required for export_view_csv. Use the id returned by list_views. |
Outputs
| Output | Type | Meaning |
|---|---|---|
status | string | success or error. |
views | array | View summaries with id, name, contentUrl, and workbookId when Tableau supplies a workbook reference. |
page, pageSize, and totalAvailable | integer | Page information for view discovery. |
nextPage | integer | Next list page when available within the connector's bounds. |
csv | string | Summary CSV text returned by Tableau for the selected view. |
httpStatus | integer | Tableau HTTP status when available. |
error | object | Sanitized failure details, including whether retrying may help. |
IntegrationAccount Requirements
Use an authorized READY IntegrationAccount named TABLEAU_CLOUD. Set accountId to the pod label, username to the PAT name, and the protected password field to the PAT secret. Keep the secret in the saved connection. The session inherits the Tableau permissions of the user who created the PAT. Give that user access to the intended views and confirm that Tableau allows the required export. Tableau PAT setup and permissions
Configuration
For a site hosted at prod-ca-a.online.tableau.com, enter prod-ca-a in the pod field. The connector constructs its HTTPS destination from this label, uses the site slug to sign in, and keeps the Tableau session token internal. Workflow input supplies the site slug and view ID. The saved connection determines the destination.
Operations
- List Views returns one page of view summaries visible to the Tableau user on the selected site. Use each view's UUID to select the report for export. Tableau Query Views for Site
- Export View CSV reads summary data from one published view. For a dashboard, Tableau returns data for its first view. Use the desired worksheet view ID when you need that worksheet's summary. Tableau Query View Data
Errors and Failure Modes
| Condition | What to check |
|---|---|
| Invalid input | Check the site slug, page bounds, and the view UUID for an export. |
| Connection unavailable | Select an authorized ready Tableau Cloud connection with all three credential fields filled in. |
| Sign-in rejected | Check that the site is on the saved pod and the PAT is valid and enabled for the site. |
| HTTP 401 | Check whether another run used the same PAT and invalidated this session. |
| HTTP 403 or missing view | Check the Tableau user's permissions and that the view is on the selected site. |
| HTTP 429 | Stagger exports and retry later. |
| Oversized response | Use a smaller page or a narrower published view. Each response is bounded to 2 MiB. |
Example
A revenue operations team uses a published regional sales view for its weekly scorecard. A discovery step lists views for revenue-ops. Once the team identifies the right view, it configures the export step with its UUID.
{
"operation": "export_view_csv",
"siteContentUrl": "revenue-ops",
"viewId": "53132a1d-a0d6-4ff1-bad6-b895766c8700"
}
A successful response includes the CSV as text.
{
"status": "success",
"csv": "Region,Closed Revenue\nWest,125000\nEast,89000\n"
}
The workflow can feed the CSV into a CsvToJson step, select the figures it needs, and update the scorecard after checking the export status.
Notes
- Pagination. Pass
nextPageaspagewith the same site slug and page size to continue view discovery. A CSV export is a single response. - Rate limits. Tableau Cloud limits concurrent long-running exports and downloads to 20. Run workflows that share a PAT serially because another sign-in with that PAT terminates the previous session.
- API limits. This connector supports Tableau Cloud view discovery and summary CSV export. To narrow an export, publish a view with the desired scope in Tableau.
- Idempotency and destructive behavior. Both operations read Tableau content. Repeated exports can return different figures when Tableau refreshes the underlying data.
- Provider verification. Run a small listing and export with your own authorized connection before scheduling the workflow.