Darkwood Blog Blog
  • Artikel
  • Auto
  • Releases
de
  • en
  • fr
Anmeldung
  • Blog
  • Artikel
  • Auto
  • Releases

How I Connected Cursor to Slack to Automate My AI Workflows

vom 29. Juni 2025

Anmelden um auf diesen Beitrag zu reagieren

โ€œ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

Anmelden um auf diesen Beitrag zu reagieren

Site

  • Sitemap
  • Kontakt
  • Impressum

Network

  • Hello
  • Blog
  • Apps
  • Photos

Social

Darkwood 2026, alle Rechte vorbehalten