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.
The Smaily API allows for email marketing automation, where you can manage contacts, templates, and send out campaigns. With Pipedream's power to integrate a multitude of apps, you can craft custom workflows that react to events from various services, and then use Smaily to send targeted communications, all in a serverless environment. This seamless integration can be a game-changer for marketers seeking to enhance their audience engagement through personalized and timely emails based on user behavior or data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smaily: {
type: "app",
app: "smaily",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.smaily.$auth.subdomain}.sendsmaily.net/api/organizations/users.php`,
auth: {
username: `${this.smaily.$auth.username}`,
password: `${this.smaily.$auth.password}`,
},
})
},
})