with Specific and Poof?
Emit new event whenever a new contact is created.
Emit new events when a payment is made in Poof. See the documentation
Emit new event whenever a new conversation is initiated.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
specific: {
type: "app",
app: "specific",
}
},
async run({steps, $}) {
const data = {"query": "query { companies { id name } }"}
return await axios($, {
method: "post",
url: `https://public-api.specific.app/graphql`,
headers: {
"Authorization": `${this.specific.$auth.api_key}`,
},
data,
})
},
})
The Poof API lets you schedule and automate emails and SMS messages, making it a powerful tool for communication-based workflows. With Pipedream, you can connect the Poof API to hundreds of other services to craft custom automations. Trigger events, process data, and design complex interactions without managing a server infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
poof: {
type: "app",
app: "poof",
}
},
async run({steps, $}) {
const data = {
"crypto": `bitcoin`,
}
return await axios($, {
method: "post",
url: `https://www.poof.io/api/v2/balance`,
headers: {
"Authorization": `${this.poof.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})