Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Automate Gmail and Slack Knowledge Support
10
Views
0
Downloads
39
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
Operations
Automation Orchestrator
n8n
Integrations
Webhook.site
Slack
Pinecone
OpenAI
Google Calendar
Gmail
Anthropic
Trigger Type
Webhook
On app event
Approx setup time ≈ 85 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Automate Gmail and Slack Knowledge Support?

Leon Petrou
FREE TEMPLATE
Automate Gmail and Slack Knowledge Support
10
Views
0
Downloads
39
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
Operations
Automation Orchestrator
n8n
Integrations
Webhook.site
Slack
Pinecone
OpenAI
Google Calendar
Gmail
Anthropic
Trigger Type
Webhook
On app event
Approximate setup time ≈ 85 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

Email sorting, document Q&A, and meeting booking all run in one flow. Teams use it to route messages, answer questions from PDFs, and schedule time without back and forth. It fits operations and support teams that work in Gmail and Slack.

Incoming emails trigger an AI labeler that adds the right Gmail labels. A webhook can also push key details into Slack so the team sees updates fast. A PDF loader downloads files, splits the text, and stores vector data in Pinecone. A chat entry listens for questions, searches the vector store, and replies using an OpenAI model. For scheduling, a chat agent with memory uses an Anthropic model and calendar tools to check free slots and create events.

Set up Gmail, Slack, OpenAI, Anthropic, Pinecone, and calendar access. Expect big time savings: email triage drops to minutes, Q&A pulls trusted answers from your own files, and booking runs by itself. Use it for inbox routing, policy or whitepaper Q&A, and hands off meeting booking from chat.

Copy link

Tools Required

Webhook.site
Sign up
Free tier: $0, public API available; free URLs expire after 7 days and accept up to 100 requests
Slack
Sign up
Free plan: $0 / mo; limited to 10 apps (third-party or custom) and usable via Slack API
Pinecone
Sign up
Starter (Free): $0 / mo; includes 2 GB storage, 2M write units / mo, 1M read units / mo, up to 5 indexes; API access.
OpenAI
Sign up
Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens
n8n
Sign up
$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.
Google Calendar
Sign up
Free: $0; all Google Calendar API usage is at no additional cost; quota limits apply (no charges for overages).
Gmail
Sign up
No cost: Personal Gmail (Gmail API has no usage-based pricing; quotas apply)
Anthropic
Sign up
Pay-as-you-go: Claude 3 Haiku at $0.25 per 1M input tokens and $1.25 per 1M output tokens

What this workflow does?

  • Gmail trigger captures new emails and passes content to an AI labeler.
  • OpenAI model classifies email topics and the flow applies matching Gmail labels.
  • Webhook input routes data and posts structured updates to a Slack channel.
  • PDF loader and text splitter prepare documents for search by creating chunks.
  • OpenAI embeddings store vectors in Pinecone for fast and relevant retrieval.
  • Chat trigger connects user questions to a retrieval QA chain for precise answers.
  • Anthropic chat model powers a booking agent that understands user requests.
  • Calendar tools check availability and create events without manual steps.
  • Conversation memory keeps context so the agent can follow multi step requests.

What are the benefits?

  • Reduce manual email triage from 2 hours a day to 10 minutes with AI labels.
  • Cut time spent answering document questions by up to 80% using chat over your PDFs.
  • Improve label accuracy by up to 90% compared to manual tagging.
  • Handle up to 5 times more requests with chat driven scheduling and Q&A.
  • Connect Gmail, Slack, Pinecone, and calendars in one orchestration.
  • Lower context switching by sending key alerts directly into Slack.

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Gmail, Slack, OpenAI, Anthropic, Pinecone, Google Calendar and Webhook.site. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create a Gmail OAuth2 credential. Connect it to the Gmail trigger and labeling nodes. Make sure the Gmail API is enabled for your Google account.
  4. Create a Slack OAuth2 credential. Open the Slack Send message node and select your workspace and the target channel. Test with a simple text message.
  5. Create an OpenAI API Key credential. Attach it to the OpenAI Chat Model and Embeddings nodes. Choose a supported model and keep temperature low for consistent results.
  6. Create an Anthropic API Key credential. Attach it to the Anthropic Chat Model node used by the booking agent.
  7. Set up Pinecone: create an index in your Pinecone dashboard. In n8n, add a Pinecone API Key credential, then open the Insert into Pinecone and Read Pinecone nodes to set index name, environment, and namespace. Ensure the embedding dimension matches your chosen embeddings model.
  8. Connect Google Calendar with an OAuth2 credential. Open the Get calendar availability and Book appointment tools and select your calendar. Pick the correct time zone.
  9. Open the Webhook node and copy its URL. Send a test request from Webhook.site or Postman that includes a query.email value. Confirm a Slack message appears in the chosen channel.
  10. Prepare your documents: in the PDFs to download section, provide a file_url and any helpful metadata. Run the path through Download PDF to Insert into Pinecone and confirm new vectors appear in your Pinecone dashboard.
  11. Start the chat entry: enable the chat trigger endpoint and open the chat interface. Ask a question covered by your PDF and confirm the answer references the right content.
  12. Send a test email to the connected Gmail inbox. Check that the Assign label with AI node classifies the message and the flow applies the correct Gmail label.
  13. Ask the chat to find a time and book a meeting. Verify Get calendar availability runs and the event is created in Google Calendar.
  14. Troubleshoot common issues: fix 401 errors by rechecking API keys, adjust Pinecone dimensions to match your embedding model, reauthorize Gmail or Slack if triggers do not fire, and verify channel IDs and calendar selection.

