with HighLevel (API Key) and Database?
The HighLevel API offers a suite of tools for customer relationship management, marketing automation, and business growth. Leveraging this API on Pipedream allows you to automate interactions with leads, manage contacts, and streamline communication workflows. This integration can help you track customer interactions, automate follow-ups, and sync data across platforms, ultimately improving productivity and customer engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gohighlevel: {
type: "app",
app: "gohighlevel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.gohighlevel.com/v1/calendars/teams`,
headers: {
Authorization: `Bearer ${this.gohighlevel.$auth.api_key}`,
},
})
},
})
The Database API on Pipedream allows users to execute SQL commands directly within workflows, enabling rich and dynamic data manipulation and storage. It supports PostgreSQL, MySQL, and SQLite, making it a versatile option for managing data across various database systems. With this API, users can perform tasks such as data insertion, querying, updates, and deletions, directly within their automations, facilitating real-time data processing and integration across multiple platforms.
import postgresql from "@pipedream/postgresql";
export default {
props: {
postgresql,
sql: {
type: "sql",
auth: {
app: "postgresql",
},
label: "PostreSQL Query",
},
},
async run({ $ }) {
const args = this.postgresql.executeQueryAdapter(this.sql);
const data = await this.postgresql.executeQuery(args);
return data;
},
};