HighLevel is a subscription-based all-in-one marketing and customer relationship management solution for agencies and professionals.
Creates a new contact on HighLevel. See the documentation
Create a HTML or a plain text email template. See the docs
Updates a selected contact on HighLevel. See the documentation
Creates or updates a contact on HighLevel. See the documentation
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`,
},
})
},
})
Amazon Simple Email Service (SES) is a powerful cloud-based email sending service designed to help digital marketers and application developers send marketing, notification, and transactional emails. With the SES API, you can reliably send emails at scale, manage sender reputations, view email sending statistics, and maintain a high deliverability rate. Leveraging Pipedream's capabilities, you can integrate SES seamlessly into serverless workflows, automate email responses based on triggers from other apps, and analyze the effectiveness of your email campaigns by connecting to data analytics platforms.
module.exports = defineComponent({
props: {
amazon_ses: {
type: "app",
app: "amazon_ses",
}
},
async run({steps, $}) {
const AWS = require("aws-sdk")
const { accessKeyId, secretAccessKey } = this.amazon_ses.$auth
const ses = new AWS.SES({
accessKeyId,
secretAccessKey,
region: 'us-east-1',
})
const sesParams = {
Destination: {
ToAddresses: ["<your email here>"],
},
Message: {
Body: {
Html: {
Charset: "UTF-8",
Data: "<h1>This is a test</h1>",
},
Text: {
Charset: "UTF-8",
Data: "This is a test",
}
},
Subject: {
Charset: "UTF-8",
Data: "Test email",
}
},
Source: "<your from address here",
};
this.resp = await ses.sendEmail(sesParams).promise()
},
})