with Delighted and Inferable?
Create or update a person and send a survey email. See the docs here
Delighted API on Pipedream lets you automate and integrate customer feedback into various aspects of your business processes. Utilize real-time survey responses to trigger actions, manage contacts, and streamline follow-ups. With a mix of webhooks and API calls, you can react promptly to customer sentiment, categorize feedback, and enhance customer experience by connecting insights to your CRM, support, and product management tools.
module.exports = defineComponent({
props: {
delighted: {
type: "app",
app: "delighted",
}
},
async run({steps, $}) {
const delighted = require('delighted')(this.delighted.$auth.api_key)
return await delighted.metrics.retrieve()
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
inferable: {
type: "app",
app: "inferable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.inferable.ai/clusters/${this.inferable.$auth.cluster_id}/usage`,
headers: {
Authorization: `Bearer ${this.inferable.$auth.api_key}`,
},
})
},
})