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`,
},
})
},
})
Airtable (OAuth) API on Pipedream allows you to manipulate and leverage your Airtable data in a myriad of powerful ways. Sync data between Airtable and other apps, trigger workflows on updates, or process bulk data operations asynchronously. By using Airtable's structured databases with Pipedream's serverless platform, you can craft custom automation solutions, integrate with other services seamlessly, and streamline complex data processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airtable_oauth: {
type: "app",
app: "airtable_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airtable.com/v0/meta/whoami`,
headers: {
Authorization: `Bearer ${this.airtable_oauth.$auth.oauth_access_token}`,
},
})
},
})