with Quickbase and Google Chat?
Emit new event each time a new record is created in a specified table in Quickbase.
Quickbase is a low-code platform for building operational applications and automations that can manage data, workflows, and reporting. Using Pipedream's serverless platform, you can tap into the robust Quickbase API to weave complex workflows that respond to events, synchronize data across multiple systems, and streamline business processes. With Pipedream, you can trigger on events in Quickbase, or from hundreds of other apps, and write Node.js code to integrate with the Quickbase API directly, enabling a broad range of automation possibilities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
quickbase: {
type: "app",
app: "quickbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.quickbase.com/v1/apps/brztjz2nz`,
headers: {
"QB-Realm-Hostname": `${this.quickbase.$auth.hostname}`,
"User-Agent": `@PipedreamHQ/pipedream v0.1`,
"Authorization": `QB-USER-TOKEN ${this.quickbase.$auth.user_token}`,
"Content-Type": `application/json`,
},
})
},
})
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}`,
},
})
},
})