with Google Chat and Cliengo?
Emit new event when a new command is used in a space. See the documentation
Emit new event when a new mention is received in a space. See the documentation
Emit new event when a new message is posted in a space. See the documentation
The Google Chat API allows you to build custom bots for Google Chat, enabling automated interactions with users within a chat space. By leveraging this API on Pipedream, you can create powerful workflows that respond to messages, automate tasks, and connect Google Chat with other services. Pipedream's serverless platform provides a seamless way to invoke these APIs based on triggers from Google Chat or other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_chat: {
type: "app",
app: "google_chat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_chat.$auth.oauth_access_token}`,
},
})
},
})
Cliengo is a chatbot platform that lets you automate conversations with visitors on your website, aiding in lead capture and customer service. The Cliengo API offers capabilities to programmatically manage these conversations, extract chat data, and integrate with CRM systems. By leveraging Pipedream, you can connect Cliengo to a variety of different apps and services to streamline workflows, such as syncing chat data to your CRM, triggering emails based on chat events, or analyzing customer interaction patterns.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cliengo: {
type: "app",
app: "cliengo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cliengo.com/1.0/account`,
params: {
api_key: `${this.cliengo.$auth.api_key}`,
},
})
},
})