with Quickbase and Mews?
Emit new event each time a new record is created in a specified table in Quickbase.
Creates a new record in a Quick Base table. See the documentation
Updates an existing record in a Quick Base table. See the documentation
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 Mews API is a gateway for developers to interact with the Mews hospitality platform, allowing for innovative connections and automations between hotel management systems and other software tools. By using Pipedream, you can create custom workflows that automate repetitive tasks, integrate with numerous third-party services, and manipulate data to suit specific needs within the hospitality industry. The combination of Mews' API and Pipedream's serverless execution model paves the way for enhanced guest experiences, optimized operations, and real-time data handling.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mews: {
type: "app",
app: "mews",
}
},
async run({steps, $}) {
const data = {
"ClientToken": `${this.mews.$auth.ClientToken}`,
"AccessToken": `${this.mews.$auth.AccessToken}`,
"Client": `${this.mews.$auth.Client}`,
}
return await axios($, {
method: "post",
url: `https://${this.mews.$auth.platform_url}/api/connector/v1/configuration/get`,
auth: {
username: `{{custom_fields.email}}`,
password: `{{custom_fields.password}}`,
},
data,
})
},
})