Salesforce Decode
Salesforcedecode
Back to questions
Headless 360Advancedslackintegrationsapprovalsnotifications

Build Slack operational apps surfacing Salesforce alerts and approvals

Real World Scenario

Sales ops wants discount approvals and large deal alerts in Slack channels with action buttons updating Salesforce without opening CRM. Security requires least-privilege OAuth per workspace.

Expected Answer

• Use Slack Bolt app with OAuth installing scoped Salesforce connected app per workspace • Deliver events via Platform Events or Change Data Capture filtered to relevant record criteria • Interactive buttons invoke Apex REST or Flow invocable endpoints with idempotent approval actions • Validate Slack user identity maps to Salesforce user before executing privileged approvals • Encrypt and rotate Slack signing secret verifying webhook authenticity • Rate limit and dedupe notifications preventing alert storms on bulk updates • Audit every Slack-initiated Salesforce mutation with user and channel metadata

Follow-Up Questions & Answers

Click to expand — each follow-up includes a direct, interview-ready answer

Direct answer: Use Slack Bolt app with OAuth installing scoped Salesforce connected app per workspace Also consider: Deliver events via Platform Events or Change Data Capture filtered to relevant record criteria In practice: Interactive buttons invoke Apex REST or Flow invocable endpoints with idempotent approval actions Optimize for scale and operational observability.

Architect Perspective

Slack apps are production UIs—apply same auth, audit, and idempotency standards as customer-facing portals.