with n8n.io and Placid?
Generate a new image based on a specified template. See the documentation
Creates a new PDF based on a specified template. See the documentation
The n8n.io API provides a platform for automating workflows in a node-based structure that allows for integrations across various services and apps. Leveraging this API within Pipedream enables you to orchestrate complex operations, connect disparate systems, and trigger actions conditionally, transforming and passing data between services without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
n8n_io: {
type: "app",
app: "n8n_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.n8n_io.$auth.domain}.app.n8n.cloud/api/v1/workflows`,
headers: {
"Accept": `application/json`,
"X-N8N-API-KEY": `${this.n8n_io.$auth.api_key}`,
},
})
},
})
The Placid API lets you automate the creation of visual content such as images and videos. With Pipedream, you can trigger workflows using various events, process data, and use the Placid API to dynamically generate marketing materials, social media graphics, personalized images for email campaigns, and more. Leveraging Pipedream's capabilities, you can integrate Placid with other apps to create robust, multi-step automations without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
placid: {
type: "app",
app: "placid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.placid.app/api/rest/templates`,
headers: {
Authorization: `Bearer ${this.placid.$auth.api_token}`,
},
})
},
})