Trigger workflows on an interval or cron schedule.
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
EmailOctopus is a cost-effective email marketing tool that lets you send emails and manage subscribers with ease. Using the EmailOctopus API on Pipedream, you can automate subscriber management, trigger email campaigns based on various actions, or synchronize your marketing efforts across different platforms. The API's capabilities facilitate a wide range of marketing workflows, from auto-updating mailing lists to sending targeted emails when specific conditions are met.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
emailoctopus: {
type: "app",
app: "emailoctopus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://emailoctopus.com/api/1.5/lists`,
params: {
api_key: `${this.emailoctopus.$auth.api_key}`,
},
})
},
})