The prompt is not being executed

Hello! My goal is to use Google Forms to collect information from my clients and then use n8n to automate the processing of this information.

My workflow involves:

  1. Collecting data through Google Forms.
  2. Using n8n to read the Google Sheets spreadsheet with the responses from my clients.
  3. Applying a specific prompt (with defined functions and objectives) to analyze and process the data provided through the questionnaire in the form.
  4. Creating a new spreadsheet with the processed information after executing the prompt.

Currently, my workflow reads and updates the spreadsheets, but the issue is that the prompt is not being executed correctly; the prompt is simply being rewritten in the new spreadsheet instead of processing the data and writing the analysis that should be executed.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Today I started testing different configurations for the OpenAI node. But without success

Welcome to the community @sergio_eduardo_flore :tada:
Thanks for posting and sorry to hear that you’re having issues with this. You’ve posted a link to your instance but the community won’t have access to it so could you share your exported workflow JSON instead? You can do that by copy & pasting the workflow JSON in between two ``` (see docs for more details)!

1 Like

Thank you very much for the answer! I was able to share my Workflow.

1 Like

Hi @sergio_eduardo_flore, thanks for sharing your workflow! From a quick look, it looks like you’re using the OpenAI node to create an assistant, which will create an assistant every time there’s a new survey entry (which I assume is not what you’re looking for here).

I think there are a few ways to go about this but here are some suggestions:

You can create an assistant (e.g. to analyze and summarise survey data) and then use another OpenAI node to message that assistant with specific instructions for every survey entry in Google Form.

You can also use the Message a Model Operation instead, here’s an example using dummy data:

You can also check out some other AI nodes that might be useful in your use case:

Hope that helps!

4 Likes

thank you very much! I was able to work on your answer.

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