Need help or want to customize this?

Similar Templates

n8n
Operations
Automate Gmail Flight Price Alerts
Get daily flight deal alerts sent straight to your inbox. It watches your route and only emails you when the ticket price is at or below your target. Ideal for travel coordinators, office managers, and anyone booking company trips. Each morning a schedule runs, loads your origin and destination, and fetches airline data from Amadeus to show real carrier names. A code step creates future dates to search, by default 7 and 14 days out. The system loops through each date and calls the Amadeus flight offers API, pausing briefly between calls to respect limits. Results are merged and cleaned, key fields like price, time, duration, and carriers are extracted, and only fares under your price move forward to Gmail for a clear, easy to read alert. Set your airports in the FromTo node, tweak the day offsets in Get Dates, and choose your price target in the Under Price filter. Expect to replace manual checks with one scheduled run and act quickly when good fares show up. Most teams save 20 to 30 minutes a day and avoid missing short lived price drops. Great for controlling travel costs without monitoring sites all day.
6 views
view
n8n
Operations
Automate Gmail to Todoist Task Management
Turn important emails into clear Todoist tasks without copy and paste. The flow watches your Gmail inbox, builds a task when a new or starred email appears, and adds a short summary with next steps and a draft reply. It also closes the task when you remove the star from the email, so your list stays clean. On a schedule or when new mail arrives, it reads unread and starred messages from Gmail. New unread items can be marked as read and starred to show they need action. The flow checks open Todoist tasks and matches them to email subjects. If no match exists, it pulls the full message, sends it to OpenAI to create structured fields content, description, actions, and answer, then creates a Todoist task with that detail. A guard step checks the AI output before creating the task. Another path detects emails that lost the star and closes the linked Todoist task. To run it, connect Gmail, your email IMAP inbox, Todoist, and an OpenAI key. Pick the Todoist project where new tasks should go and adjust the optional read and star actions if you prefer different inbox rules. Teams that triage support or sales email will cut manual entry and miss fewer follow ups, often saving an hour a day.
11 views
view
n8n
Operations
Automate Gmail Spam Cleanup Alerts
Keep your Gmail inbox clean without constant manual sorting. The flow reviews older messages, removes marketing and spam, and sends you quick updates in Telegram. It suits busy teams and solo users who get too much promo mail and want less noise. It runs on demand from n8n. Emails are pulled from Gmail in 14 day chunks using a smart date filter, so large inboxes are handled in manageable windows. Google Gemini scores each email with decimal confidence for unwanted, marketing, and spam, and returns a short reason plus the email ID and sender. If the scores signal unwanted content, the message is deleted and a Telegram alert shows the sender and reason. If it looks safe, a keep label is added in Gmail and you receive a skip notice. AI errors are also posted to Telegram, so you always know what happened. You need Gmail access, a Telegram bot, and a Google Gemini API key. Set your Telegram chat ID and tune the confidence thresholds to match your risk level. Expect weekly inbox cleanup time to drop from hours to minutes while staying in control through clear alerts. You can add a schedule later with a Cron trigger to run this clean up daily.
0 views
view
See More Templates

These templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution.Where an original author was identified, attribution has been provided. Some templates did not include author information. If you know who created this template, please let us know so we can add the appropriate credit and reference link. If you are the author and would like this template removed from the library, email us at info@futurise.com and we will remove it promptly.