Linear helps streamline software projects, sprints, tasks, and bug tracking. It's built for high-performance teams.
Emit new event for each message posted to one or more channels
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Linear helps streamline software project management, bug tracking, and task coordination. By using the Linear (API key) API with Pipedream, you can automate routine tasks, sync issues across platforms, and trigger custom workflows. Think auto-assignment of tasks based on specific triggers or pushing updates to a Slack channel when an issue's status changes. These automations save time and ensure that your development team stays focused on coding rather than on administrative overhead.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
linear_app: {
type: "app",
app: "linear_app",
}
},
async run({steps, $}) {
const data = {
"query": `{
user(id: "me") {
id
email
name
}
}`,
}
return await axios($, {
method: "post",
url: `https://api.linear.app/graphql`,
headers: {
"Authorization": `${this.linear_app.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
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}`,
},
})
},
})