with Greptile and Monica CRM?
Search the user's codebase using a natural language query. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
greptile: {
type: "app",
app: "greptile",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.greptile.com/v2/chats/${this.greptile.$auth.chat_session_id}`,
headers: {
Authorization: `Bearer ${this.greptile.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
monica_crm: {
type: "app",
app: "monica_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.monica_crm.$auth.server_url}/api/me`,
headers: {
Authorization: `Bearer ${this.monica_crm.$auth.oauth_access_token}`,
},
})
},
})