with Google Drive and TalentHR?
Emit new event when a change is made to one of the specified files. See the documentation
Emit new event whenever a new employee is created. See the documentation
Watches for changes to specific files, emitting an event when a change is made to one of those files. To watch for changes to shared drive files, use the Changes to Specific Files (Shared Drive) source instead.
Emit new event when a new job application is submitted. See the documentation
Watches for changes to specific files in a shared drive, emitting an event when a change is made to one of those files
Add an unanchored comment to a Google Doc (general feedback, no text highlighting). See the documentation
Hires a new employee and registers them in the system. See the documentation
Responds to an employee's time off request. This action requires the request ID and the response status as props. See the documentation
Create a copy of the specified file. See the documentation for more information
Allows updating an existing employee's data in the system. See the documentation
The Google Drive API on Pipedream allows you to automate various file management tasks, such as creating, reading, updating, and deleting files within your Google Drive. You can also share files, manage permissions, and monitor changes to files and folders. This opens up possibilities for creating workflows that seamlessly integrate with other apps and services, streamlining document handling, backup processes, and collaborative workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_drive: {
type: "app",
app: "google_drive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/drive/v3/about?fields=user`,
headers: {
Authorization: `Bearer ${this.google_drive.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
talenthr: {
type: "app",
app: "talenthr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://pubapi.talenthr.io/v1/timezones`,
auth: {
username: `${this.talenthr.$auth.api_key}`,
password: `c`,
},
})
},
})