Generate a timeoff dialog in Slack from Workday
BotsRecipe Tools
What it does
When someone runs the Workday Generate Timeoff_Dialog command in Slack, this automation retrieves timeoff types from a lookup table. It builds and posts a dialog with those options so someone can request timeoff without leaving Slack.
Who it's for
HR teams who want employees to request timeoff in Slack using Workday data.
How teams use this
Request timeoff without leaving Slack
Someone runs the command and sees a dialog with all Workday timeoff types. They pick one and submit the request from the channel. The team sees the request happen in real time.
Limit timeoff types by department
Filter the lookup table results so only timeoff types available to that department appear in the dialog. Someone still runs the same command but sees only relevant options.
Let employees request from a channel bot
Invite the bot to a dedicated timeoff channel so all requests happen in one place. The dialog and command stay the same, only the channel context changes.
How it works
- Run the timeoff command. Type the Workday Generate Timeoff_Dialog command in a Slack channel or direct message to start a timeoff request.
- Fetch available timeoff types. Search the Workday Timeoff Types lookup table to retrieve all timeoff options that someone can choose from.
- Build the dialog options. Map the timeoff types into a Slack picklist format using the Common data model so the dialog displays all available options.
- Post the timeoff dialog. Post the dialog in Slack so someone can pick a timeoff type and complete the request in the conversation.