with Chat Data and Ryver?
Create a chatbot with the specified properties. See the documentation
Get status of the Chatbot with the specified ID. See the documentation
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}`,
},
})
},
})
The Ryver API allows you to automate interactions with the Ryver platform, a tool for team communication and task management. By leveraging the API on Pipedream, you can create custom workflows that respond to events in Ryver, send messages, manage tasks, users, and teams, or integrate with other services to extend Ryver's functionality. With Pipedream's serverless platform, you can design scalable and maintenance-free automations that react in real-time to your business needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ryver: {
type: "app",
app: "ryver",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.ryver.$auth.domain}.ryver.com/api/1/odata.svc/users`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
},
auth: {
username: `${this.ryver.$auth.email}`,
password: `${this.ryver.$auth.password}`,
},
})
},
})