with Resource Guru and Formatting?
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.
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})