The most powerful, customizable and easy to integrate subscription billing software used by hundreds of companies worldwide to simplify revenue operations
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The Billsby API allows for automated subscription management, providing endpoints to create and manage customer accounts, subscriptions, invoices, and payments. With Pipedream, you can connect Billsby to hundreds of other services, triggering workflows based on subscription events, syncing customer data, or automating billing processes. This can lead to more efficient operations, better customer experiences, and timely data-driven decisions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
billsby: {
type: "app",
app: "billsby",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public.billsby.com/api/v1/rest/core/${this.billsby.$auth.company_domain}/subscriptions`,
headers: {
"ApiKey": `${this.billsby.$auth.api_key}`,
"accept": `application/json`,
},
params: {
page: `1`,
pageSize: `5`,
},
})
},
})
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)
},
})