Trigger workflows on an interval or cron schedule.
Creates a new contact on HighLevel. See the documentation
Updates a selected contact on HighLevel. See the documentation
Creates or updates a contact on HighLevel. See the documentation
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
The HighLevel (OAuth) API provides a suite of tools designed for marketing agencies and businesses to automate their operations, manage customer relations, and drive growth. With Pipedream, you can leverage HighLevel's capabilities to streamline workflows, such as synchronizing contact information, triggering custom actions based on client interactions, and analyzing marketing data. Integrating the HighLevel API into Pipedream workflows allows for a seamless connection with other apps and services, enabling complex automations with minimal effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
highlevel_oauth: {
type: "app",
app: "highlevel_oauth",
}
},
async run({steps, $}) {
const auth = this.highlevel_oauth.$auth;
const url = auth.locationId ? `/locations/${auth.locationId}` : `/users/${auth.userId}`;
return await axios($, {
baseURL: "https://services.leadconnectorhq.com",
url,
headers: {
Authorization: `Bearer ${auth.oauth_access_token}`,
"Version": `2021-07-28`,
},
})
},
})