Organise an Event using Slack, Google Calendar and AI
This n8n workflow takes Slack conversations and turns them into Calendar events complete with accurate date and times and location information. Adding and removing attendees are also managed automatically.
How it works
- Workflow monitors a Slack channel for invite messages with a "π " reaction and sends this to the AI agent.
- AI agent parses the message determining the time, date and location.
- Using its Location tool, the AI agent searches for the precise location address from Google Maps.
- Using its Calendar tool, the AI agent creates a Google Calendar invite with the title, description and location address for the user.
- Back in the Slack channel, others can RSVP to the invite by reacting with the "β " emjoi.
- The workflow polls the message after a while and adds the users who have reacted to the Calendar Invite as attendees. Conversely, removing any attendees who have since removed their reaction.
Examples
Jill: "Hey team, I'm organising a round of Laser Tag (Bunker 51) next Thursday around 6pm. Please RSVP with a β "
AI: "I've helped you create an event in your calendar https://cal.google.com/..."
Jack: "β "
AI: "I've added Jack to the event as an attendee".
Requirements
- Slack channel to attach the workflow
- OpenAI account to use a GPT model
- Google Calendar to create and update events
Customising the Workflow
This workflow can work with other messaging platforms that support reactions or tagging like features such as discord. Don't use Google Calendar? Swap it out for Outlook or your own.
Use any combinations of emjoi reactions and add new rules like "RSVP maybe" which could send reminder updates nearer the event date.
n8n Event Organization Workflow with Slack, Google Calendar, and AI
This n8n workflow streamlines the process of organizing events by integrating Slack, Google Calendar, and AI capabilities. It allows you to define events in a structured format and automatically creates calendar entries and Slack reminders, leveraging AI for intelligent event summarization and scheduling.
What it does
This workflow automates the following steps:
- Triggers on Schedule: The workflow is designed to run on a schedule (e.g., daily, weekly).
- Filters for Specific Events: It includes a filter to process only relevant event data, likely based on certain criteria or keywords.
- Prepares Event Data: An "Edit Fields" node (Set) is used to transform and standardize the incoming event data, ensuring it's in the correct format for subsequent nodes.
- Generates AI-Powered Event Details: An "AI Agent" node (LangChain) is configured to interact with an "OpenAI Chat Model" and utilize "SerpApi (Google Search)" and "Wikipedia" tools. This suggests the AI agent is used to:
- Enrich event descriptions.
- Suggest optimal timings or locations based on search results.
- Summarize event details for different platforms.
- Potentially extract key information from unstructured text.
- Parses AI Output: A "Structured Output Parser" node (LangChain) is used to extract structured information (e.g., event title, date, description) from the AI agent's output.
- Creates Google Calendar Events: It creates new events in Google Calendar based on the processed and AI-enhanced event details.
- Posts Slack Notifications: It sends notifications or reminders to a specified Slack channel with event details.
- Handles Multiple Events: The "Split Out" node suggests that the workflow can process multiple event items, creating individual calendar entries and Slack messages for each.
- Conditional Logic: An "If" node is present, indicating that certain actions might be conditional based on the AI's output or other data points, allowing for dynamic branching in the workflow.
Prerequisites/Requirements
To use this workflow, you will need:
- n8n Instance: A running n8n instance.
- Slack Account: Configured with an n8n Slack credential.
- Google Calendar Account: Configured with an n8n Google Calendar credential (OAuth 2.0 recommended).
- OpenAI API Key: For the OpenAI Chat Model.
- SerpApi API Key: For the SerpApi (Google Search) tool.
- Wikipedia Tool: This is a built-in LangChain tool, but ensure it's properly configured within the AI Agent.
Setup/Usage
- Import the workflow: Download the JSON provided and import it into your n8n instance.
- Configure Credentials:
- Set up your Slack credential.
- Set up your Google Calendar credential.
- Set up your OpenAI credential.
- Set up your SerpApi credential.
- Customize Nodes:
- Schedule Trigger: Adjust the schedule to your desired frequency (e.g., daily, weekly).
- Filter: Modify the conditions in the "Filter" node to match your specific event filtering logic.
- Edit Fields: Ensure the "Edit Fields" node correctly maps and transforms your incoming event data.
- AI Agent: Review the prompt and tools used by the "AI Agent" to ensure it aligns with how you want the AI to process and enrich your event information.
- Structured Output Parser: Verify the schema in the "Structured Output Parser" matches the expected output from your AI agent.
- Google Calendar: Configure the calendar ID and event details (summary, start date, end date, description) using expressions from the previous nodes.
- Slack: Customize the Slack channel and message content for notifications.
- Activate the workflow: Once configured, activate the workflow to start automating your event organization.
Related Templates
AI-powered code review with linting, red-marked corrections in Google Sheets & Slack
Advanced Code Review Automation (AI + Lint + Slack) Whoβs it for For software engineers, QA teams, and tech leads who want to automate intelligent code reviews with both AI-driven suggestions and rule-based linting β all managed in Google Sheets with instant Slack summaries. How it works This workflow performs a two-layer review system: Lint Check: Runs a lightweight static analysis to find common issues (e.g., use of var, console.log, unbalanced braces). AI Review: Sends valid code to Gemini AI, which provides human-like review feedback with severity classification (Critical, Major, Minor) and visual highlights (red/orange tags). Formatter: Combines lint and AI results, calculating an overall score (0β10). Aggregator: Summarizes results for quick comparison. Google Sheets Writer: Appends results to your review log. Slack Notification: Posts a concise summary (e.g., number of issues and average score) to your teamβs channel. How to set up Connect Google Sheets and Slack credentials in n8n. Replace placeholders (<YOURSPREADSHEETID>, <YOURSHEETGIDORNAME>, <YOURSLACKCHANNEL_ID>). Adjust the AI review prompt or lint rules as needed. Activate the workflow β reviews will start automatically whenever new code is added to the sheet. Requirements Google Sheets and Slack integrations enabled A configured AI node (Gemini, OpenAI, or compatible) Proper permissions to write to your target Google Sheet How to customize Add more linting rules (naming conventions, spacing, forbidden APIs) Extend the AI prompt for project-specific guidelines Customize the Slack message formatting Export analytics to a dashboard (e.g., Notion or Data Studio) Why itβs valuable This workflow brings realistic, team-oriented AI-assisted code review to n8n β combining the speed of automated linting with the nuance of human-style feedback. It saves time, improves code quality, and keeps your teamβs review history transparent and centralized.
Generate Weather-Based Date Itineraries with Google Places, OpenRouter AI, and Slack
π§© What this template does This workflow builds a 120-minute local date course around your starting point by querying Google Places for nearby spots, selecting the top candidates, fetching real-time weather data, letting an AI generate a matching emoji, and drafting a friendly itinerary summary with an LLM in both English and Japanese. It then posts the full bilingual plan with a walking route link and weather emoji to Slack. π₯ Who itβs for Makers and teams who want a plug-and-play bilingual local itinerary generator with weather awareness β no custom code required. βοΈ How it works Trigger β Manual (or schedule/webhook). Discovery β Google Places nearby search within a configurable radius. Selection β Rank by rating and pick the top 3. Weather β Fetch current weather (via OpenWeatherMap). Emoji β Use an AI model to match the weather with an emoji π€οΈ. Planning β An LLM writes the itinerary in Markdown (JP + EN). Route β Compose a Google Maps walking route URL. Share β Post the bilingual itinerary, route link, and weather emoji to Slack. π§° Requirements n8n (Cloud or self-hosted) Google Maps Platform (Places API) OpenWeatherMap API key Slack Bot (chat:write) LLM provider (e.g., OpenRouter or DeepL for translation) π Setup (quick) Open Set β Fields: Config and fill in coords/radius/time limit. Connect Credentials for Google, OpenWeatherMap, Slack, and your LLM. Test the workflow and confirm the bilingual plan + weather emoji appear in Slack. π Customize Adjust ranking filters (type, min rating). Modify translation settings (target language or tone). Change output layout (side-by-side vs separated). Tune emoji logic or travel mode. Add error handling, retries, or logging for production use.
AI-powered document search with Oracle and ONNX embeddings for recruiting
How it works Create a user for doing Hybrid Search. Clear Existing Data, if present. Add Documents into the table. Create a hybrid index. Run Semantic search on the Documents table for "prioritize teamwork and leadership experience". Run Hybrid search for the text input in the Chat interface on the Documents table. Setup Steps Download the ONNX model allMiniLML12v2augmented.zip Extract the ZIP file on the database server into a directory, for example /opt/oracle/onnx. After extraction, the folder contents should look like: bash bash-4.4$ pwd /opt/oracle/onnx bash-4.4$ ls allMiniLML12_v2.onnx Connect as SYSDBA and create the DBA user sql -- Create DBA user CREATE USER app_admin IDENTIFIED BY "StrongPassword123" DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp QUOTA UNLIMITED ON users; -- Grant privileges GRANT DBA TO app_admin; GRANT CREATE TABLESPACE, ALTER TABLESPACE, DROP TABLESPACE TO app_admin; Create n8n Oracle DB credentials hybridsearchuser β for hybrid search operations dbadocuser β for DBA setup (user and tablespace creation) Run the workflow Click the manual Trigger It displays Pure semantic search results. Enter search text in Chat interface It displays results for vector and keyword search. Note The workflow currently creates the hybrid search user, docuser with the password visible in plain text inside the n8n Execute SQL node. For better security, consider performing the user creation manually outside n8n. Oracle 23ai or 26ai Database has to be used. Reference Hybrid Search End-End Example