with Sage Intacct and Daktela?
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: {
daktela: {
type: "app",
app: "daktela",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.daktela.$auth.instance_url}/api/v6/whoim.json`,
params: {
accessToken: `${this.daktela.$auth.access_token}`,
},
})
},
})