with Wix and Bloomerang?
Emit new event when a new constituent profile is created in Bloomerang.
Emit new event when a new member is registered. See the documentation
Emit new event when a new interaction is logged for a constituent.
Adds a product or products to a specified collection. See the documentation
Adds an interaction to an existing constituent in Bloomerang. See the documentation
Creates a new constituent in Bloomerang. 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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bloomerang: {
type: "app",
app: "bloomerang",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bloomerang.co/v2/user/current`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.bloomerang.$auth.api_key}`,
},
})
},
})