Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Searches for contact information based on user-defined props which may include identifiers such as name, email, or company. Returns the contact data if a match is found within the LeadIQ database. See the documentation
Send a simple or structured message (using embeds) to a Discord channel
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
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`,
},
})
},
})
The LeadIQ API enables seamless integration of LeadIQ’s capabilities into various marketing and sales workflows, automating the lead capture and enrichment processes. By harnessing this API on Pipedream, you can automate the extraction of lead data, sync it with CRM systems, and trigger personalized outreach campaigns, all within a serverless environment. This reduces manual tasks, enhances lead quality, and accelerates the sales pipeline.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
leadiq: {
type: "app",
app: "leadiq",
}
},
async run({steps, $}) {
const data = {
"query": `query Usage {
usage {
planUsage {
name
usageType
creditType
units
cap
billingType
}
}
}`,
}
return await axios($, {
method: "post",
url: `https://api.leadiq.com/graphql`,
auth: {
username: `${this.leadiq.$auth.api_key}`,
password: ``,
},
data,
})
},
})