with Bigpicture.io and Refiner?
Emit new event whenever a user enters a segment in Refiner. See the documentation
Emit new event whenever a user completes a survey in Refiner. See the documentation
Identify a user with user ID or email. If the user does not exist, a new one will be created. See the documentation
The Bigpicture.io API allows you to enrich your customer data by collecting, unifying, and streaming it to different platforms. With Pipedream, you can automate workflows that trigger on events, manipulate and route data, and integrate with numerous other services. Leveraging Bigpicture.io's API within Pipedream's serverless platform can help you create real-time, data-driven workflows for personalized marketing, analytics, customer support, and more.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bigpicture_io: {
type: "app",
app: "bigpicture_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://company.bigpicture.io/v1/companies/find`,
headers: {
"Authorization": `${this.bigpicture_io.$auth.api_key}`,
},
params: {
domain: `pipedream.com`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
refiner: {
type: "app",
app: "refiner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.refiner.io/v1/account`,
headers: {
Authorization: `Bearer ${this.refiner.$auth.api_key}`,
},
})
},
})