Changing the World Through Learning Empower lifelong learners and career growth to drive innovation at your company.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The Degreed API enables automated interactions with the Degreed platform, a hub for professional growth and learning. Through this API, you can programmatically access user data, learning content, pathways, and more. By leveraging Pipedream, users can design custom workflows that integrate Degreed's learning management capabilities with other services to streamline processes, report on progress, sync data across platforms, and even curate learning content based on specific triggers or criteria.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
degreed: {
type: "app",
app: "degreed",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.${this.degreed.$auth.base_url}/api/v2/users/me`,
headers: {
Authorization: `Bearer ${this.degreed.$auth.oauth_access_token}`,
},
})
},
})
The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})