with Procore and Discord Bot?
Emits an event each time a Budget Snapshot is created, updated, or deleted in a project.
Emit new event for each message posted to one or more channels
Emits an event each time a Commitment Change Order is created, updated, or deleted in a project.
Emit new event when a new budget snapshot event is created. See the documentation
Emit new event when a new change order package event is created. See the documentation
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
The Procore API empowers developers to interact with its construction management software programmatically, enabling automation of tasks, data synchronization, and enhanced reporting. With APIs covering project management, quality and safety, construction financials, and field productivity, you can craft workflows that streamline operations, reduce manual entry, and provide real-time insights. On Pipedream, these capabilities can be harnessed to create workflows that react to events in Procore or orchestrate actions between Procore and other apps, optimizing construction project workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
procore: {
type: "app",
app: "procore",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.procore.com/rest/v1.0/me`,
headers: {
Authorization: `Bearer ${this.procore.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})