with Mailgun and Trengo?
Emit new events when an inbound message received. See the docs here
Emit new events when a internal note added. See the docs here
Emit new events when an outbound message sent. See the docs here
Emit new event when the email recipient could not be reached.
Emit new events when an phone call ended. See the docs here
Creates a contact. If a contact with given identifier already exists, returns it. See the docs
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}`,
},
})
},
})
The Trengo API provides programmatic access to Trengo's multi-channel communication platform, allowing for the streamlining of customer interactions across various channels such as email, SMS, social media, and chat. By leveraging the Trengo API on Pipedream, you can automate customer support workflows, sync communication data with CRM systems, and trigger alerts or actions based on specific customer queries or events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trengo: {
type: "app",
app: "trengo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.trengo.eu/api/v2/users`,
headers: {
Authorization: `Bearer ${this.trengo.$auth.access_token}`,
},
})
},
})