Campayn.com is the easiest way to create, send and track email marketing campaigns.
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`,
},
})
},
})
The Typeform API furnishes you with the means to create dynamic forms and collect user responses in real-time. By leveraging this API within Pipedream's serverless platform, you can automate workflows to process this data, integrate seamlessly with other services, and react to form submissions instantaneously. This empowers you to craft tailored responses, synchronize with databases, trigger email campaigns, or even manage event registrations without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typeform: {
type: "app",
app: "typeform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.typeform.com/me`,
headers: {
Authorization: `Bearer ${this.typeform.$auth.oauth_access_token}`,
},
})
},
})