with UniOne and Pinterest?
Emit new events when new pins are created on a board or board section. See the docs here and here
UniOne is an email service provider that offers a broad range of features for sending and managing email campaigns. Through its API, you can programmatically send transactional emails, organize mailing lists, track email delivery statuses, and analyze recipient engagements. When integrated on Pipedream, UniOne becomes a part of your serverless workflow, enabling you to automate email operations with various triggers and actions from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
unione: {
type: "app",
app: "unione",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://${this.unione.$auth.server}/en/transactional/api/v1/system/info.json`,
headers: {
"X-API-KEY": `${this.unione.$auth.api_key}`,
"Content-Type": `application/json`,
"Accept": `application/json`,
},
data: {} //this empty object is required for the test request to work
})
},
})
The Pinterest API opens a portal to interact programmatically with Pinterest's rich data, including boards, pins, and user information. By leveraging this API on Pipedream, you can automate actions like posting new pins, extracting pin data for analysis, and synchronizing Pinterest content with other platforms. The potential extends to marketing optimization, content management, and audience engagement, all automated and integrated within the Pipedream ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pinterest: {
type: "app",
app: "pinterest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pinterest.com/v5/user_account`,
headers: {
Authorization: `Bearer ${this.pinterest.$auth.oauth_access_token}`,
},
})
},
})