Send a Net Promoter Score® survey to your clients and start gathering, analyzing and acting on the received customer feedback.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
The Retently API offers a robust set of features for gathering and leveraging customer feedback. With it, you can automate the collection of NPS scores, follow up on customer surveys, and integrate customer sentiment data into other business tools. Pipedream makes these interactions smooth by triggering workflows from Retently events or sending data back to Retently, enabling you to synchronize your customer feedback with the rest of your tech stack effortlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
retently: {
type: "app",
app: "retently",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.retently.com/api/v2/nps/customers`,
headers: {
"Authorization": `api_key=${this.retently.$auth.api_key}`,
},
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}