with Mission Mobile and AI Chatbot Hub?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mission_mobile: {
type: "app",
app: "mission_mobile",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://clientlogin.missionmobile.net/gateway/xml_account_settings.asp`,
auth: {
username: `${this.mission_mobile.$auth.api_token}`,
password: ``,
},
params: {
guid: `${this.mission_mobile.$auth.account_id}`,
},
})
},
})
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}`,
},
})
},
})