Poor Performance of AI Agent

Hi everyone, I am pretty new to n8n and I built a bare bone agent to handle custom enquiry. However, the response time of the agent is very slow. May I ask if it is because the agent is looking up data in Google Sheet? Would the performance dramatically improve if I use Supabase? How should I go about optimizing this kind of workflow? Thanks in advance!

Moving from Google Sheets to Supabase(it uses Postgres under the hood) for data lookups will almost certainly improve your agent’s response time and scalability.
Use database queries to fetch only the necessary data, and structure your workflow to minimize unnecessary processing in the main response path.