Inventory Management & Multi-Channel Retail POS Software.
Emit new event when a new contact is created in Agiliron. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agiliron: {
type: "app",
app: "agiliron",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.agiliron.$auth.subdomain}.agiliron.net/agiliron/api-40/Accounts`,
headers: {
"Accept": `application/json`,
"apiKey": `${this.agiliron.$auth.api_key}`,
},
params: {
filter: `CreatedTime,bt,01-15-2000 | 01-31-2025`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})