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 Zoho Mail API equips you with the ability to automate actions on emails, manage mailboxes, and interact with your Zoho Mail account programmatically. With Pipedream, you can trigger workflows on new emails, send emails automatically, and connect Zoho Mail to thousands of other services, streamlining communication processes, enhancing productivity, and enabling efficient data management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_mail: {
type: "app",
app: "zoho_mail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mail.${this.zoho_mail.$auth.base_api_uri}/api/accounts`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_mail.$auth.oauth_access_token}`,
},
})
},
})