Nov 18, 2024 12:33 AM - edited Nov 18, 2024 12:54 AM
Hello!
Let me first paint the picture of what I am working with:
1 base, 4 tabs: "🧍♀️People", "🏝️ Absence Management", "🏝️ Leave types" and "📅 Public holidays"
Relevant columns:
What I want is that each time someone submit a Leave Form (linked to "🏝️ Absence Management"), the automation:
In a second step, I would want that if:
if public holiday leave = 0 → an actionable message in sent on Slack to ask for approval for the leave.
if public holiday leave < leave asked and is not = 0 → change the linked record to "🌞🗓️ Holiday + Public Holiday" + send an actionable message in sent on Slack to ask for approval for the leave.
if public leave = leave asked → change the linked record to "🌞🗓️ Holiday + Public Holiday" + approve
To approve, the same name selected by the leave requester as the "Approver/s" (which is a linked record to "🧍♀️People" in "🏝️ Absence Management") needs to be selected in a collaborator field called "✍🏽 Approved by"
I have been battling with scripts and ChatGPT for a while now and would be grateful for anyone support if you are up to the challenge 🙏 (video attached)
Nov 18, 2024 10:33 PM
Hey @marikay,
I recommend solving it with script and ChatGPT is the best way to generate the code you need. This is how I work also 🙂
Did you try to build the script step by step? Really interested in helping you with this quick challenge, please feel free to dm me with no commitment of course, to see how to prompt step by step on GPT and complete the automation