Trouble Sending Files via Webhook to GPT-4 for Sales Analytics Saas

I’m working on a SaaS product for the e-commerce segment, and I’m facing difficulties sending files through a webhook to GPT-4.
Context:
Our automations are locally hosted webhooks.
The webhooks send data to GPT-4, and the response is sent back to the webhook (Respond to Webhook) to display the analysis on the frontend.
The goal is to process and analyze sales data from a spreadsheet (sales analytics).
Problem:
Currently, GPT-4 suggests transforming the data into CSV before sending, but this approach is not practical. Even with just ~500 rows (which we consider relatively small), the process takes more than 10 minutes to complete.
Question:
Has anyone found a more efficient way to send structured data from n8n webhooks to GPT-4 for analysis? Ideally, I’m looking for a simpler, faster approach to handle sales spreadsheets without long delays.
Thanks in advance for any insights!way to find solutions is by using the :magnifying_glass_tilted_right: search function at the upper right.
If your question hasn’t been asked before, please follow the template below. Skip the questions that are not relevant to you. →

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:lastest
  • Database (default: SQLite):default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): auto host desktop by cmd
  • Operating system: w11

Hi @Rodrigo_Bariani ,

did you already try the openAI node with action: “Message a model”
I think it is not neccessary to use the AI-Agent node for that job.
Because it is a simple text interaction job for chatGPT.

1 Like

But how to send archives to GPT? do i have to host it locally?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.