Actions52
- Project Actions
- Project Photo Actions
- Project Collaborator Actions
- Project Document Actions
- Project User Actions
- Project Label Actions
- Project Checklist Actions
- User Actions
- Photo Actions
- Tag Actions
- Group Actions
- Other Actions
Overview
The node connects to the CompanyCam API, enabling interaction with various CompanyCam resources such as projects, photos, users, labels, and more. Specifically, for the Photo resource with the Add Comment operation, this node allows users to add comments to a photo within a project. This is useful for teams collaborating on construction or inspection projects who want to annotate images with notes, feedback, or instructions directly in their workflow automation.
Practical examples include:
- Automatically adding status updates or remarks to photos after an inspection.
- Logging comments from external systems into CompanyCam photos for centralized communication.
- Triggering notifications based on comments added to photos.
Properties
| Name | Meaning |
|---|---|
| Resource | The type of entity to interact with; here it should be set to "Photo". |
| Operation | The action to perform on the resource; here it should be "Add Comment". |
Note: The provided properties JSON only contains notices indicating that some parts are not yet built or are placeholders. No specific input fields for adding a comment (such as photo ID, comment text) are defined in the given snippet. Typically, for adding a comment, you would expect inputs like:
- Photo ID: Identifier of the photo to comment on.
- Comment Text: The content of the comment to add.
Since these are not present in the provided code or properties, it suggests that the implementation for this operation might be incomplete or not exposed in this version.
Output
The node outputs JSON data representing the result of the API call to add a comment to a photo. This typically includes:
- Confirmation of the comment creation.
- Details of the comment such as its ID, text, author, timestamp, and associated photo ID.
If the node supports binary data output (e.g., photo files), it would be indicated, but no such indication is present here.
Dependencies
- Requires an API key credential for authenticating with the CompanyCam API.
- The base URL for API requests is
https://api.companycam.com/v2. - The node depends on the CompanyCam API being available and accessible.
- No additional external services or environment variables are explicitly required beyond the API key.
Troubleshooting
- Missing Input Fields: Since the input properties for adding a comment are not defined, users may encounter issues providing necessary data. Ensure the node version supports this operation fully.
- Authentication Errors: If the API key is invalid or missing, the node will fail to authenticate. Verify the API key credential configuration.
- API Limitations: The CompanyCam API may have rate limits or restrictions; hitting these could cause errors.
- Incomplete Implementation Notices: The presence of notices about unbuilt parts suggests some functionality may not work as expected. Check for updates or contact maintainers if critical features are missing.
Links and References
- CompanyCam API Documentation
- CompanyCam Official Website
- GitHub repository for the node (if available) for issue tracking and contributions.
Summary:
This node is designed to integrate n8n workflows with CompanyCam, particularly allowing operations on photos such as adding comments. However, the current source and property definitions indicate that the "Add Comment" operation for photos may not be fully implemented or exposed yet. Users interested in this functionality should verify the latest node version or consider contributing to its development.