Visually build on your tech stack. Drag and drop to build pages and sections within your framework, using your components.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The Builder.io API offers a powerful way to manage and deliver content across any platform with structured data. Using Pipedream, you can automate content creation, update workflows, and sync content across various applications. Pipedream's serverless platform allows you to connect Builder.io to hundreds of other services without writing complex code, triggering actions on events or on a schedule.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
builder_io: {
type: "app",
app: "builder_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://cdn.builder.io/api/v2/content/page`,
params: {
apiKey: `${this.builder_io.$auth.api_key}`,
},
})
},
})
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)
},
})