Actions15
Overview
This node integrates with Cosense (formerly Scrapbox) to create or append content to pages within a specified project. The "Create Page" operation allows users to either create a new page with a given title and content or append additional content to an existing page if the title already exists.
Common scenarios for this node include:
- Automating documentation updates by programmatically adding notes or logs to project pages.
- Creating new project pages from external data sources or workflows.
- Appending meeting minutes, status updates, or other incremental information to existing pages without overwriting previous content.
For example, you could use this node to automatically generate a new project summary page each day or append new task details to an ongoing project page.
Properties
| Name | Meaning |
|---|---|
| Project Name | The name of your Cosense/Scrapbox project where the page will be created or updated. |
| Page Title | The title of the page to create. If a page with this title already exists, the content will be appended. |
| Content | The textual content of the page. Each line in this string becomes a separate line in the Cosense page. |
Output
The output is a JSON object representing the created or updated page as returned by the Cosense API. It typically includes details such as the page title, lines of content, and metadata about the page.
If multiple items are processed, the output is an array of such JSON objects, each paired with the corresponding input item.
No binary data is produced by this operation.
Dependencies
- Requires access to the Cosense API via an API key credential configured in n8n.
- The node uses the Cosense API client internally to communicate with the service.
- The user must provide the project name and have appropriate permissions to create or modify pages in that project.
Troubleshooting
Error: Missing or invalid project name
Ensure the "Project Name" property is correctly set and matches an existing project in Cosense.Error: Insufficient permissions or authentication failure
Verify that the API key credential is valid and has the necessary rights to create or update pages.Appending content not working as expected
Confirm that the "Page Title" exactly matches the existing page title; otherwise, a new page will be created instead of appending.Content formatting issues
Remember that each line in the "Content" property becomes a separate line in Cosense. Use newline characters (\n) appropriately.
Links and References
- Cosense Official Website
- Scrapbox Documentation (legacy)
- Cosense API Documentation (if publicly available)