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
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
Create or update a preexisting person in the Ortto account. See the documentation
Allows a user to opt-out from all SMS communications. 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,
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}