Dynamic Date Handling in Connector Setup

Summary

User seeks guidance on dynamically populating ‘startDate’ and ‘endDate’ keys in a connector’s POST request body for daily execution.


Question

Hello everyone,

I’m currently setting up a new connector that i would like to run once a day.
Its purpose is to make a post request to an external api, with in the body a “startDate” and a “endDate” key.
Is there a way to dynamically fill these 2 in? For example if the current day is 2024-01-25 i’d like it to fetch the data from 2024-01-24.

Thanks in advance!



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

['dynamic-date', 'connector-setup', 'post-request', 'external-api']