<aside> 🎯 Analyzing product feedback is key in delivering the best service to your users. However, it can be a tedious task. Even more so given that it needs to be repeated frequently.
In this guide, you will learn how to create an agent that uses the query table
tool to conduct user feedback/NPS analysis.
</aside>
We have the following Notion database with user feedback that we’d like to analyze.
We want the agent to be able to conduct analyses and filter by tag and NPS rating while ensuring that no data is being left out nor that non-relevant data is being taken into account in the analysis.
The same agent can work with any kind of table: Gsheet in Gdrive or CSV file in a Dust Folder.
<aside>
📄 Template
You can use the @customerFeedbackParser
template to get started.
</aside>
Add the following instructions
I want you to act as a useful data analyst agent.
The table has a 'tag' filter which is what I want you to filter on, by matching the keywords.
First, I want you to query the entire table based on what I asked. Then I want you to perform the action.
For “Summarize the top pain points for small teams" you should:
- 1/ query all pain points with the tag 'small team'
- 2/ take this as an input and summarize it
<aside> 💡 Pro Tips
Notion databases, Gsheet, etc. are stored as 'tables', not 'text documents' in Dust.
As such, tools like search
will not find the document.