with Slack and Rapid URL Indexer?
Emit new events on new Slack interactivity events sourced from Block Kit interactive elements, Slash commands, or Shortcuts
Emit new event when a specific keyword is mentioned in a channel
Emit new event when a new message is posted to one or more channels
Emit new event when a member has added an emoji reaction to a message
Download the report for a specific project. See the documentation
Suspend the workflow until approved by a Slack message. See the documentation
Get the status of a specific project. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slack_v2: {
type: "app",
app: "slack_v2",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://slack.com/api/users.profile.get`,
headers: {
Authorization: `Bearer ${this.slack_v2.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rapid_url_indexer: {
type: "app",
app: "rapid_url_indexer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rapidurlindexer.com/wp-json/api/v1/credits/balance`,
headers: {
"X-API-Key": `${this.rapid_url_indexer.$auth.api_key}`,
},
})
},
})