with SatisMeter and Formatting?
Emit new event when a survey response is submitted to a project. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
SatisMeter captures customer feedback and sentiment directly through targeted surveys, providing insights into customer satisfaction and product engagement. With the SatisMeter API on Pipedream, you can automate interactions with survey data, sync customer information with other services, and trigger actions based on feedback scores. By leveraging Pipedream's serverless platform, you can create workflows that respond in real-time to survey results, enrich customer profiles, and influence your product's roadmap with actionable insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
satismeter: {
type: "app",
app: "satismeter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.satismeter.com/api/users`,
headers: {
Authorization: `Bearer ${this.satismeter.$auth.api_key}`,
},
params: {
project: `${this.satismeter.$auth.project_id}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})