Partner engineering samples
Desenvolvedores

Get the most out of Slack with three new code samples

Our latest release of sample apps promotes innovation in a hybrid world.

Autor: Linda Ho2 de agosto de 2022Ilustração de Giacomo Bagnara

We think Slack is awesome, but we wouldn’t be where we are today without the more than 1 million creative Slack developers building custom applications and integrations on our platform. As organizations become more distributed and business needs become increasingly cross-functional, we understand the need to constantly innovate for your end users. 

Over the past few months, the partner engineering team has been working on ways to improve the Slack app building experience. Today, we’re pleased to share three sample apps and code that can help you: 

  • Keep end users updated of your app’s latest and greatest features
  • Optimize ways you can use Slack Connect APIs to collaborate with people outside your organization
  • Explore how messages can automatically be sent from an external website directly to Slack

Notify users of app updates

Real talk: sometimes the hardest part of the job isn’t building an update—it’s convincing users to install it. Our Upgrade App Manager sample demonstrates several creative ways you can notify admins and end users when app updates are available in their workspace.  

Slack currently does not provide a way for users to know when a newer version of the app is available, so you’ll need to communicate available updates to your existing users. In this sample, users can easily check for the app’s latest version using a global shortcut or slash command. Whenever a new version of an app is available, users will be notified with an alert that reminds them to upgrade their app. 

App update notificationsApp update notifications

Make the most of Slack Connect

In a world that’s adopting a hybrid work environment, building deep and meaningful relationships with customers, partners and vendors can be challenging. Slack Connect lets users collaborate with external partners and customers directly in their workspace, which accelerates work and prevents emails from piling up. 

The Slack Connect sample jump-starts your understanding of how to use the Slack Connect APIs and shows you ways to manage your Slack Connect channels with automation. Learn how you can easily send Slack Connect invites to external users and accept and approve those invitations. This sample also covers how to disconnect from a shared Slack Connect channel with one click, and automate the admin approvals process by updating the Slack Connect settings in your Enterprise Grid workspace.

Slack Connect sample

Reduce the number of tabs you need to get work done 

Our goal is to make Slack your digital headquarters, a place where all work happens. That includes the ability to send documents, diagrams, files or assets via Slack, so organizations can collaborate in one spot.  

The Send to Slack sample shows a simple implementation of how you can route data from a website to a Slack channel or user. It includes basic client-side code and manages user authentication using Auth0

We’re already seeing some of our great partners use this feature in their Slack integrations. For example, Slack users with GitHub can send data as a message to a Slack channel about pulls and deployments. Lucidchart’s integration sends Slack notifications about updates to Lucidchart documents and allows users to manage permissions and create shortcuts through Slack. And with a single click, our users with Canva can create a new Slack channel to collaborate on design work. 

Send to Slack sample

Building with Slack should feel simple, fast and fun. We hope you feel the same way once you try these samples! If you have any questions or feedback, please reach out to us at feedback@slack.com.

Esta postagem foi útil?

0/600

Ótimo!

Agradecemos seu feedback!

Entendi!

Agradecemos seu feedback.

Estamos com problemas. Tente novamente mais tarde.

Continue lendo

Notícias

Defesa completa: três novos recursos de segurança para proteger sua sede digital

Melhorias mais transparentes que protegem as equipes que se preparam para o futuro do trabalho

Colaboração

O Slack e o Sales Cloud: o novo escritório digital da sua equipe de vendas

Descubra por que a sua equipe de vendas só vai obter vantagens com os recursos imbatíveis do nosso app

Transformação

Descubra por que cerca de 80% das empresas da Fortune 100 confiam no Slack Connect para criar as sedes digitais delas

Crie vínculos mais fortes com os clientes e simplifique a comunicação com os parceiros externos usando nosso produto premiado.

Notícias

Inovações de produtos do Slack apresentadas no Dreamforce

Criar uma sede digital que permita formas mais flexíveis, inclusivas e produtivas de trabalhar