with Graphy and Chat Data?
Create a chatbot with the specified properties. See the documentation
Get status of the Chatbot with the specified ID. See the documentation
Graphy is an API designed to help businesses create customizable and collaborative dashboards and reports. Integrating Graphy with Pipedream allows for seamless automation of data visualization workflows, where you can trigger actions based on events, sync data across various apps, or even manage your dashboard's content programmatically. Pipedream's serverless platform provides you with the ability to connect Graphy to hundreds of other apps to enhance your reporting and analytics processes without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
graphy: {
type: "app",
app: "graphy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ongraphy.com/public/v1/products`,
params: {
mid: `${this.graphy.$auth.MID}`,
key: `${this.graphy.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chat_data: {
type: "app",
app: "chat_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.chat-data.com/api/v2/current-plan`,
headers: {
Authorization: `Bearer ${this.chat_data.$auth.api_key}`,
},
})
},
})