with Cyfe and Shopify Partner?
Verify an incoming webhook from Shopify. Exits the workflow if the signature is not valid, otherwise returns true
The Cyfe API lets you automate and enhance your data visualization and business intelligence tasks. With Cyfe, you can programmatically create dashboards, add or update widgets, and manage data pushed to these widgets. By leveraging the Cyfe API on Pipedream, you gain serverless execution of workflows, allowing you to connect Cyfe with numerous other services and automate tasks without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cyfe: {
type: "app",
app: "cyfe",
}
},
async run({steps, $}) {
const data = {
"Date": `20130320`,
"Users": `3`,
}
return await axios($, {
method: "post",
url: `https://app.cyfe.com/api/push/{your_widget_id}`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
The Shopify Partner API lets you tap into a comprehensive suite of features to manage and analyze multiple Shopify stores. You can automate tasks like creating development stores, adding collaborators, tracking payouts, and more. This API serves as a powerful tool for developers, agencies, and freelancers who manage multiple Shopify shops for their clients. Through Pipedream, you can effortlessly integrate Shopify Partner API with other services to create tailored, efficient workflows that save time and enhance productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify_partner: {
type: "app",
app: "shopify_partner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://partners.shopify.com/${this.shopify_partner.$auth.organization_id}/api/2021-07/graphql.json`,
headers: {
'X-Shopify-Access-Token': this.shopify_partner.$auth.api_key,
'Content-Type': 'application/x-www-form-urlencoded'
},
method: 'POST',
params: {
query: `{
publicApiVersions {
handle
}
}
`,
},
})
},
})