Install WP Maps and gain the ability to highlight your products and stores to increase brand awareness.
Emit new event when a new product is created in WP Maps. See the documentation
Emit new event when a new store is created in WP Maps. See the documentation
The WP Maps API is a tool that enables you to integrate interactive maps into WordPress sites. You can use it to display custom markers, layers, and various map providers within your WordPress pages. With Pipedream, you can create serverless workflows that leverage the WP Maps API to automate map-related tasks. You could, for example, synchronize map data with external databases, send notifications when a new marker is added, or dynamically update maps based on user interactions or other triggers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wp_maps: {
type: "app",
app: "wp_maps",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://svr.wpmaps.net/v1/products/all`,
params: {
client_id: `${this.wp_maps.$auth.client_id}`,
access_token: `${this.wp_maps.$auth.access_token}`,
},
})
},
})
The Klaviyo API grants you the power to automate and personalize your email marketing efforts. With it, you can manage lists, profiles, and campaigns, track event-driven communications, and analyze the results. By leveraging this API on Pipedream, you can create intricate, automated workflows that respond in real-time to your users' behavior, sync data across multiple platforms, and tailor your marketing strategies to improve engagement and conversion rates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
klaviyo: {
type: "app",
app: "klaviyo",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://a.klaviyo.com/api/accounts/`,
headers: {
"Authorization": `Klaviyo-API-Key ${this.klaviyo.$auth.api_key}`,
"revision": `2023-12-15`,
},
})
},
})