Error with variables in the body of HTTP Request for Notion API

I need to update page in notion, but the page is variable so I am using HTTP Request to update the page.
The problem occurs when I send a variable value in the json body.

If I put like this:

{
  "properties": {
"Story Points":{"number": 16}
}}

Works well !

But if I put with a variable value no:

{
  "properties": {
"Story Points":{"number": {{steps.trigger.event.body.fields.customfield_10014}}}
}}

And the strange is that: at the last week was working well with variables values

Hi Eduardo,
We updated this action recently. To make it work with the current version, can you try changing your configuration to this?

1 Like

Thanks Andrew Chuang !

This action works if the Property Types are text, numbers and dates.
But for status it’s not working using the action update_page, do you know why ?

Because, at the last week, when I was using HTTP Request action to update status was working well, and if I write some static status like :

Status":{"status": {"name": "Waiting"}}

still works
but if I put :

"Status":{"status": {"name": "{{steps.trigger.event.body.fields.status.name}}"}}

Its not working :melting_face:

And its saying that Updated page successfully but the status that exists wasn’t change

Oh, for status see if this works:

We had a better way of handling the property values but it only worked for statically typed in Page IDs. We’re working on a way for it to handle dynamic expressions!

1 Like

For example, this works for me:

image

1 Like

You are using select type, here I am using status type !
But, the select type it is a good alternative, thanks for your help !!

image