Shopify Partner API connection. Listen to events like installs, uninstalls, charges & transactions.
Emit new events when new app charges made to your partner account.
Emit new event for each message posted to one or more channels
Emit new events when new shops installs, uninstalls, subscribes or unsubscribes your app.
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Create a new invite for the channel. See the docs here
Verify an incoming webhook from Shopify. Exits the workflow if the signature is not valid, otherwise returns true
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
}
}
`,
},
})
},
})
The Discord Bot API unlocks the power to interact with Discord users and channels programmatically, making it possible to automate messages, manage servers, and integrate with other services. With Pipedream's serverless platform, you can create complex workflows that respond to events in Discord, process data, and trigger actions in other apps. This opens up opportunities for community engagement, content moderation, analytics, and more, without the overhead of managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord_bot: {
type: "app",
app: "discord_bot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
"Authorization": `Bot ${this.discord_bot.$auth.bot_token}`,
},
})
},
})