Tableau is a visual analytics platform transforming the way we use data to solve problems—empowering people and organizations to make the most of their data.
Go to siteThe Tableau API allows you to tap into the robust data visualization and business intelligence capabilities of Tableau. Within Pipedream, you can leverage this API to automate reporting, manage users, update data sources, and extract insights. This enables you to integrate Tableau's analytics with other services, streamlining your data workflows and ensuring your dashboards remain up-to-date with minimal manual effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tableau: {
type: "app",
app: "tableau",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.tableau.$auth.domain}/api/3.21/sessions/current`,
headers: {
"X-Tableau-Auth": `${this.tableau.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
Automated Snapshot Sharing: Generate snapshots of your key Tableau dashboards and share them via email or Slack at regular intervals. This keeps your team informed with the latest business insights without manual exports.
Example Workflow: Trigger a Pipedream workflow on a schedule; use Tableau API to capture a view of the dashboard; send the image via Gmail or post to a Slack channel using their respective Pipedream app integrations.
Dynamic Data Updates: Automatically update Tableau data sources when new data comes into your backend systems, ensuring that Tableau dashboards reflect the most current data.
Example Workflow: Trigger a Pipedream workflow with a webhook when new data is added to a database; process and format the data within the workflow; use Tableau API to refresh the corresponding data source on Tableau Server or Tableau Online.
User Management Automation: Streamline user provisioning by automating the addition and removal of users to and from Tableau sites based on HR software triggers or internal databases.
Example Workflow: Trigger a Pipedream workflow from a user management event in an app like BambooHR; use conditions within the workflow to determine if the user should be added or removed; utilize Tableau API to update the user list on the relevant Tableau site.
Emit new event when a label is created in Tableau. See the documentation
Emit new event each time a new workbook is created in Tableau. See the documentation
Creates a project on the specified site. You can also create project hierarchies by creating a project under the specified parent project on the site. See the documentation
Returns a list of projects on the specified site. See the documentation
Tableau uses OAuth authentication. When you connect your Tableau account, Pipedream will open a popup window where you can sign into Tableau and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Tableau API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://{{custom_fields.domain}}/api/3.21/auth/signin
accept: application/json
POST
https://{{custom_fields.domain}}/api/3.21/auth/signin
content-type: application/json
accept: application/json