with VectorShift and Agiliron?
Emit new event when a knowledge base is created in Vectorshift.
Emit new event when a new contact is created in Agiliron. See the documentation
Emit new event when a new pipeline is created in VectorShift.
Adds data to a knowledge base in VectorShift. See the documentation
Creates a new pipeline in VectorShift. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    vectorshift: {
      type: "app",
      app: "vectorshift",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.vectorshift.ai/v1/pipelines`,
      headers: {
        Authorization: `Bearer ${this.vectorshift.$auth.api_key}`,
      },
    })
  },
})
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`,
      },
    })
  },
})