

Foyer supports this by providing both an SDK for UI development and a powerful service proxy that dynamically generates the endpoints needed to power your Slack app. Our goal with Foyer is to accelerate development and empower Salesforce developers to use the skills they already have to create Slack apps that seamlessly connect to Salesforce. It’s a whole new way to accomplish work in context of the conversation already in progress.ĭeploying a Slack app generally involves setting up a middleware server (we recommend Heroku) that can accept events generated from Slack via service endpoints, invoking logic, generating UIs by producing Block Kit UI JSON, and interacting with backend systems.

A rich user experience can then be presented on various surfaces, including modals, ephemeral messages (only visible to the user), or channel messages (visible to the whole channel). The app is made up of logic that is triggered by user actions, including system events (a mention, creating a channel, adding a user to a channel, etc.), as well as direct invocations via shortcuts and slash commands. A typical Slack app allows developers to put a social, mobile, and context-aware interface right where people are already having their conversations: Slack. So, while many people are familiar with Slack, Slack apps may be a newer concept. Simplifying how Salesforce Developers build for Slack This is a game-changer that will enable developers to create new kinds of engagement layers in Slack that harness the full power of the Salesforce Platform and their Customer 360 data. It provides an SDK for crafting rich experiences extending Salesforce into Slack, and a service proxy that can handle all the plumbing - no code required! The proxy handles user mapping and routing Slack events straight to your logic, ultimately providing a single endpoint for all authorization and Slack app endpoint needs. Today, in the Dreamforce developer main show, “ Innovation from Anywhere with Salesforce Developers ” (at 3:30pm PT ), we’re proud to introduce an easier way to build Slack apps deeply integrated with Salesforce, codenamed “Foyer.”įoyer is a collection of developer tools that empower teams to build Slack apps using the Salesforce skills they already have.

Connecting Salesforce to Slack entails standing up middleware for managing authentication, routing requests to Salesforce, building Block Kit to represent metadata, leveraging multiple frameworks, and much more, all of which require development resources. The acquisition of Slack, which closed in July, opens up a brand new world for Salesforce developers to build rich, conversational apps connected to their Salesforce data and metadata. Meet the Salesforce SDK for building Slack apps
