with Slack Bot and Invision Community?
Emit new event when a new topic is created.
Emit new event when a new member account is created.
Emit new event when a new post in a topic is created.
Emit new event when a message is posted in a direct message channel (Bot). To open a conversation, use the Pipedream Action "Send a Direct Message" to send a message from the Bot, or enable direct messages to the Bot in your App Settings (Settings->App Home->Show Tabs->Messages Tab), and send a direct message to the Bot.
Emit new event when a new message is posted to a public, private or group channel (Bot)
The Slack Bot API allows you to build rich, interactive bots for Slack workspaces. These bots can respond to messages, post updates, and interact with users in various ways. With the Slack Bot API on Pipedream, developers can create automated workflows that trigger on specific events in Slack, such as new messages or reactions, and then perform defined actions, like sending data to other apps or processing the information within Pipedream's serverless platform. This tight integration with Pipedream enables both simple and complex automations, leveraging Pipedream's ability to connect with numerous apps and its powerful built-in code steps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slack_bot: {
type: "app",
app: "slack_bot",
},
},
async run({steps, $}) {
return await axios($, {
url: `https://slack.com/api/auth.test`,
headers: {
Authorization: `Bearer ${this.slack_bot.$auth.bot_token}`,
},
method: 'post',
})
},
})
The Invision Community API allows developers to integrate and automate community management tasks for forums and member interactions. By leveraging this API on Pipedream, you can create workflows that manage users, content, and notifications efficiently. This integration makes it possible to streamline community operations, engage users dynamically, and link community activities with other business functions like marketing, support, or CRM systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
invision_community: {
type: "app",
app: "invision_community",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.invision_community.$auth.url}/api/core/hello`,
auth: {
username: `${this.invision_community.$auth.api_key}`,
password: ``,
},
})
},
})