📝 Overview
To specify the last day of the month using a schedule trigger, you’ll need to configure both cron settings and branching logic.
🛠️ How to Set Up
Set the schedule trigger to run from the 28th to the 31st of each month. If the current day is not the last day of the month, the Flowbot will stop.
Overall Setup ⬇️
1. Set the Schedule Trigger for the 28th to 31st
Click on the Schedule Trigger to start setting the schedule trigger to run from the 28th to the 31st of each month.
Use the cron setting below:
Cron Setting:
00 10 28,29,30,31 * *
This translates to "10:00 AM on the 28th to 31st".
If you want to change the time, simply adjust the "00 10" part at the beginning.
2. Obtain Today's Date Using "Date Add/Subtract"
In the Flowbot edit screen, click on the + button and select Calculation.
Use the "Add/Subtract Date & Time" action to retrieve today's date.
Date to Convert: Use the "Today" output (set to the %Y-%m-%d format).
Set Output Name: Set the output name to "Today's Date".
3. Branch if Today's Date is Not the Last Day of the Month
In the Flowbot edit screen, click on the + button and select Branch to set up a branching condition to check if "Today's Date" is the last day of the month.
If it is not, end the flow.
Branch Condition:
Condition: Not equal to
Value: "Last Day of the Month" output (set to %Y-%m-%d format).
4. Proceed to the Next Task
If the date is the last day of the month, the flow will proceed to the next task in your flow setup.
That's It! 🎉
This completes the configuration to specify the last day of the month with a schedule trigger.
📚 Related Guides
How to Configure Cron Jobs - View Guide Here
Related Keywords
Related Keywords
Schedule, Trigger, Schedule Trigger, Last Day of the Month, Cron, Flowbot, Configuration