PublisherKit helps you to auto-generate News Articles, Social Media Visuals and more.
Emit new event when a new template is created within your PublisherKit account. See the documentation
Generates a new image within PublisherKit. See the documentation
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The PublisherKit API offers a suite of tools for digital content management, including the ability to manage and distribute various multimedia content like articles, videos, and podcasts. Integrating this API with Pipedream allows you to automate content workflows, sync data across platforms, and react to events in real-time. For instance, you could automatically publish scheduled content, analyze content performance, or update cross-platform content statuses.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
publisherkit: {
type: "app",
app: "publisherkit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.publisherkit.com/v1/auth`,
headers: {
Authorization: `Bearer ${this.publisherkit.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
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)
},
})