with Clientary and Discord Bot?
Emit new event for each message posted to one or more channels
Emit new events when a new client was created. See the docs
Emit new events when a new contact was created. See the docs
Emit new events when a new estimate was created. See the docs
Emit new events when a new expense was created. See the docs
The Clientary API allows you to automate and integrate Clientary's project management, time tracking, and invoicing functionalities within Pipedream. By leveraging this API, you can create custom workflows to streamline operations, such as syncing new invoices with accounting software, triggering notifications based on project updates, or automating time tracking entries. Pipedream acts as the glue, enabling you to connect Clientary with hundreds of other apps to create sophisticated, serverless workflows tailored to your business needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clientary: {
type: "app",
app: "clientary",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.clientary.$auth.domain}.clientary.com/api/v2/staff`,
headers: {
"accept": `application/json`,
},
auth: {
username: `${this.clientary.$auth.api_token}`,
password: `${this.clientary.$auth.api_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}`,
},
})
},
})