with Zylvie and Rhombus?
Emit new event when a visitor signs up to be an affiliate or when they accept an invitation to be an affiliate. See the documentation
Emit new event when a user submits their name and email to receive a free product/lead magnet. See the documentation
Emit new event when a user subscribes to a subscription product, whether free trial or otherwise. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zylvie: {
type: "app",
app: "zylvie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.zylvie.com/me`,
headers: {
Authorization: `Bearer ${this.zylvie.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rhombus: {
type: "app",
app: "rhombus",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api2.rhombussystems.com/api/org/getOrgV2`,
headers: {
"x-auth-apikey": `${this.rhombus.$auth.api_token}`,
"x-auth-scheme": `api-token`,
"content-type": `application/json`,
},
})
},
})