Shopify is a user-friendly e-commerce platform that helps small businesses build an online store and sell online through one streamlined dashboard.
Trigger your workflow on one or more days each month at a specific time (with timezone support).
Trigger your workflow on one or more days each week at a specific time (with timezone support).
Emit new event each time a user abandons their cart.
Adds a product or products to a custom collection or collections. See the docs
Create a new custom collection. See the documentation
By creating a custom app on Shopify, you will be able to configure the exact scopes that you require to build the workflows that you need.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify_developer_app: {
type: "app",
app: "shopify_developer_app",
}
},
async run({steps, $}) {
const data = {
"query": `{
shop {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://${this.shopify_developer_app.$auth.shop_id}.myshopify.com/admin/api/2023-04/graphql.json`,
headers: {
"X-Shopify-Access-Token": `${this.shopify_developer_app.$auth.access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
With Schedule - A trigger provided by Pipedream - You can easily build
automated workflows that run on regular times or intervals. Some examples of
things that you can build using the Schedule API include: