Sync Tableau sites to a variable every 5 minutes
Recipe ToolsMarketingDeveloper ToolAPI IntegrationData ParserUtilities
What it does
When the clock triggers every 5 minutes, this automation signs in to Tableau, retrieves the list of sites, and stores each site ID in a variable. Someone can then reference those site IDs elsewhere in their workflows.
Who it's for
Data and analytics teams who need to keep Tableau site data current for downstream processes.
How teams use this
Keep site IDs current for provisioning
Refresh the list of Tableau sites every 5 minutes so downstream workflows always have the latest site IDs when provisioning users or content. The automation runs silently in the background.
Feed site data to a dashboard
Store the parsed site list in a variable that a dashboard or reporting tool can read to show which Tableau sites are active. Only the destination system changes.
Filter sites by a naming pattern
Add a condition after parsing so only sites matching a specific name pattern are stored in the variable. This requires a filter step to check the site name.
How it works
- Run every 5 minutes. This automation starts on a 5-minute schedule to keep Tableau site data fresh and available for other workflows.
- Sign in to Tableau. Send an HTTP request to authenticate with Tableau so the next steps can access site data and retrieve the full list.
- Get the list of sites. Send an HTTP request to Tableau to retrieve all available sites in the instance for processing.
- Parse the sites response. Parse the JSON document returned from Tableau so each site can be processed individually in the loop.
- Store each site ID. Loop through each site from the parsed response and create a variable with its ID for use in other workflows.