with Handwrytten and OTO?
The Handwrytten API allows you to automate the sending of handwritten notes to clients, customers, or friends. Integrating this API within Pipedream workflows enables you to create personalized outreach at scale, triggered by various business events such as customer signups, purchases, or feedback. It's an innovative way to add a human touch to your communication strategy through technology.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
handwrytten: {
type: "app",
app: "handwrytten",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.handwrytten.com/v2/auth/getUser`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.handwrytten.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oto: {
type: "app",
app: "oto",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.oto.$auth.api_url}/rest/v2/accountInfo`,
headers: {
Authorization: `Bearer ${this.oto.$auth.oauth_access_token}`,
},
})
},
})