Install WP Maps and gain the ability to highlight your products and stores to increase brand awareness.
Go to siteThe 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}`,
},
})
},
})
Sync Map Markers with CRM: Automate the process of updating your WP Maps with new locations as they are added to your Customer Relationship Management (CRM) system. Each time a new contact is added to the CRM, a workflow could be triggered that adds a marker to a map on your WordPress site, representing the contact's location.
Send Alerts for New Map Interactions: Whenever a user adds a comment or rating to a marker on your WP Maps, trigger a workflow that sends a notification to a Slack channel or an email to the admin. This allows for quick moderation or acknowledgment of user interactions.
Automate Content Creation Based on Map Activity: Generate new posts or update existing content on your WordPress site in response to changes in map data. For instance, if a certain number of users visit a marker or a new area is highlighted on the map, a workflow could create a post detailing popular locations or events in the area.
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
WP Maps uses API keys for authentication. When you connect your WP Maps account, Pipedream securely stores the keys so you can easily authenticate to WP Maps APIs in both code and no-code steps.
To retrieve your Client ID and Access Token,