The unified customer journey platform for online business. Customer journeys made remarkable.
Emit new event when a contact is created in your Ortto account.
Creates a unique activity for a person. Can optionally initialize a new record beforehand. See the documentation
Create or update a preexisting person in the Ortto account. See the documentation
The Ortto API unleashes the power to streamline customer relationship management by automating personalized customer journeys, tracking user actions, and integrating with a variety of services to enhance marketing and sales strategies. With Ortto on Pipedream, you can create intricate workflows that respond dynamically to customer interactions, update CRM records, send targeted communications, and much more, building a rich, automated system that nurtures leads and cultivates customer loyalty.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ortto: {
type: "app",
app: "ortto",
}
},
async run({steps, $}) {
const data = {
"fields": ["str::email", "str::first", "str::last"]
}
return await axios($, {
method: "post",
url: `https://${this.ortto.$auth.region}/v1/person/get`,
headers: {
"X-Api-Key": `${this.ortto.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})