Automate Slack Event Invites with n8n & AI Agents

This workflow automates creating and managing calendar events from Slack invite messages using n8n, Slack and Google Calendar, powered by AI agents. It saves hours weekly in manual event planning and attendee management.
slack
googleCalendar
agent
+11
Workflow Identifier: 1197
NODES in Use: Schedule Trigger, Slack, Code, If, Calendar Event Booking Agent, OpenAI Chat Model, SerpAPI, Wikipedia, Structured Output Parser, Google Calendar, Split Out, Filter, Set, Sticky Note

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow watches a Slack channel for new event invites marked with a calendar emoji 📅.

It reads those invites, uses AI to find event titles, times, and locations, and then creates Google Calendar events automatically.

It also checks if events already exist to avoid duplicates, and if users react with a ✅ emoji, it adds them as attendees to the event.

The workflow posts replies in Slack to confirm event creation or attendee additions.


Who should use this workflow

This automation suits anyone who manages event invites shared in Slack and needs to keep Google Calendar updated without manual work.

If tracking event details and attendees manually feels slow or error-prone, this workflow helps save time and reduce mistakes.


Tools and services used


Beginner step-by-step: How to use this workflow in n8n

1. Importing the workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor you already have access to.
  3. Use the “Import from File” option to load the workflow into n8n.

2. Configuring credentials and settings

  1. Add or connect your Slack app credentials with all required permissions.
  2. Set up Google Calendar credentials with write access to the target calendar.
  3. Enter your OpenAI API Key for the AI agent node.
  4. Provide SerpAPI API Key for location lookup.
  5. Check and update Slack channel IDs, calendar IDs, emails, or any other specific values in the nodes.
  6. Copy and paste any prompt text or code from nodes if needed for adjusting parsing or messages.

3. Testing and activating

  1. Run the workflow manually once to confirm it can find Slack messages and create calendar events.
  2. Check replies in Slack threads to see confirmation messages with event links.
  3. React to an invite message with the ✅ emoji to test attendee addition.
  4. When satisfied, toggle the workflow to active to run automatically on schedule.

If using self-host n8n, consider checking self-host n8n resources for deployment help.


Workflow inputs, processing, and outputs

Inputs

  • Slack channel messages containing calendar emoji (📅).
  • Replies and reactions to those messages.

Processing steps

  • Search Slack for new event invites every 30 minutes via the Schedule Trigger and Slack Search nodes.
  • Fetch replies to event invite messages to track conversation and event ID tags.
  • Use a Code node to detect if an event already exists linked in Slack thread.
  • If no event exists, call the AI agent (OpenAI + LangChain) to extract event title, times, location, and event type.
  • Use SerpAPI within AI to retrieve exact location URL and address.
  • Create the event in Google Calendar with the parsed details.
  • Post a reply in Slack thread confirming event creation and tagging event ID to avoid duplicate handling.
  • If event exists, get event details and check Slack reactions.
  • Filter users who reacted with ✅ emoji and fetch their email addresses from Slack profiles.
  • Check if these emails are already attendees; if not, add them to the Google Calendar event.
  • Post Slack replies confirming attendee additions.
  • Process all attendees in a loop to keep event attendee list synced.

Outputs

  • New or updated Google Calendar events with accurate timing and location.
  • Slack replies confirming events are tracked and attendees added.
  • Attendee list in Google Calendar matching Slack reactions.

Edge cases and failure points

  • No Slack messages found: Happens if Slack app lacks permissions or channel ID is wrong. Fix by checking Slack app scopes and channel ID settings.
  • Missing date/time in event: AI bot fails to parse. Fix by improving prompt wording or adding default time fallback.
  • Attendees not added: Email missing or attendee already present on event. Fix by verifying Slack user profile email fields and attendee check logic.

Customization ideas

  • Change Slack channel by editing channelId in the Slack Search node.
  • Adjust default event start time in AI agent prompt if none is specified.
  • Modify default event duration in Google Calendar create node expressions.
  • Use a different emoji for attendee reactions by changing the filter node emoji name.
  • Add Slack notifications tagging users or channels when new events are created.

Summary of benefits and results

✓ Saves time by removing manual event creation from Slack invites.

✓ Reduces errors by using AI to extract event details accurately.

✓ Keeps Google Calendar updated with attendee RSVP from Slack reactions.

✓ Sends Slack replies to inform users about event creation and attendance updates.


Frequently Asked Questions

The Slack app needs permissions to read message history, search messages, get reactions, fetch user info, and post messages.
It checks Slack message threads for special tags containing the event ID posted by previous workflow replies.
The AI agent may fail to create the event; the workflow requires prompts with fallback defaults or manual fixes.
Yes, by changing the filter node emoji name to any chosen reaction, the workflow can recognize different attendance markers.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free