Automate Client Feedback Analysis with n8n and AI

This n8n workflow automates the process of analyzing client feedback by using AI to summarize positives, suggest improvements, and create social media posts, saving teams hours of manual work and ensuring consistent communication.
webhook
function
httpRequest
+2
Workflow Identifier: 1794
NODES in Use: Webhook, Function, HTTP Request, Email Send, Telegram
Automate client feedback with n8n and AI

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow gets client feedback from a web request and uses AI to analyze it quickly.
A summary of good points and improvements is made.
Also, it creates a short social media post draft.
The workflow then emails the summary to the team and sends the post draft to Telegram.
This saves hours of manual work reading feedback.

Input is client feedback sent as a POST request.
Processing includes building an AI prompt, calling an AI service, and splitting the AI output.
Output is an email report and a Telegram message.


Who Should Use This Workflow

This workflow fits people who handle many client feedback messages weekly.
It helps customer experience managers, marketing teams, or anyone who wants to quickly get insights from feedback.
Users who want to avoid manual reading and save time will benefit.


Tools and Services Used

  • n8n Workflow Automation: Runs the nodes and connections.
  • HTTP Webhook node: Receives client feedback via POST.
  • Function node: Prepares AI prompt and formats AI output.
  • HTTP Request node: Calls AI API (DeepSeek or similar).
  • Email Send node: Sends the feedback summary to the team.
  • Telegram node: Sends social media draft to Telegram chat.

Also needs configured accounts for AI API, email SMTP, and Telegram bot.


Beginner Step-by-Step: How To Use This Workflow in Production

Step 1: Import the Workflow

  1. Download the workflow file from the provided Download button.
  2. In the n8n Editor, click the top-right menu.
  3. Select “Import from File” and upload the downloaded workflow.

Step 2: Configure Credentials and Settings

  1. Add your AI API credentials in the Analyze with AI
  2. Set your email account in the Send Feedback Report node.
  3. Update the Telegram Bot token and Chat ID in the Send Social Draft node.
  4. If needed, change email addresses, chat IDs, or URLs inside nodes.

Step 3: Run a Test

  1. Manually send a POST request to the webhook URL with JSON containing a “feedback” field.
  2. Check the results in the Email and Telegram outputs.

Step 4: Activate the Workflow

  1. Turn on the active toggle in the n8n editor to run this in production.
  2. Monitor workflow executions periodically for errors.

If using self-host n8n instead of cloud, verify server setup and credentials for reliability.
See self-host n8n resources.


Inputs, Processing, and Outputs Explained

Inputs

The only input is client feedback sent as a JSON POST request to the webhook URL.
The key JSON field to provide is “feedback” with the feedback text.

Processing

  1. The Webhook node gets the feedback.
  2. The Prepare AI Prompt Function node extracts the feedback text and builds a prompt asking AI for a summary, suggestions, and social post.
  3. The Analyze with AI HTTP Request node sends the prompt to DeepSeek or another AI API.
  4. The Format AI Output Function node splits the AI text into a summary report and a social media post.

Outputs

  1. The Send Feedback Report Email node sends the summary to the internal team.
  2. The Send Social Draft Telegram node sends the social media draft to a Telegram chat.

Customization Ideas

  • Add more feedback categories by changing the AI prompt in the Prepare AI Prompt node.
  • Switch AI services by adjusting the HTTP Request node with new API URL and keys.
  • Replace the Email Send node with Slack or other messaging tool.
  • Improve Telegram messages by adding inline keyboards for approvals.

Troubleshooting Common Issues

  • If the workflow does not start, check the Webhook node for correct POST method and exact path.
  • If the AI API returns errors or empty output, verify API Key and JSON body format.
  • If emails fail to send, double-check SMTP credentials and email settings.
  • If Telegram messages do not appear, confirm Bot Token and Chat ID are correct.

Pre-Production Validation

  • Send sample POST JSON with a “feedback” field to test webhook triggering.
  • Check AI response format matches the parsing logic.
  • Verify emails deliver correctly with proper formatting.
  • Send Telegram test messages to confirm chat permissions.
  • Export backup of the workflow before live use.

Conclusion

This workflow quickly turns client feedback into clear insights.
It summarizes positives, lists improvements, and drafts social posts automatically.
It saves near 5 hours weekly by cutting manual reading.
You get faster team updates and quicker social media content ready.
Try extending it with CRM tagging or scheduling posts.


Code and Prompt Examples

Here is the code used in the Prepare AI Prompt node to build the AI request:

const feedback = $json.feedback || "No feedback provided.";
return [{
  json: {
    prompt: `Analyze this client feedback: "${feedback}"

1. Summarize the positive points.
2. Suggest improvements.
3. Generate a short social media post based on the positive elements.`
  }
}];

It pulls “feedback” field and structures a simple three-part prompt for AI.

Next, the Format AI Output node splits AI reply text:

const output = $json.response || $json.choices?.[0]?.text || "No AI output.";
const splitIndex = output.indexOf("3.");
let summary = output;
let post = "No post generated.";

if (splitIndex !== -1) {
  summary = output.substring(0, splitIndex).trim();
  post = output.substring(splitIndex).replace(/^3\./, "").trim();
}

return [{
  json: {
    report: summary,
    post: post
  }
}];

This divides numbered AI responses into report and post segments.


Sample Webhook Test JSON

Use this JSON in your HTTP POST request to test the webhook:

{
  "feedback": "The client loved the quick response and creative ideas but wants better reporting features."
}

This triggers the full workflow and AI analysis.


Summary of Benefits and Results

→ Get fast, clear feedback summaries and suggestions.
→ Save about 5 hours weekly from manual reading.
→ Create social media drafts directly from feedback.
→ Deliver updates to team by email instantly.
→ Share social post drafts on Telegram quickly.


Automate client feedback with n8n and AI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes. Change the HTTP Request node to OpenAI API URL and update the API Key. Adjust prompt if needed.
Incorrect webhook path or HTTP method. The Webhook node must match the exact POST method and path.
SMTP credentials may be wrong or blocked. Confirm email server settings and test SMTP separately.
Security depends on properly configured n8n instance, secure API Keys, and network protections.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.