Weekly "who's out" briefing from Rippling to Slack

By General Input

Every Monday at 8am, post a plain-English rundown of who is on time off this week, grouped by team, with staffing gap alerts.

Integrations

  • Rippling
  • Slack Bot

Type

Agentic Task

Categories

  • HR & People
  • Operations

Build me an agent workflow that posts a weekly "who's out this week" briefing to my leadership Slack channel every Monday at 8am in my local timezone. The trigger is a cron schedule.

Data collection, in order:

1. Call Rippling's List Leave Requests to pull every leave request whose start date falls in the window from today through today plus 7 days. Include both approved and pending requests. Exclude cancelled and declined requests.

2. Call Rippling's List Workers with field expansion for department and manager so every request can be joined against the worker's team and reporting line. Use employment_status ACTIVE. Match workers to leave requests by worker id.

Analysis the agent should do in-memory once both lists are loaded:

- Group all leave records by department. Within each department, list each absent person with their date range and leave type (PTO, sick, parental, etc.).

- For every day in the 7-day window, count how many people from the same department are off that day. If the count is greater than one for a given department on a given day, flag that day as a "potential understaffing" alert in the brief and name the department and the people involved.

- Separately list any leave requests whose status is still pending so managers can see what still needs a decision before the week starts. Include who requested it and which manager owes the decision.

- Compute total team-days-out for the week (sum of business days off across all approved requests) and include it as the closing line of the brief.

Output format: a single natural-language Slack message written in Slack mrkdwn. Use section headers with *bold* labels (not markdown ** double asterisks), one section per department, and a short intro line at the top like "Here's who's out this week." End with the total team-days-out figure. If no one is out that week, post a one-line message confirming that instead.

Delivery: post the finished brief to a single Slack channel using Slack Bot's Send a Message. The channel should be a workflow input so it can be changed without editing the workflow. Post as the bot; do not send as an individual user.

Inputs the workflow should expose: the target Slack channel, the timezone for the 8am schedule, and an optional list of department names to include or exclude. Everything else can be handled inside the agent.

Related prompts

Explore more prompts
A brand asset library your marketing team actually searchesTurn Mailjet email clicks into ranked HubSpot follow-upsClean out the Looker dashboards and Looks nobody opensLiveKit live operations console for room moderationWake up dormant Keap leads with a researched reasonLiveChat coverage board for planning next week's shiftsPhone routing control panel for LiveKit voice agentsLinkedIn Ads budget pacing dashboard for every client accountGive your team Looker numbers without buying more seatsPause marketing emails to escalated customers, then restore them