with Gather and AI Chatbot Hub?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gather: {
type: "app",
app: "gather",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gather.town/api/getEmailGuestlist`,
params: {
spaceId: `${this.gather.$auth.space_id}`,
apiKey: `${this.gather.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ai_chatbot_hub: {
type: "app",
app: "ai_chatbot_hub",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.aichatbothub.com/api/v1/chatbots`,
headers: {
Authorization: `Bearer ${this.ai_chatbot_hub.$auth.api_key}`,
},
})
},
})