Actions80
- Card Tables Actions
- Forwards Actions
- Events Actions
- Recordings Actions
- Projects Actions
- People Actions
- Chatbots Actions
- Webhooks Actions
- Attachments Actions
- Templates Actions
- Uploads Actions
- Documents Actions
- Lineup Markers Actions
- Subscriptions Actions
- Schedules Actions
- Schedule Entries Actions
- Todo Sets Actions
- Todo Lists Actions
- Todos Actions
Overview
This node allows you to create an attachment by uploading a file with a specified name. It is useful in scenarios where you need to programmatically add files or documents as attachments within a workflow, such as adding supporting documents to project management tools, customer records, or any system that supports attachments.
For example, you might use this node to upload a PDF report generated during a workflow or attach images collected from user input to a task or record.
Properties
| Name | Meaning |
|---|---|
| Name | The name of the file being uploaded as an attachment. This is a required string property and represents the filename that will be associated with the uploaded file. |
Output
The node outputs JSON data representing the result of the attachment creation operation. This typically includes metadata about the newly created attachment, such as its ID, URL, or other relevant details returned by the API.
If the node supports binary data (file content), it would handle the file upload process, but the output JSON primarily contains information about the created attachment rather than the file content itself.
Dependencies
- Requires an API key credential for authentication with the external service.
- The node depends on the Basecamp API endpoint for creating attachments.
- Proper configuration of the API base URL and authentication credentials is necessary.
Troubleshooting
- Missing or invalid file name: Since the "Name" property is required, omitting it or providing an empty value will likely cause errors. Ensure the file name is provided.
- Authentication errors: If the API key or OAuth token is missing or invalid, the node will fail to authenticate. Verify that the correct credentials are configured.
- API endpoint issues: Network problems or incorrect base URL configuration can cause request failures. Check connectivity and configuration.
- File upload errors: If the file content is not properly attached or formatted, the API may reject the request. Confirm that the file data is correctly passed along with the name.
Links and References
- Basecamp API Documentation (for understanding attachment creation endpoints)
- n8n documentation on working with attachments and binary data