Create questionnaires that return personalized advice.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Pointerpro API enables automated interactions with Pointerpro's survey platform, allowing developers to create, manage, and analyze surveys without manual intervention. This can streamline feedback collection and data analysis, making it easier to integrate customer insights into business processes. With Pipedream, you can leverage the Pointerpro API to build custom workflows that trigger actions in other apps, based on survey responses or other events, making your data work for you in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pointerpro: {
type: "app",
app: "pointerpro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pointerpro.com/v1/respondents`,
headers: {
"Authorization": `API ${this.pointerpro.$auth.api_key}`,
"Content-Type": `application/json`,
"Accept": `application/json`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS