Freshmarketer is a complete marketing automation suite that helps you manage your contacts and lists, design, and deliver compelling marketing campaigns and automate your email marketing.
Emit new event when a contact is added to a specific list.
Emit new event as soon as a contact is removed from a list.
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
The Freshmarketer API enables automation of marketing efforts, providing tools to manage campaigns, leads, and more. In Pipedream, you can leverage these capabilities to create custom workflows that interact with Freshmarketer's data and connect it to other services. Combining Freshmarketer with Pipedream's serverless platform allows you to automate actions like syncing contacts, triggering campaigns based on external events, or analyzing marketing performance with external analytics tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshmarketer: {
type: "app",
app: "freshmarketer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.freshmarketer.$auth.domain}.myfreshworks.com/crm/sales/api/sales_accounts/filters`,
headers: {
"Authorization": `Token token=${this.freshmarketer.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
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}`,
},
})
},
})