Unleash the potential of AI. Say hello to faster, better ChatGPT results.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
promptmate_io: {
type: "app",
app: "promptmate_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.promptmate.io/v1/userInfo`,
headers: {
"x-api-key": `${this.promptmate_io.$auth.api_key}`,
},
})
},
})
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.