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
Automate Slack events with n8n and AI agents

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

Learn how to Build this Workflow with AI:

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.


Automate Slack events with n8n and AI agents

Visit through Desktop to Interact with the Workflow.

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 Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.