with Active Trail and Adobe Photoshop Lightroom?
ActiveTrail’s API allows for the automation of email marketing campaigns, contact management, and event-triggered communications. By integrating ActiveTrail with Pipedream, you can create workflows that react to specific triggers, such as new subscriber sign-ups, and perform actions like updating contact lists or sending personalized emails. This level of automation can save time, improve customer engagement, and ensure timely communications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
active_trail: {
type: "app",
app: "active_trail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://webapi.mymarketing.co.il/api/account/balance`,
headers: {
"Authorization": `${this.active_trail.$auth.access_token}`,
"Accept": `application/json`,
},
})
},
})
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`,
},
})
},
})