Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
The Company Name to Domain action lets you convert the exact name of a company to a website domain, and a logo. See the docs here.
The Company API allows you to look up a company by their domain. See the docs here.
This endpoint retrieves a person by email address. See the docs here
The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
Clearbit provides APIs that allow you to retrieve information about companies
and people. This information can be used to build applications that perform
functions such as identifying potential customers, conducting due diligence, or
fraud prevention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clearbit: {
type: "app",
app: "clearbit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://person.clearbit.com/v1/people/email/alex@alexmaccaw.com`,
headers: {
Authorization: `Bearer ${this.clearbit.$auth.secret_api_key}`,
},
})
},
})