with Hostaway and TLDR?
Emit new event when a new message is received in Hostaway.
Emit new event when a new reservation is created in Hostaway.
Emit new event when a reservation is updated in Hostaway.
Creates a new reservation in Hostaway. See the documentation
Reads in a piece of text and distills the main points. See the documentation
Send a conversation message to a guest in Hostaway. See the documentation
The Hostaway API allows for automation and integration with their property management platform. It provides endpoints for managing listings, bookings, messages, and more. On Pipedream, you can leverage these endpoints to create automated workflows that connect Hostaway with various other services, such as calendars, email, and messaging apps, or even custom functions for enhanced property management. Whether you're aiming to synchronize booking calendars or automate guest communication, the Hostaway API on Pipedream enables you to streamline operations and enhance guest experiences with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hostaway: {
type: "app",
app: "hostaway",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hostaway.com/v1/users`,
headers: {
Authorization: `Bearer ${this.hostaway.$auth.oauth_access_token}`,
"Cache-control": `no-cache`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tldr: {
type: "app",
app: "tldr",
}
},
async run({steps, $}) {
const data = {
"responseLength": 1,
"responseStyle": "Funny",
"inputText": "Lorem ipsum dolor sit amet..."
}
return await axios($, {
method: "post",
url: `https://runtldr.com/apis/v1/summarize`,
headers: {
Authorization: `Bearer ${this.tldr.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})