Apps in the Slack Platform7% of the exam

Choosing surfaces: App Home, modals and messages

Which surface fits which job: the per-user Home tab published with views.publish, modals that need a fresh trigger_id, and channel, DM or ephemeral messages chosen by who should see them, plus how to combine surfaces in one feature.

Official exam objective
Recommend when to use Slack's different surfaces (user touchpoints including App home, modals and messages) for a range of use cases.

~7 min read · 9 practice questions

What the exam expects

  • Recommend the Home tab for a persistent, personal dashboard, and know it is published per user with views.publish, refreshed on app_home_opened or when data changes, and unavailable to Deno Slack SDK apps.
  • Recommend a modal to collect structured input, and know a modal needs a valid trigger_id from a user interaction, so a system-initiated form starts with a message button.
  • Choose between a channel message, a DM and an ephemeral message by who should see the content and whether a user action prompted it.
  • Diagnose Home tab buttons that show an error icon (interactivity not enabled) and combine surfaces into one feature.

Key terms: App Home (the private user-app space with Home, Messages and About tabs); Home tab (the ever-present per-user view the app publishes); modal (a focused input dialog of up to three views); trigger_id (a short-lived, single-use value from an interaction that lets the app open a modal); ephemeral message (seen by one user, not persisted).

Key facts

App Home availability
Detail
Granular-permission apps only; not Deno Slack SDK apps or workflows
Home tab scope
Detail
At least one scope of any kind; Messages tab needs chat:write
Home tab size
Detail
One view, up to 100 blocks, type: home
Publishing
Detail
views.publish with user_id and the view; same call updates
Home tab persistence
Detail
Keeps content and state until the app updates it
Home tab buttons
Detail
Without interactivity enabled, clicks show an error icon
Opening a modal
Detail
Needs a valid trigger_id; expires 3 seconds after sending
trigger_id reuse
Detail
Single use; reuse returns trigger_exchanged
Ephemeral rules
Detail
One viewer, no persistence, only after a user action
Ephemeral delivery
Detail
Delivery requires an active channel member; user_not_in_channel specifically signals non-membership
Sources for this section (6)
  • Why should a callback test not assume the literal source representation of non-standard characters?
  • Which array is required for the Home view's layout?
  • When must a Home view callback identifier be shortened?

The questions are free to read. Answers with their sources and self-grading are included with the pack.

Keep reading with the Slack Developer pack

  • Core concepts
  • Exam traps
  • Worked scenario

The pack includes:

  • All 38 lessons of the Slack Developer guide, with reading progress
  • Interactive decision walks and step-by-step sequence steppers
  • Practice exams purchase adds inline bank questions and topic practice (9 questions for this lesson)
  • An official source cited for every claim
  • An AI tutor that answers from the guide
  • Choose guide-only, practice-only, or save $4 with both

Practice for the Slack Developer exam