Dynamic filling of startDate and endDate keys for a connector

Summary

The user is setting up a new connector to make a post request to an external API daily. They want to dynamically fill the ‘startDate’ and ‘endDate’ keys based on the current day.


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-filling", "startdate", "enddate", "connector", "post-request", "external-api"]