Hi guys , So I am setting up a automation that when a calendly call is cancelled by an invitee , it looks up the latest available slots using calendly api and sends an email to that person. However 1 issue that I have been encountering which is when I am passing dynamic values to the api it doesnot work ,but whenever I add static values the api returns me the available slots.
Step 1- 4
- When an invitee cancels an event
- It first checks the event topic , if it matches certain topic name it works
- next in a google sheet it looks for that person
- updates that persons status to “Cancelled”

Step 5 and 6

Here is where the problem begins
In step 5 I have a code which retuns Get todays date and date on friday

Then when I am passing these values to my Webhook

This returns The app returned "The supplied parameters are invalid.".
But when I add static values

It actually works

Not sure what I am doing wrong even if i pass the dates as 2025-09-02 and 2025-09-07 it works on static but doesnot runs on dynamic values