The all-in-one online business platform that gives you every marketing & sales tool you need to grow your business profitably & more 📈
Emit new event each time the specified coupon event(s) occur
Emit new event each time the specified customer event(s) occur
Emit new event each time the specified order event(s) occur
Emit new event each time the specified product event(s) occur
The Kartra API allows you to interact programmatically with Kartra's marketing automation platform. Through Pipedream, you can leverage this API to create, update, retrieve, and delete various marketing and sales assets managed by Kartra, such as leads, emails, memberships, and more. By integrating Kartra with other apps on Pipedream, you can automate complex workflows, sync data across multiple platforms, and trigger actions based on events within Kartra or external services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kartra: {
type: "app",
app: "kartra",
}
},
async run({steps, $}) {
const data = {
"app_id": `${this.kartra.$auth.app_id}`,
"api_key": `${this.kartra.$auth.api_key}`,
"api_password": `${this.kartra.$auth.api_password}`,
"lead": {
"email": "enter_an_email_here"
},
"actions": [
{
"cmd": "search_lead"
}
],
}
return await axios($, {
method: "post",
url: `https://app.kartra.com/api`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
},
data,
})
},
})
WooCommerce is a customizable, open-source eCommerce platform built on WordPress. With the WooCommerce API, you can tap into the heart of your eCommerce store to read, create, update, and delete products, orders, and customers. On Pipedream, you can harness this API to automate routine tasks, sync data across platforms, and enhance customer experiences. By connecting WooCommerce to a wide array of apps and services, you can streamline operations, trigger personalized marketing, and analyze your sales data with greater ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
woocommerce: {
type: "app",
app: "woocommerce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.woocommerce.$auth.url}/wp-json/wc/v2/orders`,
auth: {
username: `${this.woocommerce.$auth.key}`,
password: `${this.woocommerce.$auth.secret}`,
},
})
},
})