Gmail support replies from Pinecone
Answers Gmail support mail from a Pinecone knowledge base. This n8n template listens for new incoming Gmail messages and classifies each one using AI as either Customer Support or Other. For support mail, an AI agent searches a Pinecone knowledge base for FAQs and policies and generates a helpful, polite and detailed reply with an OpenRouter model. OpenAI is used for embeddings. The drafted email is automatically sent back to the customer. The example reply signs off as a sample persona from a sample company, which you replace. Setup needs Gmail OAuth2, OpenRouter, OpenAI and Pinecone credentials. It suits teams with FAQs and policies to load.
Steps
- Trigger: Gmail trigger listens for new messagesGmail
- AI classifies: Customer Support or OtherOpenRouter
If Other, the workflow stops. - AI agent searches the Pinecone knowledge basePinecone
FAQs and policies. - Generates a reply with an OpenRouter modelOpenRouter
- Output: Reply sent back to the customer in GmailGmail
Limits
- The example reply signs off as a sample persona.
- The drafted email is sent to the customer automatically.
What it does well
- Replies draw on a Pinecone knowledge base of FAQs and policies.
Before you import
You need: Gmail OAuth2, OpenRouter API, OpenAI API, Pinecone API.
Similar templates
Gmail replies with HubSpot context
Also for customer support, 7 steps.
Support ticket triage with Claude
Also for customer support, 10 steps.
HubSpot tickets to Jira with GPT
Also for customer support, 8 steps.
Gmail and OpenRouter: 6 templates compared
Same two apps, different steps.
Sort incoming requests
Other templates that do this task.