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}`,
},
})
},
})
Sync Bookings with Google Calendar: When a new booking is made in Resource Guru, a Pipedream workflow can trigger to automatically create an event in Google Calendar. This ensures that your schedule is always up-to-date across all platforms.
Manage Project Tasks in Asana: Upon changing a booking status in Resource Guru, trigger a Pipedream workflow to update a corresponding task in Asana. This could include changing the task status, adjusting deadlines, or reassigning to different team members based on resource availability.
Send Slack Notifications on Resource Changes: Configure a Pipedream workflow to send a notification to Slack whenever a resource is added or removed in Resource Guru. This keeps the entire team informed in real-time about the availability of personnel or equipment.
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.
Delete a specific booking identified by Id. See the documentation
Update a specific booking identified by Id. See the documentation
Resource Guru uses OAuth authentication. When you connect your Resource Guru account, Pipedream will open a popup window where you can sign into Resource Guru and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Resource Guru API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://api.resourceguruapp.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://api.resourceguruapp.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://api.resourceguruapp.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}