Notion - change cover url of a database page

Hi, how i can set cover url updating a database page?

Manually is possibile with this code:

'cover'=>[
  'type'=>'external',
  'external'=>[
    'url'=>'http://url.tdl/image.ext'
  ]
]

the notion tile is:

Thanks for any ideas!

Information on your n8n setup

  • n8n version: 0.217.2
  • Running n8n via: Docker
  • Database you’re using: SQLite

Hi @zavy86, welcome to the community :tada:

I am afraid this isn’t currently supported by n8n’s Notion node. So you’d have to talk directly to Notion’s API here. in n8n this can be done with the HTTP Request node like so:

The d0bf7174-4c8c-431c-b9f7-b76212e551ab part of the URL is the ID of my page in this example, you’d need to replace it with your own ID for this to work (as well as picking your own Notion credentials and image URL of course).

Before:

After the workflow executes:

Hope this helps! Let me know if you have any questions on this.

1 Like

thank you very much. it works perfectly!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.