SafetyCulture (iAuditor) is an inspection, issue capture and corrective action platform for teams that’s used over 50,000 times a day in over 85 countries.
Emit new event when an inspection has completed.
Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status
trigger. More information here
Emit new event when a collaborator is added See the documentation
Create a new inspection in iAuditor by SafetyCulture. See the documentation
Find issues and pull requests by state and keyword. See docs here
Create a new user in iAuditor by SafetyCulture. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
iauditor_by_safetyculture: {
type: "app",
app: "iauditor_by_safetyculture",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.safetyculture.io/share/connections`,
headers: {
Authorization: `Bearer ${this.iauditor_by_safetyculture.$auth.api_token}`,
"accept": `application/json`,
"sc-integration-id": `sc-readme`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})