Trigger workflows on an interval or cron schedule.
Create or update a company record. See the documentation
Create or update a custom object record. See the documentation
Create or update a person's record. 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: {
gainsight_nxt: {
type: "app",
app: "gainsight_nxt",
}
},
async run({steps, $}) {
const data = {
"includeTotal": true,
"limit": 25,
"page": 0,
"orderBy": {
"ModifiedDate": "desc"
},
"select": [
"Name",
"SFDCUserName",
"Email",
"IsSuperAdmin",
"ModifiedDate",
"LicenseType"
]
}
return await axios($, {
method: "post",
url: `${this.gainsight_nxt.$auth.customer_domain}/v1/users/services/list`,
headers: {
"content-type": `application/json`,
"accept": `application/json, text/plain, */*`,
"accept-language": `en-GB,en-US;q=0.9,en;q=0.8`,
"accesskey": `${this.gainsight_nxt.$auth.access_key}`,
},
data,
})
},
})