with Respond.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 Respond.io API provides a gateway to interact with a platform designed for business messaging, allowing for automation of conversations, contact management, and message dispatch across various channels like SMS, WhatsApp, and Facebook Messenger. In Pipedream, you can construct workflows that leverage these capabilities to sync with other services, trigger actions based on received messages, or even conduct analytics over message data. This harnesses the power of serverless execution to simplify and enhance customer communication strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
respond_io: {
type: "app",
app: "respond_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.respond.io/v2/space/user`,
headers: {
Authorization: `Bearer ${this.respond_io.$auth.access_token}`,
"Content-Type": `application/json`,
},
})
},
})
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}`,
},
})
},
})