Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Converts a long url to a Bitlink and sets additional parameters.See the docs here
Retrieves all Bitlinks for a given group. See the docs here
Finds an existing Bitlink in your account. Optionally, creates one if none are found. See the docs here
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
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`,
},
})
},
})
The Bitly API enables you to programmatically shorten URLs, track click rates, and manage link performance metrics. By integrating Bitly with Pipedream, you can automate various tasks around link management and amalgamate Bitly’s capabilities with other services, thereby streamlining digital marketing efforts, enhancing social media strategies, and monitoring engagement through data-driven insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bitly: {
type: "app",
app: "bitly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-ssl.bitly.com/v4/user`,
headers: {
Authorization: `Bearer ${this.bitly.$auth.oauth_access_token}`,
},
})
},
})