with Catch-all Verifier and AnnounceKit?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
catch_all_verifier: {
type: "app",
app: "catch_all_verifier",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.catchallverifier.com/api/v1/verify/single`,
headers: {
"authorization": `${this.catch_all_verifier.$auth.api_key}`,
"accept": `application/json`,
},
params: {
id: `${this.catch_all_verifier.$auth.single_verification_id}`,
},
})
},
})
AnnounceKit is a tool for creating, managing, and publishing announcements to keep your users informed about product updates and news. Using the AnnounceKit API within Pipedream, you can automate the delivery of these updates across different platforms, sync release notes with your product's lifecycle events, or control the flow of communication based on user behavior or preferences. This level of automation can enhance user engagement and ensure timely updates without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
announcekit: {
type: "app",
app: "announcekit",
}
},
async run({steps, $}) {
const data = {
"query": `{
me {
active_project {
id
name
}
}
}`,
}
return await axios($, {
method: "post",
url: `https://announcekit.app/gq/v2`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.announcekit.$auth.email}`,
password: `${this.announcekit.$auth.password}`,
},
data,
})
},
})