with Twenty and Epsy?
Emit new event when a record is created, updated, or deleted.
Create, update, or delete a single record in Twenty. This action allows for dynamic handling of records based on specified action type. See the documentation
Get the results of the lookup with the provided ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twenty: {
type: "app",
app: "twenty",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twenty.com/rest/people`,
headers: {
Authorization: `Bearer ${this.twenty.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
epsy: {
type: "app",
app: "epsy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://irbis.espysys.com/api/request-monitor/credit-stat`,
headers: {
"accept": `application/json`,
"content-type": `application/json`,
},
params: {
key: `${this.epsy.$auth.api_key}`,
},
})
},
})