Solutions & Tools to Grow Your Business
Emit new event every time a catalog item is updated. See the docs
Emit new event for each message posted to one or more channels in a Discord server
Emit new event for each command posted to one or more channels in a Discord server
Creates a new customer for a business. Must provide at least one of the following: Given Name, Family Name, Company Name, Email Address, or Phone Number. See the docs.
Creates a draft invoice for an order. You must send (publish) the invoice before Square can process it. See the documentation.
Creates a new order that can include information about products for purchase. See docs here.
Send a simple or structured message (using embeds) to a Discord channel
The Square API, provided by Square Inc., is a powerful tool for creating
integrations with in-store, online, and mobile payments.
The Square API allows apps to access functions such as:
It provides developers with the capability to build powerful, secure, and easy
to use applications that integrate with Square’s suite of products and
services. In addition, the API allows developers to quickly build, customize,
and iterate on their Square integrations.
Examples of what you can build using the Square API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
square: {
type: "app",
app: "square",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://connect.squareup.com/oauth2/token/status`,
headers: {
Authorization: `Bearer ${this.square.$auth.oauth_access_token}`,
},
})
},
})
The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})