-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
actionNew Action RequestNew Action RequestenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededtriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee
Description
I'd like the Notion actions that can create blocks to execute a loop that will allow for an arbitrary number of blocks to be created, beyond the limits of a single API request.
The relevant limits are:
- A request can contain only 1,000 total blocks
- A request that allows for a children array can handle nesting to 2 levels (e.g. you can do a Toggle block, with Paragraph children, which each have a Rich Text Object array). I'm not sure if the Rich Text Object array on a block counts as a level, so I'm not sure if you could do the above example at the same time you create a page (where the Toggles would be in the children array of the page).
- Any array can have up to 100 elements
- A Rich Text Object can have up to 2,000 characters
Is there a specific app this action is for?
Notion - specifically these actions:
- Create Page (will need to create the page, then use the Append Block Children endpoint for additional blocks)
- Create Page in Database (will need to create the page, then use the Append Block Children endpoint for additional blocks)
- Append Blocks
Please provide a link to the relevant API docs for the specific service / operation.
Metadata
Metadata
Assignees
Labels
actionNew Action RequestNew Action RequestenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededtriagedFor maintainers: This issue has been triaged by a Pipedream employeeFor maintainers: This issue has been triaged by a Pipedream employee
Type
Projects
Status
Done