Validate vacation request dates in Pipefy

What it does

When a new card is created in Pipefy, this automation retrieves the card and checks the vacation request date. It updates the card status based on whether the date is at least 30 days away and falls on a weekday.

Who it's for

HR teams who need to validate vacation requests meet minimum notice and scheduling requirements.

Apps used

  • New Connector 6

How teams use this

Reject requests with insufficient notice

When someone submits a vacation request fewer than 30 days in advance, the card is automatically marked rejected so the team knows it does not meet policy requirements.

Prevent weekend vacation approvals

Requests for Friday, Saturday, or Sunday are flagged as rejected automatically, ensuring the team only approves weekday vacations per company policy.

Notify managers of approved requests

Add a step that sends an email to the employee's manager when a vacation request is approved, so they can confirm the dates work for team coverage and staffing.

Route requests to finance for payroll

Include a step that moves approved vacation requests to a finance queue in Pipefy so payroll can process time-off accruals and deductions before the vacation date.

How it works

  1. New vacation request card created. A new card is added to Pipefy with vacation request details including the requested date.
  2. Retrieve the card details. Get the card by ID from Pipefy to access the vacation request date and other relevant information for validation.
  3. Check notice period and weekday requirements. Verify the requested vacation date is at least 30 days from today and falls on a weekday, not Friday, Saturday, or Sunday. Update the card status accordingly in Pipefy.
  4. Mark request approved or rejected. Update the Pipefy card to approved when both conditions pass, or rejected when the date lacks sufficient notice or falls on a weekend or Friday.