Postmark is a fast and reliable email delivery service that enables you to send transactional and marketing emails and get them to the inbox on time, every time.
Emit new event when an email is opened by a recipient (See docs here)
Emit new event when an email is received by the Postmark server. This source updates the server's inbound URL. You cannot create multiple inbound sources for the same server. See the documentation
Emit new event when a new batch is completed in OpenAI. See the documentation
The Chat API, using the gpt-3.5-turbo
or gpt-4
model. See the documentation
Summarizes text using the Chat API. See the documentation
The Postmark API enables developers to easily integrate programmatic emailing into their applications. With the API, developers can create, send, and track transactional emails that are designed to enhance user experience and user engagement. The API also provides developers with access to powerful analytics and insights, such as open/click rates, spam complaints, bounces, and unsubscribes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postmark: {
type: "app",
app: "postmark",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.postmarkapp.com/server`,
headers: {
"X-Postmark-Server-Token": `${this.postmark.$auth.server_api_token}`,
"Accept": `application/json`,
},
})
},
})
OpenAI provides a suite of powerful AI models through its API, enabling developers to integrate advanced natural language processing and generative capabilities into their applications. Here’s an overview of the services offered by OpenAI's API:
Use Python or Node.js code to make fully authenticated API requests with your OpenAI account:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openai: {
type: "app",
app: "openai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.openai.com/v1/models`,
headers: {
Authorization: `Bearer ${this.openai.$auth.api_key}`,
},
})
},
})