Blog
  • Login

  • Login
  • Register
  • Blog

  • Articles
  • fr
  • de

How I Connected Cursor to Slack to Automate My AI Workflows

on June 29, 2025

“Write me a Symfony app.” That’s all it takes — if you say it to Cursor inside Slack. But what if you want to automate that request?

In this article, I’ll show you how I integrated Cursor, the AI-powered IDE, directly into Slack, and then went one step further by building a custom Slack app in Symfony to automate those interactions. Finally, I’ll show how I used Flow, my functional orchestration system, to scale the whole process.

🧠 Why Connect Cursor to Slack?

Cursor recently introduced a native Slack integration: you can now simply write @Cursor fix the login bug in a channel, and it will launch a background agent that:

  • Reads the conversation context
  • Applies fixes to your repo
  • Creates a pull request on GitHub

It’s magical — especially for fast-paced teams working in Slack all day.

Official docs: https://docs.cursor.com/slack

⚙️ Connect Cursor to Slack

From your Cursor dashboard:

  1. Go to Integrations
  2. Click Connect Slack
  3. Choose a repo, configure your default settings
  4. You’re done — now just mention @Cursor in Slack!

From there, you can use commands like:

@Cursor settings
@Cursor list my agents
@Cursor [repo=my-org/project, branch=main] fix validation

It’s already powerful. But what if you want to automate it?

🛠️ Build a Slack App with Symfony

To automate Slack messages, I created a custom Slack app with OAuth 2.0. The app retrieves a user token (xoxp-...) that allows my Symfony backend to:

  • List Slack conversations
  • Post messages
  • Retrieve users (to mention @Cursor by ID)

Using ngrok to expose my local server, I implemented an OAuth callback in Symfony and configured the Slack app with:

  • chat:write
  • channels:read
  • users:read

👉 Full code available here: 📦 https://github.com/matyo91/cursor-slack-symfony

🤖 Automate with Flow

Cursor only responds to human mentions of @Cursor. Slack does not yet allow bots to trigger app mentions like that.

But here’s the workaround: I used Flow, my automation orchestrator (built in Symfony), to:

  • List Slack channels
  • Identify the right one (e.g. #social)
  • Find the user ID for Cursor
  • Format the message (<@UXXXXXXX> write me a Hello World in PHP)
  • Post the message using a real user token

🚀 What’s Next? Try It with Uniflow

If you’re tired of cobbling scripts together, you can build this kind of automation visually using Uniflow — my no-code tool for developers.

With Uniflow, you can:

  • Automate Slack flows without writing boilerplate
  • Chain events between GitHub, Slack, Notion, and more
  • Deploy orchestrations with logs, retries, and conditionals

💡 I use Flow as the core engine in Uniflow. So if you like this article, you’ll love what we’re building at https://uniflow.io

🧪 Want to Try It?

Check out the full source code for the Slack + Cursor integration on GitHub: 👉 https://github.com/matyo91/cursor-slack-symfony

And if you’d rather click than code, head over to: 🌐 https://uniflow.io

  • Sitemap - Hello - Blog - Apps - Photos - Contact - - - - - Legal mentions - Darkwood 2025, all rights reserved