with Firefish and Mailrelay?
Emit new event when a new candidate is created. See the documentation
Emit new event when a new contact is created. See the documentation
Removes a particular contact or candidate from all existing firefish email subscriptions. See the documentatio
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
firefish: {
type: "app",
app: "firefish",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.firefishsoftware.com/api/v1.0/contacts/search/`,
headers: {
Authorization: `Bearer ${this.firefish.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailrelay: {
type: "app",
app: "mailrelay",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.mailrelay.$auth.domain}/api/v1/package`,
headers: {
"x-auth-token": `${this.mailrelay.$auth.api_key}`,
},
})
},
})