megachangelog
Feature

Agent context has landed

Agent apps can now receive context about what a user is currently viewing when they send a message, including channels, DMs, threads, canvases, and lists. This context is passed automatically by Slack.

Agent apps can now receive context about what a user is currently viewing when they send a message. When a user has a channel, DM, thread, canvas, or list open and messages your app, Slack will pass that context automatically.

Here's what developers need to know:

  • New event: app_context_changed: Slack will send an app_context_changed event to your app whenever the user's active context changes. The event payload includes an ordered list of entities the user is currently viewing.
  • The app_context is now sent to message.im and app_home_opened events: Slack will also send the app_context to these events if the app is subscribed to the app_context_changed event.

Learn more in the guide to Developing agents.

agentsapicontextapps

Source: original entry ↗

More from Slack

Follow Slack to get its new changes in your feed and email digest.

Announcement4.10.0

Slack CLI v4.10.0 Released

Slack CLI version 4.10.0 is now available, bringing updates and improvements to the developer tools for the Slack platform.

clideveloper-toolsrelease
Feature

Slack Code for developers

Slack Code enables deeper collaboration between humans and agents by allowing agents to create ephemeral channels from existing conversations, giving collaborators a shared workspace for coordinated work.

collaborationagentschannelsworkspace
Announcement4.9.0

Slack CLI v4.9.0 Released

Slack CLI version 4.9.0 is now available with updates and improvements to the command-line tool for building and managing Slack applications.

slack-clireleasetools
See all Slack changes →