with Adobe Photoshop Lightroom and Koala AI?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
adobe_photoshop_lightroom: {
type: "app",
app: "adobe_photoshop_lightroom",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://lr.adobe.io/v2/account`,
headers: {
Authorization: `Bearer ${this.adobe_photoshop_lightroom.$auth.oauth_access_token}`,
"x-api-key": `${this.adobe_photoshop_lightroom.$auth.oauth_client_id}`,
"accept": `application/json`,
},
})
},
})
The Koala AI API enables intelligent analysis of text and conversation data, offering insights and automation capabilities. With Koala AI API on Pipedream, you can craft serverless workflows that respond to data in real-time. Use it to analyze sentiment, categorize content, extract entities, and more. Build workflows that trigger on new data, process it through Koala AI, and act on the insights gained, like updating a database, sending notifications, or enriching CRM information.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
koala_ai: {
type: "app",
app: "koala_ai",
}
},
async run({steps, $}) {
const data = {
"targetKeyword": `What is Pipedream?`,
"gptVersion": `gpt-3.5`,
}
return await axios($, {
method: "post",
url: `https://koala.sh/api/articles/`,
headers: {
Authorization: `Bearer ${this.koala_ai.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})