Wuf allows you to easily integrate mobile push notifications into your workflow.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wuf: {
type: "app",
app: "wuf",
}
},
async run({steps, $}) {
const data = {
"apiKey": `${this.wuf.$auth.api_key}`,
"userKey": `${this.wuf.$auth.user_key}`,
"title": `New report`,
"body": `Read the latest news.`,
"url": `https://mysite.com/report-2023`,
}
return await axios($, {
method: "post",
url: `https://api.usewuf.com/v1/push`,
data,
})
},
})
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.