Skip to content
KiweelyKiweelyKiweely

Workday Workflows in Slack: App Home, Modals and the 3-Second Limit

Slack expects an acknowledgement within 3 seconds and expires a trigger_id in 3 seconds. A Workday call can take longer, so acknowledge first, show a loading view, then finish with response_url or views.update. App Home and modals hold up to 100 blocks.

  • By Kiweely
  • 5 min read
On this page

Slack wants your app to acknowledge every button click within 3 seconds, and a Workday call can take longer. The pattern that works is to acknowledge first, show a loading state, call Workday as the signed-in worker, and then update the same message or modal. This post covers App Home and modals for Workday approvals and requests. Slack facts are from docs.slack.dev, read in November 2026.

What exactly is the 3-second limit?

Three separate timers apply, and they are easy to mix up.

What Slack’s rule
WhatAcknowledging an interaction (a button click, a modal submit) Slack’s ruleMust be sent within 3 seconds of receiving the payload. Without it, the user sees an error message.
Whattrigger_id for opening a modal Slack’s ruleExpires 3 seconds after it is sent to your app and can be used once. An expired one returns trigger_expired; a reused one returns trigger_exchanged.
Whatresponse_url for a later reply Slack’s ruleCan be used up to 5 times within 30 minutes of receiving the payload. A response that needs more than 30 minutes has to be published in the standard way.
WhatEvents API delivery (for example app_home_opened) Slack’s ruleRespond with an HTTP 2xx within 3 seconds, or the delivery counts as failed. Slack retries up to three times, after about 0, 1 and 5 minutes.

Slack adds that an acknowledgement alone shows the user nothing, and that you must still send one even when you send a composed response. For events, Slack temporarily disables a subscription if failures occur in more than 95% of delivery attempts in 60 minutes (apps with fewer than 1,000 events an hour are not auto-disabled). A slow Workday call inside the handler can cause that.

How do you design around it?

  1. Acknowledge before you call Workday. Receive the payload, return 200, then do the work on a queue or a background task.
  2. Open the modal before you fetch. The trigger_id is only good for 3 seconds. Call views.open right away with a short “Loading” view (Slack’s modals page advises a temporary loading screen for slow data). Store the view_id from the success response.
  3. Replace the loading view. Call views.update with that view_id when Workday answers. Slack says to pass the hash from block_actions payloads to prevent race conditions; if it is outdated the call is rejected.
  4. For a message button, reply with response_url. Slack says it can also update the original interactive message. Ephemeral messages can’t be updated with chat.update.
  5. Handle retries. Because Slack can redeliver an event up to three times, make each Workday write safe to repeat. Check whether the step is still waiting before you act on it.

How does this fit an approval in Workday?

Workday’s published businessProcess v1 OpenAPI description has GET /eventSteps (steps filtered by business process, dates and step type, limited to events the caller can view) and actions POST /eventSteps/{ID}/approve, /deny and /sendBack. Documented requirements:

  • approve: comment is required. Errors: A181 Specify a comment; A190 This event step type cannot be approved; A212 This event step isn’t awaiting your action; A1573 You can’t comment on this business process type.
  • deny: id and comment are required, plus stepAction{id} when there are several. Errors include A183, A225 (You are not authorized to deny this event step) and A234.
  • sendBack: id and reason are required. Errors A202 and A227 say the target or source step isn’t supported for that business process.

So an approval modal needs a comment field, and send back needs a reason field. A modal fits better than a bare Approve button: it collects that text, shows what is being approved, and gives you a view_submission to respond to. Slack gives you 3 seconds to respond to a view_submission too, with response_action options of update, push, errors and clear. Use errors to return a Workday validation message against the comment input. Workday’s message codes are in the validation errors guide. The inbox and My Tasks guide covers listing what is waiting, and approvals in Teams and Slack covers expense and requisition screens.

What goes on the App Home tab?

Slack describes App Home as a private, one-to-one space shared by a user and an app, with a Home tab built from Block Kit, a Messages tab and an About tab. You publish a Home tab per user with views.publish, passing the bot token, the user_id and the view. Slack sends an app_home_opened event when a user opens it.

  • Limits: a Home tab view can contain up to 100 blocks; private_metadata allows 3000 characters; callback_id allows 255.
  • Modals: up to 100 blocks, a title of 24 characters, and up to 3 views in the stack. views.push needs a trigger_id from an interactive component inside the open modal.
  • Interactivity: components published without interactivity enabled show an error icon when clicked.

A sensible Home tab for Workday is a short list of waiting items: the count, the first few, and a button that opens a modal for the detail. Our recommendation: publish summaries, not full records, because whatever you publish becomes content in Slack. Keep Workday data out of private_metadata.

Slack says Home tab updates can happen when a user isn’t interacting with Slack or the app. A background job that rewrites each person’s Home tab from Workday would need a stored token for each worker, so prefer to refresh on app_home_opened and on a button.

How do you know which Workday worker clicked?

Slack gives you a Slack user ID. users.info returns the email only if the app has the users:read.email scope (Slack says users:read is no longer enough), and email fields can be missing. Matching by email is a starting point, not proof. See mapping Slack identities to Workday workers for the match and for a per-worker Workday sign-in, so each call runs under that person’s own security.

Kiweely Leaf (coming next) lists leave, expense and timecard approvals in Teams, Slack, DingTalk and Lark among the screens it builds on live Workday data.

Frequently asked questions

What is Slack's 3-second rule for Workday requests?

Slack says an acknowledgement for an interaction must be sent within 3 seconds of receiving the payload, or the user sees an error message. A trigger_id also expires 3 seconds after it is sent to your app. So receive the click, acknowledge, and call Workday afterwards.

How do you show a Workday result that arrives after the 3 seconds?

Send the acknowledgement first. Then use the response_url from the payload, which Slack says can be used up to 5 times within 30 minutes. For a modal, open it at once with a loading view and replace it with views.update, using the view id from views.open.

Can the Slack App Home show a worker's Workday data?

Yes, as a Block Kit Home tab published per user with views.publish when the app_home_opened event arrives. The Home tab can hold up to 100 blocks. Treat what you publish as content stored in Slack and keep it to summaries, then open details in a modal.

Why does a second click on a Workday approval fail?

Workday's OpenAPI description lists A212, This event step isn't awaiting your action, as a validation error on approve and deny. A second click on an item someone already handled is a likely cause, so read the step first and show a message that the item was already handled, not a raw error.

Your Workday work, done by AI.

Kiweely Vine is the AI agent that builds, deploys and tests Extend apps as real people, makes changes in any Workday task screen, answers from your real tenant and builds reports.

Get the next one in your inbox.

One email a month for Workday teams: what’s changing in Workday and what to retest, one tip tried in a real tenant, and what’s new at Kiweely.

We’ll email you once to confirm. Unsubscribe in one click from any issue.