Send a default home page when someone opens Slack

BotsArtificial IntelligenceSales EnablementRecipe ToolsData ParserMarketingUtilities

What it does

When someone opens the app home in Slack, this automation fetches their timezone and today's approvals. It publishes a customized home page view so the person sees relevant details right away.

Who it's for

Operations teams who want to greet people with a personalized Slack home page on app open.

How teams use this

Greet people with their timezone

Display the current date and time in each person's timezone on the home page so they always see the right time without converting.

Show approvals due today

Pull today's approval requests from the Lookup Table and add them to the home page so people see what needs attention as soon as they open Slack.

Customize the home page for different teams

Adjust the Lookup Table search to filter by team or department so each group sees only their relevant approvals and data on the home page.

How it works

  1. Detect app home opened. Listen for the app_home_opened event in Slack so the automation runs when someone opens the app home.
  2. Fetch user and timezone data. Get information about the user and their timezone from Workato Service so the home page displays in the right time zone.
  3. Search for today's approvals. Search the Lookup Table for approvals due today so the home page shows only current items that need attention.
  4. Build the home page blocks. Assemble the image, headers, and approval list into a formatted block template using Json Parser so Slack renders the view correctly.
  5. Publish the home page. Send the customized app home view to Slack so the person sees their timezone and today's approvals when they open the app.