with Outseta and Runware?
Emit new event when an account is added. See the documentation
Request an image background removal task to be processed by the Runware API. See the documentation
Request an image caption task to be processed by the Runware API. See the documentation
The Outseta API provides a versatile set of endpoints for interacting with a company's CRM, subscription billing, customer support, and email marketing functionalities. With this API on Pipedream, you can automate tasks, synchronize data across platforms, and build powerful workflows that cater to various aspects of SaaS business operations. Pipedream's serverless execution model enables integrating Outseta's services with numerous other apps without managing infrastructure, focusing on logic and efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
outseta_: {
type: "app",
app: "outseta",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.outseta.$auth.domain}.outseta.com/api/v1/crm/people`,
headers: {
"Authorization": `Outseta ${this.outseta.$auth.api_key}:${this.outseta.$auth.api_secret}`,
"Content-Type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
runware: {
type: "app",
app: "runware",
}
},
async run({steps, $}) {
const data = [
{
"taskType": "authentication",
"apiKey": `${this.runware.$auth.api_key}`
},
{
"taskType": "imageCaption",
"taskUUID": "11eb6a8b-1fa9-447f-9dc0-c48576f7074e", //random UUID to identify your task.
"inputImage": "https://pipedream.com/s.v0/app_13GhYE/logo/orig"
}
]
return await axios($, {
method: "post",
url: `https://api.runware.ai/v1`,
data,
})
},
})