Use this app to send messages to a channel using Discord's incoming webhooks
Watches for changes to specific files, emitting an event any time a change is made to one of those files. To watch for changes to shared drive files, use the Changes to Specific Files (Shared Drive) source instead.
Watches for changes to specific files in a shared drive, emitting an event any time a change is made to one of those files
Emit new event any time a new file is added in your linked Google Drive
Emits a new event any time a file comment is added, modified, or deleted in your linked Google Drive
Emits a new event any time any file in your linked Google Drive is added, modified, or deleted
Add a sharing permission to the sharing preferences of a file and provide a sharing URL. See the docs for more information
Send a simple or structured message (using embeds) to a Discord channel
Create a copy of the specified file. See the docs for more information
With Discord's Webhook API, you can create applications that send messages to
Discord channels automatically. For example, you could create a bot that sends
a message to a channel every time a new blog post is published, or a message to
a channel when someone joins your Discord server.
Here are some ideas for what you could build using the Discord Webhook API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord_webhook: {
type: "app",
app: "discord_webhook",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord_webhook.$auth.oauth_access_token}`,
},
})
},
})
Using the Google Drive API, you can build applications that:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_drive: {
type: "app",
app: "google_drive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_drive.$auth.oauth_access_token}`,
},
})
},
})