with Mailgun and Homerun?
Emit new event when a candidate submits an application for a job posting. See the documentation
Emit new event when a new vacancy is created. See the documentation
Emit new event when the email recipient could not be reached.
Emit new event when the email recipient clicked on a link in the email. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section
Emit new event when the email recipient clicked on the spam complaint button within their email client. Feedback loops enable the notification to be received by Mailgun.
Adds a note to a candidate's profile in Homerun. See the documentation
Delete a mailing list member by address. See the docs here
The Mailgun API on Pipedream is a potent tool for automating email operations without the overhead of managing a full-fledged email server. It offers capabilities to send, receive, track, and store emails with ease. With Pipedream's serverless platform, you can trigger workflows using Mailgun events, such as inbound emails or delivery status changes, and connect them to hundreds of other services to streamline communication, marketing, and notification systems within your ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailgun: {
type: "app",
app: "mailgun",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.mailgun.$auth.region && this.mailgun.$auth.region === "EU" ? "api.eu" : "api"}.mailgun.net/v3/domains`,
auth: {
username: `api`,
password: `${this.mailgun.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
homerun: {
type: "app",
app: "homerun",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.homerun.co/v2/ping`,
headers: {
Authorization: `Bearer ${this.homerun.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})