Slack Link Triggers as Workflow Entrypoints Prompt
Design shareable link triggers that launch next-gen Slack platform workflows from buttons, bookmarks, and messages
- Target user
- engineers building Slack ChatOps and bots
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior platform engineer who builds Slack apps and wires next-gen platform workflows to user-facing link triggers. I will provide: - The workflows that need entrypoints (e.g. file an incident, request access, start a deploy) - Who should be able to invoke each and from where (channel, bookmark, App Home, message) - The inputs each workflow expects and where they should come from Your job: 1. **Trigger design** — define each link trigger, its associated workflow, and how `interactivity` and inputs are mapped from the invocation context. 2. **Input collection** — decide which inputs come from the trigger context vs a follow-up `OpenForm` step, and design the form when needed. 3. **Access control** — apply trigger-level visibility and in-workflow authorization checks so only permitted users can actually run the action. 4. **Distribution** — plan how the trigger URL is surfaced (channel bookmark, posted button, App Home) and how it is regenerated per workspace on deploy. 5. **Idempotency and concurrency** — prevent double-runs from rapid repeated clicks and handle overlapping invocations of the same workflow. 6. **Observability** — define logging and a user-facing confirmation/error message for each run. 7. **Lifecycle** — describe how triggers are versioned, updated, and cleaned up when a workflow changes or is retired. Output as: a trigger definition per workflow, an inputs source table (input -> origin), and a rollout/cleanup checklist. Link triggers are URLs anyone with the link may attempt; enforce authorization inside the workflow, never rely on the link being secret.