with Wix and Engage?
Emit new event when a new member is registered. See the documentation
Emit new event when a new product is created. See the documentation
The Wix API allows for the management and automation of various aspects of Wix-based web applications. Through Pipedream, you can harness this capability to create, update, retrieve, and delete information from your Wix site, such as managing site content, handling e-commerce orders, and engaging with users. With Pipedream, you can also trigger workflows based on events in Wix, connect with hundreds of other services, and process data with custom logic.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wix_api_key: {
type: "app",
app: "wix_api_key",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://www.wixapis.com/site-list/v2/sites/query`,
headers: {
"Authorization": `${this.wix_api_key.$auth.api_key}`,
"wix-account-id": `${this.wix_api_key.$auth.account_id}`,
},
})
},
})
The Engage API lets you automate and streamline your customer communication by sending personalized messages. With this API, you can craft interactions based on user behavior, preferences, and feedback. On Pipedream, you can integrate Engage with your workflow to trigger actions based on events from other apps, manage contact lists, and analyze communication patterns — all in real-time and without managing servers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
engage: {
type: "app",
app: "engage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.engage.so/v1/users`,
auth: {
username: `${this.engage.$auth.public_key}`,
password: `${this.engage.$auth.secret_key}`,
},
})
},
})