Skip to main content

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​

  1. Create a dedicated Tableau Cloud personal access token (PAT) for a user with access to the intended views.
  2. Choose Tableau Cloud in the Integration Account Console. Enter the Cloud pod label, PAT name, and PAT secret.
  3. Add a Tableau Cloud step in Workflow Studio. Select the saved account under General > Connection and supply the site slug as siteContentUrl.
  4. Run List Views to find the view ID, then pass that ID to Export View CSV. Check status before passing the data to another step.

Inputs​

InputTypePurpose
operationstringlist_views (default) or export_view_csv.
siteContentUrlstringRequired Tableau Cloud site slug. For a site URL ending in /#/site/revenue-ops/views, use revenue-ops.
pageintegerOne-based page for list_views, from 1 to 10,000. Defaults to 1.
pageSizeintegerViews per page for list_views, from 1 to 1,000. Defaults to 50.
viewIdstringView UUID required for export_view_csv. Use the id returned by list_views.

Outputs​

OutputTypeMeaning
statusstringsuccess or error.
viewsarrayView summaries with id, name, contentUrl, and workbookId when Tableau supplies a workbook reference.
page, pageSize, and totalAvailableintegerPage information for view discovery.
nextPageintegerNext list page when available within the connector's bounds.
csvstringSummary CSV text returned by Tableau for the selected view.
httpStatusintegerTableau HTTP status when available.
errorobjectSanitized 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​

ConditionWhat to check
Invalid inputCheck the site slug, page bounds, and the view UUID for an export.
Connection unavailableSelect an authorized ready Tableau Cloud connection with all three credential fields filled in.
Sign-in rejectedCheck that the site is on the saved pod and the PAT is valid and enabled for the site.
HTTP 401Check whether another run used the same PAT and invalidated this session.
HTTP 403 or missing viewCheck the Tableau user's permissions and that the view is on the selected site.
HTTP 429Stagger exports and retry later.
Oversized responseUse 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 nextPage as page with 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.