with Sage Intacct and Motive?
Retrieve user details based on specific criteria. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sage_intacct: {
type: "app",
app: "sage_intacct",
}
},
async run({steps, $}) {
return this.sage_intacct.$auth.session_id;
},
})
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}`,
},
})
},
})