Actions119
- Campfire Actions
- Card Table Actions
- Chatbot Actions
- Client Approval Actions
- Client Correspondence Actions
- Client Reply Actions
- Client Visibility Actions
- Comment Actions
- Document Actions
- Event Actions
- Forward Actions
- Inbox Actions
- Inbox Reply Actions
- Lineup Marker Actions
- Message Actions
- Message Board Actions
- Message Type Actions
- Person Actions
- Project Actions
- Question Actions
- Question Answer Actions
- Questionnaire Actions
- Recording Actions
- Schedule Actions
- Schedule Entry Actions
- Template Actions
- Todo Actions
- Todolist Actions
- Todolist Group Actions
- Todoset Actions
- Upload Actions
- Vault Actions
- Webhook Actions
Document → Create a Document
AI-generatedOverview
This node operation creates a new document within a specified project (bucket) and vault in Basecamp. It is useful for automating the creation of documents with specific titles and HTML content, optionally setting the document's status to active for immediate publishing. For example, it can be used to programmatically add project documentation or meeting notes to a Basecamp project.
Use Case Examples
- Creating a project document with a title and HTML content.
- Publishing a document immediately by setting its status to active.
Properties
| Name | Meaning |
|---|---|
| Project ID | The ID of the project (bucket) where the document will be created. Used in the API endpoint path. |
| vaultId | The ID of the vault where the document will be stored. Used in the API endpoint path. |
| Title | The title of the document to be created. |
| Content | The HTML content of the document. |
| Status | Optional status to set the document as active for immediate publishing. |
| Return Full Response | Whether to return the full API response including status code, headers, and body instead of only the response body. |
| Request Options | Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
id- The unique identifier of the created document.title- The title of the created document.content- The HTML content of the created document.status- The status of the created document, e.g., active or draft.created_at- Timestamp when the document was created.updated_at- Timestamp when the document was last updated.
Dependencies
- Basecamp API authentication via OAuth2
Troubleshooting
- Ensure the Project ID (bucketId) and vaultId are correct and exist in Basecamp to avoid 404 errors.
- Verify that the OAuth2 credentials are valid and have the necessary permissions to create documents.
- If the document content contains HTML, ensure it is properly formatted to avoid API rejection.
- If 'Return Full Response' is enabled, be prepared to handle the full HTTP response object instead of just the document data.
Links
- Basecamp API Documentation - Official API documentation for Basecamp, including endpoints for document creation.