with WebinarGeek and Shopify (OAuth)?
Adds a product or products to a custom collection. See the documentation
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
The WebinarGeek API lets you automate and streamline your webinar management tasks. You can create, update, and delete webinars, manage registrations, send out emails, and gather analytics. By harnessing this API within Pipedream, you can construct workflows that react to a variety of triggers, such as new registrant data, and then take actions, like updating a CRM or sending personalized follow-up emails through your email provider.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
webinargeek: {
type: "app",
app: "webinargeek",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.webinargeek.com/api/v2/account`,
headers: {
"Api-Token": `${this.webinargeek.$auth.api_key}`,
},
})
},
})
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,
})
},
})