Campayn.com is the easiest way to create, send and track email marketing campaigns.
Exposes an HTTP API for scheduling messages to be emitted at a future time
Emit new event based on a time interval before an upcoming event in the calendar. This source uses Pipedream's Task Scheduler. See the documentation for more information and instructions for connecting your Pipedream account.
Emit new event at a specified time before a card is due.
The Campayn API lets you automate email marketing tasks directly within Pipedream. It provides programmatic access to manage contacts, lists, and email campaigns. With Pipedream, you can build serverless workflows to integrate Campayn with other apps and services, triggering actions based on events, scheduling regular email campaigns, or syncing data across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
campayn: {
type: "app",
app: "campayn",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://campayn.com/api/v1/lists.json`,
headers: {
"Authorization": `TRUEREST apikey=${this.campayn.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
Pipedream is an API that allows you to build applications that can connect to
various data sources and processes them in real-time. You can use Pipedream to
create applications that can perform ETL (Extract, Transform, and Load) tasks,
as well as to create data-driven workflows.
Some examples of applications you can build using the Pipedream API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pipedream: {
type: "app",
app: "pipedream",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pipedream.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.pipedream.$auth.api_key}`,
},
})
},
})