Trigger workflows on an interval or cron schedule.
Reads in a piece of text and distills the main points. See the documentation
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.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tldr: {
type: "app",
app: "tldr",
}
},
async run({steps, $}) {
const data = {
"responseLength": 1,
"responseStyle": "Funny",
"inputText": "Lorem ipsum dolor sit amet..."
}
return await axios($, {
method: "post",
url: `https://runtldr.com/apis/v1/summarize`,
headers: {
Authorization: `Bearer ${this.tldr.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})