
Curated by n8n Markets team
Last updated: March 8, 2026
This n8n template demonstrates how to automatically process feedback on tasks and procedures using an AI agent. Employees provide feedback after completing a task, which is then analyzed by the AI to suggest improvements to the underlying procedures. Improvements can be to update how to execute a single tasks or to split or merge tasks within a procedure. The management reviews decides whether to implement those improvements. This makes it easy to close the loop between execution, feedback, and continuous process improvement. Use cases are many: - Marketing (improve the process of approving advertising content) - Finance (optimize the process of expense reimbursement) - Operations (refine the process of equipment maintenance) ## Good to know - The automation is based on the Baserow template for handling [Standard Operating Procedures](https://baserow.io/templates/standard-operating-procedures). However, it can also be implemented in other databases. - Baserow authentication is done through a database token. Check the [documentation](https://baserow.io/user-docs/personal-api-tokens) on how to create such a token. - Tasks are inserted using the HTTP request node instead of a dedicated Baserow node. This is to support batch import instead of importing records one by one. ## Requirements - Baserow account (cloud or self-hosted) - The Baserow template for handling [Standard Operating Procedures](https://baserow.io/templates/standard-operating-procedures) or a similar database with the following tables and fields: - `Procedures` table with general procedure information like to name or description . - `Procedures steps` table with all the steps associated with a procedure. - `Tasks` table that contains the actual tasks based on the procedure steps. - must have a field to capture `Feedback` - must have a boolean field to indicate if the feedback has been processed or not. This to avoid that the same feedback keeps getting used. - `Improvement suggestions` table to store the suggestions that were made by the AI agent. ## How it works - Set table and field ids - Stores the ids of the involved Baserow database and tables, together with the information to make requests to the Baserow API - Feedback processing agent The prompt contains a small instruction to check the feedback and suggest improvements to the procedures. The system message is much more extensive to provide as much details and guidance to the agent as possible. It contains the following sections: - Role: giving the agent a clear professional perspective - Goals: allowing the agent to focus on clarity, efficiency and actionable improvements. - Instructions: guiding the agent to a step-by-step flow - Output: showing the agent the expected format and details - Notes: setting guardrails for the agent to make justified and practical suggestions. The agent uses the following nodes: - OpenAI Chat Model (Model): the template uses by default the gpt-4.1 model from OpenAI. But you can replace this with any LLM. - current_procedures (Tool): provides information about all available procedures to the agent - current_procedure steps (Tool): provides information about every step in the procedures to the agent - tasks_feedback (Tool): provides the feedback of the employees to the agent. - Required output schema (Output parser): forces the agent to use a JSON schema that matches the `Improvement suggestions` table structure for the output. This allows to easily add them to the database in the next step. - Create improvement suggestions - Calls the API endpoint `/api/database/rows/table/{table_id}/batch/` to insert multiple records at once in the `Improvement suggestions` table. The inserted records is the output generated by the AI agent. Check the [Baserow API documentation](https://api.baserow.io/api/redoc/#tag/Database-table-rows/operation/batch_create_database_table_rows) for further details. - Get non-processed feedback - Gets all records from the `Tasks` table that contain feedback but that are not marked as processed yet. - Set feedback to processed - Updates the boolean field for each task to true to indicate that the feedback has been processed - Aggregate records for input - Aggregates the data from the previous nodes as an array in a property named `items`. This matches perfect with the Baserow API to insert new records in batch. - Update tasks to processed feedback - Calls the API endpoint `/api/database/rows/table/{table_id}/batch/` to update multiple records at once in the `Tasks` table. The updated records will have their processed field set to true. Check the [Baserow API documentation](https://api.baserow.io/api/redoc/#tag/Database-table-rows/operation/update_database_table_row) for further details. ## How to use - The Manual Trigger node is provided as an example, but you can replace it with other triggers such as a webhook -
n8n instance (self-hosted or cloud). credentials.
1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation
Included in Builder Pro — $19/mo, 4,177 premium workflows
Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.
100% Secure Checkout
Refund requests within 7 days of a new subscription
0 reviews
No reviews yet.
Log in to ask a question.
No questions yet. Be the first to ask!