with Mailjet and Notion?
Emit new event when a new comment is created in a page or block. See the documentation
Emit new event when a data source is created. See the documentation
Emit new event when a page is created or updated in the selected data source. See the documentation
Emit new event when a page is created or updated in the selected data source. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Add a new unique contact to your global contact list and select its exclusion status. See the docs here
Use this action to finalize a mode=multi_part
file upload after all of the parts have been sent successfully. See the documentation
Retrieve details for all contact lists - name, subscriber count, creation timestamp, deletion status. See the docs here
Create a comment in a page or existing discussion thread. See the documentation
Mailjet's API offers the power to craft, send, and track emails with finesse. You can wield it to automate email sequences, synchronize email lists with your databases, and send transactional emails with personalized content. It's a playground for creating tailored email campaigns and dissecting campaign performance with rich analytics.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailjet: {
type: "app",
app: "mailjet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mailjet.com/v3/REST/contactslist`,
auth: {
username: `{{custom_fields.public_key}}`,
password: `${this.mailjet.$auth.secret_key}`,
},
})
},
})
Notion's API allows for the creation, reading, updating, and deleting of pages, databases, and their contents within Notion. Using Pipedream's platform, you can build workflows that connect Notion with various other services to automate tasks such as content management, task tracking, and data synchronization. With Pipedream's serverless execution, you can trigger these workflows on a schedule, or by external events from other services, without managing any infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
notion: {
type: "app",
app: "notion",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.notion.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.notion.$auth.oauth_access_token}`,
"Notion-Version": `2021-08-16`,
},
})
},
})