Partner engineering samples
개발자

Get the most out of Slack with three new code samples

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

작성자: Linda Ho2022년 8월 2일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.

이 포스트가 유용했나요?

0/600

훌륭해요!

피드백을 주셔서 감사합니다.

알겠습니다!

피드백을 주셔서 감사합니다.

죄송합니다. 문제가 발생했습니다. 나중에 다시 시도해주세요.

계속 읽기

개발자

Donut에서 팀 문화를 개선하는 Slack 중심의 비즈니스를 구축한 방법

Slack에 내장된 도달 범위와 배포로 강력해진 Donut 앱은 사용자가 어디에 있든 직관적으로 연결될 수 있도록 도와줍니다.

생산성

어려운 경제 상황 가운데 Slack이 거래 성사를 지원하는 방법

엔터프라이즈 영업 담당자가 Slack으로 거래를 더 빠르게 성사시키는 방법을 알아보세요.

새 소식

Slack 보안 업데이트

보안, 개인 정보 보호 및 투명성을 매우 중요하게 생각하므로 최근에 발생한 문제의 세부 사항을 공유하고 있습니다.

생산성

Slack 캔버스로 더욱 앞서가는 Digital HQ

Slack 및 Salesforce 360의 가치를 강화하여 팀 생산성을 향상하는 기능을 소개합니다.