Hi,
I’m trying to add the table block on the page content.
This is what it looks like on the Notion side.
I know how to add page content in Make, but there is no option to add a table.
I’m hoping someone may have solved a similar problem before.
Simo
May 3, 2025, 11:28am
2
Hi,
This can be achieved by using the “Make an API call” (or HTTP) module and invoking the Append block children API endpoint, while passing the table data to the request body according to its API structure https://developers.notion.com/reference/block#table .
To create the same table as in your screenshot, the request body would look like this:
{
“children”: [
{
“object”: “block”,
“type”: “table”,
“table”: {
“table_width”: 4,
“has_column_header”: false,
“has_row_header”: false,
“children”: [
{
“object”: “block”,
“type”: “table_row”,
“table_row”: {
“cells”: [
[{“type”: “text”, “text”: {“content”: “member1”}}],
[{“type”: “text”, “text”: {“content”: “task1”}}],
[{“type”: “text”, “text”: {“content”: “check”}}],
[
{
“type”: “mention”,
“mention”: {
“type”: “date”,
“date”: {
“start”: “2025-05-04T18:00:00.000Z”,
“end”: null,
“time_zone”: null
}
}
},
{“type”: “text”, “text”: {“content”: " "}}
]
]
}
},
{
“object”: “block”,
“type”: “table_row”,
“table_row”: {
“cells”: [
[{“type”: “text”, “text”: {“content”: “member2”}}],
[{“type”: “text”, “text”: {“content”: “task2”}}],
[{“type”: “text”, “text”: {“content”: “check”}}],
[
{
“type”: “mention”,
“mention”: {
“type”: “date”,
“date”: {
“start”: “2025-05-04T17:30:00.000Z”,
“end”: null,
“time_zone”: null
}
}
},
{“type”: “text”, “text”: {“content”: " "}}
]
]
}
}
]
}
}
]
}
Hi,
Thanks for your reply.
Sorry for the very rudimentary question…
I do not know how to set up this part.
Is it possible for you to give me a reference URL or something?
Simo
May 7, 2025, 4:23am
4
No problem,
In the URL field, insert: /v1/blocks/{block_id}/children (replace {block_id} with the page ID where you want to insert the table)
In the “Method”, select “PATCH”.
Let me know how it goes
Creates and appends new children blocks to the parent block_id specified. Blocks can be parented by other blocks, pages, or databases. Returns a paginated list of newly created first level children block objects . Existing blocks cannot be moved...
Thanks so much for your reply.
I have this error, “ConnectionError[500] Unexpected error occurred”.
The current setup is as follows.
I would like to add to the content of the page created in #20 .
Is the page ID in the URL field incorrect?
Also, if I remove the header and run it, it seems to automatically become a json type, is this correct?
Simo
May 8, 2025, 7:17am
6
Yes, the default content-type header is correct; don’t change it. If you run it with the correct content-type header shown in your last screenshot, do you still get the error?
Hi,
Sorry again and again.
The 500 error is gone, but I got this error.
I tried to write the table with the minimum configuration, is there something wrong?
{
“children”: [
{
“object”: “block”,
“type”: “table”,
“table”: {
“table_width”: 4,
“has_column_header”: false,
“has_row_header”: false,
“children”: [
{
“object”: “block”,
“type”: “table_row”,
“table_row”: {
“cells”: [
[{“type”: “text”, “text”: {“content”: “member”}}],
[{“type”: “text”, “text”: {“content”: "task”}}],
[{“type”: “text”, “text”: {“content”: “check”}}],
[{“type”: “text”, “text”: {“content”: “deadline”}}]
]
}
}
]
}
}
]
}
Simo
May 8, 2025, 12:08pm
8
No problem, I am happy to help you. To validate the JSON body, you may use an AI tool, or a JSON validation website.
It would be best if you use the JSON I sent you in the previous message since I already tested it and it worked. Make sure to use the ASCII quotes (") instead of the smart/curly (“ ”)
when I copied and pasted it, an error occurred, so I will retype it carefully.
Thank you for teaching me this much.
I will try my best !