with Ortto and Resource Guru?
Emit new event when a contact is created in your Ortto account.
Emit new event when a booking is created, updated or deleted.
Emit new event when a project is created, updated or deleted.
Emit new event when a resource is created, updated or deleted.
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
Delete a specific booking identified by Id. 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,
})
},
})
The Resource Guru API lets you manage resources, bookings, and clients programmatically, which is key for automating scheduling and project management tasks. Within Pipedream, you can leverage this API to create workflows that trigger on various events, such as new bookings or changed availability, and perform actions like updating calendars, syncing with project management tools, or even sending notifications to team members.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
resource_guru: {
type: "app",
app: "resource_guru",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.resourceguruapp.com/v1/me`,
headers: {
Authorization: `Bearer ${this.resource_guru.$auth.oauth_access_token}`,
},
})
},
})