Hello n8n community,
I’m seeking assistance in building an n8n workflow to automatically reply to 4 and 5-star Google Business Profile reviews. I’m running n8n version 1.79.3 locally via Docker, along with Postgres and Qdrant in Docker containers. I also have Ollama running bare metal and access to Gemini. I have Google Business Profile OAuth credentials but am currently waiting for my API quota to be raised from 0.
Desired Workflow Functionality:
- Core Functionality:
- Trigger: Schedule to check for new reviews daily.
- Fetch Reviews: Retrieve new Google Business Profile reviews (currently using an HTTP Request node, but API quota is limiting progress).
- Filter Reviews: Filter for reviews with a 4 or 5-star rating.
- Generate Personalized Replies: Utilize an LLM (ideally via the AI Agent node) to create personalized replies for each filtered review.
- Automated Reply: [Assuming a node will be added here to post replies once API access is granted]
- Nice-to-Have Functionality:
- Worker Name Notification: Email notification to me whenever a worker’s name is used in a generated reply. This is to allow manual review for correct spelling of worker names.
- Separate Monthly Workflow (Optional):
- Positive Worker Mention Tracking: A separate workflow to count positive mentions of each worker in reviews over a month for recognition purposes. Ideally, this could provide a monthly summary.
Where I Need Help:
I’m relatively new to n8n (a few weeks of experience) and am facing challenges, particularly with integrating the AI Agent node. Specifically, I’m looking for advice on:
- AI Agent Node Configuration: Best practices for configuring the AI Agent node to generate personalized and appropriate replies to reviews. Guidance on prompt engineering within the AI Agent node for this use case would be very helpful.
- Workflow Structure: Recommendations for the overall workflow structure, especially concerning the integration of the LLM for reply generation. I’m currently unsure how to proceed after filtering the reviews to effectively use the AI Agent.
- Software Suggestions: Are there any other Docker-based tools or n8n integrations that could be beneficial for this workflow, particularly for enhancing the LLM’s ability to create personalized and relevant replies?
Current Progress:
I have set up a scheduled trigger and an HTTP Request node (though currently broke by API quota of 0). I also have a filter node in place to isolate 4 and 5-star reviews. I am now stuck on how to effectively utilize the AI Agent node to generate the replies.
I am open to any suggestions and happy to provide further information. Thank you in advance for your assistance!