with Motive and Brillium?
Emit new safety-related events like harsh braking or acceleration.
Emit new event when a new assessment is created in Brillium. See the documentation
Emit new event when a new topic is added to an assessment in Brillium. See the documentation
Emit new event when a new question is added to an assessment in Brillium. See the documentation
Retrieve user details based on specific criteria. See the documentation
Retrieve all Assessments for a Brillium account. See the documentation
Retrieves results for a respondent. See the documentation
Retrieve all Respondents for a Brillium account. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
motive: {
type: "app",
app: "motive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gomotive.com/v1/users`,
headers: {
Authorization: `Bearer ${this.motive.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
brillium: {
type: "app",
app: "brillium",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.brillium.$auth.api_url}/Accounts`,
auth: {
username: `ASSESSMENTS-API`,
password: `${this.brillium.$auth.api_password}${this.brillium.$auth.security_token}`,
},
})
},
})