with Mailersend and Notion (API Key)?
Emit new event when the recipient clicks a link in your email. See the documentation
Emit new event when your email is successfully delivered with no errors. See the documentation
Emit new event when your email is not delivered. See the documentation
Emit new event when the recipient receives your email and opens it. See the documentation
Emit new event when your email is sent from the sending servers. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Create a comment in a page or existing discussion thread. See the documentation
Create a page from a database. See the documentation
Create a new page copied from an existing page block. See the documentation
The MailerSend API integrates with Pipedream to create powerful email automation workflows, enabling you to send transactional emails, create and manage templates, and track email activities like opens or clicks. With these capabilities, you can automate routine communications, personalize mass mailings based on user actions or data, and gain insights into your email campaign performances, all within the context of a serverless Pipedream workflow.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailersend: {
type: "app",
app: "mailersend",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mailersend.com/v1/domains`,
headers: {
Authorization: `Bearer ${this.mailersend.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
notion_api_key: {
type: "app",
app: "notion_api_key",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.notion.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.notion_api_key.$auth.api_secret}`,
"Notion-Version": `2021-08-16`,
},
})
},
})