with WP Maps and Delighted?
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
Create or update a person and send a survey email. See the docs here
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}`,
},
})
},
})
Delighted API on Pipedream lets you automate and integrate customer feedback into various aspects of your business processes. Utilize real-time survey responses to trigger actions, manage contacts, and streamline follow-ups. With a mix of webhooks and API calls, you can react promptly to customer sentiment, categorize feedback, and enhance customer experience by connecting insights to your CRM, support, and product management tools.
module.exports = defineComponent({
props: {
delighted: {
type: "app",
app: "delighted",
}
},
async run({steps, $}) {
const delighted = require('delighted')(this.delighted.$auth.api_key)
return await delighted.metrics.retrieve()
},
})