with Shopify (OAuth) and Tableau?
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
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Adds a product or products to a custom collection. 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
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
Returns a list of projects on the specified site. See the documentation
Shopify provides a powerful API that enables developers to build a wide range
of applications and tools for merchants. Some examples of what you can build
using the Shopify API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify: {
type: "app",
app: "shopify",
}
},
async run({steps, $}) {
const data = {
"query": `{
shop {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://${this.shopify.$auth.shop_id}.myshopify.com/admin/api/2024-04/graphql.json`,
headers: {
"X-Shopify-Access-Token": `${this.shopify.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
The 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`,
},
})
},
})