I’m very new to Pipedream and am using it to create tasks in Notion. In Notion, my tasks have a Date property “scheduled date” which has a start and an end date. Unfortunately, pipedream only sets the Date property to a single start date. Whenever I try to enter a date range (incl. end date), it complains that the entered value is not ISO 8601 compliant.
How can I specify a date range?
I’m using the pipedream action “create_page_from_database” (for Notion) and this is what the date field looks like.
I understand that you’re trying to set a date range for the “scheduled date” property in Notion using the “Create Page from Database” action in Pipedream. To set a date range, you’ll need to provide an object with start and end properties in ISO 8601 format.
Here’s how you can modify the date property in the action:
Search for the Notion app from the step menu
Select the “Create Page from Database” action
Connect your Notion account
Select a Parent Database ID or pass a string from a previous step
Select a Page Content or pass a string from a previous step
In the “Properties” field, you’ll need to provide an object with the property name and its value. For the “scheduled date” property, you’ll need to provide an object with start and end properties in ISO 8601 format. For example:
At the bottom of the step, click “Test” to run the action and test the configuration.
This should create a new page in the specified database with the “scheduled date” property set to the provided date range.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.
Hi, unfortunately, I still get the same error if I paste the code above into the property field:
APIResponseError
body failed validation: body.properties.Scheduled date.date.start should be a valid ISO 8601 date string, instead was "{\n \"scheduled date\": {\n \"date\": {\n \"s